/*FONTS*/
/*BACKGROUND*/
/*TEXT*/
/* MIXIN */
html {
  scroll-behavior: smooth;
}

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

body {
  background-color: rgb(19, 19, 37);
}

span, p {
  color: white;
  font-family: "Montserrat";
  font-size: 1.5rem;
}

ul {
  list-style-type: disc;
  color: white;
}

.w-95 {
  width: 95%;
}

.w-80 {
  width: 80%;
}

.error {
  color: #b10909;
  font-family: "Montserrat";
  font-size: 1rem;
  font-weight: bold;
}
@media screen and (max-width: 768px) {
  .error {
    font-size: 0.7rem;
  }
}

/* HEADER */
.main {
  margin-top: 3.1rem;
  margin-inline: auto;
}

.mobile-message {
  color: white;
  font-family: "Montserrat";
  font-size: 1rem;
  font-weight: bold;
}

.home-h1 {
  margin-bottom: -2.5rem;
  color: white;
  text-align: center;
  font-family: "Montserrat";
  font-size: 2em;
  font-weight: 500;
}

.home-section-map svg {
  transform: perspective(75rem) rotateX(30deg) translateX(-5rem);
  filter: drop-shadow(0rem 0.3rem 0rem #039d10);
  margin-bottom: 3.1rem;
  width: 100%;
  height: 100%;
}

/* Grid principale */
.home-div-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  width: 100%;
  height: 80vh;
  gap: 1.8rem;
}

/* liens dans la grille */
.home-a-nav {
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: #131325;
  border: solid 0.3rem #131325;
  border-radius: 1.5rem;
  box-shadow: black -0.6rem 0.5rem;
  cursor: pointer;
  background-color: #04FF00;
  width: 100%;
  height: 100%;
  transition: transform 0.5s;
}
.home-a-nav:hover {
  transform: scale(1.03);
}

/* TUTO */
.home-a-nav:first-of-type {
  grid-row: 1/2;
  grid-column: 1/3;
}

/* QUIZ */
.home-a-nav:nth-of-type(2) {
  grid-row: 2/3;
  grid-column: 1/2;
}

/* FORUM */
.home-a-nav:nth-of-type(3) {
  grid-row: 2/3;
  grid-column: 2/3;
}

/* QUIZ/FORUM text */
.home-a-p {
  color: #131325;
  padding-left: 6.25rem;
  z-index: 2000;
  position: relative;
  font-family: "Montserrat";
  font-size: 6rem;
  font-weight: 900;
}

.soon {
  color: red;
  z-index: 2000;
  font-family: "Montserrat";
  font-size: 3rem;
  font-weight: 900;
}

/* TUTO text */
.home-a-nav:first-of-type .home-a-p {
  font-size: 10rem;
}

/* Figures dans les liens */
.home-img {
  position: absolute;
}

/* img dans TUTO */
.home-a-nav:first-of-type .home-img {
  transform: rotate(-30deg);
  width: 40%;
  top: -10%;
  right: 10%;
}

/* img dans QUIZ */
.home-a-nav:nth-of-type(2) .home-img {
  transform: rotate(-20deg);
  width: 45%;
  top: 3%;
  right: -5%;
}

/* img dans FORUM */
.home-a-nav:nth-of-type(3) .home-img {
  transform: rotate(5deg);
  width: 55%;
  top: -5%;
  right: 15%;
  z-index: 1000;
}

@media screen and (max-width: 768px) {
  .home-div-grid {
    display: flex;
    flex-direction: column;
    height: auto;
  }
  .home-a-nav {
    width: 100%;
    height: 15vh;
  }
  .home-a-p {
    font-size: 3rem;
    padding-left: 2rem;
  }
  .home-a-nav:first-of-type .home-a-p {
    font-size: 3rem;
  }
  .soon {
    font-size: 1.5rem;
  }
  .home-a-nav:first-of-type .home-img {
    width: 50%;
    top: 1%;
    right: 10%;
  }
  .home-a-nav:nth-of-type(2) .home-img {
    width: 40%;
    top: 5%;
    right: 10%;
  }
  .home-a-nav:nth-of-type(3) .home-img {
    width: 50%;
    top: 1%;
    right: 5%;
  }
}
/*.mobile-message
.home-h1
.home-section-map
.home-a-nav
.home-a-p
.soon*/

/*# sourceMappingURL=home.css.map */
