html {
    scroll-behavior: smooth;
}

.page-wrapper {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
}


body {

    font-size: 1rem;
    color: #263E56;
    font-family: omnes-pro, sans-serif;

}

.backArrows {
    background-image: url('../images/arrows_bg.svg');
    background-repeat: initial;

}

header .container {

    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;

}

header .header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 5rem 8rem;
}

.header-text {
    display: flex;
    flex-direction: column;
    gap: 2, 5rem;
    max-width: 50%;
}

.header-image {
    max-width: 35%;
}

.header-image img {
    width: 100%;
    max-width: 540px;
    height: auto;
    display: block;

}


.logo {
    height: 50px;
}

nav {
    font-family: hobeaux, sans-serif;
}

nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

nav a {
    text-decoration: none;
    color: #263E56;

}


nav ul li a:hover {
    color: #BCDBE1;
    background-color: #263E56;
    padding: 0.5rem;
    border-radius: 1rem;

}

#cta-koekjes {
    font-size: 1.5rem;
    margin-top: 15rem;
    color: #263E56;
    text-decoration: none;

}

.default_button:hover {
    background-color: #54ABAB;
}

.default_button {
    text-align: center;
    padding: 0.5rem;
    font-family: hobeaux, sans-serif;
    background-color: #DFEDF0;
    border: none;
    border-radius: 0.5rem;


}

.scroll-top {
    position: fixed;
    right: 10rem;
    bottom: 2.5rem;
    width: 80px;
    height: 80px;
    cursor: pointer;
    z-index: 9999;
}

.scroll-top img {
    width: 100%;
    height: auto;
    display: block;


}




.highlight {
    color: #54ABAB;
}

.linebreak {
    display: block;
}

.icon {
    max-width: 42.5px;
    width: auto;
    height: auto;
}

.icon-grid p {
    font-family: hobeaux, sans-serif;
}

.icon-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    text-align: center;
    margin-top: 2rem;
}

.icon-item img {
    width: 80px;
    height: auto;
    margin-bottom: 0.5rem;
}

.icon-item p {
    margin: 0;
}


.cookie-wat {
    width: 100%;
    max-width: 343.42px;
    max-height: 362.34px;
}

.imgMaxWidth {
    max-width: 200px;
    width: auto;
    height: auto;
}

#kruiswoordraadsel {
    max-width: 519px;
    width: auto;
    height: auto;
}

.card img {
    width: 327px;
    height: 327px;
    border-radius: 16px;
    object-fit: cover;
    max-width: 100%;
    margin: 1rem;
}


.card h4 {
    font-family: hobeaux, sans-serif;
    padding-left: 1rem;
    font: size 1.5rem;
    margin-top: 1rem;


}

.card p {
    font-family: omnes-pro, sans-serif;
    font-size: 1.2rem;
    padding-left: 1rem;
    padding-bottom: 2rem;
    flex-grow: 1;

}

.card a {
    font-family: hobeaux, sans-serif;
    padding-left: 1rem;
    font: size 1.5rem;
    color: #263E56;
    text-decoration: none;
    margin-top: auto;
    padding-bottom: 1rem;
    text-transform: uppercase;


}


.card {

    width: 100%;
    max-width: 373px;
    flex-shrink: 0;
    margin-bottom: 3rem;
    border-radius: 16px;
    box-shadow: 0 6px 6px #263E56;
    padding-bottom: 1rem;
    flex: 0 0 373px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    flex-shrink: 0;

}


.card h4,
.card p,
.card a {
    text-align: left;
    padding-left: 1rem;
}


.yellow-card {
    background-color: #E7B142;
}

.blue-card {
    background-color: #54ABAB;

}

.blue-card p {
    color: #BCDBE1;

}

#carousel {
    display: flex;
    gap: 2rem;
    align-items: stretch;
}


.hidden {
    display: none;
    color: #263E56;
}

.active {
    display: block;
}

#widthImage {
    width: 100%;
    max-width: 1440px;
    height: 497px;
    object-fit: cover;
    object-position: center;
    display: block;
}




h1 {
    font-size: 3rem;
    font-family: ekamai, sans-serif;
    padding-top: 5rem;
}


h2 {
    margin-left: 6rem;
    font-size: 2.5rem;
    background: linear-gradient(90deg, #54ABAB, #263E56);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-family: ekamai, sans-serif;

    display: inline-block;

}

#h2Inn {
    margin-bottom: 3rem;
}

h3 {
    font-size: 2rem;
    font-family: ekamai, sans-serif;
    color: #54ABAB;
    margin: 120px;
    padding-bottom: 2rem;
}

#headerP {
    font-size: 1.5rem;
}

p {
    font-size: 1.2rem;
    padding-top: 3rem;
}

header {
    background-color: #E7B142;
    padding: 20px;
}

section {
    padding: 20px;
}

.yellow-bg {
    background-color: #E7B142;
}

.blue-bg {
    background-color: #BCDBE1;
}

.formulier {
    border: none;
    border-bottom: 2px solid #263E56;
    background: transparent;
    padding: 5px 0;
    width: 60%;
    outline: none;
}

.overOns {
    padding-left: 15rem;
    justify-content: center;
    padding-top: 0rem;
    padding-bottom: 3rem;
}

#basis {
    font-family: omnes-pro, sans-serif;
}

label {
    font-family: hobeaux, sans-serif;
    color: #263E56;


}

.caps {
    text-transform: uppercase;
}


.split-section {
    display: flex;
    align-items: flex-start;
        gap: 4rem;
    padding: 4rem 8rem;
}


.left p {
    margin-top: 0;
}


.split-section .left {
    display: flex;
    justify-content: flex-start;
    align-content: center;
    flex-direction: column;
    gap: 1.5rem;
    width: 40%;
}

.split-section .left p {
    margin: 0;
    padding: 0;
}

.split-section .right {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 60%;   
}

.split-section h3 {
    margin: 0;
}

.split-section p {
    margin: 0;
    padding: 0;
}

.split-section h3+p {
    margin-top: 0.75rem;
}

h5 {
    display: none;
}




.image-article {
    position: relative;

    background-image: url("../images/cookie_baker.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    aspect-ratio: 1440 / 497;
    display: flex;
    align-items: flex-end;
    padding: 0;
}



.image-article__content {
    background-color: #E7B142;
    width: 796px;
    padding: 2rem 3rem;

    border-top-right-radius: 16px;

    margin-left: 0;
    margin-bottom: 0;
}


#contact {
    display: flex;
    flex-direction: column;

    gap: 4rem;
}

#contact p {
    margin-top: 0;

}

fieldset {
    margin-bottom: 2rem;
}


form {
    margin-top: 3rem;
    padding-left: 0;
    position: relative;
    /* needed for mascot positioning */
}

input[type="checkbox"] {
    margin-right: 0.75rem;
}


.submit-mascot {
    position: relative;
    margin-top: 2rem;
    padding-bottom: 0;
    margin-bottom: 0;
}

.submit-mascot img {
    max-width: 113px;
    width: 100%;
    display: inline-block;
}

.submit-mascot button {
    position: absolute;
    width: 153px;
    left: 35%;
    transform: translateX(-155%);
    z-index: 2;
} 



.horizontal_view {
    display: flex;
    gap: 2rem;

    align-items: center;
    max-width: 100%;
    overflow: hidden;
    /* belangrijk! */
}

.icon-button {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    box-shadow: none;
    appearance: none;
    cursor: pointer;
}

.icon-button img {
    display: block;
}


footer {
    font-family: omnes-pro, sans-serif;
    background-color: #BCDBE1;
    padding: 4rem;
    color: #263E56;

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    box-sizing: border-box;
}




.contact {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.25rem;
    width: 200px;
    font-style: normal;

    justify-self: start;
    text-align: left;
}


#Oogbites {
    justify-self: center;

    width: 120px;
    flex-shrink: 0;
}

footer address a{
      text-decoration: none;
      color: #263E56;
}
.adres {
    justify-self: end;
    text-align: right;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    width: 220px;
}


.small {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 0.75rem;
    text-decoration: none;
}

footer>p:last-of-type {
    grid-column: 1 / -1;
    text-align: center;
}


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

    .contact,
    .adres {
        justify-self: center;
        text-align: center;
    }
}


@media (max-width: 600px) {
    .horizontal_view {
        gap: 1rem;
    }

    .card {
        max-width: 100%;
    }
}

@media (max-width: 1440px) {
    #widthImage {
        height: 35vw;
    }
}

@media (max-width: 768px) {
    #widthImage {
        height: 200px;
    }
}

@media (max-width: 768px) {

  header .container {
    flex-direction: column;
    gap: 1rem;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .logo {
    height: 40px;
  }

  header .header-content {
    flex-direction: column;
    padding: 2rem 1rem;
    text-align: center;
  }

  .header-text {
    max-width: 100%;
  }

  .header-image {
    max-width: 70%;
  }

  h1 {
    font-size: 2rem;
    padding-top: 2rem;
  }

  #headerP {
    font-size: 1.1rem;
  }

  #cta-koekjes {
    margin-top: 2rem;
    font-size: 1.2rem;
  }

  .split-section {
    flex-direction: column;
    padding: 2rem 1rem;
    gap: 2rem;
  }

  .split-section .left,
  .split-section .right {
    width: 100%;
  }

  h3 {
    margin: 0;
    font-size: 1.5rem;
  }

  p {
    font-size: 1rem;
  }

  h2 {
    margin-left: 0;
    text-align: center;
    font-size: 2rem;
  }

  #h2Inn {
    margin-bottom: 2rem;
  }

  .icon-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .image-article {
    aspect-ratio: auto;
    min-height: 250px;
  }

  .image-article__content {
    width: 100%;
    border-radius: 0;
    padding: 1.5rem;
  }

  .formulier {
    width: 100%;
  }

  .submit-mascot {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .submit-mascot button {
    position: static;
    transform: none;
    margin-bottom: 1rem;
  }

  .scroll-top {
    right: 1rem;
    bottom: 1rem;
    width: 60px;
    height: 60px;
  }
}
