* {
    margin: 0;
    padding: 0;
}

body {
    font-family: sans-serif;
}

/* header */
.header {
    display: flex;
    justify-content: space-between;
    background-color: white;
    backdrop-filter: blur(5px);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(81, 159, 236, 0.6);

}

.header.right {
    position: relative;
    display: inline-block;
}

.badge {
    position: absolute;
    right: 20px;
    bottom: 40px;
    background: red;
    color: white;
    font-size: 8px;
    font-weight: bold;
    padding: 3px 5px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.view a {
    text-decoration: none;
    color: white;
}

.view button {
    padding: 10PX 35PX;
    margin-left: 90px;
    margin-bottom: 12px;
    border: none;
    border-radius: 8px;
    background-color: rgb(130, 189, 230);
}


.left {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.left img {
    width: 70px;
}

#icon-nav {
    margin-top: 20px;
    margin-right: 25px;
    font-size: 30px;
}

.link {
    display: flex;
    gap: 40px;
}

.link a {
    text-decoration: none;
    color: black;
}

.link a:hover {
    text-decoration: underline;
    color: rgb(59, 141, 182);
}

#active {
    color: rgb(59, 141, 182);
    text-decoration: underline;
}

/* main */
.main-home {
    margin-top: 40px;
    height: 95vh;
    background-image: url(../photo/bg.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.text-main {
    margin-top: 34px;
    align-items: center;
}

.text-main h1 {
    font-size: 160px;
    text-align: center;
    font-weight: bold;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 2px white;

}

.btn-shop {
    margin-top: 50px;
    margin-left: 1270px;
    background-color: #D2E8A0;
    border: none;
    height: 45px;
    width: 150px;
    border-radius: 5px;
}

.btn-shop a {
    text-decoration: none;
    color: black;
}

.btn-shop:hover {
    background: rgb(169, 246, 169);
}

section h1 {
    padding: 20px;
    color: rgb(52, 150, 183);
    font-size: 35px;
}

.top-sell {
    padding: 30px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.card {
    margin-top: 40px;
    width: 300px;
    height: 400px;
    height: fit-content;
    border: 5px solid rgb(149, 191, 217);
    box-shadow: 0 4px 8px rgba(64, 61, 61, 0.2);
    border-radius: 5px;
    transition: .3s;
    transform: scale(1);
}

.card img {
    width: 300px;
}

.card:hover {
    transform: scale(1.05);
}

#icon-card {
    color: rgba(251, 222, 31, 0.886);
}

#image4 {
    height: 300px;
}

.icon-text {
    padding: 10px 24px;
}

#image1 {
    height: 300px;
}

#image6 {
    height: 300px;
}

.star {
    display: flex;
    align-items: center;
    /* gap: 5px; */
}

.price {
    font-size: 20px;
    color: rgb(0, 195, 255);
}

.name {
    font-size: 20px;
}

.text-top {
    text-align: center;
    margin-top: 34px;
}

.alittle {
    margin-top: 50px;
    text-align: center;
    color: white;
    background: #4ccee8;
    padding: 12px;
}

.top-left {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgb(129, 228, 237);
    padding: 4px 15px;
    border-radius: 10px;
    font-size: 14px;
}
.text h4{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.icon-self{
 font-size: 35px;
}


/* footer */
#image-footer {
    width: 32px;
    transition:0.3;
}
#image-footer:hover{
    transform: scale(1.2);
}

.icon-shop {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.text-footer {
    padding: 60px 50px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    
}
.text:hover{
   transform: scale(1.05); 
}

.text {
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
    padding: 35px;
    border-radius: 12px;
    background: white;
    transition: .3s;
}

.text-footershop {
    width: 100%;
    background-color: rgb(203, 226, 243);
}

.footer {
    display: flex;
    gap: 20px;
    padding: 50px;
    height: 30vh;
}

.footer .last-left {
    flex: 1;
    text-align: center;
}

.footer .last-left p {
    margin-top: 12px;
}

.footer .last-center {
    text-align: center;
    flex: 1;
}

.footer .right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer .right h3 {
    text-align: center;
}

.quick {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
    gap: 12px;
}

.quick a {
    color: black;
}

.info {
    display: flex;
    margin-top: 20px;
    flex-direction: column;
    gap: 12px;
}

.icon-foot {
    display: flex;
    gap: 10px;
}

/* responsive */
/* Tablet size */
@media (min-width: 600px) and (max-width: 1024px) {
    .text-footershop {
        width: 100%;
        background-color: rgb(203, 226, 243);
    }

    .footer {
        display: flex;
        flex-direction: column;
        height: fit-content;
    }

    .quick {
        display: flex;
        flex-direction: row;
        justify-content: center;
    }

    .info {
        display: flex;
        flex-direction: row;
    }

    .icon-foot {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .main-home {
        margin-top: 70px;
    }


    .text-main h1 {
        font-size: 150px;
    }

    .btn-shop {
        margin-left: 76%;
    }

    .text-main {
        margin-top: 10%;
    }

    .text-footer {
        display: flex;
        justify-content: space-around;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .text p {
        text-align: center;
    }

    .text {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
}

/* responsive */
/* phone size */
@media (min-width: 320px) and (max-width: 599px) {
    .text-main h1 {
        font-size: 80px;
    }

    .btn-shop {
        margin-left: 70%;
        height: 30px;
        width: 100px;
        margin-top: 18px;

    }

    .btn-shop a {
        text-decoration: none;
        color: black;
    }

    .link {
        display: flex;
        gap: 18px;
        margin-left: 3px;
    }

    .link a {
        text-decoration: none;
        color: black;
        font-size: 17px;
    }

    .left img {
        width: 55px;
    }

    .header .right {
        width: 15px;
        display: flex;
        justify-content: center;
        margin-bottom: 25px;
        margin-right: 10px;
    }

    .alittle {
        margin-top: 10px;
        text-align: center;
        color: white;
        background-color: #37b1c9;
        padding: 10px;
    }

    .text-footer {
        padding: 30px;
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-bottom: 8px;
    }

    .text {
        width: 260px;
    }

    .main-home {
        margin-top: 70px;
    }

    .text p,
    .text h4 {
        text-align: center;
    }

    .text-footershop {
        width: 100%;
        background-color: rgb(203, 226, 243);
    }

    #icon-nav {
        margin-top: 20px;
        margin-right: 25px;
        font-size: 24px;
    }

    .badge {
        right: 18px;
        bottom: 41px;
        font-size: 8px;
        font-weight: bold;
        padding: 1px 3px;
    }



    .footer {
        display: flex;
        flex-direction: column;
        height: fit-content;
    }

    .quick {
        display: flex;
        flex-direction: row;
        justify-content: center;
    }

    .info {
        display: flex;
    }

    .icon-foot {
        display: flex;
        align-items: center;
    }



}