@charset "UTF-8";
:root {
  --color-black: #000;
  --color-white: #fff;
  --color-white_catskill: #f9fafc;
  --color-kashemir_blue: #4c7397;
  --color-link_water: #e9f2fa;
  --color-we_peep: #fbeced;
  --color-energy_yellow: #f5d654;
  --color-spindle: #adcce9;
  --color-blue_dark: #1f2d3c;
  --color-fiord: #4a546b;
  --shadow-black: 5px 5px 6px 0 rgba(0, 0, 0, 0.4);
}

/*Обнуление*/
* {
  padding: 0;
  margin: 0;
  border: 0;
}

*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

:focus,
:active {
  outline: none;
}

a:focus,
a:active {
  outline: none;
}

nav,
footer,
header,
aside {
  display: block;
}

html,
body {
  height: 100%;
  width: 100%;
  font-size: 100%;
  line-height: 1;
  font-size: 14px;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

input,
button,
textarea {
  font-family: inherit;
}

input::-ms-clear {
  display: none;
}

button {
  cursor: pointer;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

a,
a:visited {
  text-decoration: none;
}

ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: 400;
}

/*--------------------*/
@font-face {
  font-family: "Oswald";
  src: url("../fonts/Oswald-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}
body {
  margin: 0;
  font-family: "Oswald", sans-serif;
  font-size: 16px;
}

img {
  max-width: 100%;
}

h1 {
  font-size: 1.5em;
  text-align: center;
  color: var(--color-white_catskill);
  margin: 20px 0;
}

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

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

.container {
  margin: 0 auto;
  padding: 0 15px;
  max-width: 1000px;
}

.section-offset {
  padding-top: 30px;
  padding-bottom: 30px;
}

.bg-hero {
  background-position: center;
  background: -o-linear-gradient(329deg, #1f2d3c, #4c7397);
  background: linear-gradient(121deg, #1f2d3c, #4c7397);
  background-size: cover;
  background-repeat: no-repeat;
}

.container-flex-n {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-flow: row wrap;
          flex-flow: row wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-line-pack: center;
      align-content: center;
  margin: 30px 0;
}

.container-flex-n_item {
  position: relative;
  margin: 5px;
  padding: 5px;
  -webkit-box-flex: 0;
      -ms-flex: 0 1 220px;
          flex: 0 1 220px;
  -ms-flex-item-align: center;
      align-self: center;
  -webkit-box-shadow: var(--shadow-black);
          box-shadow: var(--shadow-black);
}

.container-flex-n_item--contant {
  position: absolute;
  bottom: 5%;
  right: 20px;
  width: 150px;
  height: 50px;
  padding: 0 10px;
  border-radius: 20px 0 20px 0;
  background: var(--color-blue_dark);
  opacity: 0.8;
}

.container-flex-n_item--text {
  text-align: center;
  padding-top: 15px;
  color: var(--color-white_catskill);
}

.circle:hover {
  border-radius: 15% 0 15% 0;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.grow:hover {
  -webkit-transform: scale(1.1);
      -ms-transform: scale(1.1);
          transform: scale(1.1);
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.bg-gallery {
  background-position: center;
  background: -o-linear-gradient(329deg, var(--color-blue_dark), var(--color-kashemir_blue));
  background: linear-gradient(121deg, var(--color-blue_dark), var(--color-kashemir_blue));
  background-size: cover;
  background-repeat: no-repeat;
}

.gallery-list {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  overflow: hidden;
  font-size: 0;
  margin: 30px 0;
}

.gallery-item {
  display: block;
  -webkit-box-flex: 25%;
      -ms-flex: 25%;
          flex: 25%;
  overflow: hidden;
  position: relative;
  -ms-flex-item-align: center;
      align-self: center;
}

.gallery-item-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-size: 16px;
  opacity: 0;
  -webkit-transition: opacity 0.5s ease;
  -o-transition: opacity 0.5s ease;
  transition: opacity 0.5s ease;
  z-index: 2;
}

.gallery-item:hover .gallery-item-hover {
  opacity: 1;
}

.gallery-item:hover img {
  -webkit-transform: scale(1.3) rotate(5deg);
      -ms-transform: scale(1.3) rotate(5deg);
          transform: scale(1.3) rotate(5deg);
}

.gallery-item img {
  -o-object-fit: cover;
     object-fit: cover;
  max-width: 100%;
  height: 100%;
  -webkit-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.btn-gallery {
  display: block;
  text-align: center;
  margin: 20px;
  color: var(--color-white_catskill);
}

.btn-gallery::after {
  content: "►";
  margin-left: 5px;
  font-size: 14px;
}

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

@media (max-width: 991px) {
  .gallery-item {
    -webkit-box-flex: 33.3%;
        -ms-flex: 33.3%;
            flex: 33.3%;
  }
}
@media (max-width: 768px) {
  .gallery-item {
    -webkit-box-flex: 50%;
        -ms-flex: 50%;
            flex: 50%;
  }
}
@media (max-width: 530px) {
  .gallery-item {
    -webkit-box-flex: 100%;
        -ms-flex: 100%;
            flex: 100%;
  }
}