/*Imports*/
@import url("https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:ital,wght@0,400;0,700;1,400;1,700&family=Caveat:wght@400..700&family=Dancing+Script:wght@400..700&family=IBM+Plex+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

/*Reset*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  max-width: 50px;
  height: auto;
}

body {
  width: 100%;
  height: 100vh;
  overflow-x: hidden;
  overflow-y: hidden;
  color: white;
  background-image: linear-gradient(#22c1c3, #fdbb2d);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 25px 25px;
}

body .title {
  width: 100%;
  text-align: center;
  font-size: 4rem;
  font-family: Montserrat;
}

body .pText {
  width: 80%;
  margin-top: 30px;
  text-align: center;
  font-size: 1.5rem;
  font-family: Montserrat;
}

body form {
  width: 100%;
  height: auto;
  margin-top: 30px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  padding: 45px 45px;
}

body form .dayBox {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

body form .dayBox label {
  font-size: 0.9rem;
  font-family: Montserrat;
}

body form .dayBox input[type="number"] {
  width: 100px;
  height: 30px;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  font-family: Montserrat;
  color: #31c1b9;
  padding-inline: 10px;
}

body .submit {
  margin-top: 60px;
  width: 120px;
  height: 40px;
  padding: 1.5rem 3.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 6px;
  border: none;
  font-size: 1rem;
  font-family: Montserrat;
  transform: scale(1);
  transition: color 0.3s, background-color 0.3s, transform 0.3s;
  background-color: #d3d3d3;
  cursor: not-allowed;
}

body .submit:not(:disabled):hover {
  background-color: #20b356;
  cursor: pointer;
  color: white;
  transform: scale(1.1);
}

body .submit:disabled {
  background-color: #d3d3d3;
  cursor: not-allowed;
  transform: scale(1);
}

/*Responsive*/

@media screen and (max-width: 970px) {
  body .titre {
    font-size: 3rem;
  }

  body .pText {
    font-size: 1.2rem;
  }

  body form {
    flex-wrap: wrap;
  }

  body form .dayBox input[type="number"] {
    width: 80px;
    height: 25px;
    font-size: 0.9rem;
  }

  body .submit {
    width: 100px;
    height: 30px;
    padding: 1rem 2.5rem;
    font-size: 0.9rem;
  }
}

@media screen and (max-width: 500px) {
  body {
    height: auto;
    overflow: auto;
  }
  body .title {
    font-size: 2.5rem;
  }

  body .pText {
    font-size: 1rem;
  }

  body form {
    padding: 25px 25px;
    flex-direction: column;
  }

  body form .dayBox {
    width: 100%;
  }

  body form .dayBox input[type="number"] {
    width: 50%;
    height: 40px;
    font-size: 0.8rem;
  }

  body .submit {
    width: 80px;
    height: 25px;
    padding: 1rem 2rem;
    font-size: 0.8rem;
  }
}
