html {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-size: 62.5%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

body {
  margin: 0;
  padding: 0;
  height: 100vh;
  font-family: "Effra", "Lato", sans-serif;
  font-optical-sizing: auto;
  font-size: 2rem;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-overflow-scrolling: touch;
  background-color: var(--background-color);
  color: #3b3b3b;
  overflow-x: hidden;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

a {
  font-size: 16px;
}

h1 {
  font-size: 34px;
}

h2 {
  margin-top: 0px;
  font-size: 28px;
}

h3 {
  font-size: 24px;
  margin: 8px 0px 0px;
}

h4 {
  font-size: 24px;
  margin: 8px 0px 16px;
}

p {
  margin: 0px 0px 8px 0px;
  font-size: 16px;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

.white-text {
  color: #fff;
}

.red-text {
  color: var(--secondary-color);
}

.black-text {
  color: #3b3b3b;
}

.white-container {
  background-color: var(--background-color);
}

.black-container {
  background-color: var(--primary-color);
}

/* ----- BTN ----- */
.btn {
  max-width: 280px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  font-weight: bold;
  font-size: 16px;
  border: 2px solid var(--secondary-color);
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease;
  margin-top: 16px;
}

.red-btn {
  background-color: var(--secondary-color);
  color: white;
}

.red-btn:hover {
  background-color: #a00410;
  border-color: #a00410;
}

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

.white-btn:hover {
  color: #a00410;
  border-color: #a00410;
}

.btn img {
  width: 18px;
  height: 18px;
}

/* ----- LAYOUT ----- */
.ghost-mobile-block {
  display: none;
}

.ghost-desktop-block {
  display: block;
}

.double-layout-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
}

/********************************** ------------ TABLET VERSION ------------ **********************************/
@media screen and (min-width: 769px) {
  h1 {
    font-size: 36.5px;
  }

  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 24px;
  }

  p {
    margin: 0px 0px 8px 0px;
    font-size: 18px;
  }
}

/********************************** ------------ DESKTOP VERSION ------------ **********************************/
@media screen and (min-width: 1350px) {
  a {
    font-size: 18px;
  }

  h1 {
    font-size: 38.5px;
  }

  h2 {
    font-size: 31.5px;
  }

  h3 {
    font-size: 27px;
  }

  h4 {
    font-size: 27px;
    margin: 8px 0px 0px;
  }

  p {
    margin: 0px 0px 8px 0px;
    font-size: 18px;
  }

  /* ----- BTN ----- */
  .btn {
    font-size: 18px;
  }

  /* ----- LAYOUT ----- */
  .ghost-mobile-block {
    display: block;
  }

  .ghost-desktop-block {
    display: none;
  }

  .double-layout-container {
    justify-content: space-between;
  }
}
