@import url('https://fonts.googleapis.com/css2?family=Bellota+Text:ital,wght@0,300;0,400;1,300&family=Lato:ital,wght@0,100;1,100&family=Roboto:ital,wght@0,100;0,300;1,100&family=Work+Sans:ital,wght@0,100;1,200;1,300&display=swap');

* {
	box-sizing: border-box;

}
body{
   
    background: url(../images/13.jpg) no-repeat;
    background-size: cover;
    font-family: 'roboto' ,sans-serif;
    margin: 0;
    height: 100vh;
 
}
.container{
    background-color: #f2f4f6;
    box-shadow: 0.6em 0.6em 1.2em grey;
    border-radius: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    
    
    
    
}
.signup{
    color: silver;
    margin-bottom: 15px;
    
}
.signup span a{
    text-decoration: none;
    color: #009879;
    font-weight: bold;
}
.signup span a:hover{
    text-decoration: underline;
}

.container form {
    
   padding: 0 40px;
  
}

.head{
     width: 100%;
     
  
    position: relative;
    
}
h1{
   
    color: white;
    font-size: 30px;
    padding-top: 1rem;
    text-align: center;
padding-bottom: 15px;
}
.head::before{
    content: '';
    background: #009879;
   
    position: absolute;
    left: -4rem;
    width: calc(100% + 5rem);
    right: 25px;
    height: 100%;
    z-index: -4;
   border-radius: 3px;
   box-shadow: inset -12px 0 10px -10px rgba(0,0,0,.5);

}
.head::after{
   content: ''; 
   background: #009879;
   position: absolute;
   color: white;
 
  width: 2rem;
 height: 100%;
  
  top: 0;
  border-radius: 3px;

  right: 0;
 left: calc(100% + 2.5rem);
 box-shadow: inset 12px 0 10px -10px rgba(0,0,0,.5);

 
  
}


.form-control {
   
    margin: 25px 0;
    position: relative;
    width: 200px;
}
.form-control input {
    width: 100%;
    height: 40px;
    background-color: none;
    border: none;
    outline: none;
}
.form-control input[type="file"]{
    width: 200px;
    height: 40px;
    background-color: white;
    border: none;
    outline: none;
    padding: 10px;
    color: silver;
    
    

}
.form-control select {
    width: 100%;
    height: 40px;
    background-color: white;
    border: none;
    outline: none;
    padding: 10px;
    color: silver;
    
}
#date{
    color: silver;
    padding: 10px;

}
#date:focus {
    color: #009879;
}

#gender{
    color: black;

}
.form-control label {
    position: absolute;
    color: silver;
    top: 50%; left: 5px;
    transform: translateY(-50%);
    
    padding: 10px;
    
}
.form-control span::before{
    content: '';
    position: absolute;
    left: 0;
    background: #009879;
    top: 40px;
    height: 2px;
    width: 100%;
}
.form-control input:focus ~ label,
.form-control input:valid ~ label

 {
   
    color: #009879;
    top: -10px;
    transition: 0.5s;
}
.form-control select:focus,
.form-control select:valid {
    color: #009879;
    top: -10px;
     
}
.form-control input[type="date"]:focus,
.form-control input[type="date"]:valid {
    color: #009879;
    top: -10px;
     
}

.btn{
    width: 100%;
    text-align: center;
    padding-bottom: 20px;
  
    
}
#button{
    height: 50px;
    width: 200px;
    border-radius:10px ;
   background-color: #009879;
    color: white;
    font-size: 18px;
    z-index: 3;
    
}
.container-info{
    display: flex;
    flex-direction: row;
    justify-content: space-between


}
#file {
    width: 100%;
}
#preview{
    width: 100px;
    height: 100px;
    border: none;
    outline: none;
    

}
.icon{
    cursor: pointer;
    text-align: center;
}

.uploadImg{
    display: flex;
    justify-content: center;
    align-items: center;
}
p{
    color: #009879;
   margin: 10px;
    
}
#preview{
    border: none;
    outline: none;
    display: none;
}
.image-container{
    display: grid;
    grid-template-columns: 50% 50%;
    margin-bottom: 10px;

    
}
#closeBTN{
    display: none;
}