body,
html {
    height: 100%;
    width: 100vw;
    overflow: hidden;
}

@font-face {
    font-family: "maracom";
    src: url("../fonts/pirulen.ttf");
}

.maracom-font {
    font-family: "maracom";
    color: #526DA9;
}

a:link {
    color: #526DA9;
    text-decoration: none;
}

a:visited {
    color: #526DA9;
    text-decoration: none;
}

a:hover {
    color: #122d69;
    text-decoration: none;
}

.bg-image {
    position: fixed;
    overflow: visible;
    transform: scale(2);
    /* Add the blur effect */
    filter: blur(24px);
    -webkit-filter: blur(24px);
    /* Full height */
    height: 120%;
    width: 120%;
    z-index: -100;
    -webkit-animation: rotating 30s linear infinite;
    -moz-animation: rotating 30s linear infinite;
    -ms-animation: rotating 30s linear infinite;
    -o-animation: rotating 30s linear infinite;
    animation: rotating 30s linear infinite;
    pointer-events: none;
}

@-webkit-keyframes rotating
/* Safari and Chrome */

{
    from {
        -webkit-transform: scale(2) rotate(0deg);
        -o-transform: scale(2) rotate(0deg);
        transform: scale(2) rotate(0deg);
    }
    to {
        -webkit-transform: scale(2) rotate(360deg);
        -o-transform: scale(2) rotate(360deg);
        transform: scale(2) rotate(360deg);
    }
}

@keyframes rotating {
    from {
        -ms-transform: scale(2) rotate(0deg);
        -moz-transform: scale(2) rotate(0deg);
        -webkit-transform: scale(2) rotate(0deg);
        -o-transform: scale(2) rotate(0deg);
        transform: scale(2) rotate(0deg);
    }
    to {
        -ms-transform: scale(2) rotate(360deg);
        -moz-transform: scale(2) rotate(360deg);
        -webkit-transform: scale(2) rotate(360deg);
        -o-transform: scale(2) rotate(360deg);
        transform: scale(2) rotate(360deg);
    }
}

label {
    font-family: "Raleway", sans-serif;
    font-size: 12pt;
}

.error {
    font-family: "Raleway", sans-serif;
    font-size: 11pt;
    color: red;
    text-align: center;
    font-weight: bold;
}

#card {
    background: #fbfbfb;
    border-radius: 8px;
    box-shadow: 1px 8px 25px rgba(0, 0, 0, 0.2);
    height: 400px;
    width: 300px;
    animation: fadeInAnimation ease 1s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    margin: 15rem auto 8.1rem auto;
}

@media only screen and (max-height: 768px) {
    /* For mobile phones: */
    #card {
        margin: 1rem auto 8.1rem auto;
        animation: fadeInAnimationMobile ease 1s;
    }
}

#card-content {
    padding: 12px 44px;
}

#card-title {
    padding-bottom: 23px;
    padding-top: 13px;
    text-align: center;
}

.form {
    align-items: left;
    display: flex;
    flex-direction: column;
}

.form-border {
    background: -webkit-linear-gradient(right, #526DA9, #122d69);
    height: 1px;
    width: 100%;
}

.form-content {
    background: #fbfbfb;
    border: none;
    outline: none;
    padding-top: 14px;
}

#submit-btn {
    background: -webkit-linear-gradient(right, #526DA9, #122d69);
    border: none;
    border-radius: 21px;
    box-shadow: 0px 1px 8px #122d69;
    cursor: pointer;
    color: white;
    font-family: "Raleway SemiBold", sans-serif;
    height: 42.3px;
    margin: 0 auto;
    margin-top: 20px;
    transition: 0.25s;
    width: 153px;
}

#submit-btn:hover,
#submit-btn:focus {
    box-shadow: 0px 1px 24px #526DA9;
    background: -webkit-linear-gradient(left, #526DA9, #122d69);
}

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px white inset;
}

@keyframes fadeInAnimation {
    0% {
        opacity: 0;
        margin: 30rem auto 8.1rem auto;
    }
    100% {
        opacity: 1;
        margin: 15rem auto 8.1rem auto;
    }
}

@keyframes fadeInAnimationMobile {
    0% {
        opacity: 0;
        margin: 15rem auto 8.1rem auto;
    }
    100% {
        opacity: 1;
        margin: 1rem auto 8.1rem auto;
    }
}