/* === MAIN === */
body {
  font-family: 'Poppins', sans-serif;
  background-color: #f5f5f5;
  color: #333;
  margin: 0;
}

h1 {
  text-align: center;
  margin-bottom: 2rem;
}

.cv-container, .follow-container, .form-container, .repo, .container-competence, .container-ln, .about-container, .school-container, .contact-container{
  text-align: center;
  margin: 40px auto;
  padding: 10px;
  max-width: 80%;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cv-container hr, .follow-container hr, .form-container hr, .repo hr, .container-competence hr, .about-container hr, .school-container hr, .contact-container hr{
  border: none;
  height: 3px;
  background-color: #ccc;
  margin: 40px auto;
  width: 95%;
}

.cv-container:hover hr, .follow-container:hover hr, .form-container:hover hr, .repo:hover hr, .container-competence:hover hr, .about-container:hover hr, .school-container:hover hr, .contact-container:hover hr{
  background-color: #ff6700;

}

.cv-container a button, .button-project, .button-project-readme, button[type="submit"]  {
  display: inline-block;
   margin-bottom: 10px;
  padding: 10px 20px;
  text-decoration: none;
  font-size: 1rem;
  color: #005f87;
  background-color: rgb(255, 255, 255);
  font-weight: bold;
  border: 2px solid #005f87;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease; 
}

.cv-container a button:hover, .button-project:hover, .button-project-readme:hover, .button[type="submit"]:hover {
  border-radius: 25px;    
  transition: all 0.3s ease; 
  background-color: #005f87;
  color:rgb(255, 255, 255);
}


/* === index === */
.presentation{
  color: white;
  text-align: center;
  background-color: black;
  display: block;
  padding: 30px;
}

.cv-container img {
  width: 50%;
  height: auto;
  margin-bottom: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.cv-container a {
  display: block;
  margin: 10px 0;
}

.follow-container a{
  display: block;
  margin: 10px auto;
  color: #005f87;
  text-decoration: none;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 5px;
  transition: all 0.3s ease;
  width: fit-content;
}

.follow-container a:hover {
  transition: all 0.3s ease;
  border-radius: 25px;
  color: black;
  background-color: #f0f0f0;
}


/* === about === */
.about-container p, .school-container p, .school-container p a{
  color: #000;
}


/* === projects === */
.repo h2 a {
  color: #000000;
  text-decoration: none;
}

.repo p{
  margin-left: 5%;
  text-align: left;
  color: black;
}

.button a{
  text-decoration: none;
  color: rgb(221, 126, 126);
}


/* === skills === */
.presentation_skills{
  text-align: center;
}

.presentation_skills p{
  color: #000;
}

.projects-list {
  list-style: none;
  padding: 0;
  margin: 0; 
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 10px;
}

.projects-list li {
  background: #f9f9f9;
  padding: 10px 15px;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  transition: background-color 0.3s;
  flex: 1 1 200px;
  max-width: 250px;
}

.projects-list li a {
  text-decoration: none;
  color: #005f87;
  font-weight: 600;
  display: block;
}

.projects-list li:hover {
  background: #e6f0ff;
}

.projects-list li a:hover {
  text-decoration: underline;
}

.skills-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 500px;
  margin-inline: auto;
}

.skills-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border: 1px solid #ddd;
  margin-bottom: 10px;
  border-radius: 8px;
  background-color: #f9f9f9;
  transition: background 0.3s;
}

.skills-list li:hover {
  background-color: #eef2ff;
}

.skill-btn {
  background: none;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  color: #333;
  text-align: left;
  flex: 1;
}

.skill-rating {
  font-size: 1.2rem;
  color: #ffb400;
  margin-left: 16px;
  white-space: nowrap;
}

.formation-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 600px;
}

.formation-list li {
  margin-bottom: 10px;
  font-size: 1rem;
  line-height: 1.5;
  color: #333;
}

.formation-list li strong {
  font-weight: 600;
  color: #1a1a1a;
}

.formation-list .year {
  color: #666;
  font-size: 0.9rem;
  margin-left: 4px;
}


/* === contact === */
.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
}

.form-group textarea {
  height: 120px;
  resize: vertical;
}


/* === legal === */
.container-ln h1{
    text-align: center;
    margin-bottom: 20px;
}

.legal-section h2 {
    color: #555;
    border-bottom: 2px solid #ddd;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.legal-section p, .legal-section p span a, .contact-container p, .contact-container p span a {
    text-decoration: none;
    color: #000;
    line-height: 1.6;
    font-size: 16px;
}

.legal-section p span, .contact-container p span {
    display: block;
    margin-bottom: 5px;
}