.message {
    position: relative;
    width: 100%;
    max-width: 75vw;
    margin: 0px auto 80px auto;
    box-sizing: border-box;
    align-items: center;
}

.message h1 {
    font-size: 4rem;
    color: rgb(30, 67, 55);
    margin-left: 20px;
}

.details1 {
    display: flex;
    box-shadow: 0px 0px 15px rgb(22, 158, 113);
    border-radius: 15px;
    padding: 20px;
}

.para {
    flex: 70%;
}

.photo {
    flex: 30%;
}

.para p {
    text-align: justify;
    font-size: 2rem;
    margin-right: 20px;
    line-height: 1.2;
}

.photo img {
    width: 100%;
    /* height: 30vh; */
    border-radius: 15px;
    align-self: center;
}

#h1 {
    color: rgb(30, 67, 55);
    font-size: 2.2rem;
    font-weight: 1000;
    display: flex;
}

#h2 {
    color: rgb(30, 67, 55);
    font-size: 1.8rem;
    font-weight: 1000;
    display: flex;
    line-height: 1;
}


@media (max-width: 1980px) {
    .details1 img {
        height: 63vh;
    }
}

@media(max-width: 1440px) {
    .details1 p {
        font-size: 1.4rem;
    }

    .details1 img {
        height: 58vh;
    }
}

@media(max-width: 1024px) {
    .message {
        margin-top: 0px;
        margin-bottom: 35px;
    }

    .message h1 {
        font-size: 2.5rem;
    }

    #h1 {
        font-size: 1.6rem;
    }

    #h2 {
        font-size: 1.3rem;
    }

    .details1 p {
        font-size: 1.1rem;
    }
}

@media (max-width:850px) {
    .details1 p {
        line-height: 1.2;
    }

    .photo img {
        height: 53vh;
    }

    .para {
        flex: 55%;
        /* 60% of the space */
    }

    .photo {
        flex: 45%;
    }

    .message h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    #h1 {
        font-size: 1.2rem;
        text-align: left;
    }

    #h2 {
        font-size: 0.9rem;
    }

    .details1 p {
        line-height: 1.2;
    }

    .para {
        flex: 60%;
        /* 60% of the space */
    }

    .photo {
        flex: 40%;
    }
}

@media (max-width: 480px) {
    .message {
        margin-top: 20%;
    }

    .details1 {
        flex-direction: column;
    }

    .message h1 {
        font-size: 1.2rem;
        margin-bottom: 5px;
    }

    .para p {
        text-align: left;
    }

    .photo img {
        margin-top: 5px;
        width: 99%;
        height: 45vh;
        align-self: center;
    }
}