@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;900&display=swap');

/* Font par défaut */

* {
  font-family: 'Poppins', sans-serif;
}

/* Bouton par défaut */
input[type="submit"], input[type="button"] {
  background-color: #f0f0f0;
  color: #000;
  border: 1px solid black;
  cursor: pointer;
}

button, a {
  cursor: pointer;
}

/* Variable CSS pour les couleurs */
:root {
  --main-red-color-light: #F66;
  --main-red-color: #FA434B;
  --main-color: #000;
  --secondary-color: #fff;
  --gray-color: #86837F;
  --light-gray-color: #c7c4bf;
  --lighter-gray-color: #E2E2E2;
  --navbar-height: 70px;
}

/* Code pour le symbole de chargement */
.spinner {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: radial-gradient(farthest-side,var(--main-red-color) 94%,#0000) top/4px 4px no-repeat, conic-gradient(#0000 30%, var(--main-red-color));
  -webkit-mask: radial-gradient(farthest-side, #0000 calc(100% - 4px), #000 0);
  animation: spinner-c7wet2 1s infinite linear;
}

@keyframes spinner-c7wet2 {
  100% {
    transform: rotate(1turn);
  }
}

/* Mise en place du footer */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

footer {
  margin-top: auto;
}

/* Règles générales CSS */

.root {
  min-height: calc(100vh - var(--navbar-height));
}

.rounded {
  border-radius: 10px;
}

.unselectable {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.main-button {
  background-color: var(--main-red-color) !important;
  color: var(--secondary-color) !important;
  padding: 5px 15px;
  cursor: pointer;
  transition: background-color .5s ease;
}

.main-button:hover {
  background-color: var(--main-red-color-light) !important;
}

.container {
  display: flex;
}

.centered {
  text-align: center;
}

.main-title {
  font-size: 48px;
  font-weight: bold;
}

.sub-title {
  font-size: 32px;
  font-weight: 500;
}

.category-title {
  font-size: 36px;
  font-weight: 700;
}

.text {
  font-size: 20px;
}

.icon-button {
  display: flex;
  background-color: unset;
  border: 0;
  padding: 10px 2rem;
  border-radius: 30px;
  font-size: 20px;
  gap: 15px;
}

.square-input {
  display: flex;
  position: relative;
  flex-direction: column;
  gap: 10px;
}

.square-input .sub-title {
  font-size: 20px;
}

.square-input input, .square-input textarea {
  padding: 10px;
  font-size: 18px;
  outline: 0;
}

@media screen and (max-width: 700px) {
  .main-title {
    font-size: 24px;
  }

  .sub-title, .text, .square-input .sub-title {
    font-size: 16px;
  }
}

@media screen and (max-width: 480px) {
  .root {
    margin: -1rem;
  }
  .square-input input, .square-input textarea {
    padding: 5px;
    font-size: 12px;
  }

  .square-input {
    gap: 2px;
  }
}

.gray {
  color: var(--gray-color);
}

.grecaptcha-badge {
  visibility: hidden;
}