:root {
  --white: #fcfcf8;
  --black: #050505;
  --cyjan: #00aceb;
  --cyjan-500: #59c4eb;
  --gray: #bfbfbc;
}
@import url("https://use.typekit.net/fut8bqo.css");
@import url("https://fonts.googleapis.com/css2?family=Spectral:wght@300&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Spectral+SC&display=swap");

/* reset */
body,
html {
  overflow-x: hidden;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

#root,
#__next {
  isolation: isolate;
}

/* style */

body {
  margin: auto;
  padding: 20px 40px 40px;
  display: flex;
  flex-direction: column;
  width: 100vw;
  max-width: 100dvw;
  height: 100vh;
  max-height: 100dvh;
  background-color: var(--white);

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  @media (max-width: 576px) {
    padding-left: 20px;
    padding-right: 20px;
  }

  @media (max-height: 500px) {
    padding: 5px 40px;
  }
}

.container-md {
  width: 100%;
  height: 100%;
  margin: auto;
  padding: 30px 40px 30px;
  /* padding-bottom: ; */
  @media (max-width: 576px) {
    padding-left: 0;
    padding-right: 0;
  }

  @media (max-height: 500px) {
    padding: 10px;
  }
}

.d-flex {
  display: flex;
}

.justify-content-between {
  justify-content: space-between;
}

.align-items-end {
  align-items: end;
}

.text-center {
  text-align: center;
}
svg {
  path {
    fill: var(--black);
  }
}
svg:hover path {
  fill: var(--cyjan);
}

h1 {
  font-family: "Spectral SC", serif;
  font-weight: 400;
  font-style: normal;
  line-height: 110%; /* 148.5px */
  letter-spacing: -5px;
}
h2,
h3 {
  font-family: "Spectral", serif;
  font-weight: 300;
  font-style: normal;
  line-height: 120%; /* 51.6px */
  letter-spacing: -1px;
  color: var(--white);
}

p,
span,
a,
button,
input {
  font-family: "sofia-pro", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-weight: 300;
  line-height: 120%; /* 28.8px */
}

a:hover {
  color: var(--cyjan) !important;
}

h1 {
  font-size: 135px;
  line-height: 120%;
  letter-spacing: -5px;

  @media (max-width: 1200px) {
    font-size: 100px;
  }

  @media (max-width: 767px) {
    font-size: 58px;
    line-height: 110%;
  }

  @media (max-height: 500px) {
    font-size: 32px;
  }
}

h2 {
  font-size: 43px;
  letter-spacing: -1px;

  @media (max-width: 576px) {
    font-size: 19px;
  }

  @media (max-height: 500px) {
    font-size: 20px;
  }
}
/* header */

.header {
  .lang {
    width: 75px;
    display: flex;
    justify-content: space-between;
    align-items: center;

    span {
      font-size: 24px;
      height: 30px;
      text-align: center;

      @media (max-height: 500px) {
        font-size: 18px;
      }
    }
    .en {
      text-align: right;
      
    }
    a {
      color: var(--black);
      text-decoration: none;
      /* padding: 0 5px; */
      width: 30px;
      font-size: 24px;
      
      @media (max-height: 500px) {
        font-size: 18px;
      }
    }
  }
}

::placeholder {
  color: var(--white);
}

.banner {
  background-image: url("img/ggi_by_fotodeveloper_CH10_191108_001.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 60px 30px 40px;

  h1 {
    text-transform: uppercase;
  }

  @media (max-width: 767px) {
    padding-bottom: 20px;
  }

  @media (max-height: 500px) {
    padding-top: 20px;
    flex-direction: row;
  }

  .form {
    h2 {
      margin-bottom: 20px;

      @media (max-width: 767px) {
        margin-bottom: 5px;
      }
    }
    form {
      display: flex;
      justify-content: center;
      gap: 10px;
      flex-wrap: wrap;

      input {
        font-size: 18px;
        padding: 13px 12px;
        color: var(--white);
        border: 1px solid var(--white);
        background-color: transparent;

        &:focus,
        &:focus-within {
          border: 1px solid var(--cyjan) !important;
        }
      }
      input,
      button {
        .btn {
          font-size: 24px;
          padding: 9.5px 13px;
          background: transparent;
          color: var(--white);
          border: 1px solid var(--white);
          cursor: pointer;
          transition: 0.3s linear;

          &:hover {
            background-color: var(--cyjan);
            border: 1px solid var(--cyjan);
          }

          &:active {
            background-color: var(--cyjan-500);
          }
        }

        @media (max-width: 767px) {
          width: calc(50% - 16px);
          height: 30px;
          font-size: 16px;
          padding: 5px 15px;
        }
        @media (max-width: 576px) {
          width: 80% !important;
        }

        @media (max-height: 500px) {
          font-size: 14px;
        }
      }
    }
  }
}

footer {
  a {
    color: var(--black);
    text-decoration: none;
    font-size: 24px;
    
    @media (max-height: 500px) {
      font-size: 18px;
    }
  }
}

@media (max-width: 576px) {
  footer {
    flex-direction: column-reverse;
    text-align: center;
    gap: 20px;

    a {
      font-size: 19px;
    }
  }
}

.disabled {
  color: var(--gray, #bfbfbc) !important;
  cursor: default;
  pointer-events: none;

  &:hover {
    color: var(--gray);
  }
}
