@font-face {
  font-family: "Avenir Next LT Pro";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/AvenirNextLTPro-Regular.woff2") format("woff2"),
    url("./fonts/AvenirNextLTPro-Regular.woff") format("woff");
}

@font-face {
  font-family: "Avenir Next LT Pro";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./fonts/AvenirNextLTPro-Bold.woff2") format("woff2"),
    url("./fonts/AvenirNextLTPro-Bold.woff") format("woff");
}

@font-face {
  font-family: "Inter";
  src: url("./fonts/InterVariable.woff2") format("woff2-variations"),
    url("./fonts/InterVariable.woff2") format("woff2");
  font-weight: 300 400 500 600 700 800 900;
  font-style: normal;
  font-display: swap;
}

html,
body {
  width: 100%;
  height: 100%;
  text-align: center;
}

.wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.header {
  background-color: #ffffff;
  flex: 0 1 auto;
  margin: 0;
  padding: 0 20px 100px;
  position: relative;
  box-sizing: border-box;
}

.header .logo {
  width: 170px;
  height: auto;
  display: inline-block;
  margin-top: 50px;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  line-height: 1.4;
  color: #0f100f;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Avenir Next LT Pro", helvetica, sans-serif;
  font-weight: 700;
}

h1 {
  font-size: 52px;
  margin: 0px auto 50px;
}

p {
  font-family: "Inter", helvetica, sans-serif;
  font-weight: 400;
  font-size: 16px;
}

.langs {
  display: flex;
  width: 100%;
  max-width: 330px;
  justify-content: space-between;
  margin: 60px auto 20px;
  font-size: 14px;
  font-family: "Raleway", helvetica, sans-serif;
  color: #0f100f;
  font-weight: 400;
}

.langs span {
  font-weight: 800;
}

.langs a {

  text-decoration: none;
  color: #0f100f;
}

.langs a:hover {
    font-weight: 600;
  color: #003460;
}

.header .content {
width: 100%;
  margin-top: 80px;
  padding: 30px;
  border-top: 2px solid #f9f8f7;
  border-bottom: 2px solid #f9f8f7;
}

.content {
  position: relative;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  z-index: 1;
}

.content a {
  color: #0f100f;
}

.content a:hover {
  color: #003460;
}

.header .content p {
  font-size: 18px;
  max-width: 328px;
  display: inline-block;
  margin: 0 auto;
}

.water-bkg {
  position: absolute;
  width: 100%;
  height: auto;
  z-index: 0;
  left: 0;
  bottom: 0;
}

.footer {
  flex: 1 1 auto;
  margin: -4px 0 0;
  padding: 0 20px;
}

.footer .content {
  max-width: 400px;
  padding-bottom: 40px;
}

.social-links {
  margin: 24px auto 0;
  display: flex;
  justify-content: stretch;
  width: 100%;
  max-width: 205px;
}

.social-links a {
  color: #0f100f;
  text-decoration: none;
  font-size: 24px;
  flex: 1;
}

.social-links a svg {
  max-width: 30px;
}

.social-links a:hover {
  color: #003460;
}

@media screen and (min-width: 751px) {
    .header .content {
        max-width: 600px;
    }
    
}

@media screen and (max-width: 750px) {
    h1 {
        font-size: 40px;
    }

    .content p {
        font-size: 16px;
    }

  .header {
    overflow: hidden;
  }

  .header .content {
   padding-left: 0;
   padding-right:0;
  }
}

@media screen and (max-width: 400px) {
  .header .logo {
    margin-top: 30px;
  }

  h1 {
    font-size: 28px;
    margin-top: 35px;
  }
}
