html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 10px;
}

body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Manrope', sans-serif;
    background-color: hsl(212, 23%, 69%);
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    border-radius: 1rem;
    max-height: 53.8rem;
    overflow: hidden;
}

.drawers {
    width: 100%;
    max-height: 20rem;
    border-radius: 1rem 1rem 0 0;
}
.content {
    max-width: 26.7rem;
    margin: 3.2rem 3rem 1.8rem 3rem;
    height: 28.8rem;
}
.text-block {
    margin-bottom: 4.8rem;
}
.content h1 {
    color: hsl(217, 19%, 35%);
    font-size: 2rem;
    line-height: 130%;
    letter-spacing: .25px;
    font-weight: 700;
}
.content p {
    color: #6e8098;
    font-weight: 500;
    font-size: 1.3rem;
    line-height: 140%;
    letter-spacing: 0.12%;
}
.profile-block {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    max-height: 4rem;
    
}
.profile-and-date {
    display: flex;
    flex-direction: row;
    align-items: center;
   
}
.profile-and-date img {
    max-height: 4rem;
    max-width: 4rem;
    border-radius: 50%;
    margin-right: 1.6rem;
}

.profile-text h2 {
    font-weight: 700;
    font-size: 1.3rem;
    line-height: 140%;
    letter-spacing: .12%;
    margin-bottom: -1rem;
}
.profile-text p {
    font-weight: 500;
    font-size: 1.3rem;
    line-height: 140%;
    letter-spacing: .12%;
}
.share {
    height: 3.2rem;
    width: 3.2rem;
    border-radius: 5rem;
    border: none;
    z-index: 50;
    cursor: pointer;
}

.overlay {
    background-color: hsl(217, 19%, 35%);
    width: 100%;
    border-radius: 0 0 1rem 1rem;
    height: 7.6rem;
    color: hsl(214, 17%, 51%);
    display: flex;
    justify-content: space-between;
    visibility: hidden;
    transform: translateY(-100%);
}
.overlay-text {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 3rem;
}
.overlay-text p {
    font-size: 1.3rem;
    line-height: 140%;
    letter-spacing: 25%;
    color: #9DAEC2;
}
.icons {
    gap: 2rem;
    display: flex;
    justify-content: space-evenly;
    margin-left: 2.4rem ;
    cursor: pointer;
}

@media screen and (min-width: 768px) {
    .container {
        flex-direction: row;
        max-height: 28rem;
        max-width: 73rem;
    }
    .drawers {
        min-height: 28rem;
        max-width: 28.5rem;
      
    }
    .content {
        max-width: 36.5rem;
        max-height: 22rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 3rem 4rem 3rem 4rem;
    }
    .text-block {
        margin: 0;
    }
    .overlay {
        position: absolute;
        max-height: 6.7rem;
        max-width: 24.8rem;
        border-radius: 1rem;
        left: 65%;
        top: 55%;
        z-index: 5;
        visibility: hidden;
    }
}

@media  screen and (min-width: 1024px) {
     .overlay {
        position: absolute;
        max-height: 6.7rem;
        max-width: 24.8rem;
        border-radius: 1rem;
        left: 68%;
        top: 55%;
        z-index: 5;
        visibility: hidden;
    }
}
@media screen and (min-width: 1440px) {
    .overlay {
        position: absolute;
        max-height: 6.7rem;
        max-width: 24.8rem;
        border-radius: 1rem;
        left: 62%;
        top: 55%;
        z-index: 5;
        visibility: hidden;
    }
}
@media screen and (min-width: 2269px) {
    .overlay {
        position: absolute;
        max-height: 6.7rem;
        max-width: 24.8rem;
        border-radius: 1rem;
        left: 58%;
        top: 55%;
        z-index: 5;
        visibility: hidden;
    }

}