*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    background-image: url(https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSnwfYZlSQjJ8KU61mJJV2PXcFPdoeaTIUwUg&usqp=CAU);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}
.mainBox{
    display: flex;
    /* flex-direction: row; */
    justify-content: space-around;
    align-items: center;
    margin-top: 90px;
    /* border: 1px solid red; */
    /* text-align: center; */
    flex-wrap: wrap;
    perspective: 800px;

}
.box{
    border: 1px solid black;
    width: 300px;
    height: 300px;
    text-align: center;
    padding: 55px 0;
    /* position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%); */
    background: black;
    perspective: 800px;
    border-radius:10px ;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.5),-10px -10px 20px rgba(0, 0, 0, 0.5);
    /* box-shadow: 41px 41px 155px rgba(250,0,0  0.5); */
    
}
.box input{
    width: 280px;
    height: 40px;
    margin-bottom: 5px;
    outline: none;
    border: none;
    border-bottom:1px solid white ;
    background: transparent;
    color: white;
    font-size: 18px;
    padding: 0 8px;
}
.fas{
    position: absolute;
    right: 30px;
    /* border: 1px solid tomato; */
    padding-top:5px ;
    margin-top: 15px;
    font-size: small;
    color: white;
    cursor: pointer;   
}

.newicon{
    position: absolute;
    right: 50px;
    /* margin-bottom: 10px; */

}
.errorbox{
    text-align: left;
    padding: 0 10px;
    height: 25px;
    /* margin-bottom: 10px; */
}
.errorbox2{
    text-align: left;
    padding: 0 40px;
    height: 25px;
    
}
.error{
    color: red;
    /* border: 1px solid red; */
    
}
.btn{
    width: 150px;
    height: 30px;
    outline: none;
    transition: all 300ms ease;
    cursor: pointer;
    background-color: #4C8DC4;
    border: none;
    border-radius:5px ;
    color: white;
    font-size: large;
    margin-top: 30px;   
}
.btn:hover{
    transform: rotateX(360deg) ;
    background-color: #1F3E57;
}
.back i {
    position: absolute;
    right: 50px;
}

.upBox{
    width: 350px;
    height: 400px;
    position: relative;
    /* background-color: yellow; */
    /* perspective: 800px; */
    transition: all 1s ease;
    transform-style: preserve-3d;
    margin-top: 20px;
    border-radius: 10px;
    /* background-color: transparent; */

}
.front{
    width: 100%;
    height: 100%;
    position: absolute;
    /* background-color: gray; */
    background-color: transparent;
    backface-visibility: hidden;
    text-align: center;
    padding-top: 40%;
    border-radius: 10px;

}
.front h2 {
    font-family: Georgia, 'Times New Roman', Times, serif;
    color: white;
}
.upBox:hover{
    transform: rotateY(180deg);
}
.back{
    width: 100%;
    height: 100%;
    position: absolute;
    transform: rotateY(180deg);
    backface-visibility: hidden;
    background-color: black ;
    /* background-color: rgba(0, 0, 0, 0.8) ; */
    text-align: center;
    padding: 50px 0;
    border-radius: 10px;
}
 
.back input{
    width: 280px;
    height: 40px;
    margin-bottom: 5px;
    outline: none;
    border: none;
    background: transparent;
    color: white;
    font-size: 18px;
    border-bottom: 1px solid white;
    padding: 0 8px;
}
.back button{
    outline: none;
    border: none;
    width: 200px;
    height: 30px;
    border-radius: 5px;
    background-color: #4C8DC4;
    cursor: pointer;
    margin-top: 10px;
}