:root {
  --yellow: #ffb809;
  --blue: #173eff;
}

.w-layout-blockcontainer {
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

@media screen and (max-width: 991px) {
  .w-layout-blockcontainer {
    max-width: 728px;
  }
}

@media screen and (max-width: 767px) {
  .w-layout-blockcontainer {
    max-width: none;
  }
}

body {
  color: #333;
  font-family: Open Sans, sans-serif;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.6rem;
}

h1 {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 3rem;
  font-weight: 700;
  line-height: 4rem;
}

h2 {
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 2rem;
  font-weight: 700;
  line-height: 2.8rem;
}

p {
  margin-bottom: 0;
}

a {
  text-decoration: underline;
}

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

.hero {
  background-color: var(--yellow);
  flex-flow: column;
  justify-content: space-between;
  align-items: center;
  height: 94vh;
  position: fixed;
  inset: 0%;
  overflow: hidden;
}

.section-text {
  z-index: 10;
  color: #fff;
  background-color: #158843;
  background-image: url('../images/bg-02.jpg');
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: cover;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin-top: 94vh;
  font-size: 1.6rem;
  line-height: 2.4rem;
  display: flex;
  position: relative;
}

.footer {
  z-index: 10;
  color: #173eff;
  text-align: center;
  background-color: #fff;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  padding-top: 8rem;
  padding-bottom: 8rem;
  position: relative;
  overflow: hidden;
}

.section-cta {
  z-index: 10;
  color: #173eff;
  text-align: center;
  background-color: #ffb809;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  height: 80vh;
  display: flex;
  position: relative;
  overflow: hidden;
}

.hero-corner {
  z-index: 5;
  width: 18rem;
  position: absolute;
}

.hero-corner.top-left {
  inset: 0% auto auto 0%;
}

.hero-corner.top-right {
  inset: 0% 0% auto auto;
}

.hero-corner.bottom-left {
  inset: auto auto 0% 0%;
}

.hero-corner.bottom-right {
  inset: auto 0% 0% auto;
}

.hero-bg {
  z-index: 0;
  background-image: url('../images/hero-bg.jpg');
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100vw;
  position: absolute;
  inset: 0%;
}

.logo {
  z-index: 1;
  width: 24rem;
  position: relative;
}

.hero-title {
  z-index: 0;
  align-self: center;
  height: 40rem;
  margin-left: .5rem;
  position: absolute;
  bottom: -8rem;
}

.button {
  background-color: var(--blue);
  color: #fff;
  text-align: left;
  text-transform: uppercase;
  border-radius: 1rem;
  flex-flow: row;
  justify-content: flex-start;
  align-items: center;
  min-width: 20rem;
  height: 5rem;
  margin-top: 2rem;
  padding: 1.5rem;
  font-size: 1.6rem;
  font-weight: 700;
  text-decoration: none;
  transition: all .2s ease-in-out;
  display: flex;
}

.button:hover {
  background-color: #1531b9;
}

.h1-cta {
  color: var(--blue);
}

.container {
  z-index: 5;
  flex-flow: column;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  position: relative;
}

.cta-box {
  flex-flow: row;
  justify-content: space-around;
  align-items: flex-start;
  margin-top: 3rem;
  display: flex;
}

.cta-flagbg {
  z-index: 1;
  opacity: .4;
  width: 30rem;
  position: absolute;
  right: -15rem;
}

.hero-container {
  flex-flow: column;
  justify-content: flex-start;
  align-items: center;
  height: 100%;
  padding-top: 4rem;
  display: flex;
  position: relative;
}

.social-container {
  justify-content: center;
  align-items: center;
  margin-top: 3rem;
  margin-bottom: 8rem;
  display: flex;
}

.icon-link {
  opacity: .8;
  justify-content: center;
  align-items: stretch;
  width: 2.6rem;
  height: 2.6rem;
  margin-left: 1rem;
  margin-right: 1rem;
  transition: opacity .2s ease-in-out;
  display: flex;
}

.icon-link:hover {
  opacity: 1;
}

.container-lang {
  z-index: 100;
  grid-column-gap: .5rem;
  grid-row-gap: .5rem;
  background-color: #fff;
  border-radius: 12px;
  flex-flow: row;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  justify-content: flex-end;
  align-items: center;
  margin-top: 1rem;
  margin-right: 1rem;
  padding: .5rem;
  display: flex;
  position: fixed;
  inset: 0% 0% auto auto;
}

.icon-flag {
  height: 2rem;
}

.link-flag {
  opacity: .72;
  transition: opacity .2s ease-in-out;
}

.link-flag:hover {
  opacity: 100;
}

.link-flag.selected {
  opacity: 1;
}

.footer-logo {
  height: 7rem;
}

.hero-corner-mobile {
  z-index: 5;
  height: 18rem;
  display: none;
  position: absolute;
}

.hero-corner-mobile.top-left {
  inset: 0% auto auto 0%;
}

.hero-corner-mobile.top-right {
  inset: 0% 0% auto auto;
}

.hero-corner-mobile.bottom-left {
  inset: auto auto 0% 0%;
}

.hero-corner-mobile.bottom-right {
  inset: auto 0% 0% auto;
}

.ic-button {
  width: 3rem;
  margin-right: 1rem;
}

@media screen and (max-width: 991px) {
  .hero-corner {
    display: none;
  }

  .hero-corner-mobile {
    height: 14rem;
    display: inline-block;
  }
}

@media screen and (max-width: 767px) {
  .hero-corner {
    width: 10rem;
    display: inline-block;
    transform: rotate(0);
  }

  .hero-corner-mobile {
    display: none;
    transform: rotate(0);
  }
}

@media screen and (max-width: 479px) {
  .hero {
    z-index: 1;
    width: 100vw;
  }

  .section-text {
    padding-left: 2rem;
    padding-right: 2rem;
    font-size: 1.4rem;
    line-height: 2rem;
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .section-cta {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .hero-corner {
    display: none;
  }

  .logo {
    width: 14rem;
  }

  .hero-title {
    width: 120vw;
    max-width: none;
  }

  .button {
    min-width: 100%;
    padding: 1rem;
  }

  .h1-cta {
    font-size: 2rem;
    line-height: 3rem;
  }

  .cta-box {
    flex-flow: column;
    margin-top: 2rem;
  }

  .hero-container {
    padding-top: 8rem;
  }

  .footer-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .icon-link {
    width: 1.4rem;
    height: 1.4rem;
  }

  .container-lang {
    grid-column-gap: .3rem;
    grid-row-gap: .3rem;
    border-radius: 4px;
    flex-flow: column;
    justify-content: flex-start;
    align-items: center;
    padding: .3rem;
  }

  .icon-flag {
    width: 2rem;
    height: auto;
  }

  .hero-corner-mobile {
    height: 12rem;
    display: inline-block;
  }
}


