* {
  margin: 0;
  padding: 0;
}

body {
  background-color: #d9d9cd;
}

/* Police*/
h1 {
  font-family: "Comfortaa", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

h2 {
  margin-bottom: 1rem;
  font-family: "Karma", serif;
  font-weight: 700;
  font-style: normal;
}

h3 {
  font-family: "Karma", serif;
  font-weight: 700;
  font-style: normal;
}

p,
a {
  font-family: "Lustria", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 0.9rem;
}

a {
  text-decoration: none;
  color: rgb(72, 146, 33);
  transition: all 0.3s ease;
}

/* NAVBAR ET HEADER*/
#nav_mobile {
  display: none;
}

#navbar {
  background-color: rgb(4, 39, 17);
  border-bottom: 2px solid hsla(0, 0%, 100%, 0.5);

  display: flex;
  position: fixed;
  width: 100%;
  z-index: 2;

  /*Partie logo du header */
  #header {
    display: flex;
    width: 100%;
    justify-content: space-between;
    margin: 0 1rem;
    align-items: center;
    padding-top: 1rem;

    /*a {
            color: rgb(204, 250, 212);
        }*/

    .logo img {
      width: 150px;
    }

    ul {
      display: flex;

      #page_actuelle {
        text-decoration: underline rgb(204, 250, 212) 2px;
      }

      li {
        list-style: none;
        margin: 0 1rem;

        a:hover {
          border: 1px solid beige;
          border-radius: 15px;
          background-color: beige;
          padding: 0.8rem;
        }
      }
    }
  }
}

/* Hero Section: ABOUT */
main {
  display: flex;
  flex-direction: column;

  section {
    padding: 0rem 5rem 2rem 5rem;
  }

  #hero {
    display: flex;
    max-width: 2400px;
    height: auto;
    background-color: rgb(37, 44, 36);

    .container {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      box-sizing: border-box;
      width: 100%;
      height: auto;
      margin: 0 auto;
      padding: 10rem 5rem 5rem 5rem;
    }
  }

  .about {
    color: rgb(204, 250, 212);
    margin-top: 1rem;

    p {
      margin-bottom: 1rem;
      gap: 5px;
    }
  }

  a:hover {
    text-decoration: underline;
  }

  .hello {
    display: flex;
    flex-direction: column;
    background-color: hsla(123, 53%, 45%, 0.8);

    border-radius: 15px;
    padding: 20px;
    gap: 1rem;

    img {
      width: 150px;
    }
  }
}

/* ________________________________ */
/* Vampire Survivors*/

#VS {
  display: flex;
  flex-direction: column;
  background-color: rgb(147, 170, 145);
  padding: 5rem;

  a:hover {
    border: 1px solid #ccb771;
    border-radius: 15px;
    background-color: #ccb771;
    text-decoration: none;
  }
}

.row {
  display: flex;
  gap: 2rem;
}

.col {
  justify-content: space-around;
  display: flex;
}

.col_2 {
  flex-direction: column;
  gap: 15px;
}

.btn_group {
  display: flex;
  flex-wrap: no-wrap;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.btn {
  border: 1px solid beige;
  background-color: beige;
  border-radius: 15px;
  padding: 1rem;
  display: block;
  text-align: center;
}

.btn:hover {
  cursor: pointer;
}

.btn_imp {
  color: beige;
  background-color: rgb(72, 146, 33);
}

/* ________________________________ */
/* News */
#news {
  h2 {
    padding: 2rem 0 0 2rem;
    color: black;
  }

  color: beige;
}

.news-list {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;

  .news-item {
    border-radius: 25px;

    background-color: rgb(179, 174, 101);
    border: 1px solid rgb(174, 240, 157);
    background-color: rgb(49, 48, 48);
    width: 250px;
    height: auto;
    box-shadow: 5px 10px 15px rgba(47, 51, 49, 0.137);
    list-style: none;
    padding: 1rem;
    margin: 2rem;
    display: flex;
    flex-direction: column;
    gap: 5px;

    a {
      color: rgb(174, 240, 157);
    }
  }
}

#contact {
  font-family: "Comfortaa", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  position: absolute;
  right: 0.5rem;
  top: 16rem;
  rotate: 90deg;
  transition: all 0.3s ease;
  padding: 2rem;

  a:hover {
    background-color: #ccb771;
  }
}

#contact:hover {
  rotate: 300deg;
}

#contact-mobile {
  font-family: "Comfortaa", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  font-style: normal;
  margin-top: 2rem;
  transition: all 0.3s ease;
  display: none;

  a:hover {
    background-color: #ccb771;
  }
}

#remonte_page {
  display: flex;

  img {
    width: 30px;
    position: fixed;
    bottom: 70px;
    right: 20px;
  }
}

/* Footer */
footer {
  display: flex;
  justify-content: space-between;
  padding: 1rem 2rem 0.5rem 2rem;
  border: 1px solid hsla(0, 0%, 100%, 0.5);

  #footer {
    justify-content: left;
  }

  #RS {
    display: flex;
    gap: 0.7rem;

    img {
      width: 25px;
    }
  }
}

/* MEDIA SCREEN - BREAKPOINTS */

@media screen and (max-width: 950px) {
  #VS {
    display: flex;
    flex-direction: column;

    .row {
      flex-direction: column;
    }
  }
}

@media screen and (max-width: 560px) {
  nav {
    display: none;
  }

  #nav_mobile {
    display: block;
    font-size: xx-large;
    font-weight: 900;

    a {
      font-size: xx-large;
    }
  }

  main section {
    padding: 0rem 0rem 0rem 0rem;
  }

  #news h2 {
    text-align: center;
  }

  #VS {
    padding: 2rem;
  }

  .youtube {
    min-width: 250px;
  }

  #contact {
    display: none;
  }

  #contact-mobile {
    display: block;
  }
}