.contact {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    
    align-items: center;
    background: linear-gradient(rgb(0, 0, 0, 7), rgba(0, 0, 0, 0.8)), url("../images/Farmak7.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    
  }

  .contact h1 {
    font-weight: bold;
    color: white;
   
    font-size: 35px;
    text-align: center;
    margin-top: 125px;
}

  .contact h3 {
    color: rgba(247, 242, 242, 0.76);
    
   
    font-size: 17px;
    text-align: center;
    font-weight: 300;
    
  }

  .contact h4 {
    color:red;
    text-decoration: underline;
    font-style: italic;
    font-size: 15px;
    text-align: center;
    font-weight: 300;
    
  }

  .contact a {
    color: white;
    margin-bottom: 15px;
    text-decoration: underline;
    font-size: 15px;
    text-align: center;
    
    
  }

  .contact a:hover {
    transition: 1s;
    color: green;
   
  }

  .contact .row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    align-items: center;
   
    flex-direction: row;
   
  }

  .contact .row .form-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    align-items: center;
   
    flex-direction: row;
    width: 500px;
    
   
  }
  
  .contact .row .form-container input,
  textarea {
    height: 4rem;
    width: 500px;
    background: #fff;
    border: none;
    border-radius: 10px;
    padding: 2rem 1rem;
    margin: 1rem 0;
    color: black;
    font-size: 1.9rem;
    transition: 0.2s linear;
    border: 3px solid black;
  
  }
  
  .contact .row .form-container .hide{
    display: none;
  }

  .contact .row .form-container textarea {
    height: 20rem;
    border-radius: 1rem;
    resize: none;
  }
  
  .contact .row .form-container input[type="submit"] {
    background: var(--blue);
    color: #fff;
    cursor: pointer;
    font-size: 2.2rem;
    transition: 1.1s;
    border: 3px solid black;
    margin-bottom: 25px;
    padding-top: 0px;
    font-weight: bold;
  }

  .contact .row .form-container label {
    height: 45px;
    width: 500px;
    display: block;
    margin: auto;
    background: white;
    border-radius: 10px;
    color: gray;
    cursor: pointer;
    font-size: 1.5rem;
    border: 3px solid black;
    padding-top: 7px;
    padding-left: 10px;

  }

  .contact .row .form-container #choose-file {
   display: none;
  }
  
  .contact .row .form-container input[type="submit"]:hover {
    background: red;
    border: 0.2rem solid var(--red);
    
  }
  

  @media (max-width: 950px){
    .contact h1{
        font-size: 30px;
        padding-top: 10px;
        padding-right:5px ;
            padding-left:5px ;
    }
    .contact h3{
        font-size: 15px;
        padding: 10px 10px;
    }
  } 

    @media (max-width: 600px) { 
      
        .contact h1{
            font-size: 25px;
           
            padding-right:5px ;
            padding-left:5px ;
        }
        .contact h3{
            font-size: 17px;
            padding: 10px 10px;
        }
      .contact .row .form-container input,
      textarea {
        display: flex;
        justify-items: center;
        align-items: center;
        width: 240px;
      }
      .contact .row .form-container label {
        width: 100%;
        padding-top: 11px;
      }

      .contact .row .form-container input[type="submit"]{
        width: 240px;
      }
      .contact .row .form-container{
        width: 100%;
      }

          .contact .icons {
            padding: 12px;
          }
          .contact .icons a {
            padding: 5px;
          }
            
    }

    @media (max-width: 370px) { 
      .contact .row .image img{
        height: 240px;
        width: 240px;
      } 
}
 
@keyframes fromTop{
  0%{
    opacity: 0;
    transform: translateY(-50px);
}

  100%{
    opacity: 1;
    transform: translateY(0px);
}
}

@keyframes fromLeft{
  0%{
    opacity: 0;
    transform: translateX(-50px);
}

  100%{
    opacity: 1;
    transform: translateX(0px);
}
}

   