body {
    background-color: #D1D1D1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

.flip-container {
    perspective: 2000px;
}

.flip-card {
    width: 900px;
    height: 450px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

.flip-card .card-side {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    background: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.flip-card .card-front {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.flip-card .card-back {
    transform: rotateY(180deg);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.flip-container.flipped .flip-card {
    transform: rotateY(180deg);
}

.form-fields {
    width: 100%;
    height: 100%;
    padding: 20px;
    background: white;
    border-radius: 10px;
    cursor: pointer;
}

.form-fields h2 {
    margin-bottom: 20px;
    color: white;
}

.form-fields form {
    width: 100%;
}

.form-fields form .form-control {
    margin-bottom: 15px;
    color: white;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid white;
    background: white;
}

.form-fields form .btn {
    width: 100%;
}
.form-fields form .form-control::placeholder {
    color: black;
    opacity: 0.7;
}

.form-control:focus {
    outline: none !important;
    box-shadow: none !important;
    border-color: none;
}

.cursor-pointer {
    cursor: pointer;
}

.active-page {
    border-bottom: 2px solid black;
    padding: 0 10px;
}

a {
    text-decoration: none;
    color: gray;
}

.logReg-card {
    max-width: 500px;
    margin: 50px 0;
}

.stamp-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.stamp-card {
    height: 100px;
}

@media (max-width: 576px) {
    .flip-container {
        transform: rotate(90deg);
        margin-top: 200px !important;
        margin-bottom: 200px !important;
    }

    .flip-card {
        width: 680px;
        height: 350px;
    }

    .title {
        font-size: 1.1em;
    }

    form, .stamp-card{
        font-size: .8em !important;
    }

    .img {
        width: 80px;
        height: 80px;
    }

    .stamp-card {
        height: 70px;
    }
    .last {
       font-size: 1.4em !important;
       top: -10% !important;
       left: 50% !important;
    }
    .btn {
        font-size: .8em !important;
    }
}