:root {
    --navHeight: 120px;
    --breadHeight: 150px;
    --headerHeight: calc(var(--navHeight) + var(--breadHeight));
    --footerHeight: 60px;
}

* {
    box-sizing: border-box;
}

body{
    color: var(--blackText);
    font-size: var(--normal);
    margin: 0;
    padding: 0;
    background-color: var(--grayLight);
}

header#main-header{
    position: relative;
    height: var(--headerHeight);
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: var(--shadowFloor);
    z-index: 1;
}

header#main-header img{
    height: calc(var(--navHeight) - var(--spacing) * 2);
}

nav{
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: var(--navHeight);
    padding: var(--spacing) 0;
    transition: var(--transitionAll);
    /* border-bottom: solid 1px var(--governmentBlueOpacity); */
}

header#main-header nav.solid {
    background-color: white;
    box-shadow: var(--shadowFloor);
}

#nav-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1800px;
    margin: 0 auto;
}

#bread-container{
    display: flex;
    flex-direction: column;
    position: absolute;
    width: 100%;
    bottom: 0;
    height: var(--breadHeight);
}

#bread-container span{
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: calc(var(--xxxlarge) * 1.5);
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.2;
}

main {
    min-height: calc(100vh - var(--navHeight) - var(--breadHeight) - var(--footerHeight));
    padding: calc(var(--spacing) * 3) 0;
}

#body-buttons{
    display: none;
}

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: black;
    height: var(--footerHeight);
    background-color: var(--governmentBlue);
}

/* Form */
.form-container{
    width: 85%;
    /* min-height: calc(100vh - var(--navHeight) - var(--breadHeight) - var(--footerHeight)); */
    /* background-color: white; */
    margin: 0 auto calc(var(--spacing) * 3) auto;
    /* padding: calc(var(--spacing) * 2); */
    border-radius: var(--borderRadius);
    /* box-shadow: var(--shadowFloor); */
}

.form-container.small{
    max-width: 400px;
}

.form-container.medium{
    max-width: 500px;
}

.form-container.large{
    max-width: 700px;
}

.form-container.xlarge{
    max-width: 900px;
}

/* Remove handles number type input */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
    -webkit-appearance: none;
    appearance: none;
}

input[type=number]::-moz-inner-spin-button,
input[type=number]::-moz-outer-spin-button {
    -moz-appearance: none;
    margin: 0;
}

/* All text inputs uppercase */
input[type="text"]:not(#email):not(#password):not(#password-confirm){
    text-transform: uppercase;
}

#big-screen{
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99999;
    display: none;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width: 600px) {
    :root{
        --navHeight: 80px;
        --breadHeight: 100px;
    }

    header#main-header img{
        height: unset;
    }

    #nav-container{
        justify-content: center;
    }

    #header-buttons{
        display: none;
    }

    main{
        padding: 0;
    }

    #body-buttons{
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: calc(var(--spacing) * 1);
    }

    #bread-container span{
        font-size: calc(var(--large) * 1.3);
    }

    footer {
        font-size: var(--small);
    }
}
