@charset "UTF-8";
@font-face {
  font-family: "Tangerine";
  src: url("../fonts/Tangerine/Tangerine-Regular.ttf");
}
@font-face {
  font-family: "Gelasio";
  src: url("../fonts/Gelasio/Gelasio-VariableFont_wght.ttf");
}
#name {
  font-family: "Tangerine", sans-serif;
  font-size: 5rem;
  margin-top: 0;
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.nav-item {
  font-family: "Gelasio";
  text-align: center;
  margin-top: 0;
  margin-bottom: auto;
  padding: 1rem;
}

.nav-item a:hover {
  color: #fc5ab9;
}

.nav-active-link,
.nav-active-link:visited {
  color: #fc5ab9;
}

.nav-active-link:hover {
  color: #fc2aa5;
}

@media screen and (min-width: 601px) {
  nav ul {
    flex-direction: row;
  }
  .nav-item {
    margin-top: 3rem;
  }
}
@font-face {
  font-family: "Gelasio";
  src: url("../fonts/Gelasio/Gelasio-VariableFont_wght.ttf");
}
.card * {
  font-family: "Gelasio";
}

.cards-list {
  border-top: 0.25rem solid #333333;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2vw;
  padding: 1rem;
}

.card {
  border: 0.1rem solid rgba(230, 230, 230, 0.41);
  border-radius: 0.5rem;
  overflow: hidden;
  background-color: rgba(230, 230, 230, 0.4);
  transition: box-shadow 200ms ease-in-out;
  transition: background-color 200ms ease-in-out;
  height: 100%;
}

.card > a {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover {
  box-shadow: 0 0 2rem rgba(0, 0, 0, 0.15);
  background-color: rgba(230, 230, 230, 0.15);
  transition: box-shadow 200ms ease-in-out;
  transition: background-color 200ms ease-in-out;
}

.card img {
  width: 100%;
  padding: 0;
  margin: 0;
}

.card h1 {
  font-size: 1.5rem;
  font-weight: 600;
}

.card-title {
  padding: 0.5rem 1rem 0.5rem 1rem;
  margin: 0;
  border-bottom: 0.1rem solid rgba(230, 230, 230, 0.41);
}

.card-footer {
  padding: 0.5rem 1rem 0.5rem 1rem;
  margin: 0;
  margin-top: auto;
  border-top: 0.1rem solid rgba(230, 230, 230, 0.41);
}

.card-content {
  padding-left: 1rem;
  padding-right: 1rem;
  flex: 1;
}

@media screen and (min-width: 601px) {
  .cards-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch;
  }
}
@media screen and (min-width: 1200px) {
  .cards-list {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (min-width: 2000px) {
  .cards-list {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media screen and (min-width: 2500px) {
  .cards-list {
    grid-template-columns: repeat(5, 1fr);
  }
}
@media screen and (min-width: 3000px) {
  .cards-list {
    grid-template-columns: repeat(6, 1fr);
  }
}
@media screen and (min-width: 3500px) {
  .cards-list {
    grid-template-columns: repeat(7, 1fr);
  }
}
@media screen and (min-width: 4000px) {
  .cards-list {
    grid-template-columns: repeat(8, 1fr);
  }
}
@media screen and (min-width: 4500px) {
  .cards-list {
    grid-template-columns: repeat(9, 1fr);
  }
}
@media screen and (min-width: 5000px) {
  .cards-list {
    grid-template-columns: repeat(10, 1fr);
  }
}
.article-container {
  border: 0.15rem solid rgba(230, 230, 230, 0.41);
  margin-top: 1rem;
  margin-right: 1rem;
  margin-left: 1rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  border-radius: 0.5rem;
  background-color: rgba(230, 230, 230, 0.4);
  text-align: justify;
}

.article-container img {
  max-width: 100%;
  height: auto;
  border-radius: 1em;
}

.article-container a,
.article-container a:visited {
  color: #fc5ab9;
}

.article-container a:hover {
  color: #fc2aa5;
  text-decoration: underline;
}

@media screen and (min-width: 1200px) {
  .article-container img {
    max-width: 100%;
  }
  .article-container {
    margin-right: 23rem;
    margin-left: 23rem;
  }
}
@media screen and (min-width: 1800px) {
  .article-container {
    margin-right: 35rem;
    margin-left: 35rem;
  }
}
@media screen and (min-width: 3000px) {
  .article-container {
    margin-right: 55rem;
    margin-left: 55rem;
  }
}
@media screen and (min-width: 3800px) {
  .article-container {
    margin-right: 75rem;
    margin-left: 75rem;
  }
}
@font-face {
  font-family: "Tangerine";
  src: url("../fonts/Tangerine/Tangerine-Regular.ttf");
}
footer p {
  text-align: center;
}

footer a,
footer a:visited {
  color: #333333;
}

footer a:hover {
  color: #fc2aa5;
  text-decoration: underline;
}

footer {
  margin-top: 10rem;
}

footer ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.footer-item {
  text-align: center;
  margin-top: 0;
  margin-bottom: auto;
  padding: 1rem;
}

.footer-item a:hover {
  color: #fc5ab9;
}

@media screen and (min-width: 601px) {
  footer ul {
    flex-direction: row;
  }
  .footer-item {
    margin-top: 3rem;
  }
}
@font-face {
  font-family: "Gelasio";
  src: url("../fonts/Gelasio/Gelasio-VariableFont_wght.ttf");
}
@font-face {
  font-family: "Cormorant";
  src: url("../fonts/Cormorant/Cormorant-VariableFont_wght.ttf");
}
::selection {
  background: #fc5ab9;
}

body {
  font-family: "Gelasio", sans-serif;
  margin: 0;
  background: #2c2c2c;
  background-image: linear-gradient(-225deg, #b6cee8 0%, #f578dc 100%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #333333;
}

a,
a:visited {
  color: #333333;
  text-decoration: none;
}

.section-title {
  font-family: "Cormorant", sans-serif;
  font-size: 3em;
  text-align: center;
  margin: 0;
}

.drawing-me {
  display: block;
  margin: auto;
  width: 50%;
  padding: 0;
}

.drawing-credit {
  text-align: center;
  color: rgba(230, 230, 230, 0.25);
}

pre,
code {
  border-radius: 0.5rem;
  max-width: 100%;
  overflow-x: auto; /* Ajoute la barre de défilement si besoin */
  display: block; /* Force le bloc de code à respecter la largeur */
}

@media screen and (min-width: 601px) {
  .section-title {
    margin-left: 2rem;
    font-size: 6em;
  }
}
@media screen and (min-width: 1200px) {
  .section-title {
    margin-left: 2rem;
    font-size: 6em;
  }
  .drawing-me {
    width: 20%;
  }
}

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