@font-face {
  font-family: 'roboto';
  src: url('../fonts/roboto-medium-webfont.woff2') format('woff2'),
       url('../fonts/roboto-medium-webfont.woff') format('woff');
  font-weight: 500;
  font-style: normal;
}




@font-face {
  font-family: 'roboto';
  src: url('../fonts/roboto-regular-webfont.woff2') format('woff2'),
       url('../fonts/roboto-regular-webfont.woff') format('woff');
  font-weight: 400;
  font-style: normal;

}




@font-face {
  font-family: 'roboto';
  src: url('../fonts/roboto-bold-webfont.woff2') format('woff2'),
       url('../fonts/roboto-bold-webfont.woff') format('woff');
  font-weight: 800;
  font-style: normal;

}


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'roboto', serif;
}

h1,h2,h3,h4,h5 {
  margin: 0;
}

:root {
  --color-one: #0925a2;
  --color-two: #170CD5;
  --color-three: #fff;
  --color-four: #333;
  --color-five: rgb(46, 135, 195);
  --font-size: calc(1vw + 1vh);
}



li {
  text-align: justify;
}

.table-download {
  color: var(--color-four);
  text-transform: uppercase;
  /* display: flex; */
  width: 50%;
  justify-content: center;
  padding: 10px;
  border: 1px solid var(--color-five);
  border-radius: 8px;
  font-weight: 800;
  background-color: var(--color-five);
  color: var(--color-three);
  transition: color,background-color 0.4s linear ;
  font-size: calc(var(--font-size));
  display: none;
}

.table-download:hover {
  background-color: var(--color-three);
  color: var(--color-five);
}

.tab-content {
  display: none;
  opacity: 0;
  transition: opacity, visibility  1s linear;
  animation: visible 1s linear;
  animation-iteration-count: 1;
}

.active {
  display: block;
  opacity: 1;
}

@keyframes visible {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

header {
  background-color: var(--color-five);
  position: sticky;
  top: 0px;
  padding: 5px 0;
  z-index: 10;
}

a {
  text-decoration: none;
}

p {
  text-indent: 30px;
  font-size: calc(var(--font-size)* 0.6);
  color: var(--color-four);
  font-weight: 400;
  text-align: justify;
}

img {
  object-fit: contain;
}

.header__flex {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hide-menu {
  position: absolute;
  /* display: none; */
  background-color: var(--color-four);
  padding-left: 5%;
  z-index: 11;
  min-height: 122px;
  width: 100%;
  right: 0;
  top: -10px;
  transform: translateY(-100%);
  transition: transform 0.6s linear;
}

.hide-menu-active {
  transform: translateY(0);
}




.logo {
  width: 90px;
  height: 90px;
}

.burger {
  width: 40px;
  height: 40px;
  border: none;
  background-color: transparent;
}

.header__list-hide {
  position: relative;
  width: 80%;
  list-style-type: none;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 5%;
}

.close {
  position: absolute;
  top: 20px;
  right: 10%;
  background-color: transparent;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--color-three);
  display: flex;
  justify-content: center;
  align-items: center;
}

.header__list {
  padding: 0;
  list-style-type: none;
  display: flex;
  justify-content: space-between;
}

.header__list-hide .header__item a:hover {
  color: var(--color-five);
}

.header__list-hide .header__item a:hover::after {
  background-color: var(--color-five);
}

.header__list-hide .header__item:not(:last-child) {
  margin: 5px;
}

.header__item {
  position: relative;
  cursor: pointer;
  padding: 5px ;
}

.header__droplist {
  display: none;
  position: absolute;
  top: 35px;
  width: 250px;
  max-height: 300px;
  /* padding: 30px; */
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8) translate(-50px, -20px);

  transition-property: opacity, visibility, transform;
  transition-duration: .2s;
  transition-timing-function: ease-in-out;

  z-index: 2;
}

.header__item:hover .header__droplist {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.header__droplist {
  border: 2px solid var(--color-four);
  list-style-type: none;
  padding: 0;
}

.header__dropitem {
  padding: 10px;
  background-color: rgb(85, 85, 85);
  transition: background-color 0.4s linear ;
}

.header__link {
  position: relative;
  text-transform: uppercase;
  font-weight: 800;
  font-size: calc(var(--font-size)* 0.5);
  color: var(--color-three);
  letter-spacing: 1.5px;
  transition: color 0.4s linear;
} 

.header__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background-color: var(--color-one);
  opacity: 0;
  transform: scaleX(0);
  transition: transform 0.4s ease-in-out;
}

.header__link::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.header__link:hover::after {
  opacity: 1;
  transform: scale(1);
}

.header__dropitem:hover {
  background-color: var(--color-three);
}

.header__dropitem:hover .header__link {
  color: var(--color-four);
}

/* .header__dropitem:not(:last-child) {
  margin-bottom: 15px;
} */


.header__link:hover {
  color: var(--color-one);
}

.header__tel-list {
  padding: 0;
  list-style-type: none;
  padding-top: 5px;
}

.header__tel-item:not(:last-child) {
  margin-bottom: 5px;
}

.section__header {
  color: var(--color-four);
  font-size: calc(var(--font-size)*1.2);
  font-weight: 800;
}

@media (max-width: 1200px) {
  .header__link {
    font-size: calc(var(--font-size)* 0.6);
  }

  p {
    font-size: calc(var(--font-size)* 0.9);
  }

  .header__list-hide {
    width: 90%;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 992px) {
  .logo {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 70px;
      height: 70px;
  }

  .header__tel-item:not(:last-child) {
    margin-bottom: 0;
    margin-right: 4px;
  }

  .header__link {
    font-size: calc(var(--font-size)* 0.65);
  }

  .header__mobile-1 {
    order: 3;
  }

  .header__mobile-2 {
    order: 2;
  }

  .header__tel-list {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
  }
}


@media (min-width:320px) and (max-width: 736px)  {
  p {
    font-size: calc(var(--font-size)* 1.4);
  }
  .logo {
    height: 50px;
    width: 50px;
  }

  .section__header {
    font-size: calc(var(--font-size)* 1.4);
    font-weight: 800;
  }
  .header__link {
    font-size: calc(var(--font-size)* 0.7);
  }

  .footer__color {
    text-align: left;
  }

  
}