@font-face {
  font-family: "typo";
  src: url("../fonts/Typo.otf") format("truetype");
}

@font-face {
  font-family: "roboto";
  src: url("../fonts/Roboto-VariableFont_wdth\,wght.ttf") format("truetype");
}



h3 {
  text-align: center;
  font-family: "roboto";
  font-size: 1.5em;
}

#banner{
   background-image: url('../img/castle2.png');
     background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
   width: 100%;
   height: 900px;
}

#price {
  margin-right: 10px;
}

#psdExist, #mdpError, #enough, #errorCo {
  display: none;
  font-size: 2.5em;
  color: red;
  border: 1px solid black;
  background-color: black;
  margin-top: 100px;
  margin-bottom: 100px;
}

body {
  margin: 0;
  padding: 0;
}

#burger {
  width: 50px;
  height: 50px;
  display: none;
}


 

h2 {
  font-family: "Lustria", serif;
  font-weight: bold;
  text-align: center;
  font-size: 3em;
  text-decoration: underline;
   
  margin-bottom: 100px;
}

section {
  overflow: hidden;
}

#image {
  
  width: 580px;
  height: 300px;
  
  display: block;
  margin-left: auto;
  margin-right: auto;


}



header {
  display: flex;
  justify-content: space-between;
  background-color: white;
  font-family: "typo";
  border-bottom: 5px solid black;
  border-radius: 5px;
  background-color: #68d373;
  height: 140px;
}
header ul {
  display: flex;
  justify-content: space-between;
  position: relative;
  top: 30px;
}
header ul a {
  text-decoration: none;
  color: black;
}
header ul a:hover {
  color: white;
}
header ul a li {
  list-style: none;
  margin-left: 50px;
  font-size: 1.5em;
  font-family: "typo";
}


@keyframes move {
  0% {
    transform: translateX(0px);
  }
  50% {
    transform: translateX(150px);
  }
  100% {
    transform: translateX(-2px);
  }
}
header #adminLink {
  position: relative;
  top: 20px;
  right: 70px;
  list-style: none;
  font-family: "Reading";
  font-size: 1.5em;
  color: black;
}
header #adminLink a:visited {
  color: black;
}
header .logo2:hover {
  animation-name: move;
  animation-duration: 10s;
}

h1 {
  text-align: center;
  font-family: "typo", serif;
  font-size: 5em;
  height: 100px;
  color: #68d373;
 
}



.logo2 {
  width: 200px;
  height: 140px;
}
span{
  color: #68d373;
  font-size: 1em;
  font-weight: bold;
  font-family: "typo", serif;
}

form {
  background-color:  #68d373;
  border-radius: 25px;
  padding: 10px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  width: 500px;
}
form label {
  color: black;
}
form #nom, form #mdp, form #mail, form #pseudo, form #password {
  width: 470px;
  margin-left: 10px;
  margin-right: 10px;
  height: 30px;
}

form, .text {
  font-family: "typo", serif;
  text-align: center;
}

.text {
  font-size: 1.5em;
}

#sendConnect:hover, #send:hover {
  color: #ebc600;
}

#presentation {
  margin-bottom: 50px;
}
#presentation p {
  text-align: center;
  font-family: "roboto", serif;
  font-size: 2em;
}
#presentation h2 {
  font-family: "Lustria", serif;
  font-weight: bold;
  text-align: center;
  font-size: 3em;
}
#presentation #map {
  height: 500px;
  width: 99%;
  border: 5px solid #68d373;
  border-radius: 25px;
}

#p2{
   text-align: center;
  font-family: "roboto", serif;
  font-size: 2em;
 
}

.act{
  margin-top: 100px;
  margin-bottom: 100px;
   background-color: #F3F7ED;
   border-bottom: 10px solid #68d373;
   border-radius: 5px 5px;
   

}

.act1{
   text-align: right;
  font-family: "roboto", serif;
  font-size: 1.1em;
 
}

table{
  border: 5px solid black;
font-family: "roboto";
position: relative;
bottom: 90px;
}

th{
  font-family: "typo";
  color:  #68d373;
    border: 5px solid black;
}

tr{
  border: 5px solid black;
}

td{
  text-align: center;
}


.carousel #txt {
  font-family: "";
  font-size: 1em;
  text-align: center;
  position: relative;
  bottom: 300px;
  color: black;
}
.carousel #image {
  border: 5px solid black;
}

table {
  border-collapse: collapse;
  width: 55%;
  margin: auto;
}

td {
  border: 5px solid black;
}

#newTitle, #content {
  font-family: "Square Peg", cursive;
  text-align: center;
  font-size: 2em;
}

#newTitle {
  font-size: 4em;
}

.deleteChap {
  float: right;
}

.updateChap {
  float: left;
}

a {
  text-decoration: none;
}

.boutonControle, .boutonStopPlay {
  display: flex;
  justify-content: space-around;
  position: relative;
  bottom: 300px;
}

footer {
  display: flex;
  justify-content: space-around;
 
 
}
footer #logo, footer #twt, footer #fb, footer #inst {
  width: 300px;
  height: 120px;
}

.divide{
  margin-top: 100px;
  margin-bottom: 100px;
}

#cloud{
  width: 50px;
  height: 50px;
display: block;
      margin: 0 auto;
      position: relative;
      bottom: 42px;
}

hr{
  height: 3px;
  width: 140px;
  background-color: black;
}

.deleteChap, .updateChap {
  display: none;
  font-family: "Lustria", serif;
}


.act{
  display: flex;
  justify-content: space-around;
}

@media all and (min-width: 320px) and (max-width: 499px) {

  body {
  margin: 0;
  padding: 0;
}

.sp1{
  display: none;
}

  header .logo2:hover {
  animation-name: none;
 
}
  h1 {
    font-size: 3em;
  }
  header {
    display: flex;
    justify-content: space-between;
   
}


  
  header ul {
    flex-direction: column;
    gap: 10px;
  }
  header ul #burger {
    position: relative;
    bottom: 20px;
    left: 10px;
  }
  header a {
    font-size: 8px;
  
    position: relative;
right: 10px;
    bottom: 40px;
    
  }
  header a li {
    margin: 0;
  }
  
  
  header nav {
    display: none;
  }

  #burger{
    display: block;
  }
  
 
  #banner{
    width: 100%;
    height: 400px;
  }

  form{
    width: 100%;
  }

  form #nom, form #mdp, form #mail, form #pseudo, form #password {
  width: auto;

  }
  form textarea {
    width: 100%;
  }

  

#logo2{
  position: relative;
  left: 50px;
}

.act{
  flex-direction: column;
}



  footer{
  flex-direction: column;
  }

}

@media all and (min-width: 500px) and (max-width: 768px) {
  ul {
    flex-direction: column;
    font-size: 10px;
  }

#pseudo{
  width: auto;
}


  nav {
    position: relative;
    bottom: 43px;
    display: none;
  }
  #burger {
    display: block;
    position: relative;
    top: 20px;
    right: 100px;
  }
  header {
    width: 100%;
  }
  
  footer{
    flex-wrap: wrap;
  }
 
 
}

