@import "apistyles.css";
@import "top.css";
@import "contact.css";
@import "footer.css";
@import "cart.css";
@import "loadingAndError.css";

* {
    font-family: "Lato", Verdana, Geneva, Tahoma, sans-serif;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    background-repeat: no-repeat;
}

body {
    width: 100vw;
    overflow-x: hidden;
}

/*Picture with text on the index*/
main .lemonsjoen {
    background-image: url("../images/Lemonsjoen-Mona-1.png");
    height: 65vh;
    background-repeat: no-repeat;
    position: relative;
    background-size: cover;
    width: 100%;
    background-position: center;
}

.lemonsjoen-text {
    position: absolute;
    text-align: center;
    left: 20px;
    bottom: 60px;
    background: rgba(255, 255, 255, 0.2);
    background-size: contain;
    background-repeat: no-repeat;
    border-radius: 1.25em;
    padding: 5px;
}

/*Text image on index*/
.bottom-left {
    font-size: 50px;
    color: black;
    text-decoration: underline;
}

.bottom-left-under {
    font-size: 36px;
    color: black;
    font-style: italic;
}

.trending {
    font-size: 50px;
    color: #000;
    text-align: center;
    padding-bottom: 10px;
    padding-top: 10px;
}

/*Used on multiple pages*/
.slogan-middle {
    font-style: italic;
    text-align: center;
    font-size: 2.3em;
    font-weight: 550;
    padding-bottom: 40px;
    padding-left: 10px;
    padding-right: 10px;
}

.headline-pages {
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 38px;
}

.women-picture,
.contact-picture,
.men-picture,
.all-picture,
.labbedal-picture,
.about-picture,
.cart-picture,
.kids-picture,
.sizeImage {
    max-width: 70vw;
    padding: 20px 20px 40px 20px;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.labbedal-image img {
    height: 150px;
    background-color: #bfd4bc;
}

.thank-you {
    max-width: 100%;
    padding: 20px 20px 40px 20px;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.about-picture {
    border-radius: 10em;
}

.about-text {
    font-size: 20px;
    font-style: italic;
    text-align: center;
    margin: 3px 20px 3px 20px;
    padding-left: 40px;
    padding-right: 40px;
}

.product-buttons {
    display: flex;
    justify-content: center;
    gap: 50px;
}

.buttonsProduct {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.detailButton {
    background-color: #dfe8dd;
    border: none;
    color: black;
    padding: 10px 20px 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1.7em;
    margin: 30px 2px 4px 2px;
    cursor: pointer;
    border-radius: 10%;
    transition: box-shadow 0.3s ease-in-out;
}

@media (max-width: 800px) {
    .shopping-cart {
        width: 100%;
        height: auto;
        overflow: hidden;
    }
    .item {
        height: auto;
        flex-wrap: wrap;
        justify-content: center;
    }
    .image img {
        width: 50%;
    }
    .image,
    .quantity,
    .description {
        width: 100%;
        text-align: center;
        margin: 6px 0;
    }
    .buttons {
        margin-right: 20px;
    }
}

/*Start media queries*/
@media screen and (max-width: 1420px) {
    header div {
        display: flex;
        flex-direction: column;
    }
    .navbar a {
        display: flex;
        font-size: 28px;
        gap: 89px;
    }
    nav {
        padding-left: 15px;
    }
    header {
        display: block;
    }
    header .logoheader {
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
    .searchField {
        display: flex;
        justify-content: center;
        background-color: #dfe8dd;
        padding-bottom: 10px;
    }
}

@media screen and (max-width: 1045px) {
    .sizing-boxes {
        display: flex;
        flex-direction: column;
    }
    .labbedal-card {
        max-height: 550px;
    }
}

@media screen and (max-width: 824px) {
    .navbar a {
        font-size: 28px;
    }
    .socials {
        align-items: center;
        display: flex;
        flex-direction: column;
    }
    .social-content {
        align-items: center;
        display: flex;
        flex-direction: column;
    }
}

@media screen and (max-width: 770px) {
    main .lemonsjoen {
        height: 30vh;
        width: 100%;
    }

    .lemonsjoen-text {
        transform: translateY(0);
        text-align: center;
        padding-left: 0;
        left: 0;
    }

    .bottom-left {
        font-size: 30px;
    }

    .bottom-left-under {
        font-size: 20px;
    }

    .checkout-page {
        display: block;
    }
    .cardSpecific {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media screen and (max-width: 630px) {
    .navbar a {
        font-size: 25px;
    }

    header .logoheader {
        align-items: center;
        margin-left: 0;
        width: 70%;
        height: 50%;
    }
}

@media screen and (max-width: 500px) {
    .navbar {
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .contact-page {
        display: flex;
        flex-direction: column;
    }

    .in-cart-product-color {
        width: 100%;
        background-color: #bfd4bc;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    form p {
        text-align: center;
    }
}

@media screen and (max-width: 1420px) {
    .header {
        position: relative;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    .navbar {
        text-align: center;
        position: absolute;
        left: 0;
        right: 0;
        display: none;
        z-index: 1;
        padding: 0;
        margin: 0;
    }

    .navbar a {
        display: block;
        padding: 25px 15px;
        text-decoration: none;
        text-align: center;
        background-color: #dfe8dd;
        color: black;
        font-weight: bold;
    }

    .navbar a.active {
        text-decoration: underline;
        -ms-transform: matrix(1.1, 0, 0, 1.1, 0, 0);
        -moz-transform: matrix(1.1, 0, 0, 1.1, 0, 0);
        -o-transform: matrix(1.1, 0, 0, 1.1, 0, 0);
        -webkit-transform: matrix(1.1, 0, 0, 1.1, 0, 0);
        transform: matrix(1.1, 0, 0, 1.1, 0, 0);
    }

    .hamburger-menu {
        position: absolute;
        top: 6%;
        right: 8%;
        font-size: 3rem;
        z-index: 10;
        padding-left: 10px;
    }

    .hamburger-menu-close {
        position: absolute;
        top: 6%;
        right: 8%;
        font-size: 3rem;
        display: none;
        z-index: 10;
        padding-left: 10px;
    }
}

@media screen and (min-width: 1420px) {
    #open,
    #close {
        display: none;
    }
}
