:root {
  --blue: #001a5e;
  --space: calc(0.5rem + 1.5vw);
  --small-space: 10px;
  --medium-space: 30px;
  --large-space: 60px;
}
@media screen and (min-width: 768px) {
  :root {
    --small-space: 20px;
    --medium-space: 40px;
    --large-space: 80px;
  }
}

@font-face {
  font-family: Practice;
  src: url("./../../../../assets/fonts/PracticeRegular.otf") format("opentype");
  font-weight: 400;
}
@font-face {
  font-family: Practice;
  src: url("./../../../../assets/fonts/PracticeRegularIta.otf") format("opentype");
  font-style: italic;
  font-weight: 400;
}
@font-face {
  font-family: Practice;
  src: url("./../../../../assets/fonts/PracticeBold.otf") format("opentype");
  font-weight: 600;
}
@font-face {
  font-family: Practice;
  src: url("./../../../../assets/fonts/PracticeBoldIta.otf") format("opentype");
  font-style: italic;
  font-weight: 600;
}
@font-face {
  font-family: Strawford;
  src: url("./../../../../assets/fonts/Strawford-Regular.otf") format("opentype");
  font-weight: 400;
}
@font-face {
  font-family: Strawford;
  src: url("./../../../../assets/fonts/Strawford-RegularItalic.otf") format("opentype");
  font-style: italic;
  font-weight: 400;
}
@font-face {
  font-family: Strawford;
  src: url("./../../../../assets/fonts/Strawford-Medium.otf") format("opentype");
  font-weight: 500;
}
@font-face {
  font-family: Strawford;
  src: url("./../../../../assets/fonts/Strawford-MediumItalic.otf") format("opentype");
  font-style: italic;
  font-weight: 500;
}
@font-face {
  font-family: AGaramond;
  src: url("./../../../../assets/fonts/AGaramondPro-Regular.otf") format("opentype");
  font-weight: 400;
}
@font-face {
  font-family: AGaramond;
  src: url("./../../../../assets/fonts/AGaramondPro-Italic.otf") format("opentype");
  font-style: italic;
  font-weight: 400;
}
@font-face {
  font-family: AGaramond;
  src: url("./../../../../assets/fonts/AGaramondPro-Semibold.otf") format("opentype");
  font-weight: 600;
}
@font-face {
  font-family: AGaramond;
  src: url("./../../../../assets/fonts/AGaramondPro-SemiboldItalic.otf") format("opentype");
  font-style: italic;
  font-weight: 600;
}
:root {
  --almost-black: #111;
}

.big-text {
  font-size: var(--fs-big-text);
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.discover-more {
  cursor: pointer;
  text-decoration: underline;
  transition: 0.3s all ease-in-out;
  color: var(--green);
  text-decoration: none;
}
.discover-more:hover {
  opacity: 0.6;
}

.cta {
  cursor: pointer;
  text-decoration: underline;
  transition: 0.3s all ease-in-out;
  color: var(--green);
  font-size: 1em;
  margin-top: auto;
  padding-bottom: 20px;
  text-transform: uppercase;
}
.cta:hover {
  opacity: 0.6;
}
@media screen and (min-width: 1620px) {
  .cta {
    font-size: 1.5em;
    padding-bottom: 0px;
  }
}

.hero {
  padding-left: 10px;
  padding-right: 10px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: white;
  font-weight: 400;
  height: 75vh;
  max-height: 500px;
  min-height: 400px;
}
@media screen and (min-width: 768px) {
  .hero {
    padding-left: 20px;
    padding-right: 20px;
  }
}

.header {
  background-color: var(--blue);
  color: #fff;
}
.header::after {
  content: "";
  position: fixed;
  top: 40px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--blue);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 1;
}
@media screen and (max-width: 767px) {
  .header.is-visible {
    position: fixed;
    width: 100%;
    top: 0;
  }
  .header.is-visible::after {
    opacity: 1;
    pointer-events: all;
  }
}

.menu {
  margin-left: 10px;
  margin-right: 10px;
  align-items: center;
  color: #fff;
  display: grid;
  gap: var(--medium-space);
  min-height: 40px;
  grid-template-columns: repeat(5, 1fr);
  z-index: 10;
}
@media screen and (min-width: 768px) {
  .menu {
    margin-left: 20px;
    margin-right: 20px;
  }
}
@media screen and (min-width: 768px) {
  .menu {
    grid-template-columns: repeat(8, 1fr);
  }
}
.menu .logo {
  font-family: "Strawford", sans-serif;
  grid-column: span 2;
  color: inherit;
}
.menu .menu-toggle {
  display: flex;
  grid-column: span 3;
  justify-content: flex-end;
}
.menu .menu-toggle svg {
  width: 24px;
  height: auto;
}
.menu .menu-nav {
  background-color: #fff;
  color: var(--blue);
  left: 0;
  position: absolute;
  top: 40px;
  width: 100%;
  pointer-events: none;
  z-index: 2;
}
@media screen and (max-width: 767px) {
  .menu .menu-nav {
    opacity: 0;
    transform: translateY(-100%);
    transition: transform 0.3s, opacity 0.3s;
    z-index: 5;
  }
}
.menu .menu-nav.is-visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0%);
}
@media screen and (min-width: 768px) {
  .menu .menu-nav {
    align-items: center;
    background-color: unset;
    color: inherit;
    display: flex;
    grid-column: span 6;
    justify-content: space-between;
    opacity: 1;
    pointer-events: all;
    position: unset;
  }
}
.menu .menu-nav .nav-list {
  display: flex;
  flex-direction: column;
}
@media screen and (min-width: 768px) {
  .menu .menu-nav .nav-list {
    flex-direction: row;
    gap: 40px;
  }
}
.menu .menu-nav .nav-list a {
  padding-left: 10px;
  padding-right: 10px;
  display: flex;
  min-height: 40px;
  align-items: center;
  border-bottom: 1px solid var(--blue);
}
@media screen and (min-width: 768px) {
  .menu .menu-nav .nav-list a {
    padding-left: 20px;
    padding-right: 20px;
  }
}
@media screen and (min-width: 768px) {
  .menu .menu-nav .nav-list a {
    padding: 0;
    min-height: unset;
  }
}
.menu .menu-nav .lang {
  padding-left: 10px;
  padding-right: 10px;
  align-items: center;
  border-bottom: 1px solid var(--blue);
  border-top: 1px solid var(--blue);
  display: flex;
  margin-top: 40px;
  min-height: 40px;
  text-transform: uppercase;
}
@media screen and (min-width: 768px) {
  .menu .menu-nav .lang {
    padding-left: 20px;
    padding-right: 20px;
  }
}
@media screen and (min-width: 768px) {
  .menu .menu-nav .lang {
    padding: 0;
    margin-top: unset;
    min-height: unset;
  }
}

.submenu {
  padding-left: 10px;
  padding-right: 10px;
  display: grid;
  height: 40px;
  align-items: center;
  border-top: 1px solid #fff;
}
@media screen and (min-width: 768px) {
  .submenu {
    padding-left: 20px;
    padding-right: 20px;
  }
}
.submenu h1 {
  font-size: 1em;
  font-weight: 400;
  margin: 0;
}

:root {
  --blue: #001a5e;
  --space: calc(0.5rem + 1.5vw);
  --small-space: 10px;
  --medium-space: 30px;
  --large-space: 60px;
}
@media screen and (min-width: 768px) {
  :root {
    --small-space: 20px;
    --medium-space: 40px;
    --large-space: 80px;
  }
}

.footer {
  padding-left: 10px;
  padding-right: 10px;
  align-items: center;
  background-color: var(--blue);
  color: #fff;
  display: grid;
  gap: var(--medium-space);
  grid-template-columns: 1fr 2fr;
  min-height: 40px;
}
@media screen and (min-width: 768px) {
  .footer {
    padding-left: 20px;
    padding-right: 20px;
  }
}
@media screen and (min-width: 768px) {
  .footer {
    grid-template-columns: repeat(8, 1fr);
  }
}
.footer .logo {
  color: #fff;
  font-weight: 400;
}
@media screen and (min-width: 768px) {
  .footer .logo {
    grid-column: span 2;
  }
}
.footer .footer-social {
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.footer .footer-social.only-mobile {
  gap: 15px;
}
.footer .footer-social svg {
  width: 18px;
  height: auto;
  fill: #fff;
}
@media screen and (min-width: 768px) {
  .footer .footer-social {
    grid-column: span 4;
  }
}
.footer .footer-contacts {
  display: flex;
  justify-content: flex-end;
}
@media screen and (min-width: 768px) {
  .footer .footer-contacts {
    grid-column: span 2;
    visibility: hidden;
  }
}
@media screen and (min-width: 920px) {
  .footer .footer-contacts {
    grid-column: span 2;
    visibility: visible;
  }
}

* {
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
  margin: 0;
}

html,
body {
  height: 100%;
}

p {
  margin-bottom: 1em;
}

body {
  display: flex;
  flex-direction: column;
  font-family: "AGaramond", sans-serif;
  font-size: 14px;
  line-height: 1.2;
  scroll-behavior: smooth;
}
@media screen and (min-width: 768px) {
  body {
    font-size: 22px;
  }
}

main {
  flex: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

main {
  flex: 1;
}

.is-serif {
  font-family: "AGaramond", sans-serif !important;
}

@media screen and (min-width: 768px) {
  .is-big {
    font-size: 30px;
  }
}

.sans-serif {
  font-size: 14px;
  font-family: "Strawford", sans-serif;
}
@media screen and (min-width: 768px) {
  .sans-serif {
    font-size: 20px;
  }
}

.no-scroll {
  overflow: hidden;
}

@media screen and (min-width: 768px) {
  .only-mobile {
    display: none !important;
  }
}

@media screen and (min-width: 0px) and (max-width: 767px) {
  .only-desktop {
    display: none !important;
  }
}

.hide-desktop {
  display: initial;
}
@media screen and (min-width: 920px) {
  .hide-desktop {
    display: none;
  }
}

.hide-mobile {
  margin-top: 30px;
}
@media screen and (min-width: 920px) {
  .hide-mobile {
    margin-top: 30px;
  }
}

.logo {
  font-family: "Strawford", sans-serif;
}

.button-wrapper {
  align-items: center;
  display: flex;
  justify-content: center;
  margin-top: var(--large-space);
}
.button-wrapper .button {
  align-items: center;
  text-align: center;
  justify-content: center;
  background-color: var(--blue);
  color: #fff;
  display: flex;
  height: 30px;
  padding: 0 30px;
  cursor: pointer;
}
@media screen and (min-width: 920px) {
  .button-wrapper .button {
    height: 50px;
    padding: 0 40px;
  }
}
