.popup {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    display: none;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.8);
    margin-top: -1px;
    animation: zoom 0.3s ease-in-out;
    z-index: 9999;
    color: white;
}

/*Общие стили*/
body {
    margin: 0;
    padding: 0;
    font-family: 'NTSomic-Regular';
    background-color: white;
}

footer {
    background: #293a49;
    color: white;
/*    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;*/
}

.btn {
    padding: 8px 65px;
    background-color: #6e5a44;
    color: white;
    border-radius: 45px;
    text-transform: uppercase;
}

    .btn-big {
        font-size: 25px;
    }
    .btn-litle {
        font-size: 15px;
    }

.btn:hover {
    
    background-color: #293a49;
    color: white;
}
.btn:focus {
    box-shadow: none;
}
    
.module, .module-cover {
    background-position: 50%;
    background-repeat: no-repeat;
    background-color: #fff;
    background-size: cover;
    padding: 50px 0 50px;
}

h2 {
    font-size: 26pt;
}

h3 {
    font-size: 2rem;
}

h6 {
    font-weight: bold;
}

h2, h3, h4, h6, p {
    color: #0f1010;
}

.card {
    border: none;
    border-radius: 0;
}
/*Общие стили конец*/

/*Навигация*/

header {
    position: static;
    background: #293a49;
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.6)
}

    header .nav-link, .navbar-brand {
        font-size: 18px;
        color: white;
    }
        header .nav-link:hover {
            color: white;
        }

    /*----------Sidebar MENU----------*/
    .hamburger-menu{ 
        cursor: pointer;
        display: flex; 
        align-items: center; 
        justify-content: flex-start; 
        z-index: 9;
    }
    .hamburger-menu__button{ 
        width: 1.9rem; 
        height: 1.5px; 
        border-radius: 2px;
        background-color: white; 
        transition: 1.5s; 
        position: relative; 
    }
    
    .hamburger-menu__button::before, .hamburger-menu__button::after{ 
        content: ""; 
        position: absolute;
        width: inherit; 
        height: inherit; 
        background-color: white;
        transition: 0.5s; 
    }
    
    .hamburger-menu__button::before{ transform: translateY(-9px); }
    
    .hamburger-menu__button::after{ transform: translateY(9px); }
    
        .hamburger-menu.active .hamburger-menu__button{ transform: rotate(360deg);
            background-color: transparent;
        }
            .hamburger-menu.active .hamburger-menu__button::before{ 
                transform: translateY(0) rotate(45deg);
            }
    
            .hamburger-menu.active .hamburger-menu__button::after{
                transform: translateY(0) rotate(-45deg);
            } 

    .hamburger-menu span {
        margin-left: 10px;
        font-size: 3vh;
        color: white;
    }

    .menu-block {
        width: 0;
        height: 100vh;
        overflow: hidden;
        display: flex;
        position: fixed;
        background: #832235;
        flex-flow: column;
        color: white;
        font-size: 2vh;
        box-shadow: 10px 5px 5px rgba(0, 0, 0, 0.2);
        transition: 0.3s;
    }

    .menu-block.active {
        width: 15vw;
        padding: 0 5vh;
        z-index: 8;
    }

/*Навигация конец*/        

#start {
    height: 100vh;
    width: 100%;
    background: url("../image/background.jpg") no-repeat center center;
    color: white;
    font-size: 28pt;
}

#start img {
    margin: 60px 0;
    height: 485px;
    width: 120px;
}
#start a {
    margin: 20px 0;
}

#services h5 {
    font-size: 24pt;
}
#services p {
    color: white; 
    text-align: center;
}

.services-item {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    align-content: center;
    justify-content: center;
    position: relative;
}

.services-item::after {
    content: "";
    width: 100%;
    height: 100%;
    background-color: rgba(43, 45, 48, 0.555);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

/*#p1 {
    height: 440px;
    background: url("../image/sr1.jpg") no-repeat center center /cover;
}
#p2 {
    height: 440px;
    background: url("../image/sr2.jpg") no-repeat center center / cover;
}
#p3 {
    height: 440px;
    background: url("../image/sr3.jpg") no-repeat center center /cover;
}*/

    .services-item-title {
        margin-top: 180px;
        padding: 30px 20px;
        z-index: 2;
    }

    .services-item a {
        position: absolute;
        padding: 30px 20px;
        width: 100%;
        bottom: 0;
        color: white;
        background-color: #6e5a44;
        z-index: 2;
    }

    .services-item a:hover {
        background-color: #293a49;
    }

    .services-item-title {
        color: white;
    }

    /*section portfolio*/
#portfolio a {
    padding: 0;
}

    .portfolio-item {
        padding: 0;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: flex-start;
        align-content: center;
        justify-content: center;    
        cursor: pointer; 

        background-color: black;
    }

    #portfolio .col-md-12 p {
        font-size: 18pt;
    }

    .portfolio-item-hover{
        background-color: #6e5a44;
    }

        .portfolio-item img {
            width: 100%;
            opacity: 0.2;
        }


#customers p {
    margin: 0; 
    padding: 20px 0; 
    color: white; 
    text-align: center;
    font-size: 18pt;
}


#application p {
    font-size: 18pt;
}
        

.header-title::after {
    background: black;
}

#header-title p {
    color: white;
    font-size: 18pt;
}

#content-page {
    text-align: left;
}
    #content-page р {
        font-size: 16pt;
    }

    #content-page p {
        font-size: 16pt;
    }

    #content-page ul {
        font-size: 16pt;
        padding-left: 40px;
    }

    #content-page figcaption {
        font-size: 14pt;
        text-align: center;
    }

@media (max-width: 1250px) {
    #start img {
        margin: 60px 0;
        height: 369px;
        width: 90px;
    }
}

@media (max-width: 768px) { 

    .btn-big {
        font-size: 16pt;
    }

    h2 {
        font-size: 20pt;
    }

    .module, .module-cover {
        padding: 15px 0 15px;
    }

    #start img {
        height: auto;
        width: 15%;
    }

    #start p {
        font-size: 16pt;
    }

    #services h5 {
        font-size: 20pt;
        text-align: center;
    }

    #portfolio .col-md-12 p {
        font-size: 14pt;
    }

    #portfolio h5, #customers p {
        font-size: 14pt;
    }

    #content-page p, #content-page ul {
        font-size: 13pt;
    }

    #content-page figcaption {
        font-size: 12pt;
    }

    #content-page h3 {
        text-align: center;
    }

    #application p {
        font-size: 14pt;
    }
 }