*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Times New Roman', Times, serif;
}


body{
    background: hsl(210, 46%, 95%);
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
}

h2{
    color: rgb(72, 85, 106);
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 10px;
}

p{
    color: hsl(214, 17%, 51%);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
}

h3{
    color: rgb(72, 85, 106);

}

.wrapper{
    width: 720px;
    height: 280px;
    display: flex;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0px 0px 14px -4px hsl(214, 17%, 51%);
}

.img-container{
    width: 300px;
    height: 100%;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    background: url(drawers.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

.text-container{
    width: 450px;
    padding: 30px 35px;
    position: relative;
}

.text-container h3{
    color: hsl(217, 19%, 35%);
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 5px;
}

.avater-container img{
    width: 40px;
    border-radius: 50%;
    margin-right: 15px;
}

.avater-container{
    display: flex;
    align-items: center;
    margin-top: 20px;
    line-height: 1.1;

}

#btn {
    display: inline-block;
    width: 30px;
    height: 30px;
    padding: 5px;
    cursor: pointer;
    border-radius: 50%;
    color: #fff;
    border: 1px solid hsl(210, 46%, 95%);
    position: absolute;
    bottom: 25px;
    right: 25px;
    z-index: 100;
}

#btn img{
    width: 100%;
}

#popup{
   width: 250px;
   height: 55px; 
   padding: 10px;
   background: rgb(72, 85, 106);
   position: absolute;
   right: -90px;
   bottom: 70px;
   border-radius: 10px;
   display:none;
}

#arrow-down{
    width: 20px;
    height: 20px;
    position: fixed;
    background:rgb(72, 85, 106);
    transform: translate(100px, 30px) rotate(45deg);
}

.spans-img{
    position: fixed;
    z-index: 100;
    padding:  20px;
    text-align: center;
    transform: translateY(-15px);
}

.spans-img span{
    display: inline-block;
    color: hsl(214, 17%, 51%);
    font-weight: lighter;
    font-size: 13px;
    letter-spacing: 5px;
    margin-right: 10px;
    transform: translate(5px, -5px)
}

.spans-img img{
    margin-right: 15px;
}



@media (max-width: 400px) {
    body{
        width: 100%;
        margin: 30px auto;
        padding: 15px;
    }
    .wrapper{
      flex-direction: column;
        width: 350px;
        height: fit-content;
    
    }

    .img-container{
        width: 100%;
        height: 230px;
        border-top-right-radius: 10px;
        border-bottom-left-radius: 0;
    }

    .text-container{
        width: 100%;
        height: fit-content;
    
    }

    .text-container h2{
        color: hsl(217, 19%, 35%);
        font-weight: 700;
        font-size: 19px;
        margin-bottom: 8px;
    }

    #btn {
        display: inline-block;
        width: 30px;
        height: 30px;
        padding: 5px;
        cursor: pointer;
        border-radius: 50%;
        color: #fff;
        border: 1px solid hsl(210, 46%, 95%);
        position: absolute;
        bottom: 30px;
        right: 25px;
        z-index: 100;
    }
    
    #btn img{
        width: 100%;
    }
    
    #popup{
       width: 100%;
       height: 80px;
       overflow: hidden;
       padding: 10px;
       background: rgb(72, 85, 106);
       position: absolute;
       left: 0;
       bottom: 0;
       border-bottom-right-radius: 10px;
       border-bottom-left-radius: 10px;
       border-top-left-radius: 0;
       border-top-right-radius: 0;
       display: none;
    }
    
    #arrow-down{
        width: 20px;
        height: 20px;
        position: fixed;
        background:rgb(72, 85, 106);
        transform: translate(100px, 30px) rotate(45deg);
        display: none;
    }
    
    .spans-img{
        position: sticky;
        width: 100%;
        height: 100%;
        z-index: 100;
        padding:  20px;
        text-align: left;
        transform: translateY(-5px);
    }
    
    .spans-img span{
        display: inline-block;
        color: hsl(214, 17%, 51%);
        font-weight: lighter;
        font-size: 13px;
        letter-spacing: 5px;
        margin-right: 17px;
        transform: translate(5px, -5px)
    }
    
    .spans-img img{
        margin-right: 25px;
    }
    
    
}