@charset "UTF-8";
html {
  scroll-behavior: smooth;
}

img {
  width: 100%;
}

body {
  font-family: "Figtree", sans-serif;
  font-size: clamp(1rem, 0.9318rem + 0.3636vw, 1.25rem);
  line-height: 1.5;
  color: #CABAD3;
  background-color: #2B2626;
  max-width: 1500px;
  margin: 0 auto;
}

header {
  display: flex;
  justify-content: center;
  flex-direction: row;
  gap: 15px;
  width: 100%;
  padding-top: 50px;
  line-height: 160%;
}
header img {
  width: clamp(35px, 17.5px + 4.375vw, 70px);
  align-self: start;
}
header h1 {
  color: #7D6DF7;
  font-family: "gnar", sans-serif;
  line-height: 80%;
  font-size: clamp(3.625rem, 2.9554rem + 2.1429vw, 4.5625rem);
  text-align: center;
  margin: 0;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-left: -10px;
}
header h1 span {
  display: block;
  width: 12ch;
  font-size: clamp(2.75rem, 2.2589rem + 1.5714vw, 3.4375rem);
  margin-left: 40%;
}

main {
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin: 100px 5%;
}
main img {
  border-radius: 10px;
}
@media (min-width) {
  main {
    margin: 50px auto;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
  }
}
@media (min-width: 1100px) {
  main {
    margin: 50px 150px;
    display: grid;
    grid-template-columns: repeat(9, 1fr);
  }
}

section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  justify-content: center;
  align-self: center;
}
section h2 {
  font-family: "Diphylleia", serif;
  margin-bottom: 0;
  text-align: center;
  font-size: clamp(2.1875rem, 1.9625rem + 0.9vw, 2.75rem);
}
section .st1, section h3 {
  font-family: "Diphylleia", serif;
  margin: 50px 0 0;
  text-align: left;
  font-size: clamp(1.5625rem, 1.4125rem + 0.6vw, 1.9375rem);
}
section span {
  font-size: clamp(1.25rem, 1.125rem + 0.5vw, 1.5625rem);
  font-weight: bold;
}
section p, section ul {
  max-width: 50ch;
}
section a {
  color: #F435FA;
  text-decoration: none;
  transition: color 0.3s ease;
}
section a:hover {
  color: rgba(136, 243, 255, 0.8392156863);
}
section h4 {
  font-size: clamp(1.375rem, 1.225rem + 0.6vw, 1.75rem);
  font-family: "Diphylleia", serif;
  margin: 0;
  text-align: center;
}

.grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  list-style: none;
  width: 100%;
  padding: 0;
}
.grid p {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  display: flex;
  margin: 20px auto;
  max-width: 45ch;
}
@media (min-width: 1100px) {
  .grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    -moz-column-gap: 30px;
         column-gap: 30px;
    row-gap: 40px;
    padding: 0;
    min-width: 100%;
  }
  .grid__1 {
    grid-column: 1/3;
  }
  .grid__2 {
    grid-column: 3/5;
  }
  .grid__3 {
    grid-column: 2/4;
  }
}

.intro, .ideation {
  grid-column: 3/8;
}

.forme {
  grid-column: 2/9;
}
.forme p {
  max-width: 60ch;
}

.accueil__img {
  border-bottom: 5px solid #CABAD3;
  border-left: 10px double #CABAD3;
  border-right: 5px solid #CABAD3;
  border-top: 15px double #CABAD3;
  border-radius: 10px;
}

.code {
  grid-column: 2/9;
}
@media (min-width: 1100px) {
  .code {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    -moz-column-gap: 30px;
         column-gap: 30px;
    row-gap: 40px;
  }
  .code h2, .code .intro {
    grid-column: 1/3;
    margin: 5px auto;
    max-width: 35ch;
  }
}

footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 50px 20px 20px 20px;
}
footer a {
  color: #CABAD3;
  text-decoration: none;
  transition: color 0.3s ease;
}
footer a:hover {
  color: #F435FA;
}
@media (min-width: 768px) {
  footer {
    flex-direction: row;
    justify-content: space-between;
    padding: 50px 5% 20px 5%;
    align-items: center;
  }
  footer small {
    margin: 0;
    align-self: end;
  }
}

.contact {
  display: flex;
  list-style: none;
  padding: 0;
  justify-content: center;
  margin: 0;
}
.contact li {
  margin: 0 10px;
}
.contact svg {
  width: 25px;
  fill: #CABAD3;
}
.contact svg:hover {
  fill: #7D6DF7;
}

.btn__top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  display: none;
  z-index: 1000;
}
.btn__top svg {
  width: clamp(2.5rem, 1.5rem + 4vw, 5rem);
  height: auto;
  fill: #CABAD3;
  transition: 0.3s ease;
}
.btn__top svg:hover {
  fill: #7D6DF7;
  -webkit-animation: pulse 0.6s ease infinite;
          animation: pulse 0.6s ease infinite;
}
.btn__top.show {
  display: block;
}

@-webkit-keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
.fonts {
  list-style: none;
  gap: 10px;
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 10px auto;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}
@media (min-width: 1100px) {
  .fonts {
    flex-direction: row;
    justify-content: center;
  }
}

.police {
  padding: 10px 20px;
  border-radius: 10px;
  border: 5px solid;
  padding: ø;
}
.police p {
  margin: 0;
}
.police--bleu {
  border-color: #41FFFF;
}
.police--orange {
  border-color: #FC530A;
}

.link__projet {
  grid-column: 1/-1;
  background-color: #7D6DF7;
  color: #2B2626;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 10px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  display: flex;
  margin: 10px auto;
  transition: 0.3s;
  font-size: clamp(1.375rem, 1.225rem + 0.6vw, 1.75rem);
}
.link__projet:hover, .link__projet:focus {
  background-color: #F435FA;
}

.credits__logo {
  transition: 0.3s;
}
.credits__logo:hover, .credits__logo:focus {
  transform: rotateY(180deg);
}

.credits__main {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin: 100px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  justify-self: center;
}
.credits__main ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-self: center;
}
.credits__main ul a {
  text-decoration: none;
  text-align: center;
  transition: 0.3s;
  color: #CABAD3;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}
.credits__main ul a:hover {
  color: #F435FA;
}
.credits__main h2 {
  text-align: center;
  font-size: clamp(2.1875rem, 1.9625rem + 0.9vw, 2.75rem);
  font-family: "Diphylleia", serif;
}
.credits__main h3 {
  font-family: "Diphylleia", serif;
  text-align: center;
  border-left: 10px double #CABAD3;
  border-top: 10px double #CABAD3;
  border-bottom: 5px solid #CABAD3;
  border-right: 5px solid #CABAD3;
  border-radius: 10px;
  margin: 0;
  padding: 10px;
  display: flex;
  align-self: center;
  width: 100%;
  justify-content: center;
  font-size: clamp(1.5625rem, 1.4125rem + 0.6vw, 1.9375rem);
}

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