@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

/* START - Style base*/

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-y: scroll; /* Toujours afficher la scrollbar */
}

body {
  background-color: #000000;
  font-family: "Poppins", sans-serif;
  color: #ffffff;
  padding-top: 1px;
}

/* END - Style base*/

/* START - barre de recherche */

.search-container {
  position: absolute;
  top: 13%;
  text-align: center;
  width: 100%;
}

/* Conteneur de la barre */
.search-box {
  position: relative;
  display: inline-block;
  width: 60%;
}

/* Champ de recherche */
#searchBar {
  font-family: "Poppins", sans-serif;
  font-weight: bold;
  border: 3px solid #000000;
  border-radius: 30px;
  padding: 1rem;
  width: 100%;
  outline: none;
}

#searchBar::placeholder {
  font-family: "Poppins", sans-serif;
  font-weight: bold;
}

/* Icône placée à l'intérieur */
.search-box i {
  position: absolute;
  right: -15px; /* Ajuste l'icône à droite */
  top: 50%;
  transform: translateY(-50%);
  color: #000000;
  font-size: 18px;
  cursor: pointer;
}

.hidden {
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.5s ease-in-out, visibility 1.5s;
}

.visible {
  opacity: 1;
  visibility: visible;
  transition: opacity 1.5s ease-in-out, visibility 1.5s;
}

/* Animation de texte pour la barre de recherche */
.search-container .typing {
  color: #000000;
  font-weight: bold;
}
/* END - barre de recherche */

/* START - Style header-footer*/

nav,
footer {
  background-color: #473c38;
  width: 100%;
  padding: 1rem;
  box-sizing: border-box;
  font-size: 1.5rem;
}

nav {
  border-bottom: 3px solid #44a650;
}

nav ul {
  list-style-type: none;
  display: flex;
  justify-content: space-around;
}

nav a {
  font-weight: bold;
  text-decoration: none;
  color: inherit;
  transition: all 0.5s ease-in-out;
}

nav a:hover {
  color: #44a650;
}

footer {
  border-top: 3px solid #44a650;
  display: flex;
  justify-content: center;
}

/* END - Style header-footer*/

/* START - Style page*/

section.windows {
  width: 80%;
  margin: 10rem auto 10rem auto;
}

.windows {
  border: 1px solid #ffffff;
}

.barre {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  border-bottom: 1px solid #ffffff;
  padding: 0.5rem;
}

.barre span {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 14px;
  font-weight: bold;
  margin-left: 0.3rem;
  cursor: pointer;
}

/* Bouton réduire */
.barre #minimize {
  background-color: #fdba2b;
}
/* Bouton agrandir */
.barre #maximize {
  background-color: #26c63e;
}
/* Bouton fermer */
.barre #close {
  background-color: #fe5d55;
}

#window-content {
  display: flex;
  flex-direction: column;
  padding: 4rem;
  transition: all 0.5s ease-in-out;
}

.top,
.bottom {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-bottom: 5rem;
}

.apropos {
}

.apropos h1 {
  font-size: 6rem;
}

.apropos h2 {
  font-size: 2rem;
}

.photo-profile {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.photo-profile img {
  width: 200px;
  border-radius: 30px;
}

.photo-profile img:last-child {
  width: 400px;
  height: 200px;
}

.explication {
}

.qrcode {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.qrcode img {
  width: 200px;
}

.btn {
  background-color: #ffffff;
  color: #000000;
  border: 3px solid #000000;
  border-radius: 30px;
  text-decoration: none;
  margin-top: 1rem;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: background-color 1s ease-in-out;
  width: 260px; /* Largeur fixe pour éviter les décalages */
  text-align: center;
}

.btn:hover {
  background-color: #44a650;
}

#btn-text {
  white-space: nowrap;
  text-align: center;
  transition: opacity 0.3s ease;
  flex: 1; /* Permet au texte de s'étendre sans affecter l'icône */
}

#download-icon {
  position: absolute;
  left: 15px; /* Fixe l'icône à gauche */
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: #4caf50;
  border-radius: 0 0 30px 30px;
  visibility: hidden;
}

section.formation,
section.autre-experiences,
section.qualites,
section.experiences,
section.competences,
section.formulaire {
  padding: 4rem 0 4rem 0;
}

.formation h1,
.experiences h1,
.autre-experiences h1,
.competences h1,
.qualites h1,
.formulaire h1 {
  display: inline-block;
  color: #000000;
  background-color: #ffffff;
  border: 3px solid #000000;
  border-radius: 30px;
  padding: 1rem;
  margin-top: -2rem;
  margin-bottom: 2rem;
  box-shadow: 10px 10px #44a650, 13px 13px #000000;
}

.card {
  background-color: #473c38;
  border: solid 3px #000000;
  border-radius: 30px;
  box-shadow: 10px 10px #44a650;
  padding: 0rem 1rem 1rem 3rem;
  transform-style: preserve-3d;
  will-change: transform;
}

.card ul {
  display: flex;
  flex-direction: column;
  list-style-type: disc;
}

.card li {
  font-weight: bold;
}

.card div.date {
  margin-bottom: 0.2rem;
}

.formation .card div.date {
  margin-bottom: 1rem;
}

.card div.description {
  margin-bottom: 1rem;
}

.card div.date p {
  font-style: italic;
}

i.fa-brands,
i.fa-solid {
  font-size: 50px;
  margin-left: 1rem;
}

i.fa-html5 {
  color: #e34f26;
}

i.fa-css3-alt {
  color: #1572b6;
}

i.fa-js {
  color: #f7df1e;
}

i.fa-php {
  color: #777bb4;
}

i.fa-wordpress {
  color: #21759b;
}

i.fa-database {
  color: #00758f;
}

/* END - Style page*/

/* START - Formulaire*/

form.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
}

form.contact input,
form.contact textarea {
  font-family: "Poppins", sans-serif;
  width: 40%;
  border: 3px solid #000000;
  border-radius: 30px;
  margin: 1rem 0 1rem 0;
  padding: 1rem;
}

form.contact textarea {
  resize: none;
}

form.contact input::placeholder,
form.contact textarea::placeholder,
form.contact button {
  font-family: "Poppins", sans-serif;
}

form.contact button {
  background-color: #ffffff;
  border: 3px solid #000000;
  border-radius: 30px;
  min-width: 20%;
  margin: 1rem 0 1rem 0;
  padding: 1rem;
  white-space: nowrap;
  cursor: pointer;
}

/* END - Formulaire*/
