html,
body {
  max-width: 100%;
  width: 100%;
  height: 100%;
  max-height: 100%;
}
main {
  color: rgb(201, 222, 201);
  max-width: 100%;
}

.contact-main-container {
  position: relative;
    display: flex;
    width: 95%;
    max-width: 100%;
    height: 100vh;
    
    justify-content: space-around;
    align-items: center;
    padding: 1rem;
}



.contact-info {
  display: flex;
 
  max-width: 100%;
  height: 100%;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: flex-start;
}
.contact-link {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.contact-link a{
  color: rgb(222, 221, 201);
  text-decoration: none;
  font-size: 2rem;
}

.contact-title {
  font-size: 4rem;
}

.contact-illu {
  display: block;
  transform: rotate(-18deg) translateX(-100px); /* décale de 60px vers la gauche */
  width: 600px;
  max-width: 600px;
  height: 600px;
  max-height: 600
}

.contact-illu > img {
  display: block;
  width: 100%;
  height: 100%;
}

.multi-script {
  display: inline-block;
  font-family: monospace;
  letter-spacing: 1px;
  min-width: 450px;
  text-align: left;
}

.multi-script .char {
  display: inline-block;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.multi-script .fade-out {
  opacity: 0;
  transform: translateY(-10px);
}

.multi-script .fade-in {
  opacity: 1;
  transform: translateY(0);
}

.multi-script .cursor {
  display: inline-block;
  margin-left: 2px;
  animation: blink 0.9s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

@media screen and (max-width : 750px)
{

  .contact-info {
    display: flex;
    width: 350px;
    max-width: 100%;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
  }
    .contact-title {
    width: 100%;
    font-size: 2rem;
  }
    .contact-illu {
    position: absolute;
    transform: rotate(-18deg) translateX(90px) translateY(80px);
    width: 200px;
    max-width: 200px;
    height: 200px;
    max-height: 200px;
  }

  .contact-link a{
    color: rgb(222, 221, 201);
    text-decoration: none;
    font-size: .8rem;
  }
  
  .multi-script {
    min-width: 250px;
  }
}