* {
  box-sizing: border-box;
}

*,
*::before
*::after {
  box-sizing: inherit;
}

:root {
  --color-blue: #00518B;
  --color-white: #FFF;
  --gap: 24px;
  --radius32: 32px;
  --color-hover: rgba(42, 134, 240, 1);
  --time-transition: 0.3s;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
}

/* img {
  max-width: 100%;
} */

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

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

@font-face {
	font-family: 'Roboto';
	src: local('Roboto-ThinItalic'),
    url('../fonts/Roboto-ThinItalic.woff2') format('woff2'),
    url('../fonts/Roboto-ThinItalic.woff') format('woff');
	font-weight: 100;
	font-style: normal;
  font-display: swap;
}

body {
  min-width: 320px;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
}

.flex {
  display: flex;
}

.list-reset {
  margin: 0;
  padding: 0;
  list-style: none;
}

.btn-reset {
  padding: 0;
  border: 0;
  background-color: transparent;
  cursor: pointer;
}

.btn {
  max-width: max-content;
  padding: 12px 42px;
  border-radius: var(--radius32);
  font-size: 16px;
  color: var(--color-white);
  background: var(--color-blue);
  transition: background-color var(--time-transition) ease-in-out;
}

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

.container {
  max-width: 1280px;
  padding: 0 36px;
  margin: 0 auto;
}

.section-offset {
  padding: 18px 0;
}

.h2 {
  margin: 0;
  margin-bottom: 24px;
  color: var(--color-blue);
  font-size: 64px;
}

.h3 {
  margin: 0;
  margin-bottom: 24px;
  color: var(--color-blue);
  font-size: 40px;
}

.section-dsc {
  margin: 0;
  font-size: 32px;
  line-height: 58px;
}

@keyframes appearance {
  from {
    opacity: 0;
    visibility: hidden;  
  }
  to {
    opacity: 1;
    visibility: visible;
  } 
}

@keyframes running-animation {
  0% {
      transform: translateZ(0);
  }

  100% {
    transform: translate3d(-100%, 0, 0);
}
}

@keyframes rotate {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(90deg);
}
}

/* HEADER */
.header {
  padding: 8px 0;
  background: var(--color-blue);
}

.header-container {
  justify-content: space-between;
  align-items: center;
}

.header-nav-item {
  font-size: 20px;
  color: var(--color-white);
  transition: color var(--time-transition) ease-in-out;
}

.header-nav-item:not(:last-child) {
  margin-right: 20px;
}

.header-nav-item:hover {
  color: var(--color-hover);
}


/* MAIN */

.main {
  position: relative;
  background-image: url(../img/bg-body.png);
  background-size: cover;
  background-repeat:no-repeat;
  background-position-x: right;
}

.first-section {
  position: relative;
  padding-top: 100px;
  padding-bottom: 72px;
  background-image: url("../img/main.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}

.first-container {
  flex-direction: column;
  justify-content: center;
}

.logo {
  margin: 0 auto;
  opacity: 0;
  animation: appearance 1.5s ease-in-out 0.5s forwards;
}


.h1 {
  opacity: 0;
  margin: 0 auto;
  color: var(--color-white);
  font-size: 64px;
  font-weight: 600;
  animation: appearance 1.5s ease-in-out 1s forwards;
}

.freepik-link {
 position: absolute;
 right: 3%; bottom: 0;
 color: var(--color-white);
 font-size: 12px;
}

.freepik-link-firstsec {
  position: absolute;
  right: 0; bottom: 0;
  color: var(--color-white);
  font-size: 12px;
}

/* ABOUT */


/* SERVICES */
.services-dsc {
  margin-bottom: 24px;
}

.services-list {
  flex-wrap: wrap;
}

.services-item {
  width: calc((100% - var(--gap)) / 2);
  padding: 24px 30px 24px 19px;
  border-radius: var(--radius32);
  background-color: rgb(217, 217, 217, .5);
}

.services-item:nth-child(odd) {
  margin-right: var(--gap);
}

.services-item:nth-child(1) {
  margin-bottom: var(--gap);
}

.services-item:nth-child(2) {
  margin-bottom: var(--gap);
}

.item-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.item-dsc-cont {
  justify-content: right;
  padding-left: 182px;
  background-position: left;
  background-repeat: no-repeat;
}


.geodesy-item {
  background-image: url(../img/geodesy-services.png);
}

.geology-item {
  background-image: url(../img/geology-services.png);
}

.ecology-item {
  background-image: url(../img/ecology-services.png);
}

.gidro-item {
  background-image: url(../img/gidro-services.png);
}

.dsc-text {
  font-size: 20px;
  line-height: 24px;
}

.services-btn {
  margin-left: auto;
}

/*clients*/

.creeping-block {
  padding: 15px 0;
  background: var(--color-white);
  align-items: center;
  max-width: 3000px;
  overflow: hidden;
}

.creeping-line {
  flex-shrink: 0;
  animation: running-animation 20s linear infinite;
  white-space: nowrap;
}

.creeping-line-item {
  width: 300px;
  height: 90px;
  margin-right: 16px;
  border: 1px solid;
  border-radius: 32px;
  background-size: auto;
  background-color: rgba(238, 233, 233, 1);
  background-position: center;
  background-repeat: no-repeat;
}


.clients-logo1 {
  background-image: url(../img/logo/almacor-text.png)
}

.clients-logo2 {
  background-image: url(../img/logo/eks-text.png);
}

.clients-logo3 {
  background-image: url(../img/logo/mosgas-text.png);
}

.clients-logo4 {
  background-image: url(../img/logo/moek-text.png);
}

.clients-logo5 {
  background-image: url(../img/logo/mosgiprotrans-text.png);
}

.clients-logo6 {
  background-image: url(../img/logo/mosoblgas-text.png);
}

.clients-logo7 {
  background-image: url(../img/logo/rzd-text.png);
}


/*our-projects*/

.map {
  width: 100%;
  margin-bottom: 24px;
}

.counter-block {
  flex-direction: column;
  padding: 24px 80px;
  background-image: url(../img/counter-block-bg.jpg);
  background-size: cover;
  background-repeat: no-repeat;
}

.counter-dsc {
  margin: 0 auto;
  margin-bottom: 40px;
  font-size: 40px;
  font-weight: 600;
  color: var(--color-blue);
}


.counter-list {
  flex-direction: row;
  padding: 0 160px;
  justify-content: space-between;
}

.counter-item {
  flex-direction: column;

}

.counter-span {
  margin-bottom: 8px;
  font-size: 40px;
  font-weight: 600;
  color: var(--color-blue);
}

.counter {
  margin: 0 auto;
  font-size: 88px;
  font-weight: 600;
  color: var(--color-white);
}


/*OUR-TEAM*/

.our-team-block {
  padding: 30px 0;
  background-color: #D9D9D9;
  border-radius: var(--radius32);
}

.swiper-foto {
  width: 522px;
  height: 696px;
}

/* .creeping-team {
  animation: running-animation 70s linear infinite alternate;
}

.creeping-team:hover {
  animation-play-state:paused;
}

.team-foto {
  width: auto;
  height: 432px;
  margin-right: var(--gap);
}

.team-foto img {
  border-radius: var(--radius32);
} */

.team-video {
  border-radius: var(--radius32);
}

/* DOCUMENTS */

.swiper-block {
  width: 100%;
  padding: 80px 32px;
  background:rgb(217, 217, 217, .7);
  border-radius: var(--radius32);
}

.swiper-documents {
  width: 480px;
  height: 696px;
}

.documents-img {
  border-radius: var(--radius32);
}


/* FOOTER */

.footer {
  background-image: url(../img/footer-bg.png);
  background-repeat: no-repeat;
  background-size: cover;

}

.footer-container {
  position: relative;
  padding: 40px 32px;
  justify-content: space-between;
  background-image: url(../img/footer-bg.png);
  background-repeat: no-repeat;
  background-size: cover;
}

.footer-left-box {
  width: 20%;
  flex-direction: column;
}

.address-text {
  margin-bottom: 80px;
  color: var(--color-white);
  font-size: 16px;
  line-height: 1.5;
}

.footer-center-box {
  justify-self: center;
  position: relative;
}

.footer-center-box:hover path{
  animation: rotate 1.5s ease-in-out forwards;
  fill: rgba(42, 134, 240, 1);
}

.hidden-text {
  display: none;
  color: rgba(42, 134, 240, 1);
  position: absolute;
  top: 15%; left: 25%;
  font-size: large;
  letter-spacing: 0.2rem;
}

.footer-center-box:hover .hidden-text {
 display: block;
}

.footer-right-box {
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
}

.social-list {
  justify-content: space-between;
}

.footer-nav-list {
  flex-direction: column;
}

.footer-nav-item:not(:last-child) {
  margin-bottom: 8px;
}

.nav-link {
  color: var(--color-white);
  transition: color var(--time-transition) ease-in-out;
}

.nav-link:hover {
  color: var(--color-hover);
}

.freepik-link-footer {
  position: absolute;
  right: 0; bottom: 0;
  color: var(--color-white);
  font-size: 12px;
}



/* GEODESY */

.direction-h1 {
  opacity: 1;
  margin-left: 0;
  animation: none;
}

.direction-first-section {
  margin-bottom: 32px;
  padding: 0;   
  background-image: none;
}

.video-background {
  position: absolute;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  width: 100%;
  height: auto;
  z-index: -1000;
  overflow: hidden;

}

#myVideo {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -1000;
  transform: translateX(-50%) translateY(-50%);
}

.geodesy-first-container {
  padding: 90px 0 432px 56px;
}

.direction-about-list {
  margin: 0;
  font-size: 32px;
  line-height: 58px;
}

.feedback-text {
  margin-bottom: 24px;
}

.form {
  padding: 0 24px;
  flex-direction: column;
}

.input-block {
  margin-bottom: 32px;
}

.form-input {
  padding: 24px 136px;
  border-radius: var(--radius32);
  background: #D9D9D9;
  background-repeat: no-repeat;
  background-position: center left 24px;
  font-style: italic;
  font-size: 24px;
  font-weight: lighter;
}

.form-input:hover {
  border-color: var(--color-hover);
}

.form-input-name {
  background-image: url(../img/icon-user.png);
}

.form-input-tel {
  background-image: url(../img/icon-phone.png);
}

.form-input:not(:last-child) {
  margin-right: 24px;
}

.form-checkbox {
  margin-bottom: 32px;
}

.agreement-link {
  color: var(--color-blue);
  text-decoration: underline;
}

/* GEOLOGY */

.geology-first-container {
  padding: 90px 0 432px 56px;
  background-image: url(../img/geology-html/geology-first-section.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 0 0 32px 32px;
}

/* ECOLOGY */

.ecology-first-container {
  position: relative;
  padding: 90px 0 432px 56px;
  background-image: url(../img/ecology-html/ecology-bg.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 0 0 32px 32px;
}