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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  padding-top: 80px;
  font-size: 1rem;
  font-family: "Manrope", sans-serif;
  line-height: 1.6;
  background-color: #211d2e;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Sora", sans-serif;
}

h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  text-align: center;
}

h2 {
  font-size: clamp(1.3rem, 4vw, 1.7rem);
  padding: 0.5rem 1rem;
  width: fit-content;
  margin: 0 auto;
}

h3 {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  text-align: center;
}

h4 {
  font-size: clamp(1rem, 2vw, 1.1rem);
  text-align: center;
  width: 100%;
  border: 1px solid #2b2440;
  border-left: none;
  border-right: none;
}

.technologies {
  border: 1px solid #2b2440;
  border-left: none;
  border-right: none;
  background-color: rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
}

.tech {
  padding: 0.5rem;
  border-radius: 0.5rem;
  font-weight: bold;
}

.tech.HTML {
  background-color: #e34c26;
  color: white;
}

.tech.CSS {
  background-color: #264de4;
  color: white;
}

.tech.SCSS {
  background-color: #cd6799;
  color: white;
}

.tech.JavaScript {
  background-color: #f0db4f;
  color: black;
}

.tech.PHP {
  background-color: #4f5b93;
  color: white;
}

.tech.MySQL {
  background-color: #00758f;
  color: white;
}

.header-projet {
  position: relative;
  padding-bottom: 1rem;
}

.header-projet ::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 10%;
  height: 2px;
  background-color: #2b2440;
}

.loader {
  border: 4px solid #2b2440;
  border-top: 4px solid #171020;
  border-radius: 50%;
  width: 10px;
  height: 10px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.container {
  flex: 1 1 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  width: min(100% - 2rem, 960px);
  margin: 0 auto;
  padding: clamp(1rem, 3vw, 2rem) 0;
  gap: 1.25rem;
}
.container article {
  padding: clamp(1rem, 3vw, 1.75rem);
  border: 1px solid #7654d8;
  border-radius: 0.25rem;
  background-color: rgba(255, 255, 255, 0.03);
}
.container article h2 {
  width: 100%;
  margin: 0 0 1rem;
  padding: 0;
  text-align: left;
}

.container p,
.container li {
  overflow-wrap: anywhere;
}

.container ul {
  padding-left: 1.5rem;
}

.legal-placeholder {
  margin-top: 1rem;
  padding: 0.75rem;
}

.container a {
  color: #e4d7ff;
}
.container a:hover {
  color: rgba(228, 215, 255, 0.7);
}
.container a:focus {
  color: #22c55e;
}

.form-legal {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.hero-buttons a, .btn, header button {
  padding: 1rem;
  border: none;
}

header {
  flex: 0 1 3%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: #2b2440;
  transition: background-color 0.5s ease;
  border-radius: 2rem;
}
header.scrolled {
  background-color: transparent;
  backdrop-filter: blur(80px);
}
header.scrolled nav.active {
  background: rgba(43, 36, 64, 0.7);
  -webkit-backdrop-filter: blur(50px);
  backdrop-filter: blur(50px);
}
header button {
  flex: 1 1 5%;
  height: 100%;
  background-color: transparent;
  color: white;
  pointer-events: auto;
  cursor: pointer;
  border-radius: 0 2rem 2rem 0;
}
header nav {
  opacity: 0;
  transform: translateY(-100%);
  overflow: hidden;
  pointer-events: none;
  max-height: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
  max-height: 0.2s ease;
}
header nav.active {
  opacity: 1;
  min-height: calc(100dvh - 80px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  transform: translateY(0);
  pointer-events: auto;
  overflow: auto;
  width: 50%;
  position: fixed;
  top: 80px;
  right: 0;
  background: rgba(43, 36, 64, 0.78);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  border-radius: 0 0 0 2rem;
  box-shadow: -8px 12px 30px rgba(0, 0, 0, 0.25);
}
header nav.active > ul {
  display: flex;
  flex: 1 1 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  text-align: center;
  margin-right: 0;
}
header nav.active > ul > li {
  list-style: none;
  padding: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.1);
}
header nav.active > ul > li:hover {
  background-color: #211d2e;
}
header nav.active > ul > li a {
  text-decoration: none;
  color: white;
}
header nav.active > ul > li.scrolled {
  background-color: transparent;
  backdrop-filter: blur(10px);
}

nav > ul {
  display: none;
}

.title_header {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: stretch;
  flex: 0 1 95%;
  height: 100%;
}
.title_header .logo {
  margin-right: 1rem;
  width: 100%;
  height: 100%;
}
.title_header .logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: inherit;
}

.arrow {
  font-size: xx-small;
  margin-left: 1rem;
}

.submenu {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  background: rgba(23, 16, 32, 0.8);
  backdrop-filter: blur(10px);
  transform: translateY(-10px);
  max-height: 0;
  transition: transform 0.2s ease, opacity 0.2s ease, max-height 0.2s ease, visibility 0.2s ease;
}
.submenu.active {
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  opacity: 1;
  max-height: 100%;
  margin: 1rem 0;
}

@media (min-width: 1200px) {
  header button {
    display: none;
  }
  header nav {
    flex: 2 1 70%;
    opacity: 1;
    transform: translateY(0);
    overflow: visible;
    pointer-events: visible;
    max-height: 100%;
    transition: none;
    height: 100%;
  }
  header nav > ul {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: stretch;
    margin-right: 2rem;
    gap: 1rem;
    height: 100%;
  }
  header nav > ul > li {
    margin: auto 0;
    list-style: none;
    padding: 0.8rem;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    transform: scale(1);
    transition: transform 0.5s ease;
  }
  header nav > ul > li:hover {
    background-color: #211d2e;
    transform: scale(1.1);
  }
  header nav > ul > li a {
    text-decoration: none;
    color: white;
  }
  .title_header {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: stretch;
    flex: 1 1 30%;
  }
  .dropdown {
    position: static;
  }
  .submenu {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: #171020;
  }
  .submenu.active {
    max-height: 500px;
    margin: 0;
  }
  .submenu > li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    list-style: none;
    padding: 0.8rem;
  }
  .submenu > li:hover {
    background-color: #211d2e;
    transform: scale(1.1);
  }
}
.hero-title .section-title {
  flex: 1 1 10%;
}

.hero-title {
  padding: 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.hero-main,
.apropos-content {
  flex: 1 0 90%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
}

.hero {
  min-height: 100dvh;
  flex: 1 1 10%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  padding: 0;
  min-height: 100dvh;
  background-image: url("../media/img/hero_mobile.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
}

.a_link {
  color: #e4d7ff;
  text-decoration: none;
}

@media (min-width: 768px) {
  .hero {
    background-image: url("../media/img/hero_tablette.webp");
  }
}
@media (min-width: 1024px) {
  .hero {
    background-image: url("../media/img/hero_destop.webp");
  }
}
.over {
  flex: 1 1 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  background: rgba(0, 0, 0, 0.2);
}

.hero-description {
  flex: 1 1 80%;
  color: white;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  padding: 0 1rem;
}

.hero-buttons {
  flex: 1 1 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
}
.hero-buttons a {
  background-color: #171020;
  color: white;
  text-decoration: none;
  width: 50%;
  margin: 1rem auto;
  border-radius: 1rem;
  text-align: center;
}
.hero-buttons a:hover {
  background-color: #5f3fc4;
  color: white;
}
.hero-buttons a:focus {
  background-color: #22c55e;
}

.reseaux {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  text-align: center;
  padding: 2rem 0;
}
.reseaux span {
  margin-bottom: 0.2rem;
  width: fit-content;
  margin: 0 auto;
  text-align: center;
  display: inline-flex;
}
.reseaux span i {
  margin-right: 0.5rem;
}
.reseaux span a {
  transform: scale(1);
  transition: transform 0.5s ease;
  text-decoration: none;
  color: #e4d7ff;
}
.reseaux span a:hover {
  color: rgba(228, 215, 255, 0.7);
  transform: scale(1.1);
  overflow: hidden;
}
.reseaux span a:focus {
  color: #22c55e;
}

main {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  flex: 1 0 80%;
  padding: 3rem 0;
  color: white;
  display: grid;
  grid-template-columns: 1fr;
  gap: 6rem;
}

.appear {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.appear.active {
  opacity: 1;
  transform: translateY(0);
}

.projets,
.competences,
.contact {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: 2rem;
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  box-shadow: 5px 5px 15px black;
  border-radius: 1rem;
  min-height: auto;
}

.apropos,
.formation {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: 3rem;
  width: 100%;
  min-height: auto;
  padding: 2rem 0;
}

.formation-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: 2rem;
  padding: 0 1rem;
}
.formation-content div:first-of-type {
  gap: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  text-align: center;
}
.formation-content div:last-of-type {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
}
.formation-content div:last-of-type ul {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: 1rem;
}
.formation-content div:last-of-type li {
  list-style: none;
}

.f-center {
  text-align: center;
}

.bg-color {
  background-color: transparent;
  border-top: 2px solid #7654d8;
  border-bottom: 2px solid #7654d8;
}

.contact {
  min-height: fit-content;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  border-radius: 0;
  border-top: 2px solid #7654d8;
  border-bottom: 2px solid #7654d8;
}
.contact .honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  left: -10000px;
  opacity: 0;
  pointer-events: none;
}

.apropos-image {
  flex: 1 1 10%;
  width: 60%;
  margin: 0 auto;
}
.apropos-image img {
  display: block;
  width: 100%;
  height: 100%;
  text-align: center;
  border-radius: 10rem;
}

.apropos-text {
  flex: 2 1 90%;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  padding: 1rem;
}
.apropos-text p {
  margin: 1rem 0;
  overflow-wrap: break-word;
}

.slide {
  flex: 1 1 100%;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: stretch;
  transition: transform 0.6s ease;
  min-width: 100%;
  backdrop-filter: blur(10px);
}

.pagination {
  flex: 0 1 5%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;
  padding: 1rem;
}

.next,
.prev {
  transform: scale(1);
  transition: transform 0.5s ease;
  display: inline-flex;
  cursor: pointer;
  pointer-events: visible;
}
.next:hover,
.prev:hover {
  transform: scale(1.2);
}

.competences,
.projets {
  overflow: hidden;
}

.card {
  min-width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  flex: 0 0 100%;
  background-color: #171020;
}

.card.la-boucle-restaurant {
  background: linear-gradient(135deg, #3b2417 0%, #6f3a12 50%, #a45a1a 100%);
}

.card.ecuiri {
  background: linear-gradient(135deg, rgba(21, 33, 87, 0.85) 0%, rgba(47, 65, 145, 0.85) 50%, rgba(87, 114, 238, 0.85) 100%);
}

.projets-content .card figure {
  flex: 1 1 30%;
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
}
.projets-content .card figure img {
  display: block;
  width: 100%;
  height: auto;
  text-align: center;
  margin: auto auto;
}
.projets-content .card h3 {
  flex: 1 1 10%;
}
.projets-content .card p,
.projets-content .card .technologies {
  flex: 2 1 auto;
  padding: 1rem;
}

.competences-content {
  align-items: stretch;
}
.competences-content .card {
  min-height: 0;
  padding: 1.5rem;
  gap: 1.5rem;
  border-radius: 1rem;
}
.competences-content .card h3 {
  flex: none;
  margin: 0;
  padding-bottom: 1rem;
  border-bottom: 2px solid #7654d8;
}

.details {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: 1.25rem;
  width: 100%;
  margin: 0;
}

.competence-group h4 {
  margin-bottom: 0.75rem;
  color: #e4d7ff;
}

.liste {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: stretch;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.item {
  font-size: clamp(0.875rem, 2vw, 1rem);
  padding: 0.5rem;
  border: none;
  background: rgba(97, 34, 170, 0.473);
  backdrop-filter: blur(10px);
  border-radius: 0.5rem;
  width: fit-content;
  height: fit-content;
  list-style: none;
  text-align: center;
}

.projet-buttons {
  flex: 1 1 10%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;
  padding: 1rem;
}

form {
  flex: 1 1 auto;
  width: 90%;
  margin: 0 auto;
}

.form-group {
  width: 100%;
  margin: 0 auto;
}
.form-group textarea,
.form-group input,
.form-group select {
  width: 100%;
  padding: 1rem;
}
.form-group .info {
  text-align: center;
}

.form_btn {
  width: fit-content;
  margin: 0 auto;
  text-align: center;
  padding: 1rem;
}
.form_btn button {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.btn {
  background-color: #7654d8;
  color: white;
  text-decoration: none;
  border-radius: 1rem;
  transform: scale(1);
  transition: transform 0.5s ease;
}
.btn:hover {
  background-color: #5f3fc4;
  color: white;
  transform: scale(1.1);
  overflow: hidden;
}
.btn:focus {
  background-color: #22c55e;
}

.result {
  display: none;
}
.result.active {
  flex: 1 1 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  text-align: center;
  padding: 2rem;
  max-height: 40dvh;
  background-color: #171020;
  border-radius: 1rem;
}

@media (min-width: 768px) {
  .apropos-content,
  .formation-content {
    flex: 2 1 90%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: stretch;
    flex-wrap: nowrap;
  }
  .formation-content div:first-of-type {
    flex: 2 1 50%;
  }
  .formation-content div:last-of-type {
    flex: 1 1 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
  }
  .formation-content div:last-of-type ul {
    margin-left: 2rem;
  }
  .apropos-image {
    text-align: center;
    flex: 1 1 30%;
  }
  .apropos-image picture {
    display: block;
    width: 100%;
    height: 100%;
    text-align: center;
  }
  .apropos-image picture img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
  }
  .apropos-text {
    padding: 0 1rem;
    text-align: center;
    flex: 2 1 70%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
  }
  .projets-content .card {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: stretch;
  }
  .projets-content .card figure {
    flex: 1 1 40%;
  }
  .main_projet {
    flex: 1 1 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    padding: 1rem;
  }
  .main_projet h3 {
    flex: 1 1 10%;
  }
  .main_projet p {
    text-align: center;
    flex: 2 1 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .technologies {
    flex: 1 1 20%;
  }
  form {
    width: 80%;
    margin: 0 auto;
  }
}
@media (min-width: 1024px) {
  .over {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: stretch;
    flex-wrap: nowrap;
  }
  .hero-title {
    padding: 0 1rem;
    text-align: center;
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }
  .hero-main {
    flex: 2 1 50%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
  }
  .hero-description {
    flex: 2 1 80%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .hero-buttons {
    flex: 1 1 20%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
  }
  .hero-buttons a {
    width: 30%;
    margin: 1rem auto;
    transform: scale(1);
    transition: transform 0.5s ease;
  }
  .hero-buttons a:hover {
    transform: scale(1.1);
  }
  .reseaux,
  .projet-buttons {
    flex: 1 1 10%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .section-title {
    flex: 1 0 10%;
  }
  .apropos-image {
    text-align: center;
    flex: 1 1 30%;
  }
  .apropos-image picture {
    display: block;
    width: 90%;
    height: 90%;
    text-align: center;
  }
  .apropos-image picture img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0 auto;
  }
  .competences-content {
    gap: 1rem;
  }
  .competences-content .card {
    flex: 1 1 49%;
    min-width: 49%;
  }
}
.none {
  display: none !important;
}

footer {
  flex: 0 1 5%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: 2rem;
  background-color: #2b2440;
  padding: 1.5rem 1rem;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.footer-logo {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  flex: 0 1 100%;
}
.footer-logo .logo {
  margin-right: 1rem;
  width: min(220px, 55vw);
  height: auto;
  margin: 0 auto;
}
.footer-logo .logo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background-color: inherit;
}

.footer-nav {
  flex: 1 1 100%;
}
.footer-nav ul {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}
.footer-nav ul li {
  list-style: none;
}
.footer-nav ul li a {
  text-decoration: none;
  color: #e4d7ff;
}
.footer-nav ul li a:hover {
  color: rgba(228, 215, 255, 0.7);
}
.footer-nav ul li a:focus {
  color: #22c55e;
}

.footer-note,
.footer-copy {
  flex: 1 1 100%;
  text-align: center;
  color: white;
}

.footer-note {
  color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 768px) {
  .footer-nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
  }
  .footer-nav ul {
    flex: 1 1 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: stretch;
  }
  .footer-nav ul li::after {
    content: " |";
    color: white;
    font-weight: 900;
  }
  .footer-nav ul li:last-child::after {
    content: "";
  }
}

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