 @import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,300;0,500;1,300;1,500&display=swap');

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Work Sans', sans-serif;
}

html,
body {
    height: 100%;
    width: 100%;
}

#main{
    width: 100%;
    height: 100%;
    background-color: #e5ffe7;
    display: flex;
    align-items: center;
    /* justify-content: space-between; */
    padding: 150px 100px 0px 100px;
    gap: 70px;
}

#left {
    height: 100%;
    width: 45%;
    /* background-color: red; */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 50px;
}


#left h1 {
    font-size: 8.6vw;
    font-weight: 500;
    line-height: 8.8vw;
    font-family: 'Work Sans', sans-serif;
}

#bottom-left {
    /* height: 40%; */
    width: 100%;
    /* background-color: yellow; */
}

#color {
    /* background-color: blue; */
    width: fit-content;
    padding: 8px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    border: 1px solid #000;
}

#color h5 {
    /* font-size: 20px; */
    font-size: 1.2vw;
    margin-right: 10px;
    font-weight: 500;
}

#color1 {
    height: 1.2vw;
    width: 1.2vw;
    background-color: #ffd59d;
    border-radius: 50%;
    margin: 3px;
}

#color2 {
    height: 1.2vw;
    width: 1.2vw;
    background-color: #d25f5f;
    border-radius: 50%;

}

#left h2 {
    margin-top: 50px;
    font-size: 2vw;
    margin-bottom: 15px;
}

#left p {
    font-size: 1.2vw;
    width: 65%;
    font-weight: 600;
    color: #444;
    line-height: 1.6vw;
}

#right {
    height: 100%;
    width: 40%;
    /* background-color: rgb(0, 26, 255); */
    position: relative;
}

#right-top {
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#right-top h4{
    font-size: 1.25vw;
    font-weight: 600;
}

#right-top h5{
    font-size: 1vw;
    font-weight: 600;
}

#right img{
    width: 100%;
    height: calc(100% - 67px);
    /* border-top-right-radius: 20px;
    border-top-left-radius: 20px; */
    object-fit: cover;
}

#black-btn{
    position: absolute;
    height: 11vw;
    width: 11vw;
    background-color: rgb(26, 26, 26);
    color: #fff;
    border-radius: 50%;
    right: -16%;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 24%;
}

#black-btn h5 {
    font-size: 1.2vw;
    font-weight: 400;
}

#rotated {
    position: absolute;
    left: -13%;
    /* background-color: red; */
    bottom: 2%;
    rotate: -90deg;
    transform-origin: 0 0;
    font-size: 1.5vw;
    font-weight: 600;
}

@media (max-width:600px) {
    #main{
        display: flex;
        align-items: center;
        justify-content: space-evenly;
        flex-direction: column;
        padding: 30px 30px;
        gap: 30px;
    }
    
    #left {
        height: 50%;
        width: 100%;
        /* background-color: red; */
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        padding-bottom: 0px;
    }
    
    
    #left h1 {
        font-size: 18vw;
        line-height: 13vw;
    }
    
    #bottom-left {
        /* height: 40%; */
        width: 100%;
        /* margin-top: 1vw; */
        /* background-color: yellow; */
    }
    
    #color {
        padding: 1.8vw 4vw;
    }
    
    #color h5 {
        /* font-size: 20px; */
        font-size: 3.5vw;
    }
    
    #color1 {
        height: 1.9vw;
        width: 1.9vw;
    }
    
    #color2 {
        height: 1.9vw;
        width: 1.9vw;
    }
    
    #left h2 {
        margin-top: 3vw;
        font-size: 3.9vw;
        margin-bottom: 2vw;
    }
    
    #left p {
        font-size: 2.7vw;
        width: 100%;
        line-height: 3vw;
    }
    
    #right {
        height: 50%;
        width: 100%;
        display: flex;
        flex-direction: column-reverse;
    }
    
    #right-top {
        padding: 18px 10px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        
    }
    
    #right-top h4{
        font-size: 2.8vw;
    }
    
    #right-top h5{
        font-size: 2.4vw;
    }
    
    #right img{
        width: 100%;
        height: 70%;
    }
    
    #black-btn{
        height: 16vw;
        width: 16vw;
        right: -6%;
        top: 0;
    }
    
    #black-btn h5 {
        font-size: 2.3vw;
    }
    
    #rotated {
        position: absolute;
        left: 0;
        /* background-color: red; */
        top: 0;
        rotate: 0deg;
        transform-origin: 0 0;
        font-size:3vw;
        font-weight: 600;
    }
    
}