.popup{
    font-family: sans-serif;
    color: #3e3e3e;
    
    display: flex;
    flex-direction: column;
    position: fixed;
top: -150%;
left: 33%;
opacity: 0;
transform: translate(-50,-50)scale(1.25);
width: 380px;
padding:0px 30px 40px ;
background-color: white;
box-shadow: 2px 2px 5px 5px rgba(0,0,0,0.15);
border-radius: 10px;
transition: top 0ms ease-in-out 200ms,
            opacity 200ms ease-in-out 0ms,
            transform 20ms ease-in-out 0ms;
}

.popup.active{
    top: 14%;
    opacity: 1; 
    z-index: +2;    
    transition: top 10ms ease-in-out 10ms,
            opacity 200ms ease-in-out 10ms,
            top 50ms ease-in-out 10ms;
    transform: translate(-50,-50)scale(1);
}
 .close-btn{
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    background-color:white;
    color: rgb(8, 8, 8);
    text-align: center;
    line-height: 15px;
    border-radius: 15px;
    cursor: pointer;
 }
 .form-head{
  
    color: black;
    border-radius: 0px 0px 10px 10px;
    text-align: center;
    font-size:15px;
   
    top:0px;}
    

 .popup .form .form-element{
    margin:15px 0px;

 }
 #email,#phone,#name{
    font-family: sans-serif;

    margin-top:27px;
    display:block;
    width: 95%;
    padding: 10px;
    outline: none;
    border: 1px solid #aaa;
    border-radius: 5px;
}
.btn2{
    display: block;
    font-family: sans-serif;
    margin-top: 30px;
    top:90px;
    width: 100%;
    height: 40px;
    border: none;
    outline: none;
    font-size: 17px;
    
    background-color: #1ec6b6;
    color:white;
    border-radius: 10px;
    cursor: pointer;
}
@media (min-width: 200px) and (max-width:600px){
    .popup{
        width: 200px;
        left: 30%;

    }
    .form-head{
        font-size: 10px;
    }
    .form{
        font-size: 12px;
        width: 90%;
    }
     .btn2{
        font-size: 13px;
        
    height: 30px;
    }
    
}
select{
    border: 1px solid #aaa;
    border-radius: 5px;
 padding:9px 2px 9px 2px;
 width: 100%;

}