body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-family: lato;
}

.back-btn,
.btn-part button {
    font-size: 15px;
    font-weight: 600;
    padding: 5px 10px;
    background-color: white;
    border-radius: 5px;
    transition: 0.3 ease-in-out;
    margin-bottom: 20px;
}

.back-btn:hover,
.btn-part button:hover {
    cursor: pointer;
    background-color: black;
    color: white;
}

.head {
    display: flex;
    justify-content: center;
}

.email-page-main {
    width: 50vw;
}

img {
    width: 15vw;
    display: block;
}

.email-section {
    border: solid 2px black;
    border-radius: 20px;
    padding: 50px;
    height: auto;
    display: grid;
    grid-template-columns: 3fr 1fr 3fr;
    align-items: center;
    justify-items: center;
}

.left-side {
    display: flex;
    flex-direction: column;
}

.msg-part {
    margin-bottom: 20px;
}

.msg-sections {
    display: block;
    margin-bottom: 20px;
}

.msg-sections input {
    margin-top: 10px;
    padding: 5px;
    width: 100%;
}

.msg-sections-message {
    display: flex;
    flex-direction: column;
}

.msg-sections-message textarea {
    margin-top: 10px;
}

.btn-part {
    display: flex;
    justify-content: center;
}

@media (max-Width: 1420px) {

    .email-section .left-side img,
    .boundary {
        display: none;
    }

    .email-section {
        display: flex;
    }

    .email-section-body-msg {
        width: 100%;
    }
}

@media (max-Width: 1050px) {
    .email-page-main {
        width: 70vw;
    }
}