*{
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    text-decoration: none;
    box-sizing: border-box;
    font-family: sans-serif;
}

:root{
    --primary-color : #ee4d2d;
    --text-color: #333333;   
    --white-color: #F5F5F5;    
}

body{
    background-color: var(--white-color);
}


.page {
    opacity: 0;
    visibility: hidden;
    display: none;
    transition: opacity 0.4s ease;
}

.page.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

/* Header start */
header{
    padding: 10px;
    background-color: var(--primary-color);
    border-radius: 40px 0 40px 0;
    z-index: 88;
    position: fixed;
    top: 0;
    width: 100%;
}
header .logo p{
 font-family: "Playwrite DK Loopet", cursive;
  font-optical-sizing: auto;
  font-weight: bold;
  font-style: normal;
  font-size: 30px;
  color: var(--white-color);
  letter-spacing: 2px;
  color: var(--text-color);
}

header .logo p span{
    font-style: italic;
    font-size: 20px;
    color: var(--white-color);
}
/* Header start */

/* Navbar start */
.navbar{
    display: flex;
    justify-content: space-around;
    margin: 0 auto;
    border-radius: 50px 50px 0 0;
    /* padding: 10px; */
    background-color: var(--primary-color);
    color: var(--white-color);
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 99;
}
.navbar a{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    color: var(--white-color);
    /* margin: 0 70px; */
} 
.navbar a img{
    width: 25px;
}

/* Navbar end */

/* hero start */
.hero {
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: -50px;
    gap: 10px;
    padding: 20px;
    
}
.hero h1{
    color: var(--text-color);
    transform: translateX(-50px);
    opacity: 0;
    font-size: 40px;
}
.hero a:not .collection a{
    padding: 10px 30px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 10px;
    cursor: pointer;
}
.hero p{
    text-align: center;
    color: var(--text-color);
    opacity: 0;
    transition: 0.3s ease;
}
.collection img{
    width: 90px;
    height: 90px;
}
.collection{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.collection a{
    margin: 5px;
    gap: 5px;
    /* padding: 15px 15px 5px; */
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    color: var(--text-color);
    font-size: 15px;
        transform: translateY(20px);
    opacity: 0;
}
.collection a img{
    /* background-color: var(--primary-color); */
    padding: 5px;
    box-shadow: 3px 3px 3px;
    border-radius: 50%;
}
.collection a:hover img{
   transform: scale(1.1);
   transition: 0.3s ease;
}
#shopp{
    background-color: var(--primary-color);
    padding: 10px 20px;
    color: var(--white-color);
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 5px 5px 5px var(--text-color);
}
/* hero start */

/* Latar belakang blur dan fullscreen saat zoom */
.zoom-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8); /* efek blur semi-transparan */
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  z-index: 9999;
}

/* Gambar utama yang ditampilkan */
.zoom-overlay img {
  width: 700px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255,255,255,0.2);
}

/* Tombol next, prev, dan close */
.zoom-overlay button {
  background: none;
  border: none;
  cursor: pointer;
}

.zoom-overlay button img{
    width: 30px;
}

/* Shop end */

/* Tiktok start */
.fitslog{
    display: flex;
    flex-wrap: wrap;
    min-height: 100vh;
    padding-top: 50px;
    margin-top: 80px;
    gap: 15px;
    padding-bottom: 70px;
    width: 100%;
    position: relative;
}
.fitslog input{
    padding: 10px 70px 10px 20px;
    width: 280px;
    margin-top: 5px;
    border-radius: 10px;
    border: none;
    outline: none;
}
.fitslog .checkoutt {
    width: 100%;
    gap: 5px;
    display: flex;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    justify-content: center; /* Jika mau kontennya juga ditengah */
}

.fitslog #checkt{
    display: flex;
    align-items: center;
    cursor: pointer;
}
.fitslog div{
    width: 230px;
    margin: 0 auto;
}
.fitslog div:not(.fitslog div:nth-child(1)){
    margin-top: 20px;
        opacity: 0;
    transform: translateY(10px);
}
.fitslog div img{
    width: 100%;
    border-radius: 10px;
    box-shadow: 5px 5px var(--primary-color);
}
.fitslog div p{
    margin: 10px auto;
    font-size: 20px;
    color: var(--text-color);
}
.fitslog a{
        padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 8px;
    display: inline-block;
    margin-top: 5px;
}
.fitslog a:hover{
   background: none;
   color: var(--text-color);
   outline: 1px solid var(--primary-color);
   transition: 0.2s ease;
}
/* Tiktok end */


@media (max-width: 480px) {
    /* Hero start */
    .hero h1{
        font-size: 20px;
    }
    /* Hero start */
    /* Shopee start */
    .shop div {
        width: 170px !important;
    }
    
    .shop div p {
        font-size: 15px !important;
    }
    
    .shop a{
        padding: 5px 10px;
    }

    .zoom-overlay img {
        width: 350px !important;
    }
    
    .zoom-overlay button img {
        width: 30px !important;
    }
    /* Shopee end */
    
    /* tiktok start */
        .fitslog div {
            width: 170px !important;
        }
        
        
        .fitslog div p {
            font-size: 15px !important;
        }
        
        .fitslog a{
            padding: 5px 10px;
        }
    /* tiktok end */
}

@media (max-width: 800px) {
    /* Hero start */
    .hero h1{
        font-size: 30px;
    }
    .hero p{
        font-size: 20px;
    }
    /* Hero start */
    /* shopee start */
    .shop div {
        width: 196px;
    }
    
    .shop div p {
        font-size: 20px;
    }
    
    .zoom-overlay img {
        width: 400px;
    }
    /* Tiktok start */
    
    .fitslog div {
        width: 196px;
    }
    
    .fitslog div p {
        font-size: 20px;
    }
    /* Tiktok end */
}
/* shopee end */


@media (min-width: 801px) {
    /* hero start */
        .hero h1{
        font-size: 35px;
    }
    .hero p{
        font-size: 25px;
    }
    /* hero start */
    /* Shopee start */
    .shop div {
        width: 250px;
    }
    
    .shop div p {
        font-size: 22px !important;
    }
    .shop div a{
        padding: 10px 20px !important;
    }
    .zoom-overlay img {
        width: 700px;
    }
    
    .zoom-overlay button img {
        width: 60px;
    }
    /* tiktok start */
    .fitslog div {
        width: 250px;
    }
    
    .fitslog div p {
        font-size: 22px !important;
    }
    /* tiktok end */
}
/* Shopee end */
