
body{
    position: relative;
    background-color: rgb(245, 245, 245);
}

form{
    position: fixed;
    font-family: "poppins", sans-serif;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: rgba(20, 33, 43, 0.895);
    box-shadow: 3px 5px 8px var(--shadow-clr);
    padding: 34px;
    border-radius: 16px;
    max-width: 100%;
    width: 40%;
    margin: 0 auto;

}

form p{
    margin: 6px;

}

label{
    font-size: var(--fs-med);
    font-weight: var(--semi-bold);
    text-shadow: 1px 4px 6px var(--shadow-clr);
    color: beige;
    text-wrap: nowrap;
    
}

input{
    padding: 12px;
    width: 100%;
    max-width: 100%;
    color: rgb(245, 245, 245);
    outline: 0;
    font-size: var(--fs-med);
    background: transparent;
    border: 1px solid #fff;
    border-radius: 50px;
     border-bottom: 1px solid #fff;
    text-align: center;
}

::placeholder{
    color: rgb(56, 184, 184);
    font-size: var(--psg);
    text-align: center;

}

button{
   padding: 8px 52px;
   background-color: rgb(243, 240, 240);
   border-radius: 26px;
   color: #34b5ba;
   font-size: 1.2rem;
   border: 0;
   transition: 1s ease-in-out;
   
}

button:hover{
    cursor: pointer;
    background-color: var(--card-hover);
    transition: 1s ease-in-out;
    
} 

form  p{
    font-size: 0.8rem;
    color: #fff;
   
}

form  a,li{
    color: #0bb2be;
    font-weight: 600;
  
}

/* Success pop up */

.success-pop-up{
    position: fixed;
    top: 50%;
    left: -100%;
    transform: translate(-50%, -50%);
    box-shadow: 1px 3px 12px #131313e7;
    background: #fff;
    border-radius: 5px;
    text-align: center;
    padding: 22px;
    height: auto;
    z-index: 1000;
    transition: 1s ease-in-out;
    scale: 0.5;
}

.success-pop-up h3{
    color: rgb(68, 79, 77);
    font-size: 1.2rem;
}

.success-pop-up p{
    color: rgb(8, 135, 116);
    font-size: 1rem;
}

.success-pop-up fa{
    color: rgb(68, 70, 69);
    font-size: 1.6rem;
}

.success-pop-up.active{
    left: 50%;
    transition: 1s ease-in-out;
    scale: 1;
}

.errorPopup p, .errorPopup h3{
    color: red;
}


.submitBtn{
    position: relative;
}



/* LOADER */

#loader{
    position: absolute;
    display: none;
    top: 0%;
    left: 100%;
    margin-left: 4px;
    transform: translateX(-50% , -50%);
}

.loader{
    
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background:transparent;
    z-index: 999;

}

.spinner{
    border: 4px solid #a8a6a6;
    border-top: 4px solid rgb(153, 225, 247);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
 
}

.spinner p{
  font-size: 0.7rem;
  color: orange;
 
}



@keyframes spin{
    to{
        transform: rotate(360deg);
    }
   
}

.error{
    font-size: 0.8rem;
    color: rgb(248, 58, 58);
    
}