/* NULLING STYLES */
* {
  padding: 0;
  margin: 0;
  border: 0;
}
*,
*:before,
*:after {
  -moz-box-sizing: inherit;
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}
: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%;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
input,
button,
textarea {
  font-family: inherit;
}
input::-ms-clear {
  display: none;
}
button {
  cursor: pointer;
  padding: 0;
  border: 0;
  background: transparent;
}
button::-moz-focus-inner {
  padding: 0;
  border: 0;
  background: transparent;
}
a,
a:visited {
  text-decoration: none;
  /* color: inherit; */
}
a:hover {
  text-decoration: none;
}
ul li {
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
}
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/* --------------- */

/* FONTS */
@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Regular.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Medium.woff") format("woff");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Bold.woff") format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Black.woff") format("woff");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

/* COLORS */
:root {
  --textDark: #35312e;
  --textMedium: #919090;

  /* --bgLight: #f7f6e4; */
  --bgLight: #fdfdf0;
  --bgMedium: #e3dcce;
  --bgDark: #e2d5c1;
  --bgTransparent: #35312edb;

  --btnDark: #a68c69;
  --borderDark: #35312e4f;
  --borderColor: #d7d7d7;

  --line: #d7d7d7;

  --colorAccent: #810e0b;

  --Roboto: "Roboto", Arial, Helvetica, sans-serif;
}

img {
  pointer-events: none;
}

body {
  font-family: var(--Roboto);
  color: var(--textDark);
  overflow-x: hidden;
  background: var(--bgLight);
}

* {
  transition: all 0.15s linear;
}

&::after,
&::before {
  transition: all 0.15s linear;
}

body.no-scroll {
  overflow-y: hidden;
}

.wrapper {
  overflow-x: hidden;
}

.container {
  margin: 0 auto;
  width: 100%;
  max-width: 1260px;
}

section {
  padding: 120px 0;
}

h1 {
  font-size: 100px;
  font-weight: 800;
  line-height: 110%;
}

h2 {
  font-size: 38px;
  font-weight: 600;
  line-height: 140%;
  text-align: center;
}

h3 {
  font-size: 28px;
  font-weight: 600;
  line-height: 120%;
}

a,
h4 {
  font-size: 24px;
  font-weight: 500;
  line-height: 140%;
}

h5 {
  font-size: 20px;
  font-weight: 400;
  line-height: 140%;
}

a {
  display: inline-block;
  width: max-content;
  color: var(--textDark);
  border-bottom: 1px solid transparent;
}

p {
  font-size: 18px;
  font-weight: 400;
  line-height: 140%;
}

.btn {
  border: 1px solid var(--btnDark);
  background: var(--btnDark);
  color: var(--bgLight);
}

.navigation {
  margin-top: 30px;
  display: flex;
  gap: 30px;
  justify-content: end;
}

.prevEl,
.nextEl {
  cursor: pointer;
  border: 1px solid var(--btnDark);
  border-radius: 50%;
  position: relative;
  width: 60px;
  height: 60px;

  &::before {
    content: "";
    position: absolute;
    border-radius: 2px;
    top: 20px;
    width: 20px;
    height: 20px;
    border-top: 2px solid var(--btnDark);
    border-right: 2px solid var(--btnDark);
  }
}

.prevEl {
  &::before {
    rotate: -135deg;
    right: 15px;
  }
}

.nextEl {
  &::before {
    rotate: 45deg;
    left: 15px;
  }
}

.prevEl.swiper-button-disabled,
.nextEl.swiper-button-disabled {
  cursor: default;
  border-color: var(--borderDark);
  &::before {
    border-color: var(--borderDark);
  }
}

.btn {
  cursor: pointer;
  padding: 20px;
  border: 1px solid var(--btnDark);
  text-align: center;
  border-radius: 12px;
  color: var(--bgLight);
  background: var(--btnDark);
  font-size: 18px;
}

@media (hover: hover) {
  .prevEl:hover,
  .nextEl:hover {
    border-color: var(--textDark);
    &::before {
      border-color: var(--textDark);
    }
  }

  .prevEl.swiper-button-disabled:hover,
  .nextEl.swiper-button-disabled:hover {
    border-color: var(--borderDark);
    &::before {
      border-color: var(--borderDark);
    }
  }

  .btn:hover {
    background: var(--bgLight);
    color: var(--btnDark);
    transform: translateY(-4px);
  }
}

@media screen and (max-width: 1400px) {
  .container {
    max-width: 90vw;
  }

  h1 {
    font-size: 80px;
  }
}

@media screen and (max-width: 1200px) {
  h1 {
    font-size: 60px;
  }

  h3 {
    font-size: 24px;
  }

  a,
  h4 {
    font-size: 20px;
  }

  h5 {
    font-size: 18px;
  }

  .navigation {
    gap: 20px;
  }
}

@media screen and (max-width: 1100px) {
  .prevEl,
  .nextEl {
    width: 50px;
    height: 50px;

    &::before {
      top: 16px;
      width: 16px;
      height: 16px;
    }
  }

  .prevEl {
    &::before {
      right: 14px;
    }
  }

  .nextEl {
    &::before {
      left: 14px;
    }
  }

  .btn {
    padding: 18px;
  }
}

@media screen and (max-width: 1000px) {
  h1 {
    font-size: 50px;
  }

  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 22px;
  }

  a,
  h4 {
    font-size: 18px;
  }

  section {
    padding: 80px 0;
  }
}

@media screen and (max-width: 800px) {
  h1 {
    font-size: 50px;
  }

  a,
  h4 {
    font-size: 16px;
  }

  .navigation {
    margin-top: 20px;
  }
}

@media screen and (max-width: 600px) {
  h2 {
    font-size: 26px;
  }

  h3 {
    font-size: 20px;
  }

  h4 {
    font-size: 14px;
  }

  .btn {
    padding: 12px;
    font-size: 16px;
  }
}

@media screen and (max-width: 440px) {
  .btn {
    padding: 8px;
    font-size: 14px;
    border-radius: 10px;
  }
}

@media screen and (max-width: 400px) {
  h1 {
    font-size: 44px;
  }

  h3 {
    font-size: 22px;
  }

  h4 {
    font-size: 14px;
  }
}

@media screen and (max-width: 360px) {
  h1 {
    font-size: 38px;
  }
}
