html,body {
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
}

@font-face {
  font-family: "Russo One, sans-serif";
  font-style: normal;
  font-weight: 400;
  /* Браузер сначала попробует найти шрифт локально */
  src: local("/fonts/Russo_One/RussoOne-Regular.ttf"),
    /* Если не получилось, загрузит woff2 */
    /* url("/fonts/Russo_One/RussoOne-Regular.ttf") format("woff2"), */
}

/* Теперь можно использовать шрифт */
body {
  font-family: "Russo One", sans-serif;
}

.wrapper {
  max-width: 1700px;
  margin:auto;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.galery{
  display: flex;
  justify-content: center;
  display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
}
.galery-item {
  padding: 3px;
}


a:link {
  color:white;
}
.header-text{
  font-size: 22px;
  color:white;
  font-size: 23px;
  color: white;
  font-weight: 600;
  font-variant: small-caps;
  text-transform: lowercase;
}
.section-1 {
  background-image: url('img/main-img.jpg');
  background-size: cover;
  height: 760px;
}
/* .wrapper {
  display: flex;
} */

h1,h2 {
  text-align: center;
  color: rgb(255, 255, 255);
}

h1 {
  color: white;
  font-size: 42px;
}
/* .content-block {
  margin: 0 auto;
} */

h3 {
  color:black;
  font-size: 42px;
  text-align: center;
}

h4 {
  color: black;
  font-size: 22px;
  text-align: center;
}

.overlay {
  background-color: #00000075;
  height: 760px;
  /* display: flex;
  justify-content: center;
  align-items: center; */
}

.header>div>p {
  color:white;
  
}

.header{
  display: flex;
    justify-content: space-evenly;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
}

.wrapper-text-section-1 {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 515px;
}

.wrapper-header-icon-insta {
  display: flex;
  flex-direction: row;
  align-items:center;
}



.section-1-button {
  color: rgb(255, 255, 255);
  font-size: 23px;
  line-height: 23px;
  padding: 6px;
  border-radius: 10px;
  font-family: Georgia, serif;
  font-weight: normal;
  text-decoration: none;
  font-style: normal;
  font-variant: normal;
  text-transform: none;
  background-image: linear-gradient(to right, rgb(28, 110, 164) 0%, rgb(35, 136, 203) 50%, rgb(20, 78, 117) 100%);
  box-shadow: rgb(0, 0, 0) 5px 5px 15px 5px;
  border: 2px solid rgb(28, 110, 164);
  display: inline-block;
}

.section-1-button:hover {
  background: #1C6EA4;
}

.section-1-button:active {
  background: #144E75;
}

.wrapper-section-1-button{
  display: flex;
  flex-direction:row;
  justify-content: center;
}

.img-distance {
  padding: 5px;
}

.content-block {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
} 

.text-section {
  padding:0 30px;
}

.content-block-section-3 {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.wrapper-section-3{
  display: flex;
    justify-content: center;
    flex-direction: column;
    flex-wrap: wrap;
}
        
.wrapper-section-img {
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: space-evenly;
}

.text-section>a {
  color: #526fa8;
  font-size: 20px;
  text-shadow: 2px 4px 3px rgba(0, 0, 0, 0.3);
}

hr {
  width: 962px;
  max-width: 400px;
}
@media (min-width:380px) and (max-width: 600px) {
  .section-1 {
    background-image: url('img/main-mobile-img.jpg');
    /* background-size: contain;
    height: 271px; */
  }
  .header{
    flex-wrap: wrap;
  }       
  .header-text{
    font-size: 15px;
  }
}

.button-distance{
  padding-top: 25px;
}