#message-section {
    background-color: white;
    padding-top: 0px;
    padding-bottom: 0px;
}

#message-section .text-container {
    width: 35%;
}

#message-section h4 {
    color: #1f1f1f;
    max-width: 90%;
    text-align: left;
    margin-bottom: 2rem;;
}

#message-section p {
    color: #1f1f1f;
    text-align: justify;
    width: 100%;
}

#message-section h3 {
    color: #1f1f1f;
}

#message-section button {
    float: left;
    background-color: white;
    color: #1f1f1f;
    border-color: #1f1f1f;
}

#message-section button:hover {
    background-color: #d00909;
    color: #fff;
}

#message-section .image-container {
    position: relative;
    background-image: url("../assets/images/index/message.jpg");
}

#message-section .image-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 50%, transparent 90%, white 90%);
    z-index: 1;
    pointer-events: none;
}

#message-section .image-container::after {
    content: "";
    position: absolute;
    top: 80%;
    left: 93.5%;
    width: 60px;
    height: 60px;
    background-image: url("../assets/images/rich-play-button.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform: translate(-50%, -50%);
    z-index: 2;
    pointer-events: none;
}

@media (max-width: 1500px) {

    #message-section .image-container::after {
        background-image: none;
    }

    #message-section .image-container::before {
        background: none;
    }
}

@media (max-width: 1024px) {
    #message-section .image-text-pair-left .text-container {
        width: 40%;
        margin: 40px 40px;
    }

    #message-section h3 {
        font-size: 1.8rem;
    }

    #message-section p {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    #message-section {
        padding: 0px 0;
    }

    #message-section .image-text-pair-left {
        flex-direction: column;
        gap: 0;
    }

    #message-section .image-text-pair-left .image-container {
        max-width: 100%;
        min-height: 250px;
        order: 1;
    }

    #message-section .image-text-pair-left .text-container {
        width: 85%;
        margin: 30px auto;
        order: 2;
    }

    #message-section h3 {
        font-size: 1.6rem;
        text-align: center;
        margin-bottom: 1.5rem;
        margin-top: 20px;
    }

    #message-section p {
        font-size: 0.95rem;
        line-height: 1.6;
        width: 80%;
        margin-left: 10%;
    }

    #message-section button {
        float: none;
        display: block;
        margin: 25px auto 0 auto;
        padding: 12px 24px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    #message-section {
        padding: 0px 0;
    }

    #message-section .image-text-pair-left .text-container {
        width: 90%;
        margin: 25px auto;
    }

    #message-section .image-text-pair-left .image-container {
        min-height: 200px;
    }

    #message-section h3 {
        font-size: 1.4rem;
    }

    #message-section p {
        font-size: 0.9rem;
    }

    #message-section button {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
}

@media screen and (orientation: landscape) and (max-height: 900px) {
    #message-section h3 {
        margin-bottom: 1.5rem;
        margin-top: 20px;
    }

    #message-section p {
        width: 85%;
    }
}
