@import url("https://fonts.googleapis.com/css2?family=Sofia+Sans:wght@400;600;700&display=swap");

@font-face {
    font-family: "Cooper Std";
    src: url("/assets/fonts/cooperblackstd.otf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

body {
  font-family: "Sofia Sans", sans-serif;
  overflow-x: hidden;
}

#topnav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 10px 20px;
  background-color: #EECAC0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  overflow-x: hidden;
}


#topnav .logo img {
  height: 50px;
}


#topnav .nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 15px;
}

#topnav .nav-menu li {
  margin-left: 15px;
}


#topnav .nav-menu li a {
  text-decoration: none;
  color: #5F3521;
  padding: 8px 15px;
  border-radius: 5px;
  transition: background-color 0.2s, color 0.2s;
  font-family: "Sofia Sans";
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: -0.315px;
   display: flex;
   justify-content: center;
  align-items: center;    
  height: 46px;           
  transition: background-color 0.2s, color 0.2s;         
}


#topnav .nav-menu li a.contact-btn {
  width: 175px;           
  border-radius: 50px;
  background: #FFAAA7;
  font-weight: bold;
}

#topnav .nav-menu li a.contact-btn:hover {
  background-color: #c95b57;
  color: #FFFFFF;
}

@media (max-width: 768px) {
  #topnav {
    flex-direction: column;
    align-items: flex-start;
  }

  #topnav .nav-menu {
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
  }

  #topnav .nav-menu li {
    margin: 10px 0 0 0;
  }

  #topnav .logo img {
    height: 40px; 
  }
}

#hero {
    position: relative;  
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 20px 200px 20px;
    background: #FFFFFF;
    color: #5F3521;
    gap: 20px;
    width: 100%;
    height: 650px;
}

#floating-img {
    position: absolute;      
    top: 74px;                
    left: 0;                  
    width: 400px;             
    max-height: 700px;        
    height: auto;
    z-index: 1;             
}

#floating-img2 {
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    max-height: 700px;
    z-index: 10;
}


#hero-content {
    position: relative;       
    max-width: 600px;        
    margin-left: 350px;      
    text-align: left;        
    z-index: 2;    
         
}

#hero-titel {
    color: #5F3521;
    font-family: "Cooper Std";
    font-size: 64px;
    font-style: normal;
    font-weight: 900;
    line-height: 125%; 
    margin-bottom: 20px;
    position: relative;
    max-width: 600px;
    margin-left: 350px;   
    z-index: 2;
    text-align: left;
}


p {
    color: #5F3521;
    font-family: "Sofia Sans", sans-serif;
    font-size: 28px;
    font-style: normal;
    font-weight: 400;
    line-height: 135%;
    margin-bottom: 30px;
}


.hero-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 12px 40px; 
    background: #FFAAA7;
    color: #5F3521;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.2s;
    font-family: "Sofia Sans", sans-serif;
    font-size: 28px;
    font-style: normal;
    line-height: 1.2;
}

.hero-btn:hover {
    background-color: #FF8880;
}


@media (max-width: 1024px) {
    #hero {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 50px 20px;
        text-align: center;
    }


    #floating-img {
        width: 250px;
        max-height: 450px;
        top: 40px;
    }


    #hero-content {
        max-width: 100%;
    }
}

#wat-content {
    max-width: 900px;
    text-align: left;
    position: relative;
    z-index: 2;
}

#wat {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    padding: 0px 80px 165px 80px;
    background-color: #FDEBE7;
    color: #5F3521;
    gap: 40px;
    width: 100%;
    position: relative;
    overflow: hidden;
    height: 650px;
}

#koekje {
    width: 300px;
    max-height: 100%;
    height: auto;
    position: relative;
    z-index: 2;

}



#student {

    margin-top: 0;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items:flex-start; 
    gap: 20px;
    padding: 200px 80px;
    background-color: #FDEBE7;
    justify-items: center;
}

h2{
    width: 100%;
    text-align: left;
    font-size: 48px;
    margin-bottom: 30px;
    color: #5F3521;
    font-family: "Cooper Std";
    font-style: normal;
    font-weight: 900;
    line-height: 150%;
}

#student > h2 {
  text-align: center;
}


#student article {
    width: 250px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 20px;
    transition: transform 0.2s;
    height: 100%;
}

#student article:hover {
  transform: translateY(-5px);
}

#student img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
}

#student h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #333;
}

#student p {
  font-size: 0.95rem;
  color: #555;
  margin: 5px 0;
}

#student a {
  color: #1e90ff;
  text-decoration: none;
}

#student a:hover {
  text-decoration: underline;
}

@media (max-width: 800px) {
  #student article {
    width: 45%;
  }
}

@media (max-width: 500px) {
  #student article {
    width: 90%;
  }
}


.shape-divider {
    display: block;
    position: absolute;   
    width: 100vw;         
    height: 150px;        
    margin: 0;    
    bottom: 0;
    line-height: 0;       
}

@media (max-width: 768px) {
    .shape-divider {
        height: 120px; 
    }
}

.shape-divider2 {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100vw;
    height: 150px;
    z-index: 1;
}

#spel-content {
    max-width: 800px;
    text-align: center;
    position: relative;
    z-index: 2;
}

#spel-content h2{
    text-align: center;
}

#waarom h2{
    text-align: center;
}

#overons h2{
    text-align: left;
}

#spel{
    display: flex;
    flex-direction: column;
    justify-content:  space-between;
    align-items: center;
    text-align: center;
    padding: 200px 80px;
    background-color: #FDEBE7;
    color: #5F3521;
    gap: 40px;
    width: 100%;
    position:relative;
    overflow: hidden;
    height: auto;
}

#spel-image {
    width: 909px;
    height: auto;
    max-height: 100%;
    position: relative;
    z-index: 2;
    border-radius: 66px;
}

#shape-divider3{
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 150px;
    z-index: 1;
}

#shape-divider4{
    position: absolute;
    top: -1px;
    left: 0;
    width: 100vw;
    height: 150px;
    z-index: 1;
}

#overons {
    position: relative;
    overflow: visible;
}

#overons-content{
    max-width: 900px;
    text-align: left;
    position: relative;
    z-index: 2;
    margin-left: 70px;
}

.card p{
    color: #5F3521;
    text-align: center;
    font-family: "Cooper Std", serif;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.35;
    margin: 0 auto;
}

#waarom{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 30px;
    padding: 80px 60px;
    background-color: #FFFFFF;
}

#waarom > h2{
    grid-column: 1 / -1;
    text-align: center;
    font-size: 2.5 rem;
    margin-bottom: 30px;
    color: #5F3521;
}

.card {
    padding: 20px;
    text-align: center; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: transform 0.2s ease;
}

.card img{
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 15px;
}

#footer-top{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    gap: 40px;
    background-color: #FDEBE7;
    padding: 60px 80px;
}

#footer-logo{
    max-width: 180px;
}

.footer-text{
    font-size: 28px;
    line-height: normal;
    margin: 0;
    color: #5F3521;
    text-align: center;
    font-family: "Sofia Sans";
    font-style: normal;
    font-weight: 400;
}

#footer-bottom{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 30px 20px;
    background-color: #FFD98C;
}

#footer-bottom p{
    margin: 0;
    font-size: 20px;
    text-align: center;
    columns: #5F3521;
    font-family: "Sofia Sans";
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

#shape-divider5{
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100vw;
    height: 150px;
    z-index: 1;
}

#shape-divider6{
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 150px;
    z-index: 1;
}

#contact {
    position: relative;
    overflow: hidden;
    padding: 200px 80px;
}

#contact-content{
    max-width: 800px;
    z-index: 2;
    position: relative;
}

#contact-content h2{
    font-family: "Cooper Std", serif;
    font-size: 48px;
    margin-bottom: 20px;
    color: #5F3521;
}

#contact-content p{
    font-family: "Sofia Sans", sans-serif;
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 40px;
    color: #5F3521;
}

#contact-form{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#contact-form input[type="text"],
#contact-form input[type="email"]{
    padding: 14px 18px;
    border-radius: 30px;
    border: #000000;
    font-size: 16px;
    font-family: "Sofia Sans", sans-serif;
}

#checkbox{
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-family: "Sofia Sans",sans-serif;
    color: #5F3521;
}

#contact-form button{
    display: inline-flex;
    margin-top: 10px;
    align-self: flex-start;
    padding: 14px 40px;
    border-radius: 30px;
    border: none;
    background-color: #FFAAA7;
    color: #5F3521;
    font-size: 18px;
    font-family: "Sofia Sans",sans-serif;
    cursor: pointer;
}

#contact-form button:hover{
    background-color: #ff8880;
}

#zeehond{
    position: absolute;
    right: 60px;
    top: 100px;
    width: 420px;
    z-index: 2;
    pointer-events: none;
    transform: rotate(83deg);
}

@media (max-width: 768px){
    #footer-top{
        grid-template-columns: 1fr;
        text-align: center;
    }

    #footer-logo{
        margin: 0 auto;
    }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 1024px) {

    #hero {
        height: auto;
        padding: 120px 40px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    #hero-content,
    #hero-titel {
        margin-left: 0;
        text-align: center;
    }

    #floating-img {
        display: block;
        position: relative;
        top: auto;
        left: 0;  
        margin: 20px 0 0 0;
        width: 260px;
        z-index: 1;
    }

    #floating-img2 {
        display: block;
        position: relative;
        top: auto;
        margin: 20px 0 0 auto; 
        width: 260px;
        z-index: 1;
    }

    #wat {
        flex-direction: column;
        height: auto;
        padding: 120px 40px;
    }

    #koekje {
        position: relative;
        margin: 20px auto 0 auto;
        width: 220px;
    }

    #overons-content {
        margin-left: 0;
        padding: 0 20px;
    }

    #waarom {
        grid-template-columns: repeat(2, 1fr);
    }

    #footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }


    #student > h2 {
        margin-top: 80px; 
    }

    #zeehond {
        position: relative;
        margin: 30px auto 0 auto; 
        width: 300px;
        z-index: 5; 
        transform: none;
    }
    #spel-image {
        border-radius: 22px;
    }
}

@media (max-width: 600px) {

    h2 {
        font-size: 36px;
    }

    p {
        font-size: 20px;
    }

    #floating-img {
        display: block;
        position: relative;
        top: auto;
        left: 0;
        margin: 20px 0 0 0;
        width: 220px;
        z-index: 1;
    }

    #floating-img2 {
        display: block;
        position: relative;
        top: auto;
        margin: 20px 0 0 auto; 
        width: 220px;
        z-index: 1;
    }

    #student > h2 {
        margin-top: 100px;
    }

    #zeehond {
        position: relative;
        margin: 20px auto 0 auto;
        width: 240px;
        z-index: 5; 
        transform: none;
    }

    #waarom {
        grid-template-columns: 1fr;
    }

    #student {
        padding: 120px 20px 40px 20px;
    }

    #contact {
        padding: 140px 20px;
    }

    #contact-form button {
        align-self: stretch;
        text-align: center;
    }
    #spel-image {
        border-radius: 22px;
    }
}