@font-face {
    font-family: 'icomoon';
    src: url('fonts/icomoon.eot?fl617q');
    src: url('fonts/icomoon.eot?fl617q#iefix') format('embedded-opentype'),
    url('fonts/icomoon.ttf?fl617q') format('truetype'),
    url('fonts/icomoon.woff?fl617q') format('woff'),
    url('fonts/icomoon.svg?fl617q#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
}

[class^="icon-"], [class*=" icon-"] {
    /* use !important to prevent issues with browser extensions that change fonts */
    font-family: 'icomoon' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;

    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-matrix_dark .path1:before {
    content: "\e900";
    color: rgb(216, 48, 59);
}

.icon-matrix_dark .path2:before {
    content: "\e901";
    margin-left: -6.6630859375em;
    /*color: rgb(83, 100, 117);*/
}

.navbar-brand {
    font-size: 28px;
    padding: 8px 15px 15px;
}

.overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    transition: opacity 500ms;
    visibility: hidden;
    opacity: 0;
    z-index: 1043;
}

.overlay:target {
    visibility: visible;
    opacity: 1;
}

.popup {
    margin: 5% auto;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    width: 70%;
    position: relative;
    transition: all 5s ease-in-out;
    background-image: url(../img/bg-primary.jpg);
}

.popup h2 {
    margin-top: 0;
    color: #333;
}

.popup .close {
    position: absolute;
    top: 20px;
    right: 30px;
    transition: all 200ms;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    color: #333;
}

.popup .close:hover {
    color: rgb(216, 48, 59);
}

.popup .content {
    max-height: 30%;
    overflow: auto;
    color: #333;
}

@media screen and (max-width: 768px) {
    .box {
        width: 100%;
    }

    .popup {
        width: 90%;
        height: 90%;

    }
    .popup .content {
        max-height: calc(100% - 35px);
        text-align: left;
    }
    .t-left {
        text-align: left;
    }
}
