@font-face {
 font-family: "CircularXXWeb-Regular";
 src: url("../font/CircularXXWeb-Regular.woff") format("woff");
}

@font-face {
 font-family: "CircularXXWeb-Regular";
 src: url("../font/CircularXXWeb-Regular.woff2") format("woff2");
}

body, h1, h2, h3, h4, h5, p { 
  font-family: CircularXXWeb-Regular; 
  font-weight: normal; 
  font-style: normal;
  margin:0;
  padding: 0;
  letter-spacing: 0.01em;                                                     
  font-size: 18px;
}

h1{
  font-size: 50px;
  line-height: 1em;
  letter-spacing: 0em;
}

h2{
  font-size: 24px;
}

h3{
  font-size: 12px;
}

p{
  margin-bottom: 1rem;
}


*,
*:after,
*:before{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ul,
li {
  list-style: none;
  padding: 0;
  margin: 0;
}

html{
  overflow-x: hidden;
}

:root {
  --random-color: brown;
}

/*::selection{
  background-color: var(--random-color);
  color: white;
}*/

a, 
a:hover, 
a:visited, 
a:active{
  text-decoration: none;
  color: inherit;
}

.random-color{
  color: var(--random-color);
}

body{
  padding: 0 50px;
  margin: 0;
}

header{
  position: fixed;
  top: 0;
  width: calc(100% - 100px);
  display: grid;
  grid-template-columns: 15px repeat(12, 1fr 15px);
  padding: 20px 0;
  z-index: 90;
}

header p:first-child{
  margin-bottom: 0.5rem;
}

header #left{
  grid-column: 1/span 3;

}

header #right{
  grid-column: 14/span 13;
  text-align: right;
}

header #right #logo{
float: right;
}

#right #logo svg,
#right #logo-white svg{
  height: 100px;
  fill: var(--random-color);
}

.moreheader #right #logo-white svg{
  fill: white;
}

header a:hover{
  color: var(--random-color);
  text-decoration: underline;
}

main{
  padding: 20px 0;
  width: 100%;
  display: grid;
  grid-template-columns: 15px repeat(12, 1fr 15px);
}

footer{
  width: calc(100% - 100px);
  display: grid;
  grid-template-columns: 15px repeat(12, 1fr 15px);
}

footer p{
  margin: 0;
}

footer a:hover{
    text-decoration: underline;
}

footer .contacts,
footer .langue{
  grid-column: 14/span 11;
  position: fixed;
  bottom: 20px;
  right: 50px;
  z-index: 99;
  text-align: right;
  color: var(--random-color);
}

footer p:last-child > a{
  text-transform: uppercase;
}

footer p:last-child > span:nth-of-type(1)::before {
  content: "-";
}

@media (min-width: 1800px){

  body{
    padding: 0 8%;
    }

  header,
  footer{
    width: calc(100% - 16%);
  }
  footer .contacts{
    right: 8%;
  }
}

@media (max-width: 1200px){
  header #right #logo svg{
  height: 85px;
}
}

@media (max-width: 700px){

  body{
    padding: 0;
  }
  footer,
  header{
    width: 100%;
  }

  header #left{
  grid-column: 2/span 3;

}

header #right{
  grid-column: 14/span 11;
  text-align: right;
}

header #right #logo svg{
  height: 55px;
}

footer .contacts,
footer .langue{
  right: 15px;
}

footer .contacts p:first-child{
  display: none;
}

h1{
  font-size: 45px;
}

}

html::-webkit-scrollbar { width: 0 !important }
html { overflow: -moz-scrollbars-none; }
html { -ms-overflow-style: none; }

