/* copyright © Shivam Sharma 2024 */

@font-face {
    font-family: 'Work sans';
    src: url("./fonts/Work Sans.ttf");
}

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: work sans;
}

html,
body {
    height: 100%;
    width: 100%;
}

#main {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 0px 90px;
    padding-top: 50px;
    gap: 80px;
}

#left {
    height: 100%;
    width: 45%;
    padding-bottom: 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#left h1 {
    font-size: 8.4vw;
    font-weight: 300;
    line-height: 8.6vw;
    font-family: work sans;
}

#bottom-left {
    width: 100%;
}

#color {
    width: fit-content;
    padding: 5px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid black;
    border-radius: 50px;
}

#color h5 {
    font-size: 15px;
    margin-right: 10px;
    font-weight: 400;
}

#color1 {
    height: 15px;
    width: 15px;
    background-color: burlywood;
    border-radius: 50%;
    margin: 5px;
}

#color2 {
    height: 15px;
    width: 15px;
    background-color: brown;
    border-radius: 50%;
}

#left h2 {
    margin-top: 50px;
    font-size: 2vw;
    margin-bottom: 15px;
}

#left p {
    font-size: 1.1vw;
    line-height: 1.5vw;
    width: 70%;
    color: #444;
    font-weight: 500;
    text-align: justify;
}

#right {
    height: 90%;
    width: 33%;
    position: relative;
}

#right-top {
    height: 80px;
    width: 100%;
    padding-right: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#right-top h4 {
    font-size: 25px;
    font-weight: 600;
    font-family: work sans;
}

#right-top h5 {
    font-size: 15px;
}

#right-top h5 i {
    color: gold;
}

#right img {
    height: 85%;
    width: 85%;
    object-fit: cover;
    object-position: center;
}

#cart {
    position: absolute;
    right: -2%;
    top: 40%;
    height: 120px;
    width: 120px;
    color: white;
    background-color: rgb(26, 26, 26);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;

}

#cart h5 {
    font-size: 18px;
    font-weight: 500;
}

#rotated {
    position: absolute;
    left: -10%;
    bottom: 5%;
    rotate: -90deg;
    transform-origin: 0 0;
    font-size: 35px;
    font-weight: 500;
}

@media (max-width:600px) {

    #main {
        height: 100%;
        width: 100%;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        flex-direction: column;
        padding: 40px;
        padding-top: 40px;
        gap: 50px;
    }

    #left {
        height: fit-content;
        width: 100%;
        padding-bottom: 50px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 40px;
    }

    #left h1 {
        font-size: 18.5vw;
        font-weight: 500;
        line-height: 18vw;
        font-family: work sans;
    }

    #bottom-left {
        width: 100%;
    }

    #color {
        width: fit-content;
        padding: 5px 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid black;
        border-radius: 50px;
    }

    #color h5 {
        font-size: 15px;
        margin-right: 5px;
        font-weight: 400;
    }

    #color1 {
        height: 15px;
        width: 15px;
        background-color: burlywood;
        border-radius: 50%;
        margin: 5px;
    }

    #color2 {
        height: 15px;
        width: 15px;
        background-color: brown;
        border-radius: 50%;
    }

    #left h2 {
        margin-top: 20px;
        font-size: 3vw;
        margin-bottom: 8px;
    }

    #left p {
        /* font-size: 20px; */
        font-size: 3.1vw;
        line-height: 3vw;
        width: 90%;
        color: #444;
        font-weight: 500;
    }
    #right {
        height: 50%;
        width: 100%;
        position: relative;
        display: flex;
        flex-direction: column-reverse;
    }
    
    #right-top {
        
        height: 60px;
        width: 100%;
        /* padding-right: 20px; */
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    #right-top h4 {
        font-size: 20px;
        font-weight: 600;
        font-family: work sans;
    }
    
    #right-top h5 {
        font-size: 15px;
    }
    
    #right-top h5 i {
        color: gold;
    }
    
    #right img {
        height: 100%;
        width: 100%;
        object-fit: cover;
        object-position: 20% 20%;
    }
    
    #cart {
        position: absolute;
        right: -10%;
        top: -18%;
        height: 80px;
        width: 80px;
        color: white;
        background-color: rgb(26, 26, 26);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    
    }
    
    #cart h5 {
        font-size: 13px;
        font-weight: 500;
    }
    
    #rotated {
        position: absolute;
        left: 0%;
        top: -20%;
        rotate: 0deg;
        transform-origin: 0 0;
        font-size: 30px;
        font-weight: 500;
    }
}
