/*accueil*/
.page{
  background-image: url('sous.jpg');
  background-repeat: no-repeat;
  background-position: top;
  margin-top:1%; 
}

p{
  padding: 1%;
  margin: 0%;
  margin-top: 0%;
  margin-left: 30%;
  margin-bottom: 3%;
  font-size: 140%;
}

.nav {
  list-style: none;
  margin-left: 35%;
  margin-bottom: 3%;
}

.nav li a {
  background: #4CAF50;
  padding: 1% 1% 1%;
  text-decoration: none;
  color: #fff;
  font-size: 100%;
  text-transform: uppercase;
}
.nav li a:hover {
  background: #414141;
  color: #fff;
}
@media screen and (min-width: 960px) and (max-width: 1281px){
    .page{
  background-image: url('sous.jpg');
  background-repeat: no-repeat;
  background-position: top;
  margin-top:0.5%; 
}

p{
  padding: 0.5%;
  margin-left: 30%;
  margin-bottom: 2%;
  font-size: 120%;
}

.nav {
  margin-left: 35%;
  margin-bottom: 2%;
}

.nav li a {
  font-size: 80%;
}

}
@media screen and (min-width: 480px) and (max-width: 959px){
    .page{
  background-image: url('sous.jpg');
  background-repeat: no-repeat;
  background-position: top;
  margin-top:0.5%; 
}

p{
  padding: 0.5%;
  margin-left: 30%;
  margin-bottom: 2%;
  font-size: 100%;
}

.nav {
  margin-left: 35%;
  margin-bottom: 2%;
}

.nav li a {
  font-size: 60%;
}

}



@media screen and (max-width: 479px){
        .page{
  background-image: url('sous.jpg');
  background-repeat: no-repeat;
  background-position: top;
  margin-top:0.5%; 
}

p{
  padding: 0.5%;
  margin-left: 30%;
  margin-bottom: 2%;
  font-size: 80%;
}

.nav {
  margin-left: 35%;
  margin-bottom: 2%;
}

.nav li a {
  font-size: 40%;
}

}

/*carousel*/
#slider {
  overflow: hidden;
  width:100%;
}
#slider figure {
  position: relative;
  width: 500%;
  margin: 0;
  left: 0;
  animation: 20s slider infinite;
}
#slider figure img {
  width: 20%;
  float: left;
}

@keyframes slider {
  0% {
    left: 0;
  }
  20% {
    left: 0;
  }
  25% {
    left: -100%;
  }
  45% {
    left: -100%;
  }
  50% {
    left: -200%;
  }
  70% {
    left: -200%;
  }
  75% {
    left: -300%;
  }
  95% {
    left: -300%;
  }
  100% {
    left: -400%;
  }
}


/*header footer*/
body{
  height: 100%;
  margin: 0px;
  padding: 0px;
}


header{
  position: relative;
  background-color: #414141;
  height: 90px;
  font-family:  'Montserrat', sans-serif;
  text-transform: uppercase;
}

.menu li{
  list-style: none;
  display: inline-block;
}

.menu li ul{
  display: none;
  position: relative;
  padding:0;
}

.menu a{
  display: inline-block;
}

.menu li:hover a{
  border-bottom: 2px solid white;
}

.logo{
  position: absolute;
  top: 0%;
  left: 43%;
  width: 11%;
  height: 120%;
  background-color:#414141;
  border: 8px solid #414141;
  border-radius: 0% 0% 60% 68%;
  z-index:10;
}

.suki{
  position: absolute;
  bottom: 6%;
  left: 3%;
  font-weight: bold;
  font-size: larger;
}

h1{
  color: white;
}

a{
  font-family: 'Montserrat', sans-serif ;
  text-decoration: none;
}


.menu li li{
  background-color: #3b3b3b;
  display: block;
  padding: 10px;
}


.menu li ul{
  display: none;
  z-index: 10;
}


.menu li:hover ul{
  display: block;
  position: absolute;

}

.menu li:hover ul li{
  float: none;
  display: block;
  padding: 20px;
}

.menu ul li a{
  color:white;
}

.menuu{
  position: absolute;
  left: 30%;
  bottom: 40%;
}

.contact{
  position: absolute;
  right: 30%;
  bottom: 40%;
}

.contact2{
  position: absolute;
  right: 20%;
  top:70%;
}

.liste a:hover{
  color: white;
  border-bottom: 2px white;
}

footer{
  background-color: #414141;
  position: relative;

}

.menu2{
  background-color: #414141;
  height: 50px;
}

.menu2 ul li{
  list-style: none;
}

.menu2 li:hover a{
  border-bottom: 2px solid white;
}

.contacts{
  color: white;
  text-transform: uppercase;
  position: absolute;
  right: 48%;
  bottom: 32%;
}

.insta{
  position: absolute;
  width: 40px;
  height: 40px;
  bottom: 7%;
  right: 1%;
}

.twitter{
  position: absolute;
  width: 40px;
  height: 40px;
  bottom: 7%;
  right: 5%;
}

.pinterest{
  position: absolute;
  width: 40px;
  height: 40px;
  bottom: 7%;
  right: 9%;
}



@media screen and (max-width: 1280px){

  .logo{
    visibility: hidden;
  }

  header p{
    visibility: visible;
    width: 3%;
    position: absolute;
    top: 20%;
    left: 1%;
    font-weight: bold;
    color: white;
  }

  .suki{
    position: absolute;
    left: 90%;
    top: 2%;
  }

  section input[type="submit"]{
    width: 20%;
    padding-left: 7%;
  }


  footer img{
    visibility: hidden;
  }

}
