/*
Theme Name: TechConnect
Text Domain: TechConnect
Version: 1.0
Description: Redirection Section Styles
Author: KB
*/

.redirection-section-container {
    background-color: #0E417A;
}

.redirection-section-container .input-group {
    width: 540px;
    margin-left: auto;
    margin-top: 32px;
    margin-right: auto;
}

.newsletter-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: black;
    opacity: 0.40;
    z-index: 60;
    display: none;
    cursor: pointer;
}

.newsletter-modal-backdrop.display {
    display: block;
}

.newsletter-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    height: 90vh;
    width: 80vw;
    background-color: white;
    z-index: 65;
    display: none;
    overflow: hidden;
}

.newsletter-modal .modal-text-container .description {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.newsletter-modal.display {
    display: flex;
}

.newsletter-modal .modal-img-container {
    position: relative;
    width: 45%;
    overflow: hidden;
}

.newsletter-modal .modal-img-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.newsletter-modal .modal-text-container {
    width: 55%;
    padding: 60px;
}

@media screen and (max-width: 1023px) {
    .newsletter-modal {
        height: 90vh;
        width: 90vw;
    }

    .redirection-section-container .input-group {
        width: 100%;
    }

    .newsletter-modal.display {
        flex-direction: column;
    }

    .newsletter-modal .modal-text-container {
        width: 100%;
        padding: 16px;
    }

    .newsletter-modal .modal-img-container {
        display: none;
    }
}