/* DOCUMENT INFORMATION
Document : Savary
Version : 1
Auteur : Tim
*/

/* COLORS

couleur txt     #2F2E2E
txt:hover       rgb(222,80,33)

/*FICHIERS FONTS
==================================================================*/

@font-face{
    font-family: 'Inknut-Antiqua-black';
    src: url(../fonts/InknutAntiqua-Black.ttf);
}

@font-face{
    font-family: 'Inknut-Antiqua-light';
    src: url(../fonts/InknutAntiqua-Light.ttf);
}

@font-face{
    font-family: 'Raleway-semi-bold';
    src: url(../fonts/Raleway-SemiBold.ttf);
}

@font-face{
    font-family: 'Raleway-light';
    src: url(../fonts/Raleway-Light.ttf)
}

/* FONTS
====================================

h1      Raleway-semi-bold 50px     
p       Raleway-light 18px

*/

/*GLOBAL
================================================================== */

html{
    scroll-behavior: smooth;
}

body{
    margin: 0;
    padding: 0;
    max-width: 1920px;
    margin: auto;
}

h1{
    font-family: 'Raleway-semi-bold';
    font-size: 40px;
    color: #2F2E2E;
    text-align: center;
    margin: 50px 0;
}

h2{
    font-family: 'Raleway-semi-bold';
    font-size: 25px;
    color: #2F2E2E;
}

h3{
    font-family: 'Raleway-semi-bold';
    font-size: 20px;
    color: #2F2E2E;
}

p, li{
    font-family: 'Raleway-light';
    font-size: 17px;
    color: #2F2E2E;
}

a{
    text-decoration: none;
}

  /* HEADER MENU BURGER
================================================================== */

body {
    margin: 0;
    padding: 0;
  }
  
  header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    padding: 50px 0;
  }
  
  @media only screen and (max-width: 768px) {
    header {
      display: block;
      display: flex;
      align-items: center;
    }
  }
  
  header .topnav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    overflow: hidden;
  }
  
  header .topnav a {
    color: #2F2E2E;
    font-family: 'Inknut-Antiqua-light';
    font-size: 40px;
    margin: 0 50px;
  }
  
  header .topnav a:hover {
    color: rgb(222, 80, 33);
  }
  
  @media only screen and (max-width: 768px) {
    header .topnav a {
      display: none;
    }
  }
  
  @media only screen and (max-width: 768px) {
    header .topnav a.icon {
      display: block;
    }
  }
  
  header .topnav .icon {
    display: none;
  }
  
  @media only screen and (max-width: 768px) {
    header .topnav .icon {
      display: block;
    }
  }
  
  
  @media only screen and (max-width: 768px) {
    header .topnav.responsive {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
          -ms-flex-direction: column;
              flex-direction: column;
    }
    header .topnav.responsive a {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
    }
    header .topnav.responsive a.icon {
      position: absolute;
      top: -5px;
      right: 0;
    }
  }


    /* FIN Menu burger
================================================================== */

/* MENTIONS ET CGU
================================================================== */

.mentions{
    width: 911px;
    margin: auto;
    margin-bottom: 100px;
}

@media only screen and (max-width: 768px) {
    .mentions{
        width: 740px;
        margin: 0 10px;

    }
  }
  @media only screen and (max-width: 480px) {
    .mentions{
        width: 460px;
        margin: 0 10px;

    }
  }


/* FOOTER
================================================================== */

footer{
    background-color: rgb(204, 74, 30);
    padding: 40px 0;
}

footer .legal{
    display: flex;
    justify-content: center;
}

footer p{
    font-family: 'Raleway-semi-bold';
    color: #fff;
    margin: 0 60px;
}

footer a{
    font-family: 'Raleway-semi-bold';
    color: #fff;
    margin: 0 60px;
}

footer a:hover{
    color: #2F2E2E;
}

#copyright .lien{
    display: flex;
    justify-content: center;
    padding-top: 60px;
}

#copyright .site{
    font-family: 'Raleway-semi-bold';
    color: #fff;
    border: 2px solid #fff;
    padding: 5px 20px;
    border-radius: 10px;
}

#copyright .site:hover{
    color: #2F2E2E;
    border: 2px solid #2F2E2E;
}

@media only screen and (max-width: 768px){
    footer .legal{
        display: flex;
        flex-direction: column;
    }
    footer .legal p{
        margin: 0;
        margin-bottom: 20px;
        text-align: center;
    }
    footer .legal p a{
        margin: 0;
    }

}

/* go to top
================================================================== */

#myBtn {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Fixed/sticky position */
  bottom: 20px;
  /* Place the button at the bottom of the page */
  right: 30px;
  /* Place the button 30px from the right */
  z-index: 99;
  /* Make sure it does not overlap */
  border: 2px solid #fff;
  /* Remove borders */
  outline: none;
  /* Remove outline */
  background-color: rgb(204, 74, 30);
  /* Set a background color */
  color: white;
  /* Text color */
  cursor: pointer;
  /* Add a mouse pointer on hover */
  padding: 15px;
  /* Some padding */
  border-radius: 10px;
  /* Rounded corners */
  font-size: 18px;
  /* Increase font size */
}

#myBtn:hover {
  background-color: #2F2E2E;
  /* Add a dark-grey background on hover */
}
