@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

* {
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

section {
    height: 100vh;
    width: 100%;
    background-color: #2E294E;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: white;
}

section::before {
    content:"";
    position: absolute;
    height: 240px;
    width: 240px;
    border-radius: 50%;
    transform: translate(-150px,-150px);
    background: linear-gradient(90deg, #541388, #D90368);
}

section::after {
    content:"";
    position: absolute;
    height: 240px;
    width: 240px;
    border-radius: 50%;
    background: linear-gradient(90deg, #541388, #D90368);
    transform: translate(150px,150px);
}

.container {
    height: 340px;
    width: 340px;
    position: relative;
    z-index: 100;
    transition: 0.6s;
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* .container:hover {
    cursor: pointer;
    transform: rotateY(180deg);
} */

.container .card {
    height: 100%;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(25px);
    padding: 20px;
    position: absolute;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.container.flipped {
    transform: rotateY(180deg);
}

.card.back {
    transform: rotateY(180deg);
    padding: 15px 25px 25px 25px;
    h6 {
        font-size: 8px;
        font-weight: lighter;
    }
}

.head {
    width: 100%;
    height: 50px;
    border-radius: 12px;
    background-color: #F1E9DA;
    color: #2E294E;
    display: flex;
    justify-content: center;
    align-items: center;
    letter-spacing: 0.5px;
}

form {
    padding-top: 15px;
    width: 80%;
    height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    a{
        font-size: 14px;
        text-decoration: none;
        color: #FFD400;
    }
}

.input {
    width: 100%;
    height: 40px;
    border: 1px solid #F1E9DA;
    border-radius: 5px;
    display: flex;
    align-items: center;
}

.logo {
    height: 100%;
    width: 40px;
    background-color: #F1E9DA;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    i {
        font-size: 20px;
        color: #2E294E;
    }
}

.form input {
    background-color: transparent;
    color: white;
    border: none;
    outline: none;
    width: 100%;
}

.foot {
    width: 260px;
    height: fit-content;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    a{
        color: #FFD400;
    }
}

.btn {
    cursor: pointer;
    margin-bottom: 8px;
    width: 80%;
    height: 30px;
    border: none;
    border-radius: 5px;
    background-color: #F1E9DA;
    color: #2E294E;
    font-size: 16px;
}

.back form{
    justify-content: space-evenly;
}
.back .top{
    height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}