#pageHeader {
    color: white;
    text-decoration: underline;
}

#mobileNav {
    z-index: 2;
}

#mainWrapper {
    width: 95%;
    max-width: 640px;
    margin: 0 auto;
}

#mainWrapper p {
    text-align: center;
}

#card {
    max-width: 500px;
    width: 95%;
    height: 400px;
    margin: 0 auto;
    border: 5px solid white;
    position: relative;
    transition: transform 1s;
    transform-style: preserve-3d;
    z-index: 1;
    margin-bottom: 100px;
}
#card > * {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    backface-visibility: hidden;
    width: 100%;
    height: 100%;
}
#card #front {
    padding: 20px;
    background-color: #80cefe;
}
#card #back {
    background-color: #1a1814;
    transform: rotateY(-180deg);
    padding: 40px;
    text-align: center;
}
#card #back p {
    margin-bottom: 40px;
}

/* Class to rotate the card */
.rotate {
    transform: rotateY(180deg);
}

form input, form textarea {
    margin-bottom: 10px;
}
form label {
    margin-bottom: 5px;
}
form #backBtn, form input[type="submit"] {
    width: min-content;
    font-weight: bold;
    font-size: 16px;
    padding: 10px;
}
form input[type="submit"] {
    margin-left: auto;
}
form .errNotif {
    height: 25px;
}

footer {
    z-index: 1;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
}