/* doc.css - Style pour la page des rapports et CV */

/* Styles généraux */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #111111;
  font-family: Arial, sans-serif;
  color: white;
  line-height: 1.6;
}

/* Style pour les titres */
h1 {
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 15px;
}

h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #49D13C;
}
h1:nth-of-type(1)::after {
  background-color: #D1983C;
}

/* Deuxième h1::after - bleu */
h1:nth-of-type(2)::after {
  background-color: #D13CB6;
}

/* Troisième h1::after - orange */
h1:nth-of-type(3)::after {
  background-color: #49D13C;
}


/* Style pour la section principale */
section {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 30px auto 50px;
  padding: 20px;
}

/* Style pour les conteneurs d'iframe */
.iframe-container {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  background-color: #222;
  border-radius: 10px;
 
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.iframe-container:hover {
  transform: translateY(-5px);

}

/* Style pour les titres des iframes */
.iframe-container h3 {
  background-color: #222222;
  color: white;
  padding: 15px 20px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-bottom: 3px solid #49D13C;
}

/* Style pour les iframes */
iframe {
  border: none;
  width: 100%;
  height: 500px;
  display: block;
  background-color: #fff;
}


.iframe-container:nth-of-type(1) h3 {
  border-bottom: 3px solid #D1983C; /* Vert */
}

/* Deuxième rapport */
.iframe-container:nth-of-type(2) h3 {
  border-bottom: 3px solid #D1983C; /* Bleu */
}

/* CV */
section:nth-of-type(2) .iframe-container h3 {
  border-bottom: 3px solid #D13CB6; /* Rouge */
}

/* Style pour le bouton de téléchargement */
.download-btn {
  display: block;
  width: 300px;
  margin: 20px auto 60px;
  padding: 15px 25px;
  background-color: #49D13C;
  color: #111111;
  text-decoration: none;
  text-align: center;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.download-btn::before {
  
  margin-right: 8px;
}

footer {
  padding: 10px;
  background-color: #222222;
  color: white;
  position:relative;
  bottom: 0;
  width: 100%;
}

.download-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Animation pour le bouton */
.download-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: #67dd5c;
  opacity: 0;
  border-radius: 100%;
  transform: scale(1, 1) translate(-50%);
  transform-origin: 50% 50%;
}

.download-btn:hover::after {
  animation: ripple 1s ease-out;
}

@keyframes ripple {
  0% {
    transform: scale(0, 0);
    opacity: 0.5;
  }
  100% {
    transform: scale(20, 20);
    opacity: 0;
  }
}

/* Responsive design */
@media (max-width: 900px) {
  section {
    flex-direction: column;
    align-items: center;
  }
  
  .iframe-container {
    width: 100%;
    max-width: 600px;
  }
  
  h1 {
    font-size: 24px;
  }
}

@media (max-width: 600px) {
  .iframe-container {
    min-width: 100%;
  }
  
  iframe {
    height: 450px;
  }
  
  h1 {
    font-size: 22px;
  }
  
  .download-btn {
    width: 90%;
    max-width: 300px;
  }
}

@media (max-width: 500px) {
  iframe {
    height: 400px;
  }
  
  h1 {
    font-size: 20px;
  }
  
  .iframe-container h3 {
    font-size: 16px;
    padding: 12px 15px;
  }
  
  section {
    padding: 10px;
    gap: 30px;
  }
}

/* Adaptations pour très petits écrans */
@media (max-width: 350px) {
  iframe {
    height: 350px;
  }
}