body {
    margin: 0;
    overflow: hidden;
} 

.mainContainer
{
    width:100%;
    min-width:100%;
    max-width:100%;
    height:100%;
    height:100vh;
    min-height:100%;
    overflow:hidden;
    padding:0;
    margin:0;
    display: -webkit-flex;
    display:flex;
    flex-direction:row;
    flex-wrap:wrap;
    justify-content:flex-start;
    align-self:auto;
    align-items:flex-start;
    align-content:flex-start;
}



.firstRow
{
    width:100%;
    min-width:100%;
    max-width:100%;
    height:80%;
    min-height:80%;
    overflow:hidden;
    padding:0;
    margin:0;
}

.secondRow
{
    width:100%;
    min-width:100%;
    max-width:100%;
    height:20%;
    min-height:20%;
    overflow:hidden;
    padding:0;
    margin:0;
    background: #a6c7bf;
}

.home
{
    cursor:pointer;
    position:absolute;
    left:2px;
    top:2px;

}

.logo
{
    /*height: 50px;*/
    width: 200px;
}


/* popup */

.popup{
    width: 100%;
    height: 100vh;
    display: none;
    opacity: 0.8;
    z-index: 2000;
    position: fixed;
    top: 0;
    right: 0;
}

#popup-article:target{
    display: flex;
}

.popup:before{
    content: "";
    box-sizing: border-box;
    width: 100%;
    background-color: #fff;

    position: fixed;
    left: 0;
    top: 50%;
    will-change: height, top;
    animation: open-animation .6s cubic-bezier(0.83, 0.04, 0, 1.16) .65s both;
}

.popup:after{
    content: "";
    width: 0;
    height: 2px;
    background-color: #f0f0f0;

    will-change: width, opacity;
    animation: line-animation .6s cubic-bezier(0.83, 0.04, 0, 1.16) both;

    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -1px;
}

@keyframes line-animation{

    0%{
        width: 0;
        opacity: 1;
    }

    99%{
        width: 100%;
        opacity: 1;
    }

    100%{
        width: 100%;
        opacity: 0;
    }  
}

@keyframes open-animation{

    0%{
        height: 0;
        top: 50%;
    }

    100%{
        height: 100vh;
        top: 0;
    }
}

.popup__block{
    height: calc(100vh - 40px);
    padding: 5% 15%;
    box-sizing: border-box;
    position: relative;

    margin: auto;
    overflow: auto;
    animation: fade .5s ease-out 1.3s both;
}

@keyframes fade{

    0%{
        opacity: 0;
    }

    100%{
        opacity: 1;
    }
}

.popup__title{
    font-size: 2.5rem;
    margin: 0 0 1em;
}

.popup__close{
    width: 3.2rem;
    height: 3.2rem;
    text-indent: -9999px;

    position: fixed;
    top: 20px;
    right: 20px;

    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    background-image: url(data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjMDAwMDAwIiBoZWlnaHQ9IjI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4gICAgPHBhdGggZD0iTTE5IDYuNDFMMTcuNTkgNSAxMiAxMC41OSA2LjQxIDUgNSA2LjQxIDEwLjU5IDEyIDUgMTcuNTkgNi40MSAxOSAxMiAxMy40MSAxNy41OSAxOSAxOSAxNy41OSAxMy40MSAxMnoiLz4gICAgPHBhdGggZD0iTTAgMGgyNHYyNEgweiIgZmlsbD0ibm9uZSIvPjwvc3ZnPg==);
}

.open-popup{
    position:absolute;
    left:40%;
    top:2px;
    color: #fff;
    text-transform: uppercase;
    padding: 1rem 2rem;
    border: 1px solid;
}

.popup strong {
    background-color: #a6c7bf; /* Changing background color */
    border-radius: 5px; /* Making border radius */
    width: auto; /* Making auto-sizable width */
    height: auto; /* Making auto-sizable height */
    padding: 2px 2px 2px 2px; /* Making space around letters */
    
}

.popup p {
    text-indent: 0;
    line-height: 1.5;
}



