@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600&display=swap');

* {
    box-sizing: border-box;
}

body {
    margin: 0px;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

.container {
    width: 1320px;
    margin: auto;
    padding: 0 15px;
    position: relative;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background-color: #202020a1;
}

::-webkit-scrollbar-thumb {
    background-color: #1e1e1f;
    border-radius: 6px;
}

.indent {
    padding-top: 91px;
    padding-bottom: 69px;
}

.page-title {
    padding: 0 0 20px 0;
    font-size: 34px;
    font-weight: 600;
    line-height: 1;
    word-break: break-word;
}

/* crumbs */

.crumbs {
    font-size: 14px;
    color: var(--invert-text);
    /*margin-bottom: 30px;*/
    margin-bottom: 20px;
}
  
.breadcrumb_wrapper {
    display: flex;
    align-items: center;
}
  
.crumbs .breadcrumb {
    list-style: none;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
}
  
.crumbs li+li {
    padding-left: 20px;
}
  
.breadcrumb-item a {
    color: var(--invert-link);
    text-decoration: none;
}
  
.breadcrumb-item:hover a {
    color: var(--invert-link-hover);
}
  
.breadcrumb div {
    padding: 0 5px;
}
  
.breadcrumb-item.active {
    color: #052b48a6;
}
  
.section-article .crumbs {
    position: absolute;
    color: #fff;
    z-index: 1;
    left: 15px;
    padding: 0 0 0 80px;
}
  
.section-article .breadcrumb-item a {
    color: #fff;
}
  
.section-article .breadcrumb-item.active {
    color: #ffffffa6;
}
  
.section-article .breadcrumb-item:hover a {
    color: var(--invert-link-hover);
}
  
/* / crumbs */

/* header */

.header-section {
    display: block;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    color: #fff;
    z-index: 999;
    padding: 20px 0 10px 0;
    transition: 0.3s ease-out;
}

.header-section.scrolling {
    background-color: #0009;
    padding: 8px 0 8px 0;
    transition: 0.3s ease-out;
}

.header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    position: relative;
}

.header--secondary {
    background-color: #2c2b2b;
}

.header .logo {
    width: 100px;
    height: 42px;
    display: flex;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
}

.header .logo span {
    width: 100px;
    height: 42px;
    margin-left: 10px;
    line-height: 1.2;
}

.header .logo img {
    width: 100%;
}

.header .menu {
    display: flex;
    align-items: center;
    
}

.menu_item {
    position: relative;
    cursor: pointer;
    color: inherit;
    text-decoration: none;
}

.bottom-animate {
    margin: 0;
    border: none;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 1px;
    background-color: #ffffffb8;
}

@keyframes link-bottom {
    0% {
      width: 0%;
    }
    100% {
      width: 100%;
    }
  }

.menu_item:hover {
    color: #ffffffb8;
    transition: 0.2s ease-out;
}

.menu_item:hover .bottom-animate {
    animation: link-bottom .2s ease-out;
    width: 100%;
}

.menu_item+.menu_item {
    margin-left: 75px;
}

.phone {
    color: inherit;
    text-decoration: none;
}

.header .phone {
    font-size: 20px;
}

.phone:hover {
    color: #ffffffb8;
}

.mail {
    color: inherit;
    text-decoration: none;
}

.mail:hover {
    color: #ffffffb8;
}

.header-contacts {
    position: relative;
    /*display: flex;
    align-items: center;
    grid-gap: 10px;*/
}

.header-contacts_show {
    position: relative;
    display: flex;
    align-items: center;
    grid-gap: 10px;
}

.header-contacts_hidden {
    width: 120%;
    position: absolute;
    top: 30px;
    right: 0;
    text-align: right;
    padding-right: 28px;
    display: none;
}

.header-contacts_click {
    line-height: 1;
    cursor: pointer;
}

.header-icon {
    width: 18px;
    height: 18px;
    fill: #ffffff;
    transform: rotate(270deg);
    transition: 0.2s ease-out;
}

.header-contacts.active .header-icon {
    transform: rotate(90deg);
    transition: 0.2s ease-out;
}

.header--secondary .header-contacts_hidden {
    background-color: #2c2b2b;
    border-top: 2px solid #ffffff;
}

.mobile-menu {
    margin-left: 24px;
    display: none;
}

.burger-icon {
    width: 32px;
    height: 32px;
    fill: #ffffff;
    transition: 0.2s ease-out;
}
/*
.header .menu-wrapper {
    position: absolute;
    top: 40px;
    left: 0;
    padding: 24px 5px 0 0;
}*/

.main-video_title span,
.main-services_title span{
    word-break: break-all;
}

/* / header */

/* main-video */

.main-video-section {
    position: relative;
}
/*
.main-video_media {
    height: 100vh;
}*/

/* video */
.main-video_media {
	display: block;
	width: 100%;
	/*height: 100%;*/
    height: 100vh;
	/*position: absolute;*/
	position: relative;
    top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	overflow: hidden;
	z-index: 0;
}

.video_wrapper:after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url(/templates/korobki/resource/video/dot_texture.png);
	z-index: 2;
	opacity: 0.8;
}

.main-video_media video {
	position: absolute;
	top: 0;
	left: 0;
	min-width: 100%; 
	min-height: 100%;
	width: auto; 
	height: auto; 
    object-fit: cover;
    filter: grayscale(0.5) brightness(0.6);	
}

@media (min-aspect-ratio: 16/9) {
	.main-video_media video { 
		height: 300%;
		top: -100%; 
	}
}

@media (max-aspect-ratio: 16/9) {
	.main-video_media video { 
		width: 300%; 
		left: -100%; 
	}
}

@supports (object-fit: cover) {
	.main-video_media video {
		top: 0; left: 0;
		width: 100%; 
		height: 100%;
		object-fit: cover;
	}
}
/* / video */

.main-video_media img {
    display: block;
    width: 100%;
    height: 100%;
}

.main-video_media::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #00000087;
}

.main-video_content {
    position: absolute;
    bottom: 125px;
    left: 0px;
    color: #ffffffe0;
}

.main-video_title {
    font-size: 50px;
}

.main-video_text {
    font-size: 18px;
    width: 636px;
}

/* / main-video */


/* main-services */

.main-services-section {

}

.main-services {
    display: grid;
    /*grid-template-columns: 37% 63%;*/
    grid-template-columns: 30% 70%
}

.main-services .container {
    position: absolute;
}

.main-services_image img {
    width: 100%;
    display: block;
}

.main-services_content {
    padding: 30px 70px 60px;
    background-color: #0906ad;
    color: #fff;
    display: flex;
    flex-direction: column;
}

.main-services_title {
    font-size: 45px;
}

.main-services_text {
    font-size: 16px;
    /*padding-right: 220px;*/
    margin-top: 40px;
    width: 70%;
    color: #ffffffe3;
}

.min-slider-wrapper {
    margin-top: auto;
    position: relative;
}

.min-slider .owl-nav {
    display: none;
}

.min-slider_item {
    width: 100%;
}

.min-slider_item img {
    width: 100%;
    display: block;
}

.min-slider_left-button {
    position: absolute;
    width: 32px;
    height: 32px;
    background-color: rgba(255, 255, 255, 0);
    top: 45%;
    left: -40px;
    cursor: pointer;
    z-index: 2;
}

.min-slider_right-button {
    position: absolute;
    width: 32px;
    height: 32px;
    background-color: rgba(255, 255, 255, 0);
    top: 45%;
    right: -40px;
    cursor: pointer;
    z-index: 2;
}

.icon-min-slider {
    width: 32px;
    height: 32px;
    fill: #ffffff;
}

/* / main-services */

/* main-about-section */

.main-about-section {
    background-color: #000000c7;
    background-blend-mode: multiply;
    background-position: center;
    background-size: cover;
}

.main-about_image {
    position: relative;
}

.main-about_image img {
    width: 100%;
    display: block;
}

.main-about_content {
    color: #ffffffe0;
    padding: 80px 0;
}

.main-about_title {
    text-align: center;
    font-size: 50px;
}

.main-about_text {
    font-size: 22px;
    text-align: center;
}

.description-block {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(600px, auto));
    grid-gap: 40px 20px;
    margin: 70px 0;
}

.description-block_item {
    padding: 15px;
    border: 1px solid #ffffffb5;
    border-radius: 5px;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
}

.description-block_icon {
    margin-right: 10px;
}

.icon_main {
    width: 50px;
    height: 50px;
    fill: #ffffffe0;
}

.description-block_title {
    font-size: 25px;
    color: #ffffff;
}

.description-block_text {
    font-size: 16px;
    margin-top: 10px;
}

/* / main-about-section */

/* footer */

.footer-section {
    padding: 20px 0;
    background-color: #0c0c0c;
    color: #fff;
}

.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer .logo {
    width: 100px;
    height: 42px;
}

.footer .logo img {
    width: 100%;
}

/* / footer */

/* services */

.services-section {

}

.services {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 30px;
}

.services_item {
    position: relative;
    background-color: #ccc;
}

.services_item img {
    display: block;
    width: 100%;
    height: 100%;
}

.services_img {
    position: relative;
    width: 100%;
    height: 100%;
}

.services_img::after {
    content: "";
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0000009e;
}

.services_content {
    font-size: 24px;
    color: #fff;
    text-decoration: none;
    position: absolute;
    left: 0;
    bottom: 30px;
    margin: 0 20px 0 10px;
    opacity: 0;
}

.services_item:hover .services_img::after {
    opacity: 1;
    transition: 0.3s ease-out;
}

.services_item:hover .services_content {
    opacity: 1;
    transition: 0.3s ease-out;
}

.services_item:hover .bottom-animate {
    animation: link-bottom .6s ease-out;
    width: 100%;
}

/* / services */

/* contacts */

.contacts {
    display: grid;
    grid-template-columns: 285px 1fr;
    grid-gap: 50px;
}

.contacts_info {
    border: 1px solid #0000002e;
    border-radius: 5px;
    padding: 20px;
}

.contacts_info>div {
    display: flex;
    flex-direction: column;
}

.contacts_info>div+div {
    margin-top: 20px;
}

.contacts_title {
    font-size: 38px;
    font-weight: 600;
    line-height: 1;
}

.contacts_company {
    font-size: 12px;
    font-weight: 400;
}

.contacts_phone {
    font-weight: 600;
}

.contacts_mail {
    font-weight: 600;
}

.contacts_adress {
    font-weight: 600;
}

.contacts_subtitle {
    font-size: 14px;
    font-weight: 400;
}

.contacts_map {
    border: 1px solid #0000002e;
    border-radius: 5px;
}

.contacts_phone .phone:hover {
    color: #5e5d5d;
}

.contacts_mail .phone:hover {
    color: #5e5d5d;
}

/* / contacts */

/* services-page */

.services-page_description {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 30px;
    margin-bottom: 50px;
}

.services-page_img {
}

.services-page_img img {
    display: block;
    width: 100%;
}

.services-page_content {
    border: 1px solid #0000002e;
    border-radius: 5px;
    padding: 20px;
}

.gallery-wrapper {
    position: relative;
}

.gallery {
    display: flex;
    align-items: center;
}

.gallery-wrapper .gal-item {
    padding: 0;
    border: unset;
    float: none;
    margin: 0;
    opacity: 1;
}

.gallery-wrapper .gal-item a {
    width: 100%;
    height: 100%;
    display: block;
    text-decoration: none;
}

.gallery-wrapper .gal-item img {
    width: 100%;
}

.gallery-slider_buttons {
    height: 33px;
    position: relative;
    bottom: 25px;
    right: 0;
    display: flex;
    justify-content: flex-end;
}

.gallery-slider_left-button {
    cursor: pointer;
    z-index: 1;
}

.gallery-slider_right-button {
    cursor: pointer;
    z-index: 1;
}

.icon-services-slider {
    width: 33px;
    height: 33px;
    fill: #000000;
}

.gallery .owl-nav {
    display: none;
}

.gallery .owl-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0 0 0;
}

.gallery .owl-dots .owl-dot {
    width: 10px;
    height: 10px;
    border-radius: 15px;
    margin-right: 5px;
    border: 2px solid #505050;
    transition: 0.3s ease-out;
}

.gallery .owl-dots .owl-dot.active {
    width: 20px;
    transition: 0.3s ease-out;
}

/* / services-page */

/* feedback */

.feedback-wrapper {
    margin-top: 30px;
}

.feedback_title {

}

.feedback_form {
	display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 50px;
}

.feedback_info {
    display: flex;
    flex-direction: column;
}

.feedback_name {
    font-size: 15px;
    padding: 11px;
    border: 1px solid #0000002e;
    border-radius: 3px;
}

.feedback_phone {
    font-size: 15px;
    padding: 11px;
    border: 1px solid #0000002e;
    border-radius: 3px;
    margin-top: 15px;
}

.feedback_mail {
    font-size: 15px;
    padding: 11px;
    border: 1px solid #0000002e;
    border-radius: 3px;
    margin-top: 15px;
}

.feedback_message {
    resize: none;
    font-size: 16px;
    padding: 11px;
    border: 1px solid #0000002e;
    border-radius: 3px;
}

.feedback_info input:focus-visible,
.feedback_info select:focus-visible,
.feedback_message:focus-visible {
  outline: none;
  border: 1px solid #0d83dd;
}

.feedback_button {
    padding: 11px;
    margin-top: 15px;
    cursor: pointer;
    border: 1px solid #0000002e;
    background-color: #0000002e;
    border-radius: 3px;
}

.feedback_button:hover {
    background-color: #00000047;
    transition: 0.2s ease-out;
}

/* / feedback */
