@import url('https://fonts.googleapis.com/css2?family=Merriweather&family=Philosopher&family=Roboto&display=swap');

:root{
  --nav-and-foot-bg-color: #52413D;
  --hover-nav-bg-color: #E0B5A4;
  --text-color: #231B1B;
  --a-color: #E0E0E0;
  --hover-a-color: #143D22;
}
*, a, ::before, ::after{
  margin: 0;
  padding: 0;
  text-decoration: none;
  list-style-type: none;
  box-sizing: border-box;
}
html{
  font-size: .625em; /* fallback IE8+ */
  font-size: calc(1em * .625); /* IE9-IE11 math fixing. See http://bit.ly/1g4X0bX */
}
body{  
  width: 100vw;
  height: 100vh;
  position: relative;
  overflow: hidden;
  color: var(--text-color);
  background: url(img/auberge-ete-hiver.jpg) no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
section{
  position: relative;
  max-width: 1400px;
  width: 90%; 
  height: 80vh; 
  background-color: rgba(0, 0, 0, 0.20);
  box-shadow: 0px 0px 15px rgba(0,0,0,0.8);
  border-top:1px solid rgba(255,255,255,0.5);
  border-right:1px solid rgba(255,255,255,0.5);
  backdrop-filter: blur(1px);
  margin: auto;
  padding: 15px;
  border-radius: 10px;
  font-size: 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}
.a {
  display: inline-block;
  padding: 35px;
  text-align: justify;
  margin: 20px;
}
section .logo{
  position: relative;
  width: 200px;
  height: 200px;
}
section .logo img{
  position: absolute;
  width: 200px;  
}
section .content{
  /* height: 400px; */
  width: 90%;
  flex-wrap: wrap;
}
section .content .lang{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
}
section .content .lang img{
  width: 100px;
  height: 100px;
  margin-bottom: 50px;
  filter : drop-shadow (10px 10px 5px #000);
}
section .content .lang img:hover{
  animation: wiggle 1.5s;
}
@keyframes wiggle {
  0%, 7% {
    transform: rotateZ(0) scale(0.8);
  }
  15% {
    transform: rotateZ(-0deg) scale(1.6);
  }
  20% {
    transform: rotateZ(-15deg) scale(1.5);
  }
  25% {
    transform: rotateZ(10deg) scale(1.4);
  }
  30% {
    transform: rotateZ(-10deg) scale(1.3);
  }
  35% {
    transform: rotateZ(6deg) scale(1.2);
  }
  40% {
    transform: rotateZ(-4) scale(1.1);
  }
  45%, 100% {
    transform: rotateZ(0) scale(1.1);
  }
}
h1{ 
  display: block;
  width: 100%;
  position: relative;
  text-align: center; 
  font-family: 'Philosopher', sans-serif;
  font-size: 6rem;
  margin: 20px;  
  color: var(--text-color);
  text-shadow: 0px 0px 10px rgba(255, 255, 255, 0.55);
}
h3{ 
  display: block;
  width: 100%;
  position: relative;
  text-align: center; 
  font-family: 'Laila', sans-serif;
  font-size: 3rem;
  margin: 20px auto;  
  color: var(--a-color);
  text-shadow: 0 0 1px rgba(255, 255, 255, 0.55);
  background-color: rgba(0, 0, 0, 0.70);
  box-shadow: 0px 0px 15px rgba(0,0,0,0.8);
  border-top:1px solid rgba(255,255,255,0.5);
  border-right:1px solid rgba(255,255,255,0.5);
  backdrop-filter: blur(1px);
  border-radius: 50px;
  padding: 5px 15px;
}
span{
  white-space: nowrap;
}
footer{
  position: relative;
  z-index: 5;
  width: 100%; 
  height: 70px; 
  background-color: var(--nav-and-foot-bg-color);  
  box-shadow: 0 0 1em #000;
  bottom: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
}
footer .content{
  width: 90%;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;  
  font-size: 14px;
  color: var(--a-color)
}
footer li{
  /* margin: 10px; */
  color: var(--a-color);
}
footer li a{
  position: relative;
  color: var(--a-color);
}
footer li:hover a{
  color: var(--a-color);
}
footer li a::before{
  content: "";
  position: absolute;
  background: var(--a-color);
  width: 100%;
  height: 1px;
  bottom: -2px;
  transform-origin: 100% 0;
  transform: scaleX(0);
  transition: transform 0.4s;
}
footer li a:hover::before{
  transform-origin: 0 0;
  transform: scaleX(1);
}

/* ************************** WEBCOD *****************************/

.webcod{
  font-size: 1.1em;
}
.webcod #mouse{
  font-weight: bold;
  text-shadow: 0 0 0.8em #00f5ff;
  transition: 0.4s;
  color: var(--a-color);
  font-family: Megrim;
}
.webcod span #w{
  color: #cc0b0d;
}
.webcod #mouse:hover{
  text-shadow: 0 0 1em #cc0b0d;
}

@media screen and (max-width: 660px){
  h1{ 
    font-size: 3.5rem;
    margin: 10px;  
  }
  h3{ 
    font-size: 2rem;
    margin: 10px auto;  
  }
  section .logo{
    position: relative;
    width: 140px;
    height: 140px;
  }
  section .logo img{
    position: absolute;
    width: 140px;  
  }
  section .content .lang img{
    width: 100px;
  }
  footer .content{
    flex-direction: column;
  }
  footer .content li{
    padding-bottom: 20px;
  }
}