/*****General Property*****/

@import url('https://fonts.googleapis.com/css2?family=Open+Sans&family=Red+Hat+Text:wght@500&display=swap');

body {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 14px;
}

.container {
  max-width: 970px;
  /*940 + 15 + 15*/
  padding: 0 15px;
  margin: 0 auto;
}

p {
  line-height: 1.8;
  /* 25/14=1.8 */
  color: #6A859C;
}

.title {
  margin-bottom: 17px;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #676770;
}

.subtitle {
  font-size: 17px;
  line-height: 1.18;
  text-align: center;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #8E8E9C;
}

.common-section--dark {
  background-color: #192024;
}

.hide {
  display: none;
}

/*****Header Block******/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  background-color: #fff;
  box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.1)
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 25px;
  line-height: 1;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #69B9FF;
}

.header__list {
  display: flex;
}

.header__item+li {
  margin-left: 40px;
}

.header__link {
  display: inline-block;
  font-size: 16px;
  line-height: 1, 25;
  color: #676770;
  transition: color 0.2s;
}

.header__link:hover {
  color: #0082F3;
}

.header__link:active {
  color: #005198;
}

/*****Main Block******/
.welcome {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 600px;
  /* height: 100vh; */
  padding: 195px 0;
  background: #005198 url("../img/bg.jpg");
  background-size: cover;
  background-position: center;
  text-align: center;
  color: #fff;
}

.welcome__heading {
  font-size: 59px;
  line-height: 1;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 100px;
}

.link-primary {
  padding: 11px 30px;
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #FFFFFF;
  background: #69B9FF;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.link {
  display: inline-block;
  padding: 10px 30px;
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid #FFFFFF;
  border-radius: 4px;
  transition: background-color 0.2s, border-color 0.2s;
}

.welcome__links>*+* {
  margin-left: 20px;
}

.link-primary:hover {
  background: #81c0f8;
}

.link-primary:active {
  background: #3d93de;
}

.link:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

.link:active {
  background: rgba(255, 255, 255, 0.5);
  border-color: rgba(0, 0, 0, 0.5);
}

/*****Advantages Block*****/
.adventages {
  text-align: center;
  /* min-height: 100vh; */
}

.common-section {
  padding: 80px 0;
}

.titles-wrapper {
  margin-bottom: 60px;
}

.cards {
  display: flex;
  justify-content: space-around;
}

.adventages__card {
  max-width: 300px;
  padding: 36px 16px 23px;
  border: 1px solid #DCEBF7;
  border-radius: 5px;
}

.card__image {
  margin-bottom: 19px;
  object-fit: contain;
}

.card__image--adventages-size {
  width: 94px;
  height: 94px;
}

.card__title {
  margin-bottom: 14px;
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 7px;
  text-transform: uppercase;
  color: #676770;
}

.card__desc {
  font-size: 14px;
  line-height: 1.8;
  color: #6A859C;
}

/*****Services Block******/
.services {
  text-align: center;
  /* min-height: 100vh; */
  color: #fff;
}

.services__card {
  width: 45%;
  padding: 15px;
}

.card__image--services-size {
  width: 430px;
  height: 287px;
}

.services__subtitles {
  color: #E8E8E8;
}

.services__link {
  margin-top: 17px;
}

/*****Tab Section Block******/
.tub-section {
  text-align: center;
}

.tab-nav {
  margin-bottom: 50px;
}

.tab-item {
 animation: fade 1s;
}

@keyframes fade {
  from {
    opacity: 0.2;
  }
  to {
    opacity: 1;
  }
}

.tab-nav__btn {
  padding: 0 30px;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #FFFFFF;
  background: #92A0AD;
  border-radius: 4px;
}

.tab-nav__btn--active {
  background: #2E80B6;
}

.tab-nav__btn+.tab-nav__btn {
  margin-left: 16px;
}

.tab-item__image {
  margin-bottom: 16px;
}

.tab-item__title {
  font-size: 31px;
  line-height: 1.2;
  text-align: center;
  color: #676770;
  margin-bottom: 14px;
}

.tab-item__desc {
  max-width: 700px;
  margin: 0 auto;
}

/*****Footer****/
.footer__desc {
  padding: 35px 0;
}

.footer--container {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px 40px;
}

.footer__about {
  width: 30%;
  min-width: 230px;
}

.footer_title {
  margin-bottom: 25px;
  font-size: 18px;
  line-height: 1.1;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #676770;
}

.footer__links {
  width: 30%;
  min-width: 230px;
}

.footer__item-links {
  position: relative;
  height: 30px;
  color: #668CAD;
}

.footer__item-links::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #D5D5E0;
}

.footer__link {
  font-size: 13px;
  line-height: 1.54;

}

.footer__social {
  width: 30%;
  min-width: 230px;
}

.footer__list-socials {
  position: relative;
}

.footer__item-socials {
  position: relative;
  height: 30px;
}

.footer__item-socials::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: calc(100% - 30px);
  height: 1px;
  background: #D5D5E0;
}

.footer__item-socials a {
  font-size: 13px;
  line-height: 1.54;
  color: #668CAD;
}

.footer__icon {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  object-fit: contain;
  vertical-align: middle;
}

.footer__copy {

  text-align: center;
}

.footer__copyright {
  padding: 40px 0;
  font-size: 15px;
  line-height: 1.3;
  color: #9E9E9E;
}