@font-face {
  font-display: swap;
  font-family: "Roboto";
  font-style: normal;
  font-weight: 300;
  src: url("../fonts/roboto-v47-latin-300.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/roboto-v47-latin-regular.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Roboto";
  font-style: normal;
  font-weight: 500;
  src: url("../fonts/roboto-v47-latin-500.woff2") format("woff2");
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Arial', sans-serif;
  background-color: #FFFFFF;
  color: #454545;
  line-height: 1.5rem;
  letter-spacing: 0.01rem;
}

a {
  text-decoration: none;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

header {
  position: absolute;
  display: flex;
  justify-self: flex-end;
  justify-content: center;
  align-items: center;
  padding: 2rem 1.5rem;
  background-color: transparent;
  z-index: 10;
  width: 58%;
  backdrop-filter: blur(1px);
}


.logo {
  display: flex;
  align-items: center;
  margin: 1rem 0;

  img {
    width: 15rem;
    height: auto;
  }
}

.logo.mobile {
  display: none;

  img {
    width: 15rem;
  }
}

nav {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  justify-content: flex-end;
  width: 100%;

  a {
    color: #FFFFFF;
    font-weight: 500;
    cursor: pointer;
    text-underline-offset: 0.3rem;
    text-shadow: 1px 2px 4px black;
  }
}

nav a:hover {
  text-decoration: underline;
}

.btn-contact {
  background-color: #fff;
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: bold;
  color: #22346B;
  text-decoration: unset;
}

.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;

  div {
    width: 25px;
    height: 3px;
    background-color: #454545;
  }
}

.main {
  display: flex;
  flex: 1;
}

.left {
  width: 45%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0 7rem;

  h1 {
    font-size: calc(2rem + 0.1vw);
    line-height: calc(2rem + 0.7vh);
    color: #0246FF;
    margin: 1rem 0;
  }

  h3 {
    font-size: 1.5rem;
    margin: 1rem 0;
    color: #0246FF;
    line-height: 2rem;
  }

  p {
    font-size: 1rem;
    margin-bottom: 18px;
    letter-spacing: 0.01rem;
  }
}

.left-bottom {
  display: flex;
  flex-direction: column;
}

.left .cta {
  display: inline-block;
  background-color: #0246FF;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: calc(0.7rem + 0.1vw);
  font-weight: 600;
  text-transform: uppercase;
  width: fit-content;
  margin: 1rem 0;
  cursor: pointer;
}

.cta:hover {
  filter: brightness(1.1);
}

.right {
  width: 55%;
  display: grid;
  grid-gap: 10px;
  height: 100%;
  position: relative;
}

.grid-1 {
  display: grid;
  grid-template-columns: 40% 1fr;
  grid-gap: 10px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 40%;
  grid-gap: 10px;
}


.right img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;

}

.footer-desktop {
  font-size: 11px;
  color: #A2A2A2;
  padding: 1rem 0;
}

.footer-mobile {
  justify-content: center;
  text-align: center;
  padding: 1rem;
  color: #A2A2A2;
  font-size: 0.8rem;
  display: none;
}

/* Mobile */
@media (max-width: 1024px) {

  header {
    position: static;
    justify-content: space-between;
    width: 100%;
    padding: 1rem 1.5rem;
  }

  .logo.desktop {
    display: none;
  }

  .logo.mobile {
    display: flex;
  }

  .main {
    flex-direction: column-reverse;
  }

  .right {
    width: 100%;
    padding: 0.5rem;
  }

  .left {
    padding: 0 3rem;
    width: 100%;
  }

  .left-bottom {
    align-items: center;

    p,
    h1 {
      text-align: center;
    }
  }

  .burger {
    display: flex;
  }

  nav {
    position: absolute;
    top: 70px;
    right: 30px;
    background-color: white;
    flex-direction: column;
    padding: 15px 20px;
    box-shadow: 1px 2px 8px rgb(0 0 0 / 52%);
    gap: 1rem;
    display: none;
  }

  nav.open {
    display: flex;
    width: fit-content;
  }

  .open a {
    color: #22346B;
    font-weight: bold;
    text-shadow: unset;
  }

  .footer-desktop {
    display: none;
  }

  .footer-mobile {
    display: flex;
  }
}
