/* Reset and base styles  */
* {
  padding: 0px;
  margin: 0px;
  border: none;
}

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

/* Links */
a,
a:link,
a:visited {
  /* color: inherit; */
  text-decoration: none;
  /* display: inline-block; */
}

a:hover {
  /* color: inherit; */
  text-decoration: none;
}

/* Common */
aside,
nav,
Footer,
header,
section,
main {
  display: block;
}

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

ul,
ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

address {
  font-style: normal;
}

/* Form */
input,
textarea,
button,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background-color: transparent;
}

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

button,
input[type=submit] {
  display: inline-block;
  box-shadow: none;
  background-color: transparent;
  background: none;
  cursor: pointer;
}

input:focus,
input:active,
button:focus,
button:active {
  outline: none;
}

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

label {
  cursor: pointer;
}

legend {
  display: block;
}

@font-face {
  font-family: outfit-c;
  src: url(../fonts/outfit-regular.woff2);
}
@font-face {
  font-family: Raleway-c;
  src: url(../fonts/raleway-regular.woff2);
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "outfit-c", sans-serif;
}

.content, .hero, .gallery > *, .header__main {
  will-change: transform;
}

body {
  font-family: "outfit-c", sans-serif;
  background: url(../img/bg.jpg) 50px;
  color: #fafafa;
  overflow-x: hidden;
}

.none {
  display: none !important;
}

a {
  color: inherit;
  transition: all 0.8s ease 0s;
}

.container {
  padding: 0 7vw;
}

.text-right {
  text-align: right;
}

.visual-hidden {
  height: 1px;
  overflow: hidden;
  width: 1px;
  position: absolute;
  clip: rect(1px, 1px, 1px, 1px);
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
          clip-path: inset(50%);
  white-space: nowrap;
}

.main {
  flex: 1 1 auto;
}

.hero {
  width: calc((1vh + 1vw) * 36);
  position: absolute;
  left: 37vw;
  top: 8vh;
}

.header__main {
  height: 100vh;
}

.header__title {
  font-size: calc((1vh + 1vw) * 8);
  position: absolute;
  width: -moz-min-content;
  width: min-content;
  bottom: 12vh;
  line-height: 0.9;
}

.gallery {
  display: flex;
  padding: calc((1vh + 1vw) * 8) 0;
}
.gallery > * {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.text__block {
  color: #cdc6c3;
  position: relative;
}

.text__block___title {
  font-size: 2rem;
  line-height: 2.4rem;
  color: #f4efec;
  margin-bottom: 1.5rem;
}

.text__block__p {
  line-height: 1.75;
}

.gallery__item {
  margin-bottom: calc((1vh + 1vw) * 10);
  max-width: calc((1vh + 1vw) * 21);
  max-height: 180vh;
  border-radius: 8px;
}

.gallery__left {
  margin-top: calc((1vh + 1vw) * 10 * 1.75);
}

.gallery__right .gallery__item {
  margin-bottom: 0;
  margin-top: calc((1vh + 1vw) * 10);
}