body{
    font-size:x-large;
    background-color:rgb(10,10,36);
 /*padding: 3%;*/
    text-align: center;
   /* margin: 5%;*/
    color:beige;
}


nav a{
    text-decoration: none;
    color:plum;
    padding: 1.5rex;
    position: relative;
}

header{
    position:absolute;
    padding: 0%;
    background:beige;
    display:contents;
    justify-content: space-between;
    align-items: center;
    z-index: index 100; ;

}
.navigation a{
    position: relative;
    font-size: 1.1em;
    color:plum;
    text-decoration: none;
    font-weight: 500;
    margin-left: 40px;
    width: 130px;
    height: 50;
    background: transparent;
    border: 2px solid plum;
    outline: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0s;
}
.navigation a:hover{
    background: white;
    color: black;

}
.navigation .underline{
position: absolute;
left: 0;
bottom: 3px;
width: 100%;
height: 3px;
background: plum;
border-radius: 5px;
}
img{
    width: 300px;
    height: auto;
    border-radius: 10px;
    box-shadow:0 10px 8px rgb(202, 202, 233);
    display: block;
    margin: 20px auto;
    
}
h1{
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;

}
form{
    width: min-(400px,100%);
    margin-top: 20px;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    border: none;
    outline: none;
}
form input{
    background-color: beige;
    border: 2px solid var(--input color);
    border-left: none;
    transition: 150ms ease;
    padding: 10px;
    width: 50em;
    border: none;
    outline: none;

}
form button{
    display: flex;
    align-items: center;
    padding: 15px 30px;
    font-size: 16px;
    color: beige;
    background-color: plum;
    border: none;
    gap: 10px;
    border-radius: 50px;
    cursor: pointer;
}
form button:hover{
    background: white;
    color: black;

}


h1:hover{
color: plum;
}
.incorrect label{
    background-color: #f06272;
}
.incorrect input{
    border-color: #f06272;
}
.contact-container{
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}
.contact-left{
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 20px;
}
.contact-left-title h2{
    font-weight: 600;
    color: plum;
    font-size: 40px;
    margin-bottom: 5px;
}
.contact-left-title hr{
    border: none;
    width: 120px;
    height: 5px;
    background-color: plum;
    border-radius: 10px;
    margin-bottom: 20px;
}
.contact-inputs{
    width: 400px;
    height: 50px;
    border: none;
    outline: none;
    padding-left: 25px;
    font-weight: 500;
    color: plum;
    border-radius: 50px;
}
.contact-left textarea{
    height: 140px;
    padding-top: 15px;
    border-radius: 20px;
}
.contact-inputs:focus{
    border: 2px solid #ff994f;
}
.contact-inputs::placeholder{
    color: #a9a9a9;
}
.contact-left button{
    display: flex;
    align-items: center;
    padding: 15px 30px;
    font-size: 16px;
    color: beige;
    background-color: plum;
    border: none;
    gap: 10px;
    border-radius: 50px;
    cursor: pointer;
}

#firstname-input{
    width: 400px;
    height: 50px;
    border: none;
    outline: none;
    padding-left: 25px;
    font-weight: 500;
    color: plum;
    border-radius: 50px;
}
#lastName-input{
    width: 400px;
    height: 50px;
    border: none;
    outline: none;
    padding-left: 25px;
    font-weight: 500;
    color: plum;
    border-radius: 50px;
}
#lastName-input:focus{
    border: 2px solid #ff994f;
}
#email-input{
    width: 400px;
    height: 50px;
    border: none;
    outline: none;
    padding-left: 25px;
    font-weight: 500;
    color: plum;
    border-radius: 50px;
}
#password-input{
    width: 400px;
    height: 50px;
    border: none;
    outline: none;
    padding-left: 25px;
    font-weight: 500;
    color: plum;
    border-radius: 50px;
}
#confirm-password-input{
    width: 400px;
    height: 50px;
    border: none;
    outline: none;
    padding-left: 25px;
    font-weight: 500;
    color: plum;
    border-radius: 50px;
}
#confirm-password-input:focus{
    border: 2px solid #ff994f;
}
#birthday-input{
    width: 400px;
    height: 50px;
    border: none;
    outline: none;
    padding-left: 25px;
    font-weight: 500;
    color: plum;
    border-radius: 50px;
}
#birthday-input:focus{
    border: 2px solid #ff994f;
}
#mobile-input{
    width: 400px;
    height: 50px;
    border: none;
    outline: none;
    padding-left: 25px;
    font-weight: 500;
    color: plum;
    border-radius: 50px;
}

#username-input:focus{
    border: 2px solid #ff994f;
}
#firstname-input:focus{
    border: 2px solid #ff994f;
}
#email-input:focus{
    border: 2px solid #ff994f;
}
#password-input:focus{
    border: 2px solid #ff994f;
}
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.card {
    height: 200px;
    perspective: 1000px;
    cursor: pointer;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.card.flipped .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 200%;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(249, 181, 249);
    border-radius: 10px;
    box-shadow: 0 4px 8px beige;
    transition: box-shadow 0.3s ease;
}

.card-back {
    transform: rotateY(180deg);
}

.card:hover .card-front,
.card:hover .card-back {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .card {
        height: 150px;
    }
}

#contact{
    position: relative;
    font-size: 1.1em;
    color:plum;
    text-decoration: none;
    font-weight: 500;
    margin-left: 40px;
    width: 130px;
    height: 50;
    background: transparent;
    border: 2px solid plum;
    outline: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0s;
    text-decoration: none;
    padding: 1.5rex;
    
}
#contact:hover{
    background: white;
    color: black;

}



#forget{
    display: flex;
    align-items: center;
    padding: 15px 30px;
    font-size: 16px;
    color: beige;
    background-color: plum;
    border: none;
    gap: 10px;
    border-radius: 50px;
    cursor: pointer;
}
#forget:hover{
    background: white;
    color: black;

}
#male{
    display: flex;
     gap: 20px;
     align-items: center;
}
#female{
    display: flex;
     gap: 20px;
     align-items: center;
}