/* Mont Fonts
-------------------------------------------------------------- */
@font-face {
    font-family: 'Mont';
    font-weight: 400;
    font-style: normal;
    src: url('../fonts/Mont-Regular.woff2') format('woff2'), url('../fonts/Mont-Regular.woff') format('woff');
    font-display: swap;
}

@font-face {
    font-family: 'Mont';
    font-weight: 600;
    font-style: normal;
    src: url('../fonts/Mont-SemiBold.woff2') format('woff2'), url('../fonts/Mont-SemiBold.woff') format('woff');
    font-display: swap;
}


/* Vars
-------------------------------------------------------------- */

* {
    --site-width: 1330px;
    --block-padding: 70px;
    --red-color: #ff473d;
    --light-blue-color: #e8f3f7;
    --light-gray-color: #dcdfe3;
    --main-color: #242628;
    
}


/* Fonts - Typography
-------------------------------------------------------------- */
body, button, input, select, textarea, p, a, li, tr, td, h1, h2, h3, h4 {font-family: 'Mont', -apple-system, BlinkMacSystemFont, sans-serif; color: var(--main-color);} 
a {text-decoration: none;}
h1 {font-size: 22px; text-transform: uppercase; font-weight: 400;}

/* Layout
-------------------------------------------------------------- */
#wms-header, #wms-footer, #wms-main-content {max-width: var(--site-width); margin: 0 auto;}

/* Misc
-------------------------------------------------------------- */
.wms-color-red {color: #ff473d;}
.wms-block {display: block;}
.wms-round {border-radius: 50%;}
.wms-strong {font-weight: 600;}
.wms-inline-link {text-decoration: underline;}
.wms-inline-link:hover {opacity: .8; text-decoration: none;}


/* Header
-------------------------------------------------------------- */

#wms-header {margin-bottom: 25px; margin-top: 40px; position: relative; z-index: 99;}
#wms-header .wms-header-inner {display: flex;}
#wms-header .wms-header-logo {width: 100px;}
#wms-header .wms-header-text {text-align: center; width: calc(100% - calc(100px*2));}
#wms-header .wms-header-link {display: none;}
#wms-header .wms-header-link a {font-size: 16px; border: 1px solid var(--main-color); padding: 9px 25px; border-radius: 15px; text-transform: uppercase;}
#wms-header .wms-header-link a img {display: inline-block; margin-left: 20px; position: relative; top: 3px;}


/* Main
-------------------------------------------------------------- */

.wms-slider-wrapper {display: flex; margin-bottom: 10px; justify-content: center; position: relative; left: 4%;}
.wms-slider-wrapper .wms-slider-text {color: var(--red-color); font-size: 800px; line-height: .72em; width: auto; text-align: right; position: relative; z-index: 55;}
.wms-slider-wrapper .wms-image-slider {width: auto; position: relative; z-index: 77; right: 8%; width: 545px;}
.wms-slider-wrapper .wms-image-slider .wms-image-slider-inner {width: 100%; aspect-ratio: 1 / 1; position: relative; box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25); border-radius: 50%; 
    max-width: 545px; top: 0; overflow: hidden;}
.wms-slider-wrapper .wms-slide {position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .1s ease-in;}
.wms-slider-wrapper .wms-slide.wms-active {opacity: 1;}
.wms-years-text {font-size: 114px; line-height: 130px; margin: 25px 0 50px;}
#wms-main-content p .wms-red-color {color: var(--red-color);}
h2.wms-divider-heading {font-size: 14px; border-top: 1px solid var(--main-color); text-transform: uppercase; padding-top: 14px; margin-bottom: 30px;}
p.wms-about-text {font-size: 42px; line-height: 49px; margin-bottom: 70px;}
p.wms-about-text .wms-round {background-color: var(--red-color); display: inline-block; margin-right: 10px; width: 34px; height: 34px;}
.wms-socials-block {margin-bottom: 70px;}
ul.wms-socials-list {margin: 0; padding: 0; text-align: center;}
ul.wms-socials-list li {list-style-type: none; display: inline-block; margin-right: 75px;}
ul.wms-socials-list li a {display: block; width: 79px; height: 79px; background-repeat: no-repeat; transition: background-image 0.4s;}
ul.wms-socials-list li a:hover {transition: background-image 0.3s;}
ul.wms-socials-list li:nth-child(1) a {background-image: url(../images/svg/wms-cbi-socials-be-b.svg);}
ul.wms-socials-list li:nth-child(1) a:hover {background-image: url(../images/svg/wms-cbi-socials-be-r.svg);}
ul.wms-socials-list li:nth-child(2) a {background-image: url(../images/svg/wms-cbi-socials-tg-b.svg);}
ul.wms-socials-list li:nth-child(2) a:hover {background-image: url(../images/svg/wms-cbi-socials-tg-r.svg);}
ul.wms-socials-list li:nth-child(3) a {background-image: url(../images/svg/wms-cbi-socials-dz-b.svg);}
ul.wms-socials-list li:nth-child(3) a:hover {background-image: url(../images/svg/wms-cbi-socials-dz-r.svg);}
ul.wms-socials-list li:nth-child(4) a {background-image: url(../images/svg/wms-cbi-socials-vk-b.svg);}
ul.wms-socials-list li:nth-child(4) a:hover {background-image: url(../images/svg/wms-cbi-socials-vk-r.svg);}
ul.wms-socials-list li:nth-child(5) a {background-image: url(../images/svg/wms-cbi-socials-ru-b.svg);}
ul.wms-socials-list li:nth-child(5) a:hover {background-image: url(../images/svg/wms-cbi-socials-ru-r.svg);}
ul.wms-socials-list li:last-of-type {margin-right: 0;}
p.wms-socials-text {font-size: 22px; line-height: normal; text-align: center; text-transform: uppercase;}

#wms-footer .wms-contacts-list {margin: 0; padding: 0; display: flex; column-gap: 93px; margin-bottom: 28px;}
#wms-footer .wms-contacts-list li {list-style-type: none; width: 50%; text-align: right; display: block;}
#wms-footer .wms-contacts-list li a {font-size: 35px;}
#wms-footer .wms-contacts-list li a:hover {text-decoration: underline; opacity: .8;}
#wms-footer .wms-contacts-list li:last-child {text-align: left; font-size: 35px;}
#wms-footer .wms-bottom-footer {font-size: 12px; text-align: right; margin-bottom: 32px;}
#wms-footer .wms-bottom-footer .wms-block {display: inline;}

@media (max-width: 1680px) { 
    * {--site-width: 1390px;}
    .wms-slider-wrapper .wms-slider-text {font-size: 750px;}
    .wms-slider-wrapper .wms-image-slider .wms-image-slider-inner, .wms-slider-wrapper .wms-image-slider {width: 511px;}
    .wms-slider-wrapper {margin-bottom: 0;}
    .wms-years-text {margin-top: 0;}

}


@media (max-width: 1440px) { 
    * {--site-width: 1220px;}
    .wms-years-text {font-size: 104px; line-height: 1.1em;}
    p.wms-about-text {font-size: 40px; line-height: 1.2em;}
    p.wms-about-text .wms-round {width: 30px; height: 30px;}
}


@media (max-width: 1279px) { 
    * {--site-width: 960px;}
    .wms-slider-wrapper .wms-slider-text {font-size: 650px;}
    .wms-slider-wrapper .wms-image-slider .wms-image-slider-inner, .wms-slider-wrapper .wms-image-slider {width: 443px;}
    .wms-years-text {font-size: 80px;}
    p.wms-about-text {font-size: 30px; line-height: 1.2em;}
    ul.wms-socials-list li a {width: 70px; height: 70px; background-size: contain;}
    ul.wms-socials-list li {margin-right: 50px;}
    h1 {font-size: 18px;}

}

@media (max-width: 991px) { 
    * {--site-width: 710px;}
    .wms-slider-wrapper .wms-slider-text {font-size: 616px;}
    .wms-slider-wrapper .wms-image-slider .wms-image-slider-inner, .wms-slider-wrapper .wms-image-slider {width: 420px;}
    .wms-years-text {font-size: 58px; margin-top: 25px;}
    p.wms-about-text {font-size: 21px;}
    p.wms-about-text .wms-round {width: 17px; height: 17px;}
    #wms-footer .wms-contacts-list li a {font-size: 31px;}
}


@media (max-width: 767px) { 
    * {--site-width: 690px;}
    .wms-slider-wrapper .wms-slider-text {font-size: 614px;}
    .wms-slider-wrapper .wms-image-slider {width: auto;}
    .wms-years-text {font-size: 55px;}
    #wms-header .wms-header-text .wms-pc-only {display: none;}
    #wms-header .wms-header-text {text-align: left; max-width: 252px;}
    #wms-header .wms-header-link {display: block; padding-top: 40px;}
    #wms-header .wms-header-logo img {width: 95px;}
    #wms-header .wms-header-inner {column-gap: 50px;}
    #wms-header {margin-top: 30px; margin-bottom: 50px;}
}

@media (max-width: 719px) {
    * {--site-width: 535px;}
    .wms-slider-wrapper .wms-slider-text {font-size: 360px; width: auto;}
    .wms-slider-wrapper .wms-image-slider {width: auto;}
    h1 {font-size: 13px; margin-top: 24px;}
    #wms-header .wms-header-inner {column-gap: 25px;}
    #wms-header .wms-header-text {max-width: 185px;}
    #wms-header .wms-header-link {width: calc(100% - 185px - 100px - 50px);}   
    .wms-slider-wrapper .wms-image-slider .wms-image-slider-inner, .wms-slider-wrapper .wms-image-slider {width: 300px;} 
    .wms-slider-wrapper .wms-slider-text {font-size: 440px;}
    #wms-footer .wms-contacts-list {column-gap: 25px;}
    #wms-footer .wms-contacts-list li {display: flex; justify-content: end;}
    #wms-footer .wms-contacts-list li:last-child {justify-content: start;}
    #wms-footer .wms-contacts-list li a {font-size: 23px;}
    ul.wms-socials-list li a {width: 50px; height: 50px;}
    ul.wms-socials-list li {margin-right: 25px;}
    .wms-years-text {font-size: 42px;} 
    #wms-header .wms-header-link a {display: flex;}
    #wms-header .wms-header-link a img {margin-left: 10px; max-width: 11px; top: 0;}
    #wms-header .wms-header-link {padding-top: 31px;}
    p.wms-about-text {font-size: 18px;}
    p.wms-about-text .wms-round {width: 15px; height: 15px;}
}


@media (max-width: 575px) {
    * {--site-width: 360px;}
    #wms-header .wms-header-inner {display: block;}
    #wms-header .wms-header-inner::after {content: ""; display: block; clear: both; height: 0; visibility: hidden;}
    #wms-header  .wms-header-logo {float: left; width: 95px; margin-right: 20px;}    
    #wms-header  .wms-header-text {float: left; width: calc(100% - 115px); max-width: unset;}    
    #wms-header  .wms-header-link {float: left; width: 100%;}
    h1 {margin-top: 33px;}
    #wms-header .wms-header-link a {max-width: 138px; margin: 0 auto;}
    #wms-header .wms-header-link {padding-top: 0;}
    #wms-header {margin-bottom: 60px;}
    .wms-slider-wrapper .wms-image-slider .wms-image-slider-inner, .wms-slider-wrapper .wms-image-slider {width: 200px;}
    .wms-slider-wrapper .wms-slider-text {font-size: 294px;}
    .wms-years-text {font-size: 30px;}
    p.wms-about-text {font-size: 17px;}
     ul.wms-socials-list li a {width: 35px; height: 35px;}
     p.wms-socials-text {font-size: 18px;}
     p.wms-about-text{margin-bottom: 60px;}
     #wms-footer .wms-contacts-list {flex-direction: column;}
     #wms-footer .wms-contacts-list li, #wms-footer .wms-contacts-list li:last-child {width: 100%; justify-content: center;}
 }

@media (max-width: 400px) {
    * {--site-width: 95%;}
    .wms-years-text {font-size: 27px;}
    p.wms-about-text {font-size: 16px; margin-bottom: 40px;}
    .wms-socials-block {margin-bottom: 50px;}
    h1 {font-size: 12px;}
 }