/* header */
* {
    margin: 0rem;
    padding: 0rem;
}

html {
    font-size: 10px;
}

.header {
    height: 8rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0rem;
    background-color: white;
}

.header1 {
    height: 3.5rem;
    width: 45rem;
    display: flex;
    justify-content: end;
    gap: 2rem;
}

.header2 {
    height: 3rem;
    width: 40rem;
    text-align: center;
    font-size: 2.4rem;
    font-weight: bold;
    font-family: Arial;
}

.sp1 a {
    color: black;
    text-decoration: none;
}

.sp1 {
    cursor: pointer;
}

.header3 {
    height: 4rem;
    width: 45rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.btn1 {
    height: 3.5rem;
    width: 8rem;
    border-radius: 2rem;
    font-size: 1.5rem;
    font-weight: bold;
    border: black 0.2rem solid;
    padding-top: 0.2rem;
    cursor: pointer;
    background-color: white;
}

.btn1:hover {
    background-color: black;
    color: white;
    transition-duration: 0.5s;
}

input[type="text"] {
    border-radius: 0.7rem;
    font-size: 1.8rem;
    height: 100%;
    width: 18rem;
    border: none;
    box-shadow: 0rem 0rem 0.3rem 0.1rem rgb(207, 207, 207);
    padding: 0rem 0.3rem 0rem 0.3rem;
}

.cart {
    height: 3.5rem;
    width: 8rem;
    border-radius: 2rem;
    font-size: 1.5rem;
    font-weight: bold;
    border: black 0.2rem solid;
    padding-top: 0.2rem;
    background-color: white;
    cursor: pointer;
}

.cart a {
    color: black;
    text-decoration: none;
}

.cart:hover {
    background-color: black;
    transition-duration: 0.5s;
}

.cart:hover a {
    color: white;
}

.drop-down {
    height: 4rem;
    width: 23rem;
    border-radius: 2rem;
    font-size: 1.8rem;
    padding: 0.3rem 0rem 0rem 1.5rem;
    border: black 0.2rem solid;
    font-weight: bold;
    cursor: pointer;
}

.drop-down:hover {
    background-color: black;
    color: white;
}

option {
    background-color: black;
    color: white;
    margin-top: 10rem;
}

#heading {
    font-size: 3rem;
    font-weight: bold;
    font-family: Arial;
    margin: 0.8rem 0rem 4.5rem 0rem;
}

.image_data {
    height: 60rem;
    width: 110rem;
    margin: auto;
}

.x1 {
    width: 110rem;
    height: 35rem;
    display: grid;
    grid-template-columns: 25rem 25rem 25rem 25rem;
    grid-template-rows: 35rem;
    justify-content: space-between;
}

.image_container img {
    height: 35rem;
    width: 25rem;
    border-radius: 2.5rem;
    cursor: pointer;
}

.image_container img:hover {
    border: 0.1rem black solid;
}

.image_title {
    display: flex;
    justify-content: space-between;
    font-family: Arial;
    font-size: 1.8rem;
    font-weight: bold;
}

.footer {
    height: 15rem;
    width: 100%;
    background-color: gold;
    position: relative;
}

.icon {
    height: 6rem;
    width: 6rem;
    background-color: white;
    position: absolute;
    right: 3rem;
    bottom: 0rem;
    border-radius: 50%;
    text-align: center;
    align-content: center;
    font-size: 3rem;
    cursor: pointer;
}

#prev-button {
    height: 3.5rem;
    width: 16rem;
    font-size: 1.8rem;
    background-color: white;
    text-align: center;
    align-content: center;
    border-radius: 1.5rem;
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    font-weight: bold;
}

#prev-button a {
    color: black;
    text-decoration: none;
}

.footer-animation {
    background-color: gold;
    width: 100%;
    display: flex;
    overflow: hidden;
    white-space: nowrap;
    font-weight: bold;
    font-family: Arial;
}

.footer_span_text {
    font-size: 2.4rem;
    margin: 0rem 0.8rem 0rem 0.8rem;
    letter-spacing: 0.13rem;
}

svg {
    height: 2rem;
    width: 2.4rem;
}

.ani {
    animation: hello 10s infinite linear;
}

@keyframes hello {
    from {
        transform: translateX(0%);
    }

    to {
        transform: translateX(-100%);
    }
}


@media only screen and (max-width:1300px) {
    html {
        font-size: 7px;
    }
}


@media only screen and (max-width:850px) {
    html {
        font-size: 6px;
        background-color: rgb(233, 232, 232);
    }

    .x1 {
        width: 110rem;
        height: 90rem;
        display: grid;
        grid-template-columns: 25rem 25rem;
        grid-template-rows: 50rem 50rem;
        justify-content: center;
        gap: 100px;
    }

    .header {
        height: 15rem;
    }

    .header2 {
        font-size: 3rem;
    }

    .btn1 {
        height: 4rem;
        width: 9rem;
        font-size: 2rem;
    }

    input[type="text"] {
        font-size: 1.7rem;
        width: 18rem;
    }

    .cart {
        height: 4rem;
        width: 10rem;
        font-size: 2rem;
    }

    .drop-down {
        height: 4.8rem;
        width: 27rem;
        font-size: 2rem;
    }

    .image_container img {
        height: 43rem;
        width: 30rem;
        border-radius: 2.5rem;
        cursor: pointer;
    }

    .image_title {
        font-size: 2.3rem;
    }

    .image_data {
        height: 140rem;
        width: 110rem;
        margin: auto;
    }

}

@media only screen and (max-width:700px) {
    html {
        font-size: 5px;
    }
}


@media only screen and (max-width:590px) {
    html {
        font-size: 4px;
    }

    #heading {
        margin: 12rem 0rem 10rem 0rem
    }

    ;

    .x1 {
        height: 120rem;
        grid-template-columns: 30rem 30rem;
        grid-template-rows: 15rem 15rem;
        justify-content: center;
        gap: 80px;
    }

    .image_data {
        height: 160rem;
    }


}

@media only screen and (max-width:480px) {
    html {
        font-size: 2.7px;
    }

    .x1 {
        height: 120rem;
        grid-template-columns: 25rem 25rem;
        grid-template-rows: 33rem 33rem;
        justify-content: center;
        gap: 80px;
    }

    .footer {
        height: 32rem;
        background-color: gold;
        position: absolute;
        bottom: 8px;
    }

    .footer-animation {
        position: absolute;
        bottom: 0px;
    }
}


#loader {
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
    position: fixed;
    z-index: 9999;
}

#loader img {
    height: 120px;
    width: 170px;
}