*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  position: relative;
}
a{
  text-decoration: none;
  color: black;
}
body{
  background-color: #f3f3d9;
  font-family: Calibri, Georgia, serif;
  font-size: 20px;
}
header{
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 20px;
  align-items: center;
  font-size: large;
  position: fixed;
  z-index: 10;
  backdrop-filter: blur(10px);
}
header div{
  font-size: 22px;
}
header nav{
  width: 50%;
}
header ul{
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: right;
  align-items: center;
  list-style: none;
}
header ul li{
  padding: 10px;
  margin: 0 10px;
  border-bottom: 1px solid #ca6533;
}
main{
  width: 100%;
}
section{
  width: 100%;
  min-height: 100vh;
}
#hero{
  width: 100%;
  display: flex;
  height: 100vh;
  align-items: center;
  justify-content: center;
  position: relative;
}
#hero h1{
  font-size: 2em;
  margin: 20px auto;
  text-align: center;
  font-family: Segoe UI, Tahoma, Geneva, Verdana, sans-serif;
}
#hero p{
  color: #555555;
  font-size: larger;
  text-align: center;
}
.hero-container{
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100%;
  justify-content: center;
  align-items: center;
}
#hero a{
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 60px;
  background: #ca6533;
  border-radius: 10px;
  color: #fff;
  margin: 20px;
}
.hero-buttons{
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 40px;
}
#about{
  display: flex;
  background-color: #f7f7ea;
  width: 100%;
  background: #f7f7ea;
  background: linear-gradient(160deg, rgb(247, 247, 234) 0%, rgb(247, 247, 234) 60%, rgb(119, 30, 30) 60%, rgb(70, 96, 136) 100%);
}
.about-container{
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 50px;
}
#about h2{
  width: 100%;
  text-align: left;
  margin-bottom: 20px;
}
.about-img{
  display: flex;
  width: 50%;
  padding: 50px;
}
.about-img img{
  width: 100%;
  object-fit: contain;
}
#tarifs{
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: center;
  align-items: center;
}
#tarifs h2{
  width: 100%;
  font-size: 2em;
  text-align: center;
  margin-bottom: 20px;
}
#tarifs > p{
  width: 100%;
  text-align: center;
  margin-bottom: 50px;
}
#prices{
  display: flex;
  width: 100%;
  padding: 20px;
}
#prices > ul{
  display: flex;
  width: 100%;
  justify-content: space-between;
  list-style-type: none;
}
.card{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 30%;
  list-style-type: none;
  background-color: #ca6533;
  color:#f3f3d9;
  padding: 20px;
  border-radius: 10px;
  transition: all 0.3s;
}
.card:hover{
  transform: scale(1.1);
}
.card ul{
  list-style-type: none;
}
.contact-container{
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.contact-container h2{
  width: 100%;
  margin-left: 40px;
  font-size: 2em;
}
hr{
  width: 60%;
  border: 2px solid #ca6533
}
.form-container{
  width: 100%;
  display: flex;
}
.form-container img{
  width: 50%;
  object-fit: contain;
}
form{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  padding: 20px;
}
input{
  display: flex;
  box-sizing: border-box;
  height: 40px;
  width: 100%;
  border-radius: 20px;
  border: none;
  outline: none;
  padding: 20px;
}
input:focus{
  box-shadow: 0px 0px 5px 1px #ca6533;
}
textarea{
  outline: none;
  border: none;
  resize: none;
  width: 100%;
  padding: 20px;
  height: 200px;
  border-radius: 20px;
}
textarea:focus{
  box-shadow: 0px 0px 5px 1px #ca6533;
}
button{
  border: none;
  width: 200px;
  height: 50px;
  background-color: #ca6533;
  color: #f3f3d9;
  font-size: 1em;
  border-radius: 25px;
}
footer{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background: linear-gradient(#555555, #ca6533);
  color: #f3f3d9;
}

@media all and (width < 600px){
  #about{
    flex-direction: column;
    margin: 0 auto;
  }
  .about-container{
    width: 100%;
  }
  .about-img{
    width: 100%;
  }
  #prices ul{
    flex-direction: column;
    gap: 20px;
  }
  .card{
    width: 100%;
  }
  .form-container img{
    display: none;
  }
}