@import url("https://use.typekit.net/avi3owe.css");

*{
  margin: 0;
  align-items: center;
  text-align: center;
  scroll-behavior: smooth;
}

body{
    font-family: "futura-100", sans-serif;
}

h1{
  margin: 20px;
}

#herosection h1{
  color: white;
  margin: 50px;
}

a{
  border-radius: 10px;
  padding: 10px;
  font-family: "futura-100", sans-serif;
  color: white;
  text-decoration: none;
  background-color: rgb(0, 217, 255);
  margin-bottom: 20px;
}

a:hover{
  text-decoration: underline;
}

.nav a {
  color: rgb(0, 0, 0);
  margin-left: 25px;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav a:hover {
  color: #00bfff;
}

header a{
  background-color: white;
  margin: 0;
}

header{
  border-radius: 0px 0px 20px;
  background-color: white;
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
}

.main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#logo{
  height: 80px;
  width: auto;
}

#herosection{
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
  height: 540px;
  background: url(./asset/backgroundsection1.jpg) center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 0px 0px 60px 60px;
}

button{
  margin: 20px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  width: 100%;
  border-radius: 10px;
  border: 0;
  background-color: rgba(0, 0, 0, 0.783);
  color: rgb(255, 255, 255);
  font-family: "futura-100", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 20pt;
}

button:hover{
  padding: 24px;
  background-color: rgba(0, 0, 0, 0.765);
}

.image-container{
 text-align: center;
 padding: 20px;
}

#image{
  height: 400px;
  width: auto;
  border-radius: 10px;
}

.flex{
  text-align: center;
  justify-content: center;
  display: flex;
}

#shopping{
  display: grid;
  justify-content: center;
}

#achete {
  border: 2px black solid;
  width: 100%;
  padding: 20px;
  cursor: pointer;
  border-radius: 10px;
  animation: underlineBlink 1s infinite;
}

#achete:hover{
  background: rgb(209, 209, 209);
}

#achete:focus { color: #cccccc; }

@keyframes underlineBlink {
  0% {
    text-decoration: none;
  }
  50% {
    text-decoration: underline;
  }
  100% {
    text-decoration: none;
  }
  }

button:hover {
  opacity: 0.85;
}

#formStatus {
  color: white;
  margin-top: 10px;
  text-align: center;
}

#midsection {
  padding: 40px 20px;
  background-color: #14b4e0; /* suit le style sombre déjà utilisé */
  color: white;
  text-align: center;
  border-radius: 20px;
  margin: 30px 0;
}

#midsection h2 {
  margin: 20px 0;
  font-family: "futura-100", sans-serif;
}

#midsection p {
  margin: 10px 0;
}

#midsection .mid-features {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

#midsection .feature {
  background-color: rgba(0, 0, 0, 0.256); /* comme tes boutons */
  padding: 15px;
  border-radius: 10px;
  flex: 1;
  max-width: 200px;
  font-family: "futura-100", sans-serif;
  font-weight: 700;
}

.image{
  width: 200px;
}