* {
    margin: 0;
    box-sizing: border-box;
}

:root {
    --font-family-light: 'ApercuPro-Light';
    --font-family-gt: 'GTSuperDisplay-Regular';
}

body {
    position: relative;
}

ul {
    list-style-type: none;
}

nav {
    position: fixed;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 68.8px;
    background-color: white;
    z-index: 3;
}

nav label {
    display: none;
}

#nav-options {
    /*border: 1px solid black;*/
    list-style-type: none;
    
}

#nav-options li {
    display: inline-block;
    font-size: 14px;
    margin-right: 20px;
    font-family: 'ApercuPro-Light';
    letter-spacing: 0;
    color: gray;
}

#nav-options li:first-child {
    margin-left: -15px;
}

#nav-title {
    border: none;
    height: 28.8px;
    width: 68.8px;
    margin-right: 220px;
}

.down-symbol:hover {
    cursor: pointer;
}

#nav-about {
    height: 45px;
    width: 200px;
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#nav-about span {
    color: gray;
    font-size: 14px;
    margin-top: 6px;
    margin-left: 6px;
    font-family: 'ApercuPro-Light';
}

.nav-text:hover {
    cursor: pointer;
    border-bottom: 1px solid black;
}

#nav-about svg:hover {
    cursor: pointer;
}

.content {
    position: fixed;
    border: 1px solid rgba(33,37,41,0.2);
    background-color: white;
    z-index: 3;
}

.content ul li {
    display: block;
    font-size: 14px;
    margin: 33px 10px 15px 10px;
    font-family: 'ApercuPro-Light';
    letter-spacing: 0;
    color: gray;
}

#content1 {
    visibility: hidden;
    left: 220px;
    height: 140px;
    top: 50px;
    width: 300px;
}

#content2 {
    visibility: hidden;
    left: 320px;
    top: 50px;
    height: 240px;
    width: 300px;
}

main {
    position: relative;
    width: 100%;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 90vh;
    overflow: hidden;
}

.carousel-items {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-item-1 {
    background: url("https://nack.life/cdn/shop/files/Whey_desktop_banner_1280x.jpg?v=1695813966");
}

.carousel-item-2 {
    background: url("https://nack.life/cdn/shop/files/asta_desktop_banner_1280x.jpg?v=1695813834");
}

.carousel-item-3 {
    background: url("https://nack.life/cdn/shop/files/desktopcover_copy_1280x.jpg?v=1695814498");
}

.carousel-item-4 {
    background: url("https://nack.life/cdn/shop/files/desktopbanner_1280x.jpg?v=1692342864");
}

.item {
    flex: 0 0 100%;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-size: cover;
}

.item h2 {
    font-family: "GTSuperDisplay-Regular" !important;
    font-size: 45px;
    font-weight: 500 !important;
    color: white;
}

.item p {
    margin-top: 10px;
    color: white;
}

.item button {
    height: 50px;
    width: 170px;
    margin-top: 30px;
    background-color: black;
    color: white;
    font-weight: bold;
    border: none;
}

.item button:hover {
    cursor: pointer;
    opacity: 0.9;
    color: #face93;
}

.carousel-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.carousel-indicators label {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: gray;
    margin: 0 5px;
    cursor: pointer;
}

.carousel-indicators label:hover {
    background-color: white;
}

input[type="radio"] {
    display: none;
}

#slide1:checked ~ .carousel-items {
    transform: translateX(0);
}

#slide2:checked ~ .carousel-items {
    transform: translateX(-100%);
}

#slide3:checked ~ .carousel-items {
    transform: translateX(-200%);
}

#slide4:checked ~ .carousel-items {
    transform: translateX(-300%);
}

.mid-h {
    margin-top: 40px;
    font-family: ApercuPro-Bold,Source Sans Pro,Helvetica,sans-serif;
    font-style: normal;
    letter-spacing: 3px;
    font-size: 12px;
    text-transform: uppercase;
    color: #000;
    margin-bottom: 13px;
    text-align: center;
}

.mid-h-lower {
    font-family: GT-SuperDisplay-Regular;
    line-height: 2.9rem;
    font-size: 32px;
    font-weight: 500;
    text-transform: capitalize;
    color: #000;
    margin-bottom: 13px;
    text-align: center;
}

.slideshow-container {
    margin-top: 50px;
    width: 100%;
    position: relative;
    padding-left: 50px;
}
  
.arrow {
    position: absolute;
    top: 50%;
    margin-top: -25px;
    width: 15px;
    height: 15px;
}
  
#arrow-left {
    left: 10px;
}

#arrow-left:hover {
    cursor: pointer;
}
  
#arrow-right {
    right: 0;
    margin-right: 30px;
}

#arrow-right:hover {
    cursor: pointer;
}
  
#slider {
    width: 100%;
    overflow-x: hidden;
    white-space: nowrap;

}
  
.slides {
    width: 33%;
    height: auto;
    display: inline-block;
    vertical-align: top;
    white-space: normal;
}


.slides img {
    width: 90%;
    height: auto;
}

/* .slides {
    flex: 0 0 33.33%; /* adjust the width to fit 3 items 
} */

.product-desc {
    margin-top: 50px;
    padding: 0 150px 0 150px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

#plant-protein-container {
    margin-top: 100px;
    height: 500px;
    padding: 40px;
}

.product-image img {
    width: 560px;
    max-height: 730px;
}

.product-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 400px;
}

.product-details h6 {
    font-family: ApercuPro-Bold,Source Sans Pro,Helvetica,sans-serif;
    font-style: normal;
    letter-spacing: 3px;
    font-size: 12px;
    text-transform: uppercase;
    color: #000;
    margin-bottom: 13px;
}

.product-details h2 {
    font-size: 31.235px;
    font-family: GTSuperDisplay-Regular;
    font-style: normal;
    font-weight: 120;
    line-height: 2.9rem;
    text-transform: capitalize;
    color: #212529;
    margin: 0 0 8px;
}

.product-details p {
    font-family: ApercuPro-Light,Source Sans Pro,Helvetica,sans-serif;
    -moz-transform: scale(1);
    transform: scale(1);
    -webkit-transform: scale(1);
    line-height: 24px;
    text-align: left;
    font-size: 14px;
    color: #212529;
}

.product-details button {
    margin-top: 50px;
    height: 50px;
    max-width: 150px;
    font-size: 12px;
    font-weight: 800;
    background: #face93;
    font-family: ApercuPro-Bold,Source Sans Pro,Helvetica,sans-serif;
    letter-spacing: 1px;
    text-align: center;
    border-radius: 2px;
    text-transform: uppercase;
    text-decoration: none;
    color: #000;
    border: none;
}

.product-details button:hover {
    background: #000;
    color: #face93;
    cursor: pointer;
}

#simple-details {
    margin-top: 180px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

#simple-details div {
    width: 700px;
    margin-left: 150px;
}

.text-h2 {
    font-size: 32px;
    color: #212529;
    font-family: GTSuperDisplay-Regular !important;
    line-height: 2.9rem;
    text-transform: capitalize;
    font-weight: lighter;
}

#simple-details div p {
    margin-top: 10px;
    font-family: ApercuPro-Light,Source Sans Pro,Helvetica,sans-serif;
    -moz-transform: scale(1);
    transform: scale(1);
    -webkit-transform: scale(1);
    line-height: 24px;
    text-align: left;
    font-size: 14px;
    color: #212529;
    margin-bottom: 15px;
}

.text-a {
    font-size: 12px;
    color: #000;
    font-family: ApercuPro-Bold,Source Sans Pro,Helvetica,sans-serif;
    text-decoration: none;
    font-weight: 600;
    font-style: normal;
    border: none;
    letter-spacing: 1px;
}

.text-a:hover {
    color: #face93;
}

#nack-journal {
    margin-top: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background-color: #f9f6ef;
}

#nack-journal h2 {
    margin: 60px 0 0 0;
}

#nack-container {
    position: relative;
    height: 500px;
    margin: 0 60px 60px 60px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.journal-container {
    height: 80%;
    width: 60%;
    display: flex;
    flex-direction: column;
}

.journal-container:hover {
    opacity: 0.8;
}

.nack-image-container {
    width: 100%;
    height: 60%;
    overflow: hidden;
    margin: 0 auto;
}

.nack-image-container img {
    height: 100%;
    width: 100%;
    transition: 0.2s all ease-in;
}

.nack-image-container:hover img{
    transform: scale(1.1);
    cursor: pointer;
}

.nack-a-tag a {
    margin-top: 3%;
    color: #000000 !important;
    text-transform: uppercase!important;
    font-weight: 700;
    font-size: 10px!important;
    letter-spacing: -0.04px;
    text-decoration: underline;
    font-family: Apercupro-Light;
}

.nack-a-tag a:hover {
    color: #face93 !important;
}

.nack-h-tag {
    text-align: left;
    font-size: 19px;
    font-family: GTSuperDisplay-Bold!important;
    margin: 10px 0 12px 0;
    height: 55px;
    line-height: 1.2;
}

.nack-h-tag:hover {
    cursor: pointer;
}

.nack-p-tag {
    height: 89px;
    overflow: hidden;
    font-family: ApercuPro-Regular!important;
    margin-bottom: 0 !important;
}

.read-more-container {
    margin-top: 20px;
}

.read-more {
    display: inline-block;
    font-size: 14px;
    border-bottom: 2px solid #d79381;
    text-transform: uppercase;
    line-height: 1.2;
    padding: 0;
    border-radius: 0;
    font-family: ApercuPro-Bold,Source Sans Pro,Helvetica,sans-serif;
    text-decoration: none;
}

footer {
    position: relative;
    background-color: #000000;
    bottom: 0;
    height: 300px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}

#main-footer-part {
    height: 60%;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
}

#image-and-icon {
    height: 40%;
    width: 20%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

#image-and-icon img {
    height: 40px;
    width: 80px;
}

#image-and-icon ul {
    padding: 0;
}

#image-and-icon ul li {
    margin-left: 15px;
    float: left;
    display: inline;
}

#image-and-icon ul li:hover {
    cursor: pointer;
    transform: scale(1.1);
}

#about {
    height: 65%;
    width: 25%;
}

#about ul li {
    padding: 5px;
}

#about ul {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: end;
    flex-wrap: wrap;
}

#about a {
    color: #ffffff;
    font-size: 14px;
    font-family: var(--font-family-light);
}

#form-part {
    width: 30%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#form-part h3 {
    font-size: 30px;
    font-family: var(--font-family-gt);
}

#form-part form {
    height: 80%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

#form-email {
    border: 1px solid #e8ecf2;
    height: 40px;
    background-color: #000;
}

#email {
    background-color: #000;
    height: 100%;
    width: 100%;
    padding: 8px;
    border-style: none;
}

#email:focus {
    color: #fff;
    outline: none;
}

#form-button {
    font-weight: bold;
    font-size: 14px;
    height: 38px;
    border: none;
    text-transform: uppercase;
    background-color: #face93;
}

#copyright-part {
    text-align: center;
    color: #ffffffbf;
    font-size: 17px;
    font-family: var(--font-family-light);
}


/* Responsiveness */
@media only screen and (max-width: 1000px) {
    #nav-options {
        display: none;
    }

    #nav-title {
        margin-right: 0;
        margin-left: calc(100% - 84%);
    }

    #nav-about span {
        display: none;
    }

    #nav-about {
        width: 150px;
        justify-content: space-around;
    }

    nav label {
        display: block;
    }

    .slide {
        margin-top: 35px;
        height: 100vh;
        width: 67%;
        padding: 150px 0 0 0;
        position: absolute;
        background-color: #fff;
        transition: 0.5s ease;
        transform: translateX(-100%);
        z-index: 10;
    }

    .slide ul {
        top: 0;
    }

    .slide ul li i {
        font-size: 25px;
        margin-right: 30px;
    }

    .slide ul li {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 14px;
        font-family: 'ApercuPro-Light';
        color: gray;
        margin-bottom: 20px;
        margin-left: -30px;
    }

    .slide ul li:hover {
        cursor: pointer;
    }

    .slide ul li:hover .nav-text {
        border-bottom: 1px solid black;
    }
    
    nav label input {
        display: none;
        visibility: hidden;
        -webkit-appearance: none;
    }
    
    .toggle {
        position: absolute;
        height: 30px;
        width: 30px;
        top: 20px;
        left: 15px;
        z-index: 1;
        cursor: pointer;
        border-radius: 2px;
        background-color: #fff;
    }
    
    .toggle .common {
        position: absolute;
        height: 2px;
        width: 20px;
        background-color: #000;
        transform: 0.3s ease;
    }
    
    .toggle .top-line {
        top: 30%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    .toggle .middle-line {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    .toggle .bottom-line {
        top: 70%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    input:checked ~ .toggle .top-line {
        left: 2px;
        top: 14px;
        width: 25px;
        transform: rotate(45deg);
    }
    
    input:checked ~ .toggle .middle-line {
        opacity: 0;
        transform: translateX(20px);
    }
    
    input:checked ~ .toggle .bottom-line {
        left: 2px;
        top: 14px;
        width: 25px;
        transform: rotate(-45deg);
    }
    
    input:checked ~ .slide {
        transform: translateX(0);
    }
} 

@media only screen and (max-width: 900px) {
    .product-image {
        padding: 30px;
    }
    .product-image img {
        width: 260px;
        height: fit-content;
    }

    #plant-protein-container {
        height: 600px;
        margin-top: 0;
    }
    
} 

@media only screen and (max-width: 800px) {
    #nav-title {
        margin-left: 30%;
    }

    .carousel-container {
        position: relative;
        width: 100%;
        height: 1000px;
    }

    .item h2 {
        font-size: 30px;
    }

    .item p {
        text-align: center;
    }

    .slides {
        width: 100%;
        height: auto;
        vertical-align: top;
        white-space: normal;
    }

    .product-image {
        width: 100vw;
    }

    .product-image img {
        width: 95%;
    }

    .product-details {
        align-items: center;
    }

    #plant-protein-container {
        height: fit-content;
        width: 500px;
        background-color: #ffffff !important;
    }

    .product-desc:nth-child(odd) {
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
    }

    .product-desc:nth-child(even) {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    } 

    #simple-details {
        background-color: #f9f6ef;
    }

    #simple-details div {
        margin-left: 0;
        padding: 15px;
    }

    .product-details button {
        width: 200px;
    }

    #nack-container {
        flex-direction: column;
        height: 100%;
        margin-top: 20px;
    }

    .journal-container {
        margin: 1rem 4rem 0 0 !important;
    }

    .nack-image-container {
        height: 300px;
        width: 300px;
    }

    footer {
        height: 800px;
    }

    #main-footer-part {
        height: 600px;
        flex-direction: column;
        flex-wrap: nowrap;
    }

    #image-and-icon {
        margin-top: -90px;
        width: 100%;
        height: 30%;
        flex-direction: column;
        justify-content: space-evenly;
    }

    #image-and-icon img {
        margin-left: 30px;
        width: 30vw;
        height: 30%;
    }

    #image-and-icon ul li {
        margin-left: 30px;
        transform: scale(1.3);
    }

    #image-and-icon ul li:hover {
        transform: scale(1.4);
    }

    #about {
        width: 100%;
        height: 20%;
    }

    #form-part {
        width: 90%;
        height: 40%;
    }

    #form-part h3 {
        text-align: center;
    }

    #email {
        margin-top: 0;
        background-color: white;
    }

    #email:focus {
        color: #000000;
    }
}