.kanit-medium {
  font-family: "Kanit", sans-serif;
  font-weight: 500;
  font-style: normal;
}

body
{
  background-color: #173660;
  padding: 0;
  margin: 0;
  left: 0;
  top: 0;
  font-family: 'Kanit', sans-serif;
}

h2
{
  margin: 0;
  font-size: 2em;
  font-family: "Kanit", sans-serif;
  color: rgb(124, 166, 216);
}

nav
{

  display: flex;
  align-items: center;
  margin: 0;
  background-color: #173660;
  width: 100%;
  box-shadow: 0px 5px 10px black;

}

.white
{
  margin: 0;
  color: white;
}

.logo
{
  margin: 0; /* Élimine les marges par défaut */
  width: 64px;
  height: 64px;
}

.pads-container{
  padding-left: 0%;
  padding-right: 0%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
  justify-content: center;
  align-items: center;

}

.pad{
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 10px;
  min-height: 220px;
  width: 320px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: transparent;
  margin: 50px 40px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s forwards;
}

.pad:hover {
  transform: scale(1.05);
}

.test-container
{
  padding-left: 500px;
  width: 1920px;
  height: 1080px;
  overflow: hidden;
}

.test-container2
{
  border: solid 2px white;
  background-color: white;
  top: 0;
  left: 0;
  overflow: hidden;
  width: 100%;
  height: 220px;
  box-shadow: 0px 5px 10px black;
  border-radius: 10px;
}

.pad:hover .test-container2 {
  border-color: transparent;
}

.testt{
  width: 1280px;
  height: 900px;
  border: 0;
  -ms-transform: scale(0.25);
  -moz-transform: scale(0.25);
  -o-transform: scale(0.25);
  -webkit-transform: scale(0.25);
  transform: scale(0.25);

  -ms-transform-origin: 0 0;
  -moz-transform-origin: 0 0;
  -o-transform-origin: 0 0;
  -webkit-transform-origin: 0 0;
  transform-origin: 0 0;
}

.testtt
{
	width: 100%;
}

.project-a{
  font-size: 1.5em;
  display: flex;
  align-items: center;
  margin: 0;
  padding-bottom: 1%;
  font-family: "Kanit", sans-serif;
  text-decoration: underline;
  color: rgb(124, 166, 216);
  transition: color 0.3s ease, transform 0.3s ease;
}



/* Styles pour le bouton de thème */
.theme-toggle {
  display: none;
}

/* Thème sombre */
body.dark-mode {
  background-color: #1a1a1a;
  color: white;
}

body.dark-mode h2,
body.dark-mode .project-a {
  color: rgb(200, 200, 200); /* Couleur des titres et des liens en mode sombre */
}

body.dark-mode .test-container2 {
  background-color: #333;
  border: solid 2px #555; /* Bordure plus claire en mode sombre */
}

footer {
  background-color: rgba(255, 255, 255, 0.1); /* Fond semi-transparent */
  color: white; /* Couleur du texte */
  text-align: center; /* Centrer le texte */
  padding: 20px 0; /* Espacement vertical */
  width: 100%; /* Largeur complète */
  position: relative; /* Positionnement relatif */
  margin-top: auto; /* Pousse le footer vers le bas */
}

.footer-content {
  max-width: 1200px; /* Largeur maximale */
  margin: auto; /* Centrer le contenu */
}

.social-links {
  margin-top: 10px; /* Espacement au-dessus des liens sociaux */
}

.social-links a {
  color: rgb(124, 166, 216); /* Couleur des liens */
  margin: 0 10px; /* Espacement entre les liens */
  text-decoration: none; /* Supprimer le soulignement */
  transition: color 0.3s; /* Transition pour le changement de couleur */
}

.social-links a:hover {
  color: #ff6347; /* Changement de couleur au survol */
}

html, body {
  height: 100%; /* Assurez-vous que le corps prend toute la hauteur */
  margin: 0; /* Supprimer les marges par défaut */
}

body {
  display: flex;
  flex-direction: column; /* Disposition en colonne */
}

.pads-container {
  flex: 1; /* Permet au conteneur de prendre tout l'espace disponible */
}

footer {
  background-color: rgba(255, 255, 255, 0.1); /* Fond semi-transparent */
}

/* Animation d'apparition */
@keyframes fadeInUp {
  to {
    opacity: 1; /* Rendre visible */
    transform: translateY(0); /* Remettre à sa position d'origine */
  }
}