/*
Theme Name: NEW31
Theme URI: Адрес сайта, посвященного данной теме
Description: Описание темы 
Version: Версия темы
Author: Имя автора
Author URI: Адрес автора темы
*/

:root {
    --bs-blue: #0d6efd;
    --bs-indigo: #6610f2;
    --bs-purple: #6f42c1;
    --bs-pink: #d63384;
    --bs-red: #dc3545;
    --bs-orange: #fd7e14;
    --bs-yellow: #ffc107;
    --bs-green: #198754;
    --bs-teal: #20c997;
    --bs-cyan: #0dcaf0;
    --bs-white: #fff;
    --bs-gray: #6c757d;
    --bs-gray-dark: #343a40;
    --bs-gray-100: #f8f9fa;
    --bs-gray-200: #e9ecef;
    --bs-gray-300: #dee2e6;
    --bs-gray-400: #ced4da;
    --bs-gray-500: #adb5bd;
    --bs-gray-600: #6c757d;
    --bs-gray-700: #495057;
    --bs-gray-800: #343a40;
    --bs-gray-900: #212529;
    --bs-primary: #FFFFFF;
    --bs-secondary: #282928;
    --bs-success: #363636;
    --bs-info: #0dcaf0;
    --bs-warning: #ffc107;
    --bs-danger: #E86131;
    --bs-light: #f6f6f6;
    --bs-dark: #d6d6d6;
    --bs-primary-rgb: 255, 255, 255;
    --bs-secondary-rgb: 40, 41, 40;
    --bs-success-rgb: 25, 135, 84;
    --bs-info-rgb: 13, 202, 240;
    --bs-warning-rgb: 255, 193, 7;
    --bs-danger-rgb: 232, 97, 49;
    --bs-light-rgb: 248, 249, 250;
    --bs-dark-rgb: 215, 215, 215;
    --bs-white-rgb: 255, 255, 255;
    --bs-black-rgb: 0, 0, 0;
    --bs-body-color-rgb: 33, 37, 41;
    --bs-body-bg-rgb: 255, 255, 255;
    --bs-font-sans-serif: PoiretOne-Regular, Arial, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --bs-font-monospace: PoiretOne-Regular, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
    --bs-body-font-family: var(--bs-font-sans-serif);
    --bs-body-font-size: 1rem;
    --bs-body-font-weight: 600;
    --bs-body-line-height: 1.5;
    --bs-body-color: #505050;
    --bs-body-bg: #E3E3E3;
}

body {
    background: var(--bs-primary);
    font-family: 'Poiret One', cursive;
}

.html {
    padding: 0px;
    margin: 0px !important;
}

.navbar {
    background-color: var(--bs-secondary) !important;
    height: 50px;
    padding: 0px;
}

.navbar-collapse {
    background-color: var(--bs-secondary) !important;
    z-index: 100500
}

.nav-link {
    text-transform: uppercase;
    font-size: 16px;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    line-height: 23px;
    padding-left: 25px !important;
    padding-right: 25px !important;
    color: #FFFFFF !important
}

.nav-link:hover {
    color: #999999 !important
}

.active {
    color: #999999 !important
}

.big-image {
    height: 100vh;
    width: 100%;
    position: relative;
}

.mid-image {
    height: 40vh;
    width: 100%;
    position: relative;
}

.big-image img,
.mid-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

.big-image .image-content,
.mid-image .image-content {
    position: absolute;
    top: 0px;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.catcardimg img {
    width: 100%;
    object-fit: cover;
}

.card-line {
    padding-top: 30px;
    padding-bottom: 30px;
    padding-left: 55px;
    padding-right: 55px;
    position: relative;
}

.card-line .top-left {
    position: absolute;
    top: 0px;
    left: 0;
    width: 16px;
    height: 16px;
    border-left: var(--bs-primary) 1px solid;
    border-top: var(--bs-primary) 1px solid;
}

.card-line .bottom-right {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 16px;
    height: 16px;
    border-right: var(--bs-primary) 1px solid;
    border-bottom: var(--bs-primary) 1px solid;
}

.card-line .title {
    font-size: 5vh;
    color: var(--bs-primary);
    text-align: center;
}

.card-line .content {
    margin-top: 19px;
    font-size: 3vh;
    color: var(--bs-primary);
    text-align: center;
}


/**/

.card-line-black {
    padding-top: 30px;
    padding-bottom: 30px;
    padding-left: 55px;
    padding-right: 55px;
    position: relative;
}

.card-line-black .top-left {
    position: absolute;
    top: 0px;
    left: 0;
    width: 16px;
    height: 16px;
    border-left: var(--bs-secondary) 1px solid;
    border-top: var(--bs-secondary) 1px solid;
}

.card-line-black .bottom-right {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 16px;
    height: 16px;
    border-right: var(--bs-secondary) 1px solid;
    border-bottom: var(--bs-secondary) 1px solid;
}

.card-line-black .title {
    font-size: 35px;
    color: var(--bs-secondary);
    text-align: center;
}

.card-line-black .content {
    margin-top: 19px;
    font-size: 19px;
    color: var(--bs-secondary);
    text-align: center;
}

.card-img-overlay {
    position: absolute;
    top: 15%;
    right: 0;
    bottom: 0;
    left: 0;
    padding: var(--bs-card-img-overlay-padding);
    border-radius: var(--bs-card-inner-border-radius);
    width: 80%;
    height: 60%;
    backdrop-filter: brightness(0.5);
}


/**/

.center {
    display: flex;
    justify-content: center;
}

.image-card {
    width: 300px;
}

.image-card img {
    width: 300px;
    height: 300px;
    object-fit: cover;
}

.greyimg img {
    filter: grayscale(100%);
}

.greyimg img:hover {
    filter: grayscale(40%);
}

.image-card-body {
    margin-top: 20px;
}

.image-card-title {
    font-weight: 600;
    text-align: center;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.image-card-body p {
    font-weight: 600;
    text-align: justify;
    font-size: 16px;
}

.footer {
    height: 100px;
    margin-top: 20px;
    background-color: var(--bs-secondary) !important;
    color: var(--bs-primary);
    display: flex;
    justify-content: center;
    align-items: center;
}

.project-image-card {
    width: 300px;
}

.project-image-card img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    filter: grayscale(100%);
}

.project-image-card img:hover {
    filter: grayscale(0);
}

.project-card {
    width: 300px;
    background-color: var(--bs-light);
    padding: 10px;
}

.project-card-title {
    font-size: 35px;
    font-weight: 600;
}

.project-card .col {
    font-size: 15px;
}

.contact {
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none !important;
    color: var(--bs-primary) !important;
}

ul.menu {
    display: flex;
    justify-content: end;
}

.main_menu {
    display: flex;
}

.menu li {
    list-style-type: none;
    text-transform: uppercase;
}

.mob-menu li {
    list-style-type: none;
    text-transform: uppercase;
}

#primary-menu {
    margin-left: auto;
}

.menu-item {
    position: relative;
    text-align: center;
    padding: 10px;
    margin-left: 5px;
}

.descmenu {
    max-height: 50px;
}

.descmenu img {
    max-height: 90px;
}

.small_card {
    min-height: 10vh;
}

.textcontur {
    text-shadow: 1px 1px 1px var(--bs-secondary);
}

.small_card {
    filter: grayscale(100%);
}

.small_card:hover {
    filter: none;
}