/* BODY */

body {
  margin: 0;
  margin-top: 0rem;
  font-family: Arial, sans-serif;
  background-color: #fff;
}



/* HEADER */
.header {
  margin-top: 0;
  padding-top: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #ddd;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.icon-circle {
  width: 50px;
  height: 50px;
  border: 4px solid #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon {
  font-size: 30px;
  font-weight: bold;
  color: #000;
}

.text .main-title {
  font-size: 38px;
  font-weight: bold;
}

.em {
  color: #00AEEF;
}

.dev {
  color: #000;
}

.sub-title {
  font-size: 14px;
  color: #000;
  margin-top: 2px;
  font-weight: bold;
}





/* SECTION PRINCIPALE */
main {
  flex:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:20px 20px;
}

main h1 {
  font-size:32px;
  margin-bottom:1rem;
}

main p {
  max-width:850px;
  margin-bottom:30px;
  font-size:18px;
  line-height:1.5;
}

.presentation p {
    line-height: 1.8; 
}

.first-p{
  margin-bottom: 0.5rem;
}

.second-p{
  margin-bottom: 0;
}






/* Formulaire */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;   
  width: 100%;
  margin: 0 auto;    
}

.contactForm{
  width: 400px;
}

input, textarea, button {
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  width: 100%;        
  box-sizing: border-box;
}

textarea {
  min-height: 150px; 
  resize: vertical;   
}

button {
  align-self: center; 
  width: fit-content; 
  background: #00AEEF;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  transition: background 0.6s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

button:hover {
  background: linear-gradient(45deg, #00AEEF, #002f4b);
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* Container */
.form-container {
  width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 40px auto;
  text-align: center;
}

/* Labels cachés mais accessibles */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Modale */
.modal {
  display: none; 
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #fff;
  padding: 20px 30px;
  border-radius: 12px;
  text-align: center;
  max-width: 400px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}











/* FOOTER */
footer {
  background: linear-gradient(to right, #008ec5, #002f4b);
  border-top:1px solid #ddd;
  padding:20px;
  text-align:center;
  color: white;
}

footer a{
  color: white;
}




.footer-socials {
  margin-bottom: 1rem;
}

.footer-socials a {
  color: white;
  margin: 0 1.2rem;
  font-size: 2.5rem;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.3s ease, 
}

.footer-socials a:hover {
  transform: scale(1.1);
}


.PortfolioLink{
  margin-bottom: 1.5rem;
}

