html {
    display: flex;
    flex-direction: column;
    align-items: center;
}
body {
    display: flex;
    flex-direction: column;
    width: 1400px;
    align-items: center;
    font-family: 'Roboto', sans-serif !important;
    margin-top: 10px !important;
}
#disclaimer {
    color: #6d6e70;
    font-size: .9em;
}
#disclaimer p {
    margin-bottom: 1rem;
    margin-top: .5rem
}
#banner {
    background: #1c417d;
    color: white;
    width: 100%;
    text-align: center;
}
#banner h3 {
    margin-bottom: 0;
    line-height: 2;
}

.steps {
    width: 70%;
    margin-top: 1rem;
    z-index: 2;
}
.progressbar {
    padding-left: 0 !important;
}
.progressbar li {
    list-style-type: none;
    width: 25%;
    float: left;
    position: relative;
    text-align: center;
    color: #bcbec0;
    font-size: .9em;
}
.progressbar li:before {
    width: 15px;
    height: 15px;
    content: "";
    line-height: 15px;
    background: #bcbec0;
    display: block;
    text-align: center;
    margin: 0 auto 10px auto;
    border-radius: 50%;
}
.progressbar li:after {
    width: 100%;
    height: 3.5px;
    content: '';
    position: absolute;
    background: #bcbec0;
    top: 5.75px;
    left: -50%;
    z-index: -1;
}
.progressbar li:first-child:after {
    content: none;
}
.progressbar li.active {
    color: #221f20;
}
.progressbar li.active:before {
    background: #221f20;
}
.progressbar li.active:after {
    background: #221f20;
}

#hexes {
    margin: 40px 0 20px 0;
    display: flex;
    justify-content: center;
    flex-direction: column;
}
.hex-img {
    max-height: 50vh;
    max-width: 1100px;
}
.hex-img.selection {
    display: none;
}
#questions {
    text-align: center;
    margin-top: 40px;
}
#footer {
    width: 95%;
    border-top: 1px #ededed solid;
    padding-top: 20px;
    padding-bottom: 20px;
}
#footer p, #footer li {
    margin-bottom: 0;
    color: #58595b;
    font-size: .9rem;
}

.modal.show {
    max-width: 1400px;
    left: 50%;
    transform: translateX(-50%);
    --current-hex-color: #221f20;
}
.modal.show .modal-dialog {
    min-width: 80%;
}
.modal-body {
    display: flex;
    flex-direction: column;
}
.steps.steps-modal { 
    width: 100%;
    background: #f0f1f1;
    padding: .5rem 0;
    margin-bottom: 2rem;
    border: 2px #d0d2d3 solid;
    border-radius: 3px;
    margin-top: 0;
}
.steps-modal .progressbar li:before {
    margin: 0 auto 5px auto;
}
.steps-modal .progressbar li.active:before {
    background: var(--current-hex-color);
}
.steps-modal .progressbar li.active:after {
    background: var(--current-hex-color);
}
.modal-content {
    border-radius: 22px !important;
    border: 5px solid var(--current-hex-color) !important;
}
.modal-header {
    background: var(--current-hex-color);
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    border-top-left-radius: 15px !important;
    border-top-right-radius: 15px !important;
}
.modal-title {
    width: 100%;
    text-align: center;
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
}
.modal-header button.close {
    background: none;
    border: none;
    color: white;
    font-size: 1.7rem;
    line-height: 1;
}
.modal-body form {
    padding: 0 2rem;
}
.modal-footer {
    border: none !important;
    flex-wrap: nowrap !important;
    padding: calc(var(--bs-modal-padding) - var(--bs-modal-footer-gap) * .5) calc(var(--bs-modal-padding) - var(--bs-modal-footer-gap) * .5 + 2rem) !important;
}
.modal-footer-flex-start,.modal-footer-flex-end {
    width: 50%;
    display: flex;
}
.modal-footer-flex-end {
    justify-content: flex-end;
}
.btn-modal-footer {
    background: var(--current-hex-color) !important;
    color: white !important;
    transition: none !important;
    font-size: 1.1rem !important;
}
#steps-form a {
    color: var(--current-hex-color) !important;
    font-size: 1.1rem;
}
.form-check label {
    font-size: 1.1rem;
}
#hexes-mobile {
    display: none !important;
}
#hexes-desktop {
    display: flex !important;
    justify-content: center;
}
area {
    cursor: pointer;
}
@media only screen and (max-width: 1366px) {
    .hex-img {
        width: 90%;
    }

    #disclaimer {
        width: 95%;
    }
    html {
        flex-direction: initial !important;
    }
}
@media only screen and (min-width: 1367px) {
    #logo {
        width: 33%;
    }
}
@media only screen and (min-width: 1025px) and (max-width: 1366px) {
    #logo {
        width: 40%;
    }
    #banner h3 {
        font-size: calc(1rem + .6vw);
    }
}
@media only screen and (min-width: 769px) and (max-width: 1024px) {
    #logo { 
        width: 55%;
    }
    #banner h3 {
        font-size: calc(1rem + .6vw)
    }
}
@media only screen and (max-width: 768px) {
    #logo {
        width: 60%
    }
    #banner h3 {
        font-size: calc(.8rem + .6vw)
    }
    .hex-img {
        max-height: none;
    }
    .modal-title {
        font-size: 1.4rem;
    }
}