@font-face {
    font-family: RobotoMono-Regular;
    src: url(Fonts/RobotoMono-Regular.ttf);
}

@font-face {
    font-family: RobotoMono-Medium;
    src: url(Fonts/RobotoMono-Medium.ttf);
}

@font-face {
    font-family: figtree;
    src: url(Fonts/figtree_n4.3c0838aba1701047e60be6a99a1b0a40ce9b8419.woff2);
}

@font-face {
    font-family: midnight-sans-medium;
    src: url(Fonts/midnight-sans-rd-12-medium-trial.otf);
}

@font-face {
    font-family: midnight-sans-semibold;
    src: url(Fonts/midnight-sans-rd-12-semibold-trial.otf);
}

@font-face {
    font-family: Poppins-Regular;
    src: url(Fonts/Poppins-Regular.ttf);
}

@font-face {
    font-family: Reckless;
    src: url(Fonts/RecklessCondensedS-TRIAL-Book\ \(1\).woff);
}

::-webkit-scrollbar {
    width: 0%;
}

::-webkit-scrollbar-track {
    background: black;
}

::-webkit-scrollbar-thumb {
    background: gray;
    border-radius: 10px;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    scroll-behavior: smooth;
    overflow-x: hidden;
    background-color: black;
}

main {
    width: 100%;
    height: auto;
}

header {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
    background-color: #2A2857;
}


header div {
    text-transform: uppercase;
    color: rgb(255, 255, 255);
    text-align: center;
    font-family: RobotoMono-medium;
    font-weight: 500;
    font-size: 0.75rem;
    line-height: 2rem;
}

.hero-section-1 {
    width: 100%;
    min-height: 91vh;
    background-image: url("Assets/AlpineBerry_mobile\ \(3\).webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0.8rem 1rem;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    border-bottom: 1px solid black;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 999;
    width: 100%;
    height: auto;
    background-color: #FFFEFB;
    border: 1px solid #131339;
    border-radius: 0.7rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1.5rem;
}

.menu-icon i {
    font-size: 2.5rem;
    opacity: 0.5;
}

.nav-start{
    display: none;
}

.end{
    display: none;
}

.logo {
    font-size: 1rem;
    opacity: 0.95;
}

.cart-icon {
    font-size: 2.5rem;
display: block;
}

.mid-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1rem;
   
    padding: 1.2rem 0.5rem;
    width: 100%;
    max-width: 1024px;
   margin: 0 auto;
}

.mid-content h1 {
    color: rgb(251, 249, 235);
    font-family: Reckless;
    font-weight: 300;
    font-size: clamp(3.125rem, 2.5179rem + 3.0357vw, 5.25rem);
    line-height: clamp(3.75rem, 3.3214rem + 2.1429vw, 5.25rem);;
    text-align: center;
}

.mid-content p {
    color: rgb(251, 249, 235);
    font-family: figtree;
    font-weight: 500;
    font-size: clamp(1rem, 0.9643rem + 0.1786vw, 1.125rem);;
    line-height: normal;
    font-style: normal;
    text-align: center;
    width: 100%;
}

.mid-content button {
    background-color: #2A2857;
    font-family: figtree;
    font-size: 1.125rem;
    line-height: 1.125rem;
    font-weight: 400;
    color: #F2F1F4;
    border: none;
    padding: 1rem 3.75rem;
    border-radius: 9rem;
    width: 100%;
   max-width: 1024px;
    box-sizing: border-box;
}

.scroll-down-icon {
    position: absolute;
   bottom: -30px;  
    right: 23px;
    background-color: #2A2857;
    color: #F2F1F4; 
    width: 50px;
    height: 50px;
    border-radius: 50%; 
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem; 
    cursor: pointer;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); 
    z-index: 10;
}


.hero-section-2 {
    width: 100%;
    min-height: 100vh;
    background-color: #FBF9EB;
padding: 0 1.5rem;
}

.second-top{
    color: black;
    font-family: Reckless;
    font-weight: 300;
    font-size:  clamp(2rem, 1.3542rem + 2.8704vw, 3.9375rem);
    line-height:  clamp(2.3125rem, 1.7708rem + 2.4074vw, 3.9375rem);
    color: rgb(32, 28, 26);
   padding: 5rem 0 8rem;
   max-width: 815px;
   text-align: center;
}

.bestseller{
    width: auto;
height: auto;
border: 1px solid #292325;
border-radius: 5px;
font-family: midnight-sans-semibold;
font-size: clamp(2.5rem, 2.0833rem + 1.8519vw, 3.75rem);;
line-height: clamp(2.5rem, 2.0833rem + 1.8519vw, 3.75rem);;
font-weight: 600;
background-color: #DAAEEA;
color: rgb(32, 28, 26);
display: inline-block;
transform: rotate(-2deg);
padding: 0 0.3rem;
}

.container{
    height: auto;
display: flex;
gap: 1.4rem;
padding: 3.5rem 0 1.5rem;

}

.box{
    width: 100%;
    max-width: 300px;
    height: 330px;
    border: 1px solid black;
    padding: 0.8rem;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
flex-shrink: 0;
}

.box1{
    background-color: #C1EE91;
}

.box2{
background-color: #FFD884;
}

.box3{
background-color: #B0E8C1;
}

.box4{
background-color: #C1E4F8;
}

.box5{
background-color: #C0E571;
}

.box-nav{
    display: flex;
    justify-content: space-between;
}

.left-nav{
    text-transform: uppercase;
    border: 1px solid black;
    font-family: midnight-sans-semibold;
    font-weight: 600;
    font-size: clamp(1.25rem, 1.2143rem + 0.1786vw, 1.375rem);
    line-height: 1.25rem;
    background-color: #FFFFFF;
    color: rgb(32, 28, 26);
    border-radius: 5px;
    padding: 0.4rem;
}

.right-nav{
    display: flex;
    gap: 0.18rem;
}

.image {
    width: 100%;
   height: 225px;
    display: flex;
    justify-content: center;
    align-items: center;
   
}


.image img {
    max-width: 100%;
    max-height: 100%; 
    object-fit: contain;
}


.button{
    align-self: flex-end; 
 display: flex;
    gap: 5px;
   padding: 0.1rem 0.5rem;
    cursor: pointer;
    flex-direction: column;
    border-radius: 5px;
    border: 1px solid black;
  
}




@media (min-width: 1024px) {
    .hero-section-1 {
   display: flex;
        flex-direction: column;   
     background-image: url("Assets/AlpineBerry\ \(2\).webp");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
}



.menu-icon {
   display: none;
}

.nav-start{
    display: flex;
    align-items: center;  
    gap: 1.7rem; 
    font-family: reckless;

}

.start-icon{
    color: rgb(32, 28, 26);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    font-weight: 300;
    font-size: 24px;
    line-height: 27px;
}

.end{
    display: block;
}

.svg{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 18px;
    height: 18px;
    background-color: #C0DBFF;
    border-radius: 50%;
    border: 1px solid black;
}


.logo {
    font-size: 1rem;
    opacity: 0.95;
}

.nav-end{
    display: flex;
    align-items: center;
    gap: 2rem;
    text-transform: uppercase;
    font-family: RobotoMono-Medium;
    font-size: 12px;
    font-weight: 500;
    line-height: 27px;
    color: rgb(32, 28, 26);
}

.cart-icon {
    font-size: 2.5rem;

}


.mid-content {
       
        margin-top: auto; 
        margin-left: 0;
        margin-right: auto;
        
       
        padding-left: 1.5rem;
        padding-bottom: 1.5rem;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        max-width: 500px;
    }

    .mid-content h1 {
        text-align: left;
    }

    .mid-content p {
        text-align: left;
    }

    .mid-content button {
        width: auto;
        padding: 1rem 4rem;
    }



    .hero-section-2{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        padding: 0 1.5rem;
    }


.container {
       
    padding-left: 6rem;
        justify-content: center; 
        
       
    }

}



@media (min-width: 1440px) {
    .hero-section-1{
       background-image: url("Assets/AlpineBerry\ \(2\).webp");
    background-size: 134%;
    background-position: 50% 40%;
    background-repeat: no-repeat;
    }
}