*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
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: hidden;
    scale: 1.5;
    /* Add the blur effect */
    filter: blur(24px);
    -webkit-filter: blur(24px);
    /* Full height */
    height: 100%;
    width: 100%;
    z-index: -100;
   
    pointer-events: none;
}
.bg-image img{
    width: 100%;
    transform: scale(2);
    -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;
}

@-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: 14px;
    letter-spacing: 0.03em;
}
input{
    font-size: 15px;
}

.error {
    font-family: "Raleway", sans-serif;
    font-size: 11pt;
    color: red;
    text-align: center;
    font-weight: bold;
}

#card {
    background: #eeeeee;
    border-radius: 4px;
    box-shadow: 1px 8px 25px rgba(0, 0, 0, 0.2);
    min-height: 400px;
    height: auto;
    min-width: 200px;
    width: 100%;
    max-width: 500px;
    animation: fadeInAnimation ease 1s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    margin: auto;
}

@media only screen and (max-height: 768px) {
    /* For mobile phones: */
    #card {
        margin: 1rem auto;
        animation: fadeInAnimationMobile ease 1s;
    }
}

@media only screen and (max-width: 992px) {
    /* For mobile phones: */
    .bg-image img{
        width: 100%;
        height: 100%;
    }
}

#card-content {
    padding: 12px 44px;
}

#card-title {
    padding-bottom: 23px;
    padding-top: 13px;
    text-align: center;
}
#card-title img{
    width: 100%;
    max-width: 250px;
}

.form {
    align-items: left;
    display: flex;
    flex-direction: column;
}

.form-border {
    background: -webkit-linear-gradient(right, #502020, #692525);
    height: 1px;
    width: 100%;
}

.form-content {
    background: #eeeeee;
    border: none;
    outline: none;
    padding-top: 14px;
}

#submit-btn {
    
    border: none;
    border-radius: 4px;
    background: rgb(22, 107, 204);
    box-shadow: 0px 8px 16px #30151a60;
    cursor: pointer;
    color: white;
    font-family: "Raleway SemiBold", sans-serif;
    height: 42.3px;
    margin: 0 auto;
    margin-top: 20px;
    transition: 300ms;
    width: 153px;
}

#submit-btn:hover,
#submit-btn:focus {
    background: rgba(17, 95, 183, 1);
}

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;
    }
}