.curtain {
    position: fixed;
    margin: 0 auto;
    width: 101%;
    height: 100%;
    z-index: 9999;
    overflow: hidden;
    /*margin-top: -8px;*/
    margin-left: -6px;
}

.curtain__wrapper {
    width: 101%;
    height: 100%;
    font-size: 20px;
}

    .curtain__wrapper input[type=checkbox] {
        position: absolute;
        cursor: pointer;
        width: 100%;
        height: 100%;
        z-index: 100;
        opacity: 0;
        top: 0;
        left: 0;
        max-width: none;
    }

        .curtain__wrapper input[type=checkbox]:checked ~ div.curtain__panel--left {
            transform: translateX(0);
        }

        .curtain__wrapper input[type=checkbox]:checked ~ div.curtain__panel--right {
            transform: translateX(0);
        }

.curtain__panel {
    display: flex;
    align-items: center;
    color: #fff;
    float: left;
    position: relative;
    width: 100%;
    height: 98vh;
    -webkit-transition: all 7.5s ease-in-out;
    -moz-transition: all 7.5s ease-in-out;
    -ms-transition: all 7.5s ease-in-out;
    -o-transition: all 7.5s ease-in-out;
    transition: all 7.5s ease-in-out;
    z-index: 2;
}

/* @media screen and (min-width: 1440px) {
    .curtain__panel h2 {
        font-size: 2.2rem;
    }
}

@media screen and (min-width: 1600px) {
    .curtain__panel h2 {
        font-size: 2.5rem;
    }
}

@media screen and (min-width: 1680px) {
    .curtain__panel h2 {
        font-size: 2.8rem;
    }
}

@media screen and (max-width: 1199px) {
    .curtain__panel h2 {
        font-size: 1.5rem;
    }
} */

.curtain__panel--left {
    /*justify-content: flex-end;
    transform: translateX(-100%);
    background: url("../images/curtain.jpg") repeat-x;
    background-size: 100% 100%;
    text-align: right;*/
    justify-content: flex-end;    
    transform: translateY(-100%);    
    background: url("../images/new_curtain_animated_.gif") repeat-x;
    background-size: 100% 100%;
    text-align: right;
}

.curtain__panel--right {
    justify-content: flex-start;
    transform: translateX(-100%);
    background: url("../images/curtain.jpg") no-repeat;
    background-size: 100% 100%;
}



.curtain__content {
    color: #fff;
    padding: 1rem 0;
    position: absolute;
    text-align: center;
    z-index: 1;
    width: 100%;
}

.modal-header {
    border-bottom: none !important;
}

.modal-content {
    margin-top: 50% !important;
}

.close {
    opacity: 1 !important;
}