body{
    background-color: black;
    margin: 0;
    display: grid;
    font-family: "Inter" ;
}

h1, h2 {
    font-family: "Inter";
    font-weight: 850;
}

p {
    font-weight: 450;
    font-family: "Inter";
}

/* BUTTONS */

.button {
    font-family: "Inter";
    text-decoration: none;
}

.button-blue {
    background-color: black;
    border: 3px solid #00dcfe;
    color: #00dcfe;
    text-align: center;
    font-size: 20px;
    font-weight: 800;
    padding: 8px;
    border-radius: 12px;
    transition-duration: 0.4s;
    cursor: pointer;
}

.button-blue:hover {
    background-color: #00dcfe;
    color: black;
}

.button-red {
    background-color: black;
    border: 3px solid #fe0d5a;
    color: #fe0d5a;
    text-align: center;
    font-size: 20px;
    font-weight: 800;
    padding: 8px;
    border-radius: 12px;
    transition-duration: 0.4s;
    cursor: pointer;
}

.button-red:hover {
    background-color: #fe0d5a;
    color: black;
}

.button-orange {
    background-color: black;
    border: 3px solid #ff660f;
    color: #ff660f;
    text-align: center;
    font-size: 20px;
    font-weight: 800;
    padding: 8px;
    border-radius: 12px;
    transition-duration: 0.4s;
    cursor: pointer;
}

.button-orange:hover {
    background-color: #ff660f;
    color: black;
}

.btt {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-decoration: none;
}

.button-green{
    background-color: black;
    border: 3px solid #05ff2c;
    color: #05ff2c;
    text-align: center;
    font-size: 20px;
    font-weight: 800;
    padding: 8px;
    border-radius: 12px;
    transition-duration: 0.4s;
    cursor: pointer;
    text-decoration: none;
}

.button-green a:visited {
    text-decoration: none;
}

.button-green:hover {
    background-color: #05ff2c;
    color: black;
    text-decoration: none;
}

/*NAV1*/
.logo {
    margin-left: 30px;
    margin-top: 10px;
}

nav {
    top: 0;
    transition: all 600ms ease-in-out;
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    transition: all 600ms ease-in-out;
    background-color: hsl(0, 0%, 0%);
}


ul {
    margin: 0;
    padding: 40px;
    display: flex;
    justify-content: flex-end;
    list-style-type: none;
}

li {
    margin-right: 30px;
    font-family: Sora, Inter;
    font-weight: 500;
    font-size: 25px;
    text-decoration: none; 
} 
    
li a, .logo a { 
    text-decoration: none; 
    color: hsl(0, 0%, 70%); 
    transition: font-size 0.2s ease, color 0.2s ease;
} 

li a:hover, .logo a:hover { 
    text-decoration: none; 
    color: hsl(0, 0%, 95%); 
    font-size: 115%;
}

.active {
    color: hsl(0, 0%, 95%)
}

/* NAVIGATION */

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1em;
    background-color: #fb18c2;
    height: 3em;
    position: relative;
    z-index: 10;
}


.overlay-content {
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    list-style: none;
    justify-content: space-evenly;
    width: 100%;
    position: absolute;
    margin: 0 auto;
    padding: 0;
    top: 1.5em;
    z-index: 20;
    transition: transform 0.5s ease;
    overflow: visible;
}

.overlay-content li {
    margin: 0 1em;
}

.overlay-content a {
    color: black;
    text-decoration: none;
    padding: 1em;
    font-size: 25px;
    text-align: center;
 
}

.overlay a{
    transition: 0.5s;
}

.overlay a:hover {
    color: white;
    transform: scale(1.8);
}

.overlay-content a:active {
    color: white;
    transform: scale(1.8);
}

.menu-icon {
    display: none;
}

.closebtn {
    display: none;
}


/* INDEX.HTML */

.hero, .hero-tablet, .hero-desktop {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-tablet, .hero-desktop {
    display: none;
}

.hero-image {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    z-index: 1;
    overflow: hidden;
}

.get-started {
    margin: 0;
    grid-template-rows: 500px 100px;
    grid-template-columns: 1fr 30px 30px 30px 30px 1fr;
    display: flex;
    align-items: center;
    justify-items: center;
}

.op-button {
    margin-top: 1em;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.img-container {
    padding: 2em;
    width: 100%;
    color: black;
    position: relative;
    text-align: center;
    justify-content: center;
}

.squiggle-blue-index {
    left: -35px;
    right: 0;
    width: 100%;
    height: 7.5em;
    display: block;
    position: relative;
}

.squiggle-blue, .squiggle-green {
    left: 0;
    right: 0;
    width: 100%;
    height: 7.5em;
    display: block;
    position: relative;
}

.flow-red {
    width: 100%;
    height: 7.5em;
    display: block;
    position: relative;
}

.text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  
.squiggle-orange-home {
    width: 100%;
    height: 25em;
    display: block;
    position: relative;
}

.item img {
    width: 200px;
    margin-top: 15px;
}

.name {
    margin-bottom: 2px;
    color: white;
    font-family: "Inter";
}

.buy {
    margin-bottom: 15px;
}

.price {
    font-style: italic;
    margin-top: 2px;
    color: white;
    font-family: "Inter";
}

input [type="radio"] {
    position: absolute;
    display: block;
    margin-right: auto;
    margin-left: auto;
}

.radio-buttons {
    display: flex;
    justify-content: center;
}

#carousel {
    grid-row: 1 / 2;
    grid-column: 1 / 8;
    width: 100vw;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 600px;
    --items: 4;
    --middle: 2;
    --position: 1;
    pointer-events: none;
}

div.item {
    text-align: center;
    padding: 50px;
    position: absolute;
    width: 300px;
    height: 400px;
    --r: calc(var(--position) - var(--offset));
    --abs: max(calc(var(--r) * -1), var(--r));
    transition: all 0.25s linear;
    transform: rotateY(calc(-10deg * var(--r)))
    translateX(calc(-300px * var(--r)));
    z-index: calc((var(--position) - var(--abs)));
}

.carousel-container {
    text-align: center;
    cursor: default;
}

div.item:nth-of-type(1) {
    --offset: 1;
}
div.item:nth-of-type(2) {
    --offset: 2;
}
div.item:nth-of-type(3) {
    --offset: 3;
}
div.item:nth-of-type(4) {
    --offset: 4;
}

input:nth-of-type(1) {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}
input:nth-of-type(1):checked ~ #carousel {
    --position: 1;
}

input:nth-of-type(2) {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
}
input:nth-of-type(2):checked ~ #carousel {
    --position: 2;
}

input:nth-of-type(3) {
    grid-column: 4 / 5;
    grid-row: 2 / 3;
}
input:nth-of-type(3):checked ~ #carousel {
    --position: 3;
}

input:nth-of-type(4) {
    grid-column: 5 / 6;
    grid-row: 2 / 3;
}
input:nth-of-type(4):checked ~ #carousel {
    --position: 4;
}

.button-blue {
    background-color: black;
    border: 3px solid #00dcfe;
    color: #00dcfe;
    text-align: center;
    font-size: 20px;
    padding: 8px;
    border-radius: 12px;
    transition-duration: 0.4s;
    cursor: pointer;
}

.button-blue:hover {
    background-color: #00dcfe;
    color: black;
}

.add-to-cart-red {
    background-color: black;
    border: 2px solid #fe0d5a;
    color: #fe0d5a;
    text-align: center;
    font-size: 10px;
    padding: 4px;
    border-radius: 6px;
    transition-duration: 0.4s;
    cursor: pointer;
}

.add-to-cart-red:hover {
    background-color: #fe0d5a;
    color: black;
}

.buy-red {
    background-color: black;
    border: 2px solid #fe0d5a;
    color: #fe0d5a;
    text-align: center;
    font-size: 10px;
    padding: 4px;
    border-radius: 6px;
    transition-duration: 0.4s;
    cursor: pointer;
}

.buy-red:hover {
    background-color: #fe0d5a;
    color: black;
}

.add-to-cart-blue {
    background-color: black;
    border: 2px solid #00dcfe;
    color: #00dcfe;
    text-align: center;
    font-size: 10px;
    padding: 4px;
    border-radius: 6px;
    transition-duration: 0.4s;
    cursor: pointer;
}

.add-to-cart-blue:hover {
    background-color: #00dcfe;
    color: black;
}

.buy-blue {
    background-color: black;
    border: 2px solid #00dcfe;
    color: #00dcfe;
    text-align: center;
    font-size: 10px;
    padding: 4px;
    border-radius: 6px;
    transition-duration: 0.4s;
    cursor: pointer;
}

.buy-blue:hover {
    background-color: #00dcfe;
    color: black;
}

.add-to-cart-orange {
    background-color: black;
    border: 2px solid #ff660f;
    color: #ff660f;
    text-align: center;
    font-size: 10px;
    padding: 4px;
    border-radius: 6px;
    transition-duration: 0.4s;
    cursor: pointer;
}

.add-to-cart-orange:hover {
    background-color: #ff660f;
    color: black;
}

.buy-orange {
    background-color: black;
    border: 2px solid #ff660f;
    color: #ff660f;
    text-align: center;
    font-size: 10px;
    padding: 4px;
    border-radius: 6px;
    transition-duration: 0.4s;
    cursor: pointer;
}

.buy-orange:hover {
    background-color: #ff660f;
    color: black;
}

.add-to-cart-green {
    background-color: black;
    border: 2px solid #05ff2c;
    color: #05ff2c;
    text-align: center;
    font-size: 10px;
    padding: 4px;
    border-radius: 6px;
    transition-duration: 0.4s;
    cursor: pointer;
}

.add-to-cart-green:hover {
    background-color: #05ff2c;
    color: black;
}

.buy-green {
    background-color: black;
    border: 2px solid #05ff2c;
    color: #05ff2c;
    text-align: center;
    font-size: 10px;
    padding: 4px;
    border-radius: 6px;
    transition-duration: 0.4s;
    cursor: pointer;
}

.buy-green:hover {
    background-color: #05ff2c;
    color: black;
}

.packaging-pic {
    display: block;
    height: auto;
    max-width: 100%;
    margin: 2em auto;
    border-radius: 5em;
}

.waste-free {
    position: relative;
    text-align: center;
    justify-items: center;
}

.socials {
    position: relative;
    text-align: center;
    justify-content: center;
}

.social-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 2rem;
}

.so-btn {
    width: 90px;
    height: 90px;
    padding: 0.5em;
    cursor: pointer;
    transition-duration: 0.4s;
}

.insta-btn:hover {
    content: url(img/instagram-hover.png);
    cursor: pointer;
}

.twitter-btn:hover {
    content: url(img/twitter-hover.png);
    cursor: pointer;
}

.tiktok-btn:hover {
    content: url(img/tiktok-hover.png);
    cursor: pointer;
}

.youtube-btn:hover {
    content: url(img/youtube-hover.png);
    cursor: pointer;
}

/* PRODUCTS.HTML */


.video {
    position: relative;
    width: 50%;
    height: 50%;
    overflow: hidden;
}

.video::after {
    content: url(img/drop-advert-1-presentation.mp4);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5%; 
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
    pointer-events: none; 
}

.how-it-works {
    width: 100%;
    background-image: linear-gradient(#ff660f, #fb18c2); 
    color: black;
    padding: 2em;
    text-align: center;
    position: relative;
}

.how-it-works::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
    pointer-events: none;
}

.how-it-works-h2 {
    color: black;
}

.how-it-works-list {
    font-size: 20px;
    font-weight: 500;
    padding: 1em;
    list-style: decimal;
    list-style-position: inside;
    text-align: center;
    margin: 0 auto;
    max-width: 400px;
}

.the-drops, .starter-kits {
    width: 100%;
    align-items: center;
    justify-items: center;
}

.red-balls-stacked, .blue-balls-stacked, .orange-balls-stacked, .green-balls-stacked {
    width: 60px;
    height: 177.72px;
    padding: 2em;
}

.product-flex1, .product-flex2, .product-flex3 {
    display: flex;
}

.product-container {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px;
    border-radius: 10px;
}

.product-image {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-info {
    text-align: center;
}

h2 {
    color: white;
    font-size: 20px;
}

.price {
    font-size: 18px;
    font-weight: bold;
}

.p-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.add-to-cart-red, .buy-red {
    background: transparent;
    border: 2px solid #fe0d5a;
    border-radius: 8px;
    color: #fe0d5a;
    padding: 8px 12px;
    font-size: 16px;
    cursor: pointer;
}

.add-to-cart-blue, .buy-blue {
    background: transparent;
    border: 2px solid #00dcfe;
    border-radius: 8px;
    color: #00dcfe;
    padding: 8px 12px;
    font-size: 16px;
    cursor: pointer;
}

.add-to-cart-orange, .buy-orange {
    background: transparent;
    border: 2px solid #ff660f;
    border-radius: 8px;
    color: #ff660f;
    padding: 8px 12px;
    font-size: 16px;
    cursor: pointer;
}

.add-to-cart-green, .buy-green {
    background: transparent;
    border: 2px solid #05ff2c;
    border-radius: 8px;
    color: #05ff2c;
    padding: 8px 12px;
    font-size: 16px;
    cursor: pointer;
}

.red-starter-kit, .blue-starter-kit, .orange-starter-kit, .green-starter-kit {
    width: 150px;
    height: 210.24px;
    padding: 2em;
}

.cans-together {
    width: 175px;
    height: 255.07px;
    padding: 2em;
}

/*OUR COMMITMENT*/

.oc-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 0.5em;
    margin: 2em;
}


.squiggle-red-oc, .squiggle-blue-oc, .squiggle-orange-oc, .squiggle-green-oc {
        left: -35px;
        width: 100%; 
        display: block;
        position: relative;
    }

.squiggle-red-oc {
    height: 27.5em;;
}

.squiggle-blue-oc {
    height: 32.5em;
}

.squiggle-orange-oc {
    height: 52.5em;
}

.squiggle-green-oc {
    height: 52.5em;
}

/*SOCIALS*/

.text-soc {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


.img-container-soc {
    padding: 2em;
    width: 100%;
    color: black;
    position: relative;
    text-align: center;
    justify-content: center;
}

.squiggle-green-soc {
    left: -35px;
    width: 100%;
    height: 13em;
    display: block;
    position: relative;
}

.social-pic-1, .social-pic-2, .social-pic-3, .social-pic-4 {
    width: 30%;
    height: auto;
    display: block;
    position: relative;
    padding: 2em;
}

.social-pics {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
/* RESPONSIVE */


  /* When the height of the screen is less than 450 pixels, change the font-size of the links and position the close button again, so they don't overlap */
@media screen and (max-height: 450px) {
    .overlay a {font-size: 20px}
    .overlay .closebtn {
      font-size: 40px;
      top: 15px;
      right: 35px;
    }
  }

@media screen and (max-width: 768px ) {

    .menu-icon {
        display: inline-block;
        color: black;
        cursor: pointer;
        font-size: 4em;
        z-index: 3;
        transition: 0.5s;
        height: auto;
        width: auto;
        left: 1rem;
      }
    
    
    .overlay {
        height: 100%;
        width: 0;
        position: fixed; 
        z-index: 4; 
        left: 0;
        top: 0;
        background-image: linear-gradient(#fb18c2, #ff660f ); 
        overflow-x: hidden; 
        transition: 0.5s; 
      }
      
      .overlay-content {
        position: relative;
        display: flex;
        flex-direction: column;
        top: 25%; 
        width: 100%; 
        text-align: center; 
        margin-top: 30px; 
      }
      
      .overlay a {
        padding: 8px;
        text-decoration: none;
        font-size: 36px;
        color: black;
        display: block; 
        transition: 0.5s; 
      }
      
      .overlay a:hover, .overlay a:focus {
        color: white;
        transform: scale(1.3);
      }
    
      span:hover {
        color: white;
        transform: scale(1.3);
      }
      
      .overlay .closebtn {
        position: absolute;
        top: 20px;
        right: 45px;
        font-size: 60px;
      }

    .product-flex1, .product-flex2, .product-flex3 {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .video {
        width: 100%;
        height: 100%;
        padding: 0;
    }

    .video::after {
        background: none;
    }
    
}

@media only screen and (min-width: 768px) {

    .hero{
      display: none;
    }
 
    .hero-tablet{
      display: block;
    }

    .the-drops {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .video-and-how-it-works {
        display: flex; 
        }
 }

 @media only screen and (min-width: 1024px) {

    .hero-tablet{
      display: none;
    }
 
    .hero-desktop{
      display: block;
    }

    
    .how-it-works {
        width: 50%;
        align-items: center;
        ;
    }

    .how-it-works-list {
        font-size: 30px;
        font-weight: 500;
    }

    .how-it-works-h2 {
        font-size: 40px;
    }
 }

@media screen and (max-width: 1024px) {
    .product-flex1, .product-flex2, .product-flex3 {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
 }



/* FONTS */

.inter-font {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 100;
    font-style: normal;
  }



