@import './variables/index.scss';
@import './fonts.scss';

html,
body {
  padding: 0;
  margin: 0;
}

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

* {
  box-sizing: border-box;
}

.wrapper {
  padding-top: 78px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;

  &__content {
    flex: 1;
    min-height: calc(100vh - 78px);
  }
  /* transform: translateY(200%); */

  .loading & {
    transform: translateY(200%);
  }

  .content {
    margin: 0 auto;
    max-width: 1366px;
    padding: 40px 16px;
    @extend .text_4;

    @media (min-width: 560px) {
      padding: 80px 32px;
    }
    @media (min-width: 900px) {
      padding: 80px 43px;
    }
  }
}

.overflowHidden {
  overflow: hidden;
}

.hidden {
  overflow: hidden;
  height: 100vh;
}

h1,
.h1 {
  font-family: $font-family-newsreader;
  letter-spacing: 0;
  color: $main-blue;
  margin: 0;
  font-weight: normal;
  font-size: 36px;
  line-height: 44px;

  @media (min-width: 560px) {
    font-size: 50px;
    line-height: 60px;
  }

  @media (min-width: 900px) {
    font-size: 79px;
    line-height: 90px;
  }
}

h2,
.h2,
.large_text {
  font-family: $font-family-atak-black;
  font-size: 36px;
  line-height: 41px;
  font-weight: 900;
  letter-spacing: 0;
  color: $main-blue;
  margin: 0;

  @media (min-width: 560px) {
    font-size: 50px;
    line-height: 56px;
  }

  @media (min-width: 900px) {
    font-size: $font-size-xlarge;
    line-height: 76px;
  }
}

h3,
.h3,
.medium_text {
  font-family: $font-family-atak-black;
  font-size: 28px;
  line-height: 33px;
  font-weight: 900;
  letter-spacing: 0;
  color: $main-blue;
  margin: 0;

  @media (min-width: 560px) {
    font-size: 38px;
    line-height: 40px;
  }

  @media (min-width: 900px) {
    font-size: 50px;
    line-height: 52px;
  }
}

h4,
.h4 {
  font-family: $font-family-atak-black;
  font-size: $font-size-medium;
  line-height: 29px;
  font-weight: 900;
  letter-spacing: 0;
  color: $main-blue;
  margin: 0;

  @media (min-width: 560px) {
    font-size: 24px;
    line-height: 29px;
  }

  @media (min-width: 900px) {
    font-size: $font-size-xxxmedium;
    line-height: 43px;
  }
}

.h4_italic {
  font-family: $font-family-newsreader;
  font-size: 24px;
  line-height: 31px;
  font-style: italic;
  letter-spacing: 0;
  color: $main-blue;
  font-weight: normal;
  @media (min-width: 560px) {
    font-size: 38px;
    line-height: 38px;
  }
}

h5,
.h5 {
  font-family: $font-family-atak-black;
  font-size: 18px;
  line-height: 22px;
  font-weight: 900;
  letter-spacing: 0;
  color: $main-blue;
  margin: 0;

  @media (min-width: 560px) {
    font-size: 24px;
    line-height: 29px;
  }
}

h6,
.h6 {
  font-family: $font-family-atak-black;
  font-weight: 900;
  letter-spacing: 0;
  color: $main-blue;
  margin: 0;
  font-size: 16px;
  line-height: 22px;
  @media (min-width: 900px) {
    font-size: 18px;
    line-height: 22px;
  }
}

.h7 {
  font-family: $font-family-atak-black;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 21px;
  color: $main-blue;
}

.text_1 {
  font-family: $font-family-atak-light;
  font-size: $font-size-medium;
  line-height: 29px;
  font-weight: 300;
  letter-spacing: 0;
  color: $main-blue;

  @media (min-width: 560px) {
    font-size: 24px;
    line-height: 35px;
  }

  @media (min-width: 900px) {
    font-size: 38px;
    line-height: 49px;
  }
}

.text_2 {
  font-family: $font-family-atak-light;
  font-size: 18px;
  line-height: 26px;
  font-weight: 300;
  letter-spacing: 0;
  color: $main-blue;
  @media (min-width: 900px) {
    font-size: 24px;
    line-height: 35px;
  }
}

.text_3 {
  font-family: $font-family-atak-light;
  font-size: 21px;
  font-weight: 300;
  letter-spacing: 0;
  line-height: 30px;
  color: $main-blue;
}

.text_4 {
  font-family: $font-family-atak-light;
  font-weight: 300;
  letter-spacing: 0;
  color: $main-blue;
  font-size: 16px;
  line-height: 23px;
  @media (min-width: 560px) {
    font-size: 18px;
    line-height: 27px;
  }
}

.text_5 {
  font-family: $font-family-atak-light;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0;
  line-height: 21px;
  color: $main-blue;
}

.h2_links,
.largeTextLink {
  font-family: $font-family-atak-black;
  font-size: 36px;
  line-height: 41px;
  font-weight: 900;
  letter-spacing: 0;
  color: $medium-blue;
  svg {
    fill: $medium-blue;
  }

  @media (min-width: 900px) {
    font-size: 70px;
    line-height: 76px;
  }
}
.largeTextLink,
.mediumTextLink {
  svg {
    fill: $medium-blue;
  }

  @media (min-width: 900px) {
    display: flex;
    align-items: center;
  }
}

.h4_links {
  font-family: $font-family-atak-black;
  font-weight: 900;
  letter-spacing: 0;
  color: $medium-blue;
  font-size: 24px;
  line-height: 29px;

  @media (min-width: 560px) {
    font-size: 38px;
    line-height: 43px;
  }
}

.h5_links,
.mediumTextLink {
  font-family: $font-family-atak-black;
  font-size: 18px;
  line-height: 22px;
  font-weight: 900;
  letter-spacing: 0;
  color: $medium-blue;

  svg {
    fill: $medium-blue;
  }

  @media (min-width: 560px) {
    font-size: 24px;
    line-height: 29px;
  }
}

.h6_links {
  font-family: $font-family-atak-black;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 22px;
  color: $medium-blue;
}

.h7_links,
.smallTextLink {
  font-family: $font-family-atak-black;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 21px;
  color: $medium-blue;

  svg {
    fill: $medium-blue;
  }

  &.font-weight-normal {
    font-weight: normal;
    font-family: $font-family-atak-light;
  }
}

#Icons {
  fill: white;
}

input::placeholder,
textarea::placeholder {
  color: #9f9dc8;
}

#onetrust-consent-sdk {
  opacity: 0;
  font-family: $font-family-atak-light;
}

#onetrust-banner-sdk {
  transform: translateY(200%);
}

body {
  &.loading {
    overflow: hidden;
    height: 100vh;
    width: 100%;
  }
  &:not(.loading) {
    #onetrust-banner-sdk {
      transition: all 0.3s;
      transform: translateY(0%);
    }
    #onetrust-consent-sdk {
      opacity: 1;
    }
  }
}
