.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 45vh;
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    z-index: 1;
}

    .hero h1 {
        display: block;
        font-size: 50px;
        font-weight: bold;
        color: #FFFFFF;
        text-shadow: 3px 3px 5px rgba(0,0,0, 56%);
        margin: 0;
        text-align: center;
    }

    .hero p {
        font-size: 25px;
        font-weight: 500;
        color: #FFFFFF;
        text-shadow: 3px 3px 5px rgba(0,0,0, 20%);
        margin-top: 0;
        text-align: center;
    }

@media (max-width: 600px) {
    .hero {
        height: 35vh;
    }

        .hero h1 {
            font-size: 50px;
        }

        .hero h4 {
            font-size: 25px;
        }
}

@media (max-width: 350px) {
    
        .hero h1 {
            font-size: 35px;
        }
}
    
    
.errorLabel {
    color: red;
}

.submitSection {
    display: flex;
    flex-direction: column;
}

.loader {
    border: 10px solid #f3f3f3;
    border-radius: 50%;
    border-top: 10px solid #3498db;
    width: 25px;
    height: 25px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
    margin: 0 auto;
    margin-bottom: 10px;
}

/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}