body {
    background-color: #292929 !important;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding-top: 80px;
    color: white !important;
    min-height: 100vh;
}

.main-layout {
    min-height: calc(100vh - 237px);
    display: flex;
}

header,
footer {
    background-color: #292929;
}

img {
    max-width: 100%;
}

header .navbar .container {
    padding-top: 22px;
    padding-bottom: 22px;
    position: relative;
}

header .navbar .container .navbar-toggler {
    position: absolute;
    top: 33px;
    left: 0;
}

.logo {
    margin-left: auto;
    margin-right: auto;
}
.logo img {
    width: 204px;
}

header .navbar .container .navbar-collapse {
    margin-left: -16px;
    margin-right: -16px;
}

header .navbar .container .navbar-collapse ul {
    padding-top: 50px;
    position: relative;
}

header .navbar .container .navbar-collapse li {
    background: rgba(217, 217, 217, 0.10);
    border-bottom: 1px solid #292929;
}

header .navbar .container .navbar-collapse li a {
    color: #FFF;
    font-size: 24px;
    font-weight: 400;
    text-align: center;
}

.nav-item.mail,
.nav-item.tel,
.nav-item.lang {
    background: none !important;
}

.nav-item.mail {
    top: 103%;
    left: 100px;
}

.nav-item.tel {
    top: 103%;
    right: 100px;
}

.nav-item.lang {
    top: 103%;
    left: 100px;
}

.nav-item.mail a::before {
    content: url(../img/mail.svg);
}

.nav-item.tel a::before {
    content: url(../img/phone.svg);
}

.nav-item.lang.en a::before {
     content: url(../img/language-en.svg); 
}

.nav-item.lang.ua a::before {
     content: url(../img/language-ua.svg); 
}

.nav-link {
    color: #fff !important;
}

.btn-primary {
    color: #212529 !important;
    background-color: #D1F202 !important;
    border-color: #D1F202 !important;
    padding-left: 25px !important;
    padding-right: 25px !important;
    font-weight: 600 !important;
}

.text-block {
    margin-bottom: 40px;
}

.text-block2 {
    margin-bottom: 40px;
}

.text-block3 {
    margin-bottom: 40px;
}

.text-block h1 {
    margin-bottom: 20px;
}

.text-block p {
    margin-bottom: 20px;
}

.text-block2 h1 {
    margin-bottom: 20px;
}

.text-block2 p {
    margin-bottom: 20px;
}

.text-block3 h1 {
    margin-bottom: 20px;
}

.text-block3 p {
    margin-bottom: 20px;
}

.img-overlay-block {
    position: relative;
}

.img-overlay-block img {
    border-radius: 10px;
    margin-bottom: 20px;
}

.img-overlay-block .floating {
    position: absolute;
    width: 300px !important;
    color: black;
    top: 15px;
    /* выставляем контент по центру */
    margin: 0px auto; 
    left: 10px;
    font-size: 16px;
    font-weight: 600;
}

.footer-menu a {
    color: white !important;
}

.copyright {
    color: #D9D9D9;
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    width: 100%;
    padding-top: 13px;
    padding-bottom: 13px;
    border-top: 1px solid rgba(255, 255, 255, 0.6);
    margin-top: 13px;
}

.container-slide{
    padding: 0;
    margin-bottom: 30px;   
}

.carousel-inner{
    margin: 0px auto;
    background-color: #D9D9D9;
    border-color: #292929;
    border-radius: 10px;
    
    
}
.container-slide .carousel-item{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    max-height: 500px;
    
    
    
}
.container-slide .carousel-item img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    
    
}

.catchline {
    display: flex;
    justify-content: center;
    list-style-type: none;
    margin-left: auto;
}

@media (min-width: 992px) {
    body {
        padding-top: 100px;
    }

    .logo {
        margin-left: 0;
        margin-right: 0;
    }

    header .navbar .container {
        padding-top: 9px;
        padding-bottom: 9px;
        grid-gap: 45px;
    }

    header .navbar .container .navbar-collapse {
        margin: 0;
    }

    header .navbar .container .navbar-collapse ul {
        padding-top: 0;
    }

    header .navbar .container .navbar-collapse li {
        background: none;
        border: none;
    }
    header .navbar .container .navbar-collapse li a {
        font-size: 18px;
    }
    header .navbar-nav {
        width: 100%;
        align-items: center;
    }
        
    .img-overlay-block .floating {
        width: 200px;
        left: 15px;
        background-color: #292929;
        padding-left: 0.5em;
        color: #D9D9D9;
    }
    .nav-item.mail,
    .nav-item.tel,
    .nav-item.lang {
        position: static;
        align-items: center;
    }
    
}

@media (max-width: 991px) {
    .contact-menu {
        position: fixed;
        width: 100%;
        bottom: 0;
        left: 0;
        background: #292929;
        padding-top: 5px;
    }
    .contact-menu .navbar-nav {
             flex-direction: row;
             justify-content: center;
             grid-gap: 45px;
             margin: 0 !important;
    }

    .img-overlay-block .floating {
        background-color: #292929;
        padding-left: 0.5em;
        color: #D9D9D9;
    }

    .container-slide .carousel-item{
        max-height: 350px;
    }

    .catchline {
        padding-top: 20px;
        grid-gap: 100px;
        margin: 0;
    }
}

@media (max-width: 740px) {
    .container-slide .carousel-item{
        max-height: 260px;
    }
    
}

@media (max-width: 768px) {
    .carousel-caption-hack h5{
    
    font-size: 2rem !important;
    font-weight: 400;
    background-color: #292929;
    max-width: 100%;
    padding: 0.1em;
    padding-top: 0em;
    opacity: 0.85;
    border-radius: 1px;
}
}
.carousel-caption-hack h5{
    font-size: 3rem;
    font-weight: 500;
    background-color: #292929;
    max-width: 100%;
    padding: 0.1em;
    padding-top: 0em;
    opacity: 0.85;
    border-radius: 2px;
}

.hook{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    top: 0;
    bottom: 0;
        
}
.top{
    text-align: center;
    
}

.imgnew{
    padding-left: 30px;
    padding-right: 30px;
    text-align: center;
}

.bottom{
    padding-left: 30px;
    padding-right: 30px;
    text-align: center;
}

