/* FONT-FACE */

/* Kanit-regular - latin */
@font-face {
  font-display: swap; /* Check https:/*developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/kanit-v15-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/kanit-v15-latin-regular.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
}

/* Kanit-extrabold - latin */
@font-face {
  font-display: swap; /* Check https:/*developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/kanit-v15-latin-800.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/kanit-v15-latin-800.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
}

/* Kanit-semibold - italic - latin */
@font-face {
  font-display: swap; /* Check https:/*developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Kanit';
  font-style: italic;
  font-weight: 600;
  src: url('../fonts/kanit-v15-latin-600italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/kanit-v15-latin-600italic.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
}

/* Open sans - regular - latin */
@font-face {
  font-display: swap; /* Check https:/*developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/open-sans-v40-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/open-sans-v40-latin-regular.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
}

/* Open sans - bold - latin */
@font-face {
  font-display: swap; /* Check https:/*developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/open-sans-v40-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/open-sans-v40-latin-700.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
}

/* MilkyNice - latin */
@font-face {
  font-display: swap; /* Check https:/*developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Milky Nice';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/MilkyNice.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/MilkyNi e.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
}

/* GENERIC STYLE */

body {
  background-color: #69BA9E;
  margin: 0;
  font-family: 'Open Sans', Helvetica, Arial, sans-serif;
  max-width: 100vw;
  overflow-x: hidden;
}

.wrapper {
  max-width: 1480px;
  margin: 0 auto;
}

/* UNDER CONSTRUCTION BANNER */

.under-construction {
  background-color: #F6B615;
  display: flex;
  flex-wrap: wrap;
}

.under-construction div {
  height: 30px;
  width: 50%;
  display: flex;
  justify-content: space-between;
}

.under-construction__text {
  display: block;
  font-family: "Kanit";
  font-weight: 800;
  text-align: center;
  width: 100%;
  text-transform: uppercase;
  color: #161535;
  font-size: 25px;
  margin: 10px 0;
}

.under-construction div:before,
.under-construction div:after {
  content: "";
  display: block;
  width: 25%;
  height: 30px;
  background-color: #161535;
  transform: skew(-15deg);
}

.under-construction div:before {
  margin-left: 25%;
}

/* PRESENTATION */

.pres {
  margin-top: 40px;
  padding: 0 40px;
}

.pres__logo {
  width: 100%;
  max-width: 480px;
  height: auto;
}

.pres__banner {
  display: flex;
  justify-content: center;
}

.pres__banner__content {
  font-family: "Kanit";
  font-weight: 800;
}

.pres__banner__content,
.btn {
  background-color: #F6B615;
  color: #161535;
  display: inline-block;
  position: relative;
  padding: 10px 20px;
  font-size: 25px;
}

.pres__banner__content:before,
.btn:before {
  content: "";
  display: block;
  width: 10px;
  height: calc(100% + 5px);
  position: absolute;
  left: -10px;
  top: 1px;
  background-color: #161535;
  transform: skew(0, -20deg);
  z-index: -1;
}

.pres__banner__content:after,
.btn:after {
  content: "";
  display: block;
  width: 100%;
  height: 8px;
  position: absolute;
  left: -5px;
  bottom: -8px;
  background-color: #161535;
  transform: skew(-54deg);
  z-index: -1;
}

.pres__content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pres__banner__sub {
  position: absolute;
  top: 80%;
  left: 50%;
  color: #FFF;
  background-color: #161535;
  padding: 5px 25px;
  border-radius: 50px;
  min-width: 120px;
  text-align: center;
  transform: rotate(-4deg) translateX(-50%);
  font-weight: 600;
  font-style: italic;
  font-size: 20px;
}

.title {
  color: #161535;
  text-align: center;
  font-weight: bold;
  text-decoration: underline;
  padding: 20px 40px;
  font-size: 19px;
}

/* BLOCK */

.block {
  padding: 0 40px;
  margin-bottom: 20px;
}

.block__title {
  border: 4px solid #151634;
  padding: 10px 20px;
  position: relative;
  border-radius: 20px;
  display: inline-block;
  font-family: "kanit";
  text-transform: uppercase;
  font-weight: 800;
}

.block__title:before {
  content: "";
  display: block;
  position: absolute;
  left: -10px;
  top: 10px;
  width: 100%;
  height: 100%;
  background-color: #151634;
  border-radius: 20px;
  z-index: -1;
}

.block__title--blue {
  color: #FFF;
  background-color: #1561AC
}

.block__title--yellow {
  color: #151634;
  background-color: #FFA900;
}

.block__title--red {
  color: #FFF;
  background-color: #DD1B14;
}

.block__title span {
  position: relative;
}

.block__title span:before,
.block__title span:after {
  content: "";
  display: block;
  width: 0px;
  height: 0px;
  border-style: solid;
  border-color: transparent transparent #151634 transparent;
  position: absolute;
}

.block__title span:before {
  transform: rotate(10deg);
  left: -27px;
  top: 0;
}

.block__title span:before {
  transform: rotate(10deg);
  left: -27px;
  border-width: 0 2.5px 12px 2.5px;
}

.block__title span:after {
  transform: rotate(-22deg);
  right: -10px;
  border-width: 0 7px 6px 11px;
  bottom: -17px;
}

/* SOCIAL SHARING */

.social {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.social__bottom {
  display: flex;
  align-items: center;
}

.social__title {
  font-family: "Milky Nice";
  color: #161535;
  font-size: 25px;
}

.social__link {
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #0E3280;
  transition: background-color .3s ease-in-out;
  border-radius: 50%;
  margin: 0 10px;
}

.social__link:hover {
  background-color: #FFF;
}

.social__link svg {
  width: 32px;
  height: 32px;
}

.social__link svg path {
  fill: #FFF;
  transition: fill .3s ease-in-out;
}

.social__link:hover svg path {
  fill: #0E3280;
}

.btns {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.btn {
  font-family: "Milky Nice";
  text-decoration: none;
  margin-left: 8px;
  margin-bottom: 8px;
  margin-top: 20px;
}

.btn:hover {
  border-top: 8px solid #69BA9E;
  border-right: 8px solid #69BA9E;
  margin-left: 0;
  margin-bottom: 0;
}

.btn:hover:before {
  left: -2px;
  height: calc(100% - 2px);
}

.btn:hover:after {
  bottom: -2px;
  left: 3px;
}

.arrow-btn {
  display: inline-block;
  padding: 14px 70px 16px 20px;
  color: #161535;
  font-size: 22px;
  background-color: #FFF;
  border-radius: 50px;
  font-family: "Milky Nice";
  text-decoration: none;
  margin-top: 40px;
  margin-bottom: 20px;
  transition: color .3s ease-in-out, background-color .3s ease-in-out;
  position: relative;
  border: 4px solid #161535;
}

.arrow-btn:hover {
  color: #FFF;
}

.arrow-btn--blue:hover {
  background-color: #1561AC;
} 

.arrow-btn--blue .arrow-btn__icon {
  background-color: #1561AC;
}

.arrow-btn--red:hover {
  background-color: #DD1B15;
} 

.arrow-btn--red .arrow-btn__icon {
  background-color: #DD1B15;
}

.arrow-btn__icon {
  display: flex;
  width: 48px;
  height: 48px;
  border-radius: 100%;
  text-align: center;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: 6px;
  top: 4px;
}

.arrow-btn__icon svg {
  width: 28px;
  height: 28px;
  padding: 5px;
  margin-left: 3px;
}

.arrow-btn__icon svg path {
  fill: #FFF;
}

.footer__bottom {
  display: flex;
  justify-content: flex-end;
  position: relative;
  z-index: -1;
}

.phili-prev {
  display: inline-block;
  vertical-align: middle;
  margin-top: 30px;
}

.philibert {
  display: inline-block;
  color: transparent;
  background-image: url('../images/logo-philibert.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  padding: 30px;
  vertical-align: middle;
  margin: 0 10px;
  transition: opacity .3s ease-in-out;
}

.philibert:hover {
  opacity: 0.5;
}

/* MEDIA QUERIES */

/* Small devices (landscape phones, 576px and up) */
@media all and (min-width: 576px) {

}

/* Medium devices (tablets, 768px and up) */
@media all and (min-width: 768px) {

  .under-construction {
    flex-wrap: nowrap;
  }

  .under-construction div {
    height: 60px;
    width: 25%;
  }

  .under-construction div:before,
  .under-construction div:after {
    height: 60px;
    transform: skew(-25deg);
  }

  .pres {
    margin-top: 80px;
    background-image: url('../images/deco-1.png');
    background-size: 20%;
    background-repeat: no-repeat;
    background-position: right center;
  }

  .pres__content {
    background-image: url('../images/de.png');
    background-size: 6%;
    background-repeat: no-repeat;
    background-position: left 15% top 40px;
  }

  .pres__banner__content {
    font-size: 35px;
  }

  .pres__banner__sub {
    font-size: 25px;
    min-width: 150px;
  }

  .title {
    font-size: 35px;
    padding: 40px;
  }

  .block {
    margin-bottom: 40px;
  }

  .block__title {
    font-size: 30px;
  }

  .block p {
    font-size: 22px;
    line-height: 30px;
    color: #1D0D45;
  }

  .social {
    flex-direction: row;
    justify-content: center;
  }

  .social__title {
    margin-right: 10px;
    font-size: 35px;
  }

  .btns {
    flex-direction: row;
    justify-content: center;
    padding-left: 20px;
  }

  .btn {
    margin-top: 0;
    margin-right: 40px;
  }
  
}

/* Large devices (desktops, 992px and up) */
@media all and (min-width: 992px) {

}

/* X-Large devices (large desktops, 1200px and up) */
@media all and (min-width: 1200px) {

  .footer__bottom {
    margin-top: -300px;
  }

  .arrow-btn {
    font-size: 25px;
  }

  .arrow-btn__icon {
    top: 6px;
  }

}

/* XX-Large devices (larger desktops, 1400px and up) */
@media all and (min-width: 1400px) {

}
