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

body{
    width: 100%;
    height: fit-content;
    display: flex;
    padding: 0;
    box-sizing: border-box;
    align-items: center;
    justify-content: start;
    flex-direction: column;
    font-family: "Montserrat", sans-serif;
}

header{
    margin: 0;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    height: 800px;
    width: 100%;
    background-image: url("../image/banner.jpg");
    background-position: center;
    background-size: cover;
    padding-top: 20px;
    position: relative;
    overflow-y: hidden;
}


.header-bottle{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: auto;
    aspect-ratio: 640 / 1618;
    background-size: cover;
    background-position: center;
    background-image: url("../image/low-sugar-can.png");
    z-index: 10;
}

.header-bottle::after{
    content: "";
    position: absolute;
    width: 120%;
    height: 200px;
    background: linear-gradient(rgba(0, 0, 0, 0), black);    
    z-index: 10;
    bottom: -5%;
    transform: translate(-50%, 0%);
    left: 50%;
    /* backdrop-filter: blur(50px); */
    filter: blur(20px);
}

#bottle1{
    background-image: url("../image/ClassicBlackCan.png");
}

#bottle2{
    background-image: url("../image/Blue\ Can.png");
    z-index: 9;
    left: 58%;
    top: 48%;
    width: 160px;
}

#bottle3{
    background-image: url("../image/low-sugar-can.png");
    
    z-index: 9;
    left: 42%;
    top: 48%;
    width: 160px;
}

.quick-links{
    display: flex;
    flex-direction: row;
    margin: auto;
    margin-bottom: 50px;
}



.header-slogan{
    position: absolute;
    left: 17%;
    rotate: 0deg;
    top: 42%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 250px;
    background-size: cover;
    background-position: center;
    background-image: url("../image/BannerSlogan.svg");
}

.header-slogan-1{
    position: absolute;
    right: 2%;
    rotate: 0deg;
    top: 42%;
    transform: translate(0%, -50%);
    width: 505px;
    height: 230px;
    background-size: cover;
    background-position: center;
    background-image: url("../image/BannerSlogan1_1.svg");
}

.header-slogan-2{
    display: none;
}

.product-title{
    color: black;
}

.product-card{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    width: 400px;
    height: 600px;
    border-radius: 20px;
    margin-inline: 20px;
}

.product-card h3{
    font-size: 1.5rem;
    margin: auto;
    margin-top: 50px;
    margin-left: 0;
    margin-bottom: 0;
    text-align: left;
}

.product-card p{
    font-size: 1rem;
    margin: auto;
    margin-top: 10px;
    margin-left: 0;
    text-align: left;
}

.product-img{
    position: absolute;
    left: 32%;
    top: 35%;
    rotate: 15deg;
    transform: translate(-50%, -50%);
    width: 200px;
    height: auto;
    aspect-ratio: 640 / 1618;
    background-size: cover;
    background-position: center;
}

#productImg1{
    background-image: url("../image/low-sugar-can.png");
}

#productImg2{
    background-image: url("../image/Blue\ Can.png");
}

#productImg3{
    background-image: url("../image/ClassicBlackCan.png");
}   

.product-background{
    width: 400px;
    height: 400px;
    border-radius: 10px;
}

#productBackground1{
    background-color: rgb(255, 75, 75);
}

#productBackground2{
    background-color: rgb(75, 108, 255);
}

#productBackground3{
    background-color: rgb(125, 125, 125);
}





/* ABOUT */

.about-section{
    background-color: rgb(150, 0, 0);
    position: relative;


}
.about-title{
    color: white;
}

.about-video{
    width: 50%;
    height: 500px; /* 'vh' stands for viewport height, making it fill the screen */
    object-fit: cover; /* This prevents stretching/distortion */
    display: block;
    border-radius: 20px;
    margin: auto;
}

.about-image{
    position: absolute;
    width: 200px;
    height: fit-content;
    left: 49%;
    top: 70%;
    background-color: rgb(150, 0, 0);
    padding: 30px;
    border-top-right-radius: 20px;
}

.news-card{
    width: 350px;
    height: auto;
    aspect-ratio: 1/1.1;
    border: 1px black solid;
    border-radius: 20px;
    padding: 10px;
    display: flex;
    justify-content: start;
    align-items: center;
    flex-direction: column;
    transition: 0.3s;
    margin: auto;
    margin-right: 10px;
    margin-left: 10px;
}

.news-card:hover{
    background-color: red;
    color: white;
}

.news-image{
    width: 100%;
    height: 160px;
    background-color: red;
    background-position: center;
    background-size: cover;
    border-radius: 15px;
}

.news-card h4{
    font-size: 1.2rem;
    margin: auto;
    margin-left: 0;
    margin-top: 10px;
    margin-bottom: 0;
}

.news-card p{
    margin: auto;
    margin-left: 0;
    margin-top: 10px;
}

#description{
    width: 100%;
    white-space:normal;
}

.news-quick{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    width: 100%;
    margin: auto;
    margin-bottom: 0;
}

.news-quick a{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    text-decoration: none;
    background-color: black;
    color: white;
    width: 50%;
    height: auto;
    padding-block: 5px;
    border-radius: 10px;
}

.news-quick i{
    margin-right: 5px;
}

.news-quick p{
    padding: 5px;
    padding-inline: 12px;
    background-color: red;
    color: white;
    border-radius: 40px;
    font-size: 0.9rem;
    margin: auto;
    margin-right: 0;
}

@media screen and (max-width: 1300px) {
    header{
        height: 700px;
    }

    .header-bottle{
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 160px;
        height: auto;
    }

    #bottle2, #bottle3{
        width: 140px;
    }

    .header-slogan{
        width: 400px;
        height: 180px;
    }

    .header-slogan-1{
        width: 400px;
        height: 180px;
    }
}

@media screen and (max-width: 600px) {
    header{
        height: 95vh;
    }

    .header-bottle{
        width: 110px;
        top: 53%;
    }

    #bottle2{
        width: 100px;
        top: 51%;
        left: 70%;
    }
    #bottle3{
        width: 100px;
        top: 51.1%;
        left: 30%;
    }

    .header-bottle::after{
        height: 100px;
    }
    
    .header-slogan-1, .header-slogan{
        display: none;
    }

    .quick-links{
        margin: auto;
        flex-direction: column;
        margin-bottom: 50px;
    }

    .header-slogan-2{
        position: absolute;
        display: flex;
        left: 50%;
        filter: saturate(0.7);
        top: 24%;
        transform: translate(-50%, -50%);
        width: 160px;
        height: 100px;
        background-size: cover;
        background-position: center;
        background-image: url("../image/BannerSlogan2.svg");
        overflow: hidden;
    }

    .header-slogan-2::after{
        content: "";
        position: absolute;
        left: 35%;
        top: 50%;
        
        transform: translate(-50%, -50%);
        width: 10px;
        rotate: -15deg;
        filter: blur(7px);
        height: 90%;
        background-color: rgb(29, 32, 43);
    }

    .product-card{
        width: 250px;
        height: 450px;
    }

    .product-background{
        width: 100%;
        height: auto;
        aspect-ratio: 1/1;
    }

    .product-img{
        width: 120px;
        left: 32%;
        top: 31%;

    }

    .about-video{
        width: 90%;
        margin-top: 20px;
        margin-bottom: 20px;
        border-radius: 10px;
    }

    .about-image{
        width: 120px;
        height: fit-content;
        left: 9%;
        top: 86%;
        padding: 20px;
        border-bottom-right-radius: 10px;
        border-top-right-radius: 10px;
    }


    .news-card{
        width: 100%;
        margin: auto;
        margin-block: 10px;
    }

    .news-title{
        white-space: nowrap;
        font-size: 1.8rem;
    }

    .news-section p{
        white-space: nowrap;
    }
    .news-section .horizontal-container{
        width: 100%;
    }
    
    .news-quick a{
        font-size: 0.9rem;
    }
}
