/*********/
/* Fonts */
/*********/

@font-face {
  font-family: 'GothamUltra';
  src: url('../fonts/Gotham-Ultra.otf') format('opentype');
}

@font-face {
  font-family: 'GothamMedium';
  src: url('../fonts/Gotham-Medium.otf') format('opentype');
}

/**********/
/* Common */
/**********/

body {
  margin: 80px 0 0 0;
  background-image: url("../images/textures/bg-paper-ivoire@3x.jpg");
  background-repeat: repeat;
  background-size: 1200px auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, p, a {
  margin: 0;
  padding: 0;
}

h1 {
  font-family: GothamUltra;
  font-size: 40px;
  font-style: normal;
  font-weight: 450;
  line-height: normal;
  color: #AE1917;
  text-transform: uppercase;
}

h2 {
  font-family: GothamUltra;
  font-size: 30px;
  font-style: normal;
  font-weight: 450;
  line-height: normal;
  color: #000000;
  text-transform: uppercase;
}

h3 {
  font-family: GothamMedium;
  font-size: 25px;
  font-style: normal;
  font-weight: 350;
  line-height: normal;
  color: #000000;
  text-transform: uppercase;
}

p {
  font-family: GothamMedium;
  font-size: 12px;
  font-style: normal;
  font-weight: 350;
  line-height: normal;
  color: #000000;
}

.layout-container li {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 350;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.63;
  letter-spacing: normal;
  text-align: left;
  color: #161616;
}

a {
  text-decoration: none;
  cursor: pointer;
}

hr {
  height: 5px;
  margin: 30px 0;
  background-color: rgba(22, 22, 22, 0.88);
  background-image: url("../images/textures/texture-noir@3x.png");
  background-size: 360px 360px;
  background-repeat: repeat;
  border-style: none;
  border-width: 0;
}

.hidden {
  display: none;
}

/***********/
/* Buttons */
/***********/

.button_red_rounded {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 30px;
  border-radius: 52px;
  background: #AE1917;
  cursor: pointer;
}

.button_red_rounded p, .button_red_rounded a, .button_red_rounded div  {
  color: #FFF;
  text-align: center;
  font-family: GothamUltra;
  font-size: 16px;
  font-style: normal;
  font-weight: 450;
  line-height: normal;
  text-transform: uppercase;
  text-decoration: none;
}

.button_red_rounded:hover {
  background: #000000;
}

/**********/
/* Social */
/**********/

/* Integration example:
  <a href="https://fr-fr.facebook.com/Hippopotamus/">
    <div class="social_icon_wrapper">
      <img src="../assets/images/social/ico-facebook.png" srcset="../assets/images/social/ico-facebook@2x.png 2x,
                  ../assets/images/social/ico-facebook@3x.png 3x" class="ico_social" alt="Logo social Facebook" />
    </div>
  </a>
*/

.social_icon_wrapper {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-color: transparent;
  border: solid 1px #000000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.social_clear_icon_wrapper {
  width: 60px;
  height: 60px;
  border-radius: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.social_clear_icon_wrapper > img {
  height: 24px;
  width: 24px;
}

.social_icon_wrapper:hover {
  border: solid 1px #AE1917;
}

.social_icon_wrapper:hover > img {
  filter: invert(17%) sepia(76%) saturate(3564%) hue-rotate(354deg) brightness(81%) contrast(90%);
}

.social_icon_wrapper .ico_social{
  width: 24px;
  height: 24px;
}

/**************/
/* Pager item */
/**************/
.js-pager__items {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0;
  list-style-type: none;
}

.js-pager__items .js-pager__items_prev  a {
  width: 34px;
  height: 34px;
  display: block;
  margin-right: 10px;
  background-image: url("../images/buttons/button-prev-red.svg");
  background-size: 34px 34px;
  cursor: pointer;
}

.js-pager__items .js-pager__items_next a {
  width: 34px;
  height: 34px;
  display: block;
  margin-left: 10px;
  background-image: url("../images/buttons/button-next-red.svg");
  background-size: 34px 34px;
  cursor: pointer;
}

.bottom-nav-mobile {
  display: none;
}

.hippo_small_separator {
  width: 48px;
  height: 28px;
  margin-top: 10px;
  margin-bottom: 10px;
}

@media screen and (max-width:968px) {
  body {
    margin: 56px 0 0 0;
  }
}

@media only screen and (max-width: 768px) {
  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 25px;
  }

  h3 {
    font-size: 17px;
  }

  p {
    font-size: 14px;
  }

  hr {
    margin: 24px 0;
  }

  .button_red_rounded {
    padding: 8px 24px;
  }

  .button_red_rounded p {
    font-size: 12px;
  }

  .bottom-nav-mobile {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    padding: 36px 16px;
    background: #000000;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
  }

  .bottom-nav-mobile .button {
    margin-right: 6px;
    margin-left: 6px;
  }

  .social_icon_wrapper {
    width: 36px;
    height: 36px;
  }

  .social_icon_wrapper .ico_social {
    height: 16px;
    width: 16px;
  }

  .hippo_small_separator {
    width: 34px;
    height: 20px;
    margin-top: 4px;
    margin-bottom: 8px;
  }
}
