.main-header {
  background-color: #070b17;
  padding-top: 96px;
  padding-bottom: 109px;
  position: relative;
}

.header-logo {
  margin-bottom: 55px;
}

.text-info {
  color: #adb0b8;
  font-family: 'Open Sans';
  font-weight: 400;
  line-height: 24px;
}

.read-more {
  padding: 14px;
  background-color: transparent;
  border: 1px solid #2b2e39;
  text-transform: uppercase;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  color: #a5a5a7;
  font-family: 'Noto Sans';
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 2px;
}

.read-more:hover {
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  color: #fff;
  border: 1px solid #5a5d66;
}

.text-info-container {
  margin-bottom: 30px;
  font-size: 14px;
}

.text-info-container .hidden-text {
  display: none;
}

.contacts-btn {
  position: absolute;
  text-transform: uppercase;
  z-index: 36;
  right: 8px;
  top: 8px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  background-color: transparent;
  height: 94px;
  width: 94px;
  border: 1px solid #2b2e39;
  color: white;
  font-family: 'Noto Sans';
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 2px;
}

.contacts-btn:hover {
  border: 1px solid #5a5d66;
}

.text-info {
  position: relative;
  z-index: 3;
}

.bg-art {
  position: absolute;
  bottom: -5px;
  right: 0;
  z-index: 1;
}

footer .owl-stage {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}

footer .owl-theme .owl-nav {
  position: absolute;
  width: 100%;
  top: 50%;
  height: 30px;
  -webkit-transform: translate(0%, -50%);
  -ms-transform: translate(0%, -50%);
  transform: translate(0%, -50%);
}

footer .owl-theme .owl-nav [class*=owl-]:hover {
  background-color: transparent;
}

footer .owl-carousel .owl-nav button.owl-next,
footer .owl-carousel .owl-nav button.owl-prev {
  position: absolute;
  top: -13px;
}

footer .owl-carousel .owl-nav button.owl-next span,
footer .owl-carousel .owl-nav button.owl-prev span {
  color: #585a63;
  font-size: 30px;
}

footer .owl-carousel .owl-nav button.owl-next {
  right: 0;
}

footer .owl-carousel .owl-nav button.owl-prev {
  left: 0;
}

footer .owl-carousel .owl-item img {
  width: 100%;
  max-width: 185px;
  -webkit-filter: grayscale(100%) contrast(29%);
  filter: grayscale(100%) contrast(29%);
}

footer .owl-carousel .owl-item .item {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  height: 100px;
  width: 260px;
}

.main-footer {
  background-color: #070b17;
  padding: 90px 0;
}

.footer-heading {
  color: white;
  font-family: 'Noto Sans';
  font-size: 31px;
  font-weight: 400;
  margin-bottom: 40px;
}

main {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  background-color: #070b17;
}

.main-cards {
  max-width: 1900px;
}

.card-item-wrapper {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  position: relative;
  z-index: 7;
  height: 100%;
}

.hidden-xs {
  display: none;
}

.visible-lg {
  display: block;
}

.cards {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  color: white;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.cards .card-item {
  width: 25%;
  padding: 0 3%;
  height: 570px;
  border-right: 1px solid #2f313c;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
}

.cards .card-item:last-child {
  border-right: 0;
}

.cards .card-item:after {
  content: '';
  opacity: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  -webkit-transition: opacity 0.5s;
  -o-transition: opacity 0.5s;
  transition: opacity 0.5s;
}

.cards .card-item:hover .card-text {
  display: block;
  opacity: 1;
}

.cards .card-item:hover .card-btn {
  display: block;
  opacity: 1;
}

.cards .card-item:hover::after {
  opacity: 1;
}

.cards .card-logo {
  margin-bottom: 30px;
}

.cards .card-icon {
  width: 52px;
  height: 52px;
}

.cards .card-heading {
  text-align: center;
  font-family: 'Noto Sans';
  font-size: 21px;
  font-weight: 400;
  margin-bottom: 20px;
}

.cards .card-text {
  -webkit-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
  text-align: center;
  font-family: 'Open Sans';
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
  margin-bottom: 26px;
  line-height: 1.8;
  display: none;
}

.cards .card-btn {
  -webkit-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  font-family: 'Noto Sans';
  font-size: 9px;
  font-weight: 700;
  padding: 14px 19px;
  text-transform: uppercase;
  text-decoration: none;
  color: #070b17;
  display: none;
}

.card-item-red:after {
  background: url(../img/img11.jpg) no-repeat center center;
  -webkit-background-size: cover;
  background-size: cover;
}

.card-item-green:after {
  background: url(../img/img22.jpg) no-repeat center center;
  -webkit-background-size: cover;
  background-size: cover;
}

.card-item-blue:after {
  background: url(../img/img33.jpg) no-repeat center center;
  -webkit-background-size: cover;
  background-size: cover;
}

.card-item-yellow:after {
  background: url(../img/img44.jpg) no-repeat center center;
  -webkit-background-size: cover;
  background-size: cover;
}

.icon-red {
  fill: #f0270f;
}

.red-card-btn {
  background-color: #f0270f;
}

.red-card-btn:hover {
  -webkit-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
  background-color: #cc230c;
}

.icon-green {
  fill: #3cf28d;
}

.green-card-btn {
  background-color: #3cf28d;
}

.green-card-btn:hover {
  -webkit-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
  background-color: #33cc78;
}

.icon-blue {
  fill: #1dd2ff;
}

.blue-card-btn {
  background-color: #1dd2ff;
}

.blue-card-btn:hover {
  -webkit-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
  background-color: #2b99d9;
}

.icon-yellow {
  fill: #ffc600;
}

.yellow-card-btn {
  background-color: #ffc600;
}

.yellow-card-btn:hover {
  -webkit-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
  background-color: #e6b400;
}

@-webkit-keyframes scaling {
  0% {
    top: -200%;
    right: -200%;
    width: 100px;
    height: 100px;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    opacity: 0;
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
  }

  60% {
    right: 0;
    top: -200%;
    right: -200%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    width: 150%;
    height: 150%;
  }

  100% {
    right: unset;
    width: 100%;
    height: 100%;
    -webkit-border-radius: 0;
    border-radius: 0;
    opacity: 1;
    top: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes scaling {
  0% {
    top: -200%;
    right: -200%;
    width: 100px;
    height: 100px;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    opacity: 0;
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
  }

  60% {
    right: 0;
    top: -200%;
    right: -200%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    width: 150%;
    height: 150%;
  }

  100% {
    right: unset;
    width: 100%;
    height: 100%;
    -webkit-border-radius: 0;
    border-radius: 0;
    opacity: 1;
    top: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@-webkit-keyframes scaling-reverse {
  0% {
    right: unset;
    width: 100%;
    height: 100%;
    -webkit-border-radius: 0;
    border-radius: 0;
    opacity: 1;
    top: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-transform: scale(1);
    transform: scale(1);
  }

  40% {
    right: 0;
    top: -200%;
    right: -200%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    width: 150%;
    height: 150%;
  }

  100% {
    top: -200%;
    right: -200%;
    width: 100px;
    height: 100px;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    opacity: 0;
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
  }
}

@keyframes scaling-reverse {
  0% {
    right: unset;
    width: 100%;
    height: 100%;
    -webkit-border-radius: 0;
    border-radius: 0;
    opacity: 1;
    top: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-transform: scale(1);
    transform: scale(1);
  }

  40% {
    right: 0;
    top: -200%;
    right: -200%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    width: 150%;
    height: 150%;
  }

  100% {
    top: -200%;
    right: -200%;
    width: 100px;
    height: 100px;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    opacity: 0;
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
  }
}

.scaling-animation {
  -webkit-animation: scaling 0.4s ease-out 1 normal forwards;
  animation: scaling 0.4s ease-out 1 normal forwards;
}

.scaling-animation-reverse {
  -webkit-animation: scaling-reverse 1s ease-out 1 normal forwards;
  animation: scaling-reverse 1s ease-out 1 normal forwards;
}

.opacity-animate {
  -webkit-animation: opacity 1s ease-out 1 forwards;
  animation: opacity 1s ease-out 1 forwards;
}

@-webkit-keyframes opacity {
  0% {
    opacity: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
  }

  50% {
    opacity: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
  }

  100% {
    opacity: 1;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
  }
}

@keyframes opacity {
  0% {
    opacity: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
  }

  50% {
    opacity: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
  }

  100% {
    opacity: 1;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
  }
}

.contacts-block-wrapper {
  position: relative;
  opacity: 0;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

.contacts-block {
  position: fixed;
  padding-top: 100px;
  padding-left: 177px;
  height: 100%;
  top: -200%;
  right: -200%;
  width: 100px;
  height: 100px;
  z-index: 25;
  opacity: 0;
  background-color: rgba(7, 11, 23, 0.95);
}

.close-icon {
  display: none;
  width: 24px;
  height: 24px;
  fill: white;
}

.contacts-info {
  margin-top: 46px;
}

.contacts-logo {
  margin-right: 175px;
  width: 130px;
  height: 130px;
  position: relative;
}

.contacts-logo .card-icon {
  width: 100%;
}

.contacts-heading {
  color: #6b6b6b;
  font-family: 'Noto Sans';
  font-size: 9px;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.contacts-heading:last-child {
  margin-bottom: 37px;
}

.contacts-item {
  margin-bottom: 22px;
}

.contacts-item a {
  color: white;
  text-decoration: none;
  font-family: 'Noto Sans';
  font-size: 47px;
  font-weight: 400;
}

.contacts-item a:hover {
  opacity: 0.5;
}

.social-wrapper a {
  text-decoration: none;
}

.social-wrapper .icon {
  margin-right: 20px;
  width: 50px;
  height: 30px;
  fill: white;
}

.social-wrapper .icon:hover {
  opacity: 0.5;
}

.contacts-social .contacts-heading {
  margin-bottom: 33px;
}

.wrapper {
  max-width: 1690px;
  margin: 0 auto;
  padding-left: 30px;
  padding-right: 30px;
}

body,
div,
dl,
dt,
dd,
ul,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
input,
textarea,
p,
blockquote,
th,
td {
  margin: 0;
  padding: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

fieldset,
img,
abbr {
  border: 0;
}

address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var {
  font-style: normal;
  font-weight: normal;
}

ul li {
  list-style: none;
}

caption,
th {
  text-align: left;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: normal;
}

sup {
  vertical-align: text-top;
}

sub {
  vertical-align: text-bottom;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
}

legend {
  color: #000;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
main {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

ul {
  padding-left: 17px;
}

ul li {
  list-style: disc;
}

button {
  border: 0;
  cursor: pointer;
  outline: none;
}

.over-h {
  overflow: hidden;
}

.pos-f {
  position: fixed;
}

.disp-f {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

@media screen and (max-width: 1400px) {
  .bg-art img {
    opacity: 0.5;
  }

  .cards .card-item:last-child {
    border-bottom: 0;
  }

  .cards .card-item:nth-child(3) {
    border-bottom: 0;
  }

  .cards .card-item {
    width: 50%;
    border-bottom: 1px solid #2f313c;
    height: 400px;
  }
}

@media screen and (max-width: 1200px) {
  .contacts-block {
    padding-left: 72px;
  }

  .contacts-logo {
    margin-right: 72px;
  }
}

@media screen and (max-width: 992px) {
  .wrapper {
    padding-left: 15px;
    padding-right: 15px;
  }

  .contacts-block-wrapper {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .contacts-block {
    padding-top: 70px;
  }

  .contacts-item {
    margin-bottom: 38px;
  }
}

@media screen and (min-width: 768px) {
  .contacts-info {
    height: 100vh;
    margin-bottom: 60px;
  }

  .contacts-block {
    position: absolute;
    overflow-y: scroll;
  }
  
}

@media screen and (max-width: 767px) {
  .contacts-btn {
    height: 74px;
    width: 84px;
  }

  .contacts-block {
    padding-top: 0;
    padding-left: 23px;
  }

  .contacts-item a {
    font-size: 25px;
  }

  .contacts-logo {
    width: 90px;
    height: 110px;
  }



  footer .owl-carousel .owl-item {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  footer .owl-carousel .owl-item .item {
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .main-footer {
    padding: 45px 0;
  }

  .footer-heading {
    text-align: center;
    font-size: 28px;
  }

  .cards .card-item:nth-child(3) {
    border-bottom: 1px solid #2f313c;
  }

  .cards .card-item {
    width: 100%;
    height: auto;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .cards .card-text {
    display: block;
  }

  .cards .card-btn {
    display: block;
  }

  
}

@media screen and (max-width: 600px) {
  .main-header {
    padding-top: 69px;
    padding-bottom: 74px;
  }

  .header-logo {
    margin-bottom: 30px;
  }

  .text-info-container {
    font-size: 12px;
  }

  .cards .card-logo {
    margin-bottom: 15px;
  }

  .cards .card-text {
    font-size: 12px;
  }
}

@media screen and (max-width: 479px) {
  .hidden-xs {
    display: block;
  }

  .visible-lg {
    display: none;
  }

 
 .contacts-heading {
  width:  75%;
  margin-bottom: 13px;
 }

 .contacts-social .contacts-heading {
      margin-bottom: 14px;
 }

  

  .contacts-item {
    margin-bottom: 6px;
  }

  .contacts-item a {
    font-size: 19px;
  }

  .social-wrapper .icon {
    margin-right: 5px;
    width: 40px;
    height: 20px;
  }
}
