


body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
}

.responsive{
    max-width: 100%;
    max-height: 12em;
}

.hero {
    background-color: #2d545e;
    color: white;
    text-align:center;
    padding: 1em 1em;
    
}

.hero p{
    font-size: 1.1rem;
    padding: 1em;
}

.hero p span{
    text-transform: uppercase;
    font-weight: bold;
    display: block;
    font-size: .9rem;
    margin-top: 1em;
}

.contact {
    text-align: center;
    padding: 2em;
    margin: 1em 0;
    background-color: white;
    
}

h1 {
    font-size: 1.8rem;
    margin: 3em 0 1.2em;
    color: #ffa03a;
}

.contact p{
    font-size:1rem;
    line-height: .7rem;
    font-weight: bold;
}

header {
    padding: 2em 3em;
    
}

.top{
    animation: fadeIn 3.5s forwards;
}

@keyframes fadeIn{
    from{
        opacity:0;
        transform: translateY(-15em);

    }
    to{
        opacity: 1;

    }
}

.contact{
    animation: fadeOut 3.5s forwards;
}

@keyframes fadeOut{
    from{
        opacity:0;
        transform: translateY(20em);
    }
    to{
        opacity: 1;
    }
}

@media(min-width: 730px) {
    
    .hero {
        padding: 2em 1em;
        
    }
    
    .hero p{
        font-size: 1.2rem;
    }
    
    .hero p span{
        font-size: 1rem;
        margin-top: 1.2em;
    }
    
    .contact {
        margin: -3em;        
    }
    
    h1 {
        margin: 2em 0 1em;
        color: #ffa03a;
    }
      
    header {
        padding: 10em;
        
    }

}

@media(min-width: 930px) {
    
    .hero {
        padding: 4em 1em;
        
    }
    
    .hero p{
        font-size: 1.2rem;
        padding: 1em;
    }
    
    .hero p span{
        font-size: 1rem;
        margin-top: 1.2em;
    }
    
    .contact {
        margin: -3em;        
    }
    
    h1 {
        margin: 3em 0 1em;
        color: #ffa03a;
    }
      
    header {
        padding: 10em;
        
    }

}

@media(min-width: 1500px) {
    
    .hero {
        padding: 4em 1em;
        
    }
    
    .hero p{
        font-size: 1.2rem;
        padding: 1em 0 4em;
    }
    
    .hero p span{
        font-size: 1rem;
        margin-top: 1.2em;
    }
    
    .contact {
        margin: .1em;        
    }
    
    h1 {
        margin: 2em 0 1em;
        color: #ffa03a;
    }
      
    header {
        padding: 5em;
        
    }

    .responsive{
        max-height: 18em;
    }

    }






    .hero-text {
      position: fixed;
      bottom: 120px;
      right: -5px;
    }
    
    
    .fb {
      background-color: black;
      opacity: 92%;
      color: white;
      border: none;
      padding: 20px;
      font-size: 14px;
      font-weight: bold;
      cursor: pointer;
      box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
      font-family: Montserrat;
    }




      
    
      
      .hero-text button:hover {
        background-color: white;
        color: black;
        border: 0px solid black;
      }
      
      .hero-text {
        
         animation: run 5s forwards;
         
        
        
        
    }
    
    
    @keyframes run{
      
      0% { right: -100%;}
    50%{ right: -100%;}
    100%{ right: 0;}
    }



      /*popup buton lista pret*/
      
      
      .box {
        width: 40%;
        margin: 0 auto;
        background: rgba(255, 255, 255, 0.2);
        padding: 35px;
        border: 2px solid #fff;
        border-radius: 20px/50px;
        background-clip: padding-box;
        text-align: center;
      }
      
      
      .overlay {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.7);
        transition: opacity 500ms;
        visibility: hidden;
        opacity: 0;
      }
      .overlay:target {
        visibility: visible;
        opacity: 1;
      }
      
      .popup {
        margin: 70px auto;
        padding: 20px;
        background: #fff;
        border-radius: 2px;
        width: 60%;
        position: relative;
        transition: all 5s ease-in-out;
      }
      
      .popup h1 {
        margin-top: 0;
        color: #333;
        font-family: Montserrat;
        text-align: center;
      }

      .popup h2 {
        margin-top: 0;
        color: #333;
        font-family: Montserrat;
        text-align: center;
      }

      .popup h3 {
        margin-top: 0;
        color: #e02124;
        font-family: Montserrat;
        text-align: center;
      }
      
      .popup .close {
        position: fixed;
        top: 90px;
        left: 50%;
        transition: all 200ms;
        font-size: 30px;
        font-weight: bold;
        text-decoration: none;
        color: #333;
      }
      .popup .close:hover {
        color: #a6a6a6;
      }
      .popup .content {
        max-height: 30%;
        overflow: auto;
        padding-top: 30px;
      }
      
      @media screen and (max-width: 700px) {
        .box {
          width: 70%;
        }
        .popup {
          width: 70%;
        }
      }
      
      /* unvisited link */
      a:link {
        color: #e02124;
        text-decoration: none;
      }
      
      /* visited link */
      a:visited {
        color: #e02124;
      }
      
      /* mouse over link */
      a:hover {
        color: black;
        text-decoration: none;
      }
      
      /* selected link */
      a:active {
        color: black;
      }
      



      