:root{
  --height-navbar: 70px;
  --height-footer: 222.5px;
}

.hidden{
  display: none;
}

body{
  color: var(--text-color);
  font-family: 'Inter', sans-serif;
}

.container{
  padding-left: 1rem;
  padding-right: 1rem;
}

.header{
  position: fixed;
  top: 0;
  width: 100vw;
  height: var(--height-navbar);
  background: var(--bg-header-color);
  z-index: 1000;
}

.header .barMenu{
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  margin: auto 1rem;
  padding: 0;
}

.header .barMenu a#link-logo{
  display: block;
  height: 56px;
}

#iconeTheme{
  cursor: pointer;
  transition: all 0.2s;
}

#iconeTheme:hover{
  transform: scale(1.3);
}

.header .barMenu .themeBurger{
  position: absolute;
  top: 50%;
  right: 0rem;
  transform: translateY(-50%);
  display: flex;
}

.header .logo{
  display: inline-block;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 0;
  left: 0;
  height: 56px;
}

.header .barMenu .texte-logo{
  position: absolute;
  top: 0;
  left: -56px;
  height: 56px;
}

.header .logo img{
  width: 100%;
  height: 100%;
}
 
/* bouton burgerMenu */
.burgerMenu{
  display: inline-block;
  background-color: rgba(255,255,255,0);
  border: 0px solid white;
  cursor: pointer;
  margin-left: 1rem;
}

.burgerMenu::after, .burgerMenu::before, .burgerMenu span::before{
  background-color: var(--color-burgerMenu);
  content: "";
  height: 4px;
  width: 26px;
  transition: all, ease, 0.2s;
  display: block;
  border-radius: 2px;;
}

.burgerMenu::before{
  transform: var(--tBefore, translateY(-6px));
}

.burgerMenu::after{
  transform: var(--tAfter, translateY(6px));
}

.header .menu{
  display: none;
  background: var(--bg-header-color);
}

.header .menu ul{
  padding: 0;
  margin-top: 0;
  margin-bottom: 1rem;
  list-style: none;
}

.btnMenu{
  display: block;
  padding: 1rem;
  color: var(--textColor);
  text-decoration: none;
  font-size: 1.13em;
  transition: all, 0.2s;
}

.btnMenu:hover{
  transform: scale(1.1);
}

.container{
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

main{
  padding-top: var(--height-navbar);
  background: var(--bg-main);
}

.alert-content{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
}

.alert{
  position: relative;
  top: 0.5rem;
  margin: 0.5rem;
  margin-top: 0;
  padding: 0.75rem 1.25rem;
  padding-right: 4rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
  transform: translateY();
}

.alert button.close{
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  padding: .75rem 1.25rem;
  background-color: transparent;
  border: 0;
  -webkit-appearance: none;
  color: inherit;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 1px 0 white;
  opacity: 0.5;
  cursor: pointer;
}

.alert-primary {
  color: #004085;
  background-color: #cce5ff;
  border-color: #b8daff;
}

.alert-secondary {
  color: #383d41;
  background-color: #e2e3e5;
  border-color: #d6d8db;
}

.alert-success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}

.alert-danger {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

.alert-warning {
  color: #856404;
  background-color: #fff3cd;
  border-color: #ffeeba;
}

.alert-info {
  color: #0c5460;
  background-color: #d1ecf1;
  border-color: #bee5eb;
}

.alert-light {
  color: #818182;
  background-color: #fefefe;
  border-color: #fdfdfe;
}

.alert-dark {
  color: #1b1e21;
  background-color: #d6d8d9;
  border-color: #c6c8ca;
}

.bg1{
  position: relative;
  background: var(--bg-color1-page);
}

.bg2{
  position: relative;
  background: var(--bg-color2-page);
}

.bg3{
  position: relative;
  background: var(--bg-color3-page);
  color: white;
}

footer{
  background: var(--bg-footer-color);
  border-top: 1px solid #4f4f4f;
  color: var(--text-color-footer);
  padding: 4rem 0 2rem 0;
  height: var(--height-footer);
}

footer div:first-child{
  position: relative;
}

.imageFooter{
  display: inline-block;
  width: 150px;
  height: 150px;
  margin-left: 1rem;
}

.imageFooter img{
  width: 100%;
  height: 100%;
}

.footerNav{
  display: inline-block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.navFooter{
  display: inline-block;
  padding: 0 1rem;
}

.navFooter li{
  list-style: none;
}

.navFooter a{
  text-decoration: none;
  color: white;
}

.navFooter a:hover{
  text-decoration: underline;
}

.mentions{
  margin-top: 2rem;
  text-align: center;
}

.linkFooter{
  text-decoration: none;
  color: white;
}

.linkFooter:hover{
  text-decoration: underline;
}

@media(min-width: 768px){
  .container{
    width: 720px;
    padding: 0;
  }

  .barMenu h1{
    font-size: 2vw;
  }

  .header .chooseTheme{
    margin-right: 3rem;
  }

  .header .burgerMenu{
    display: none;
  }

  .header .menu{
    display: block;
    position: absolute;
    top: 50%;
    right: 7rem;
    transform: translateY(-50%);
    background: none;
  }
  
  .header .menu ul{
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
  }
  
  .header .menu .btnRegister{
    background-color: white;
    border-radius: 1rem;
  }
  
  .header .menu .textRegister{
    font-weight: 700;
    background-image: var(--bg-image-textRegister);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-decoration: none;
  }
}

@media(min-width: 992px){
  .container{
    width: 960px;
    padding: 0;
  }

  .header .menu ul li{
    margin-left: 1rem;
  }

  .barMenu h1{
    font-size: 2em;
  }
}

@media(min-width: 1200px){
  .container{
    width: 1140px;
    padding: 0;
  }
}

@media(min-width: 1400px){
  .container{
    width: 1320px;
    padding: 0;
  }
}
