:root {
    --crowbar-50-bg-color: #b8d8d6;
    --crowbar-background-very-light-grey: rgb(230, 230, 230);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: alternate-gothic-no-2-d, sans-serif;
    font-weight: normal;
}

h1 {
    font-size: 48px;
}

h2 {
    font-size: 36px;
}

h3 {
    font-size: 36px;
}

h3 {
    color: hsl(0, 0%, 58%);
}

@media (width <=900px) {
    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 30px;
    }

    h3 {
        font-size: 28px;
    }
}

body {
    font-family: aktiv-grotesk, sans-serif;
    max-width: calc(min(100vw - 140px, 1500px));
    margin: auto;
}

@media (width <=900px) {
    body {
        max-width: calc(100vw - 40px);
    }
}

a {
    color: black;
}

p {
    margin-bottom: 18px;
    line-height: 28px;
}

header {
    margin-top: 40px;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (width <= 990px) {
    header {
        margin-top: 40px;
        margin-bottom: 40px;
    }
}

header #internal-links {
    display: flex;
    align-items: center;
    column-gap: 40px;
}

@media (width <= 990px) {
    header #internal-links div {
        display: none;
    }
}

header #internal-links div {
    position: relative;
}

header #internal-links div:not(.active):hover:after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0%;
    width: 100%;
    height: 1px;
    background-color: black;
    animation: grow-underline 0.25s ease-in;
}

@keyframes grow-underline {
    from {
        width: 0;
        left: 50%;
        opacity: 0;
    }

    to {
        width: 100%;
        left: 0;
        opacity: 1;
    }
}

header #internal-links a {
    text-decoration-line: none;
}

header #external-links {
    display: flex;
    align-items: center;
    column-gap: 20px;
}

@media (width <= 990px) {
    header .social-media-icon {
        display: none;
    }
}

header #external-links div {
    width: 40px;
    padding: 5px;
}

.active {
    text-decoration: underline;
    text-underline-offset: 8px;
}

#planner-new-tag {
    color: white;
    background-color: #ff2727;
    font-size: 12px;
    padding: 1px 7px;
    border-radius: 15px;
    font-weight: bold;
    position: relative;
    bottom: 7px;
    left: 5px;
}



#menu {
    display: none;
}

#menu a {
    text-decoration-line: none;
}

#menu.menu-open {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 12px;
    font-size: 2.3em;
    padding-bottom: 100px;
}

a.button-outline-dark {
    border: 2px solid black;
    background: none;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 80px;
    padding-right: 80px;
    color: black;
    text-decoration-line: none;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
}

a.button-outline-dark:hover {
    background-color: black;
    color: white;
    transition: background-color 0.4s ease;
}

#mailto-link {
    color: black;
    text-underline-offset: 7px;
    text-decoration-thickness: 1px;
    margin-bottom: 60px;
}

.contact-box-item {
    margin-bottom: 25px;
}

.image-full {
    margin-top: 100px;
    margin-bottom: 100px;
}

.image-full img {
    width: 100%;
    max-width: fit-content;
}

#contact-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
    align-items: center;
    gap: 100px;
    padding-top: 80px;
    padding-bottom: 80px;
}

@media (width <= 1200px) {
    #contact-container {
        grid-template-columns: unset;
    }
}

#contact-container h1 {
    margin-bottom: 40px;
}

#contact-container .col {
    max-width: 320px;
    text-align: center;
}

footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 80px;
    margin-bottom: 80px;
}

footer a img {
    width: 40px;
    height: 40px;
    padding: 8px;
    text-decoration-line: none;
}

footer a {
    text-decoration-line: none;
}

.social-links {
    display: flex;
}

#hamburger-icon {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

@media (width > 990px) {
    #hamburger-icon {
        display: none;
    }
}

#hamburger-icon-top {
    position: absolute;
    background-color: black;
    width: 30px;
    height: 2px;
    transform: translateY(-5.5px);
    transition: transform 250ms cubic-bezier(.2, .6, .3, 1), width 250ms cubic-bezier(.2, .6, .3, 1);
}

#hamburger-icon-bottom {
    position: absolute;
    background-color: black;
    width: 30px;
    height: 2px;
    transform: translatey(5.5px);
    transition: transform 250ms cubic-bezier(.2, .6, .3, 1), width 250ms cubic-bezier(.2, .6, .3, 1);
}

.menu-open#hamburger-icon-top {
    transform: translateY(0) rotate(-135deg);
    transition: transform 250ms cubic-bezier(.2, .6, .3, 1), width 250ms cubic-bezier(.2, .6, .3, 1);
}

.menu-open#hamburger-icon-bottom {
    transform: translateY(0) rotate(135deg);
    transition: transform 250ms cubic-bezier(.2, .6, .3, 1), width 250ms cubic-bezier(.2, .6, .3, 1);
}

main.menu-open,
footer.menu-open {
    display: none;
}

#menu .social-links {
    margin-top: 50px;
}

#menu a img {
    width: 60px;
    height: 60px;
    padding: 10px;
    text-decoration-line: none;
}

#intro-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 100px;
    margin-bottom: 150px;
}

@media (width <=900px) {
    #intro-block {
        gap: 20px;
        margin-top: 60px;
        margin-bottom: 100px;
    }
}

#intro-block>* {
    text-align: center;
    max-width: 800px;
}


/* WORKFLOW SECTION HAS AN IMAGE ON THE LEFT AND AN ACCORDION ON THE RIGHT */

#workflow {
    display: grid;
    grid-template-columns: 50% auto;
    gap: 50px;
    margin-bottom: 100px;
}

@media (width <=900px) {
    #workflow {
        grid-template-columns: 100%;
    }
}


/* FRAME-SIZES SECTION HAS AN IMAGE ON THE LEFT AND AN ACCORDION ON THE RIGHT */

#frame-sizes {
    display: grid;
    grid-template-columns: 65% auto;
    align-items: center;
    gap: 50px;
    margin-bottom: 120px;
}

@media (width <=900px) {
    #frame-sizes {
        grid-template-columns: 100%;
    }
}



#ontdek-buttons {
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: center;
    margin-top: 100px;
    margin-bottom: 100px;
}


.accordion-item {
    width: 100%;
    border-bottom: 1px solid lightgray;
}

.accordion-item:first-child {
    border-top: 1px solid lightgray;
}

.accordion__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.accordion-item p {
    display: none;
}

.accordion-item.accordion--expand p {
    display: block;
}


.accordion__arrow {
    width: 18px;
    height: 18px;
    transition: 200ms all ease-in-out;
}

.accordion-item .accordion__arrow {
    transition: 200ms all ease-in-out;
    transform: rotate(0deg);
    background-image: url("/static/images/chevron-down.svg");
}

.accordion-item.accordion--expand .accordion__arrow {
    transition: 200ms all ease-in-out;
    transform: rotate(180deg);
}


/* SPECIFIC TO CROWBAR 50 AND 30 PAGES */

#bike-intro {
    position: relative;
}

#bike-intro__background {
    position: absolute;
    background-color: var(--crowbar-50-bg-color);
    z-index: -1;
    top: -500px;
    bottom: -120px;
    left: -70px;
    right: -70px;
}

#bike-intro__content {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 100px;
    margin-bottom: 200px;
    padding-right: 10%;
}

@media (width <=900px) {
    #bike-intro__content {
        grid-template-columns: 1fr;
        padding-right: unset;
        margin-top: 80px;
        margin-bottom: 180px;
    }

    #bike-intro__background {
        left: -20px;
        right: -20px;
    }

}



/* LIGHTBOX */

.lightbox {
    display: grid;
    gap: 20px;
}

.c-2 {
    grid-template-columns: repeat(2, 1fr);
}

.c-3 {
    grid-template-columns: repeat(3, 1fr);
}

.c-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (width <=900px) {
    .c-2, .c-3, .c-4 {
        grid-template-columns: unset;
    }
}

.lightbox__photo[data-zoomable=true] {
    cursor: zoom-in;
}

#lightbox__zoom {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.9);
}

#lightbox__zoom__container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

#lightbox__zoom img {
    padding: 100px;
    max-height: calc(100vh - 100px);
    cursor: zoom-out;
}

@media (width <=900px) {
    #lightbox__zoom img {
        padding: 20px;
    }
}

#lightbox__zoom button {
    background-image: url("/static/images/close.svg");
    background-repeat: no-repeat;
    background-color: white;
    width: 26px;
    height: 26px;
    position: absolute;
    top: 30px;
    right: 30px;
    border: none;
}


/* BUILD EXAMPLES */

#build-examples {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    margin-bottom: 100px;
    gap: 100px;
}

@media (width <= 990px) {
    #build-examples {
        grid-auto-flow: row;
    }
}

#build-examples h2 {
    margin-bottom: 20px;
}

#build-examples ul {
    line-height: 2.5em;
}

.build-examples__price {
    font-size: 1.5em;
    margin: 15px;
}

.build-examples__vat {
    margin: 15px;
}


/* BESTELFORMULIER */

#bestel-info {
    margin: auto;
    margin-top: 50px;
    margin-bottom: 150px;
    max-width: 700px;
}

#bestel-info h1 {
    margin-bottom: 50px;
}


/* FOTOALBUM */

.fotos__post {
    margin-bottom: 150px;
}

.fotos__title {
    max-width: 700px;
}

.fotos__text {
    max-width: 700px;
    margin-top: 30px;
    margin-bottom: 60px;
}

.fotos__text ul {
    line-height: 2.5em;
}


/* STOCK */

#shop-info {
    max-width: 700px;
}

#shop-info h1 {
    margin-bottom: 10px;
}

#stock-list {
    margin-top: 80px;
    margin-bottom: 150px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background-color: var(--crowbar-background-very-light-grey);
    border: 1px solid var(--crowbar-background-very-light-grey);
}

@media (width <= 1100px) {
    #stock-list {
        grid-template-columns: 1fr 1fr;
    }
}

@media (width <= 600px) {
    #stock-list {
        grid-template-columns: 1fr;
    }
}

#stock-list a {
    text-decoration: none;
}

.stock-item {
    padding: 50px;
    padding-top: 40px;
    background-color: white;
    max-width: 600px;
}

.stock-item .product-name {
    font-family: alternate-gothic-no-2-d, sans-serif;
    font-size: 1.75em;
    line-height: 1.15em;
    min-height: 2.5em;
    margin-top: 5px;
    margin-bottom: 5px;
}

.stock-item .product-description {
    margin-top: 40px;
    margin-bottom: 50px;
}

.stock-item .stock {
    color: white;
    background-color: green;
    display: inline-block;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
    padding-right: 10px;
}

.stock-item .sale {
    color: white;
    background-color: red;
    display: inline-block;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
    padding-right: 10px;
}

.stock-item .price {
    font-family: alternate-gothic-no-2-d, sans-serif;
    font-size: 1.75em;
    line-height: 1.25em;
    margin-top: 15px;
    margin-bottom: 15px;
}

.stock-item .image {
    display: grid;
    justify-items: center;
    align-items: center;
    height: 250px;
}

.stock-item .image img {
    max-height: 250px;
}

.stock-item .sale-labels {
    display: flex;
    column-gap: 10px;
}

.cards {
    display: flex;
    gap: 20px;
    padding: 0;
    margin-top: 25px;
}

.cards li {
    list-style: none;
}

.cards li svg {
    width: 50px;
    height: 50px;
}


/* 404 */

#not-found {
    font-size: 5em;
}
