html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
    background: #2b2b2b;
    color: #c4c4c4;
}

.wrapper {
    min-height: 100vh;
    position: relative;
}

.container:has(> main) {
    padding-bottom: 100px;
}

h1 {
    margin-top: 40px;
    margin-bottom: 60px;
}

.navbar > .container {
    justify-content: center;
}

.home-button {
    display: block;
    width: 80px;
    height: 80px;
    max-height: 80px;
    max-width: 80px;
    position: relative;
    /*background-image: url('../img/acs-logo.png');
    background-size: 100% 100%;*/
}

    .home-button img {
        display: block;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0px;
        left: 0px;
    }

    .home-button img:first-child {
        -webkit-animation: spin 2s linear;
        -moz-animation: spin 2s linear;
        animation: spin 2s linear;
    }

    .home-button img:nth-child(2) {
        -webkit-animation: spin 2s linear reverse 1s;
        -moz-animation: spin 2s linear reverse 1s;
        animation: spin 2s linear reverse 1s;
    }

    .home-button img:last-child {
        -webkit-animation: spin 2s linear 2s;
        -moz-animation: spin 2s linear 2s;
        animation: spin 2s linear 2s;
    }

@-moz-keyframes spin {
    100% {
        -moz-transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

    .welcome {
        text-align: right;
    }

.content-container {
    max-width: 30em;
    margin: auto;
}

form label {
    display: block;
    text-align: left;
    font-weight: bold;
}

.field-validation-valid, .field-validation-error {
    display: block;
    min-height: 24px;
}


    form > dl > dd:first-child {
        text-align: left;
        background-color: #efefef;
        padding: 32px;
        border-radius: 10px;
        color: #2b2b2b;
    }

    form > dl > dd:last-child {
        text-align: center;
    }

input[type=file] {
    padding: 4px;
    margin: -4px;
    position: relative;
    outline: none;
    width: 100%;
}


    input[type=file]::file-selector-button {
        border-radius: 4px;
        padding: 0 16px;
        height: 40px;
        cursor: pointer;
        background-color: white;
        border: 1px solid rgba(#000, 0.16);
        box-shadow: 0px 1px 0px rgba(#000, 0.05);
        margin-right: 16px;
        /*
    This is a hack to change the button label. 
    I'm hiding the default label and then 
    manually applying the width based on 
    updated icon and label.
*/
        width: 132px;
        color: transparent;
        /*
    Firefox doesn't support the pseudo ::before 
    or ::after elements on this input field so 
    we need to use the @supports rule to enable 
    default styles fallback for Firefox.
*/
        @supports (-moz-appearance: none) {
            color: #2b2b2b;
        }
    }

    input[type=file]:before {
        position: absolute;
        pointer-events: none;
        top: 14px;
        left: 16px;
        height: 20px;
        width: 20px;
        content: "";
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232b2b2b'%3E%3Cpath d='M18 15v3H6v-3H4v3c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-3h-2zM7 9l1.41 1.41L11 7.83V16h2V7.83l2.59 2.58L17 9l-5-5-5 5z'/%3E%3C/svg%3E");
    }

    input[type=file]:after {
        position: absolute;
        pointer-events: none;
        top: 12px;
        left: 40px;
        color: #2b2b2b;
        content: "Browse File";
    }

.field-validation-error {
    display: block;
    color: crimson;
}

.btn {
    padding: 1.25rem 2rem;
    border-radius: 4px;
}

.btn-continue {
    color: #2b2b2b;
    background-color: #c4c4c4;
}

.btn-continue:hover {
    color: #2b2b2b;
    background-color: #555555;
    border-color: #1a1e21;
}

.btn-download {
    color: #ffffff;
    background-color: #28a745;
    border-color: #28a745;
}

    .btn-download:hover {
        color: #ffffff;
        background-color: #28a745;
        border-color: #28a745;
    }

.footer {
    border-top: 5px solid #494848;
    margin-top: 10px;
    position: absolute;
    width: 100%;
    bottom: 0px;
    min-height: 100px;
    padding-top: 20px;
    padding-bottom: 20px;
}
.footer .container {
    text-align: center;   
}

    .footer .container span {
        line-height: 26px;
    }



@media screen and (max-width: 769px) {

    h1 {
        margin-top: 20px;
        margin-bottom: 30px;
    }

    .container:has(> main) {
        padding-bottom: 180px;
    }

    .footer {
    }

    .footer .container div:last-child {
        display: flex;
        align-items: stretch;
        flex-direction: column;
    }

    .footer .container div:last-child span:nth-child(2n) {
        display: none;
    }
}