@import url('https://fonts.googleapis.com/css2?family=Asap:ital,wght@0,200;0,300;0,400;1,200&display=swap');
body{
    font-family: Asap ;
  
    background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(9,9,121,1) 35%, rgba(0,212,255,1) 100%);
}

h1{
    margin-top: 70px;
   text-align:center;
   color: white;
   font-size: 2.9em;
}
.git{ width: 40px;
}
img{ width: 150px; border-radius: 50%; text-align: center;}


#output {
    background-image: linear-gradient(163deg, #00ff75 0%, #3700ff 100%);
    
    text-align:center;
    color: white;
    font-size: 1.9em;
    border-radius: 22px;
    transition: all .3s;
    margin-top: 25px;
    display: none;
    padding: 10px 10px 10px 10px;
}

.form {
  text-align: center;
 
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 2em;
    padding-right: 2em;
    padding-bottom: 0.4em;
    background-color: #171717;
    border-radius: 20px;
  }
  
  #heading {
   
    text-align: center;
 
    color: rgb(0, 255, 200);
    font-size: 1.9em;
  }
  
  .field {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    border-radius: 25px;
    padding: 0.6em;
    border: none;
    outline: none;
    color: rgb(31, 31, 31);
    background-color: #ffffff;
    box-shadow: inset 2px 5px 10px rgb(5, 5, 5);
  }
  
  .input-icon {
    height: 1.3em;
    width: 1.3em;
    fill: rgb(0, 255, 200);
  }
  
  #input {
    background: none;
    border: none;
    outline: none;
    width: 100%;
    color: rgb(0, 99, 77);
  }
  
  .form .btn {
    display: flex;
    justify-content: center;
    flex-direction: row;
    margin-top: 2.5em;
  }
  
  .button1 {
    padding: 0.5em;
    padding-left: 1.1em;
    padding-right: 1.1em;
    border-radius: 5px;
    margin-right: 0.5em;
    border: none;
    outline: none;
    transition: .4s ease-in-out;
    background-image: linear-gradient(163deg, #00ff75 0%, #3700ff 100%);
    color: rgb(0, 0, 0);
  }
  
  .button1:hover {
    background-image: linear-gradient(163deg, #00642f 0%, #13034b 100%);
    color: rgb(0, 255, 200);
  }
  
  .button2 {
    padding: 0.5em;
    padding-left: 2.3em;
    padding-right: 2.3em;
    border-radius: 5px;
    border: none;
    outline: none;
    transition: .4s ease-in-out;
    background-image: linear-gradient(163deg, #00ff75 0%, #3700ff 100%);
    color: rgb(0, 0, 0);
  }
  
  .button2:hover {
    background-image: linear-gradient(163deg, #00642f 0%, #13034b 100%);
    color: rgb(0, 255, 200);
  }
  
  #btn {
    margin-bottom: 3em;
    padding: 0.5em;
    border-radius: 5px;
    border: none;
    outline: none;
    transition: .4s ease-in-out;
    background-image: linear-gradient(163deg, #00ff75 0%, #3700ff 100%);
    color: rgb(0, 0, 0);
  }
  
  #btn:hover {
    background-image: linear-gradient(163deg, #a00000fa 0%, #d10050 100%);
    color: rgb(255, 255, 255);
  }
  
  .card {
    background-image: linear-gradient(163deg, #00ff75 0%, #3700ff 100%);
    border-radius: 22px;
    transition: all .3s;
    margin-top: 25px;
    margin-left: 400px;
    margin-right: 400px;
  }
  
  .card2 {
    border-radius: 0;
    transition: all .2s;
  }
  
  .card2:hover {
    transform: scale(0.98);
    border-radius: 20px;
  }
  
  .card:hover {
    box-shadow: 0px 0px 30px 1px rgba(0, 255, 117, 0.30);
  }

  /* Utilisation de units relatives */
body {
  font-size: 16px; /* Utilisation de 'rem' au lieu de 'px' pour la taille de la police */
}



/* Utilisation de media queries pour les écrans plus petits */
@media screen and (max-width: 768px), screen and (max-width: 1024px), screen and (max-width: 820px) {
    h1 {
        font-size: 2em; /* Réduire la taille du titre pour les écrans plus petits */
    }

    .card, .card2 {
        margin: 10px; /* Réduire les marges pour les écrans plus petits */
    }
}