@media screen and (max-width: 499px) {
    .container1 {
        width: 100%;
        margin: auto;

        .uncenter {
            width: 100%;
            margin: auto;
            display: grid; 
            grid-template-columns: 1fr;
            grid-row-gap: .75rem;
        }

        .text {
            display: grid; 
            flex-wrap: wrap;
            grid-template-columns: 1fr 1fr;

            label {
                align-self: center;
                text-align: right;
            }

            .toggle-label {
                align-self: center;
                text-align: right;
            }

            .investigator_2_container {
                display: none;
                align-self: center;
                justify-self: center;
                flex-wrap: nowrap;
            }
        }

        .file {
            display: block; 
            margin-top: 1.5rem;
        }

        .input-alignment {
            display: grid;
            grid-template-rows: 1fr 1fr;
        }

        .textarea-align {
            display: flex;
            flex-wrap: wrap;
            flex-direction: column;
        }

        .park {
            display: grid;
            margin-top: .75rem;
            grid-template-columns: 1fr 1fr;
        }

        .park-padding {
            margin-top: 2rem;
        }

        .location {
            display: grid;
            
            label {
                display: block;
            }
        }
    }

    .container2 {
        width: 100%;
        margin: auto;

        .uncenter {
            width: 90%;
            margin: auto;
            display: grid; 
            text-align: left;
            grid-template-columns: 1fr;
            grid-row-gap: 1rem;
        }

        .skip-link {
            position: absolute;
            left: -9999px;
            z-index: 999;
            padding: 1em;
            background-color: black;
            color: white;
            opacity: 0;
        }

        .text {
            display: grid; 
            flex-wrap: wrap;
            grid-template-columns: 1fr 1fr;

            label {
                align-self: center;
                text-align: right;
            }

            .toggle-label {
                align-self: center;
                text-align: right;
            }

            .investigator_2_container {
                display: none;
                align-self: center;
                justify-self: center;
                flex-wrap: nowrap;
            }
        }

        .file {
            display: block; 
        }

        .input-alignment {
            display: grid;
            grid-template-rows: 1fr 1fr;
        }

        .textarea-align {
            display: flex;
            flex-wrap: wrap;
            flex-direction: column;
        }

        .park {
            display: grid;
            margin-top: .5rem;
            grid-template-columns: 1fr 1fr;
        }

        .location {
            display: grid;
            
            label {
                display: block;
            }
        }
    }

    input[type=text], input[type=email], input[type=date], textarea{
        display: inline-block;
        vertical-align:middle;
        border: 1px solid grey;
    }

    input[type=submit]{
        display: block;
        margin: 2% auto;
    }

    .required_font {
        color: #e10000;
        
    }

    .hide {
        display: none;
    }
}

@media screen and (min-width: 500px) and (max-width: 799px) {
    .container1 {
        width: 100%;
        margin: auto;

        .uncenter {
            width: 90%;
            margin: auto;
            display: grid; 
            grid-template-columns: 1fr;
            grid-row-gap: .75rem;
        }

        .text {
            display: grid; 
            flex-wrap: wrap;
            grid-template-columns: 1fr 1fr;

            label {
                align-self: center;
                text-align: right;
            }

            .toggle-label {
                align-self: center;
                text-align: right;
            }

            .investigator_2_container {
                display: none;
                align-self: center;
                justify-self: center;
                flex-wrap: nowrap;
            }
        }

        .file {
            display: block; 
        }

        .input-alignment {
            display: grid;
            grid-template-rows: 1fr 1fr;
        }

        .textarea-align {
            display: flex;
            flex-wrap: wrap;
            flex-direction: column;
        }

        .park {
            display: grid;
            margin-top: .75rem;
            grid-template-columns: 1fr 1fr;
        }

        .location {
            display: grid;
            
            label {
                display: block;
            }
        }
    }

    .container2 {
        width: 100%;
        margin: auto;

        .uncenter {
            width: 90%;
            margin: auto;
            display: grid; 
            text-align: left;
            grid-template-columns: 1fr;
            grid-row-gap: 1rem;
        }

        .skip-link {
            position: absolute;
            left: -9999px;
            z-index: 999;
            padding: 1em;
            background-color: black;
            color: white;
            opacity: 0;
        }

        .text {
            display: grid; 
            flex-wrap: wrap;
            grid-template-columns: 1fr 1fr;

            label {
                align-self: center;
                text-align: right;
            }

            .toggle-label {
                align-self: center;
                text-align: right;
            }

            .investigator_2_container {
                display: none;
                align-self: center;
                justify-self: center;
                flex-wrap: nowrap;
            }
        }

        .file {
            display: block; 
        }

        .input-alignment {
            display: grid;
            grid-template-rows: 1fr 1fr;
        }

        .textarea-align {
            display: flex;
            flex-wrap: wrap;
            flex-direction: column;
        }

        .park {
            display: grid;
            margin-top: .5rem;
            grid-template-columns: 1fr 1fr;
        }

        .location {
            display: grid;
            
            label {
                display: block;
            }
        }
    }

    input[type=text], input[type=email], input[type=date], textarea{
        display: inline-block;
        vertical-align:middle;
        border: 1px solid grey;
    }

    input[type=submit]{
        display: block;
        margin: 2% auto;
    }

    .required_font {
        color: #e10000;
        
    }

    .hide {
        display: none;
    }

    .compact_location{
        display: flex;
                    label {
                display: block;
            }
    }

    .compact_list {
        margin-top: -1rem !important;
        margin-left: 2rem !important;
    }
}

@media screen and (min-width: 800px) and (max-width: 939px)  {
    .container1 {
        width: 95%;
        margin: auto;

        h1 {
            text-align: center;
        }

        .instructions {
            text-align: center;
        }

        .uncenter {
            width: 80%;
            margin: auto;
            display: grid; 
            grid-template-columns: 1fr;
            grid-row-gap: .75rem;
        }

        .text {
            display: grid; 
            flex-wrap: wrap;
            grid-template-columns: 1fr 1fr;
            margin-right: 20%;

            label {
                align-self: center;
                text-align: right;
            }

            .toggle-label {
                align-self: center;
                text-align: right;
            }

            .investigator_2_container {
                display: none;
                align-self: center;
                justify-self: center;
                flex-wrap: nowrap;
            }
        }

        .file {
            display: block; 
        }

        .input-alignment {
            display: grid;
            grid-template-rows: 1fr 1fr;
        }

        .textarea-align {
            display: flex;
            flex-wrap: wrap;
            flex-direction: column;
        }

        .park {
            display: grid;
            margin-top: 1.5rem;
            grid-template-columns: 1fr 1fr;
        }

        .location {
            display: grid;
            
            label {
                display: block;
            }
        }
    }

    .container2 {
        width: 95%;
        margin: auto;

        .uncenter {
            width: 80%;
            margin: auto;
            display: grid; 
            text-align: left;
            grid-template-columns: 1fr;
            grid-row-gap: 1rem;
        }

        .skip-link {
            position: absolute;
            left: -9999px;
            z-index: 999;
            padding: 1em;
            background-color: black;
            color: white;
            opacity: 0;
        }

        .text {
            display: grid; 
            flex-wrap: wrap;
            grid-template-columns: 1fr 1fr;
            margin-right: 20%;

            label {
                align-self: center;
                text-align: right;
            }

            .toggle-label {
                align-self: center;
                text-align: right;
            }

            .investigator_2_container {
                display: none;
                align-self: center;
                justify-self: center;
                flex-wrap: nowrap;
            }
        }

        .file {
            display: block; 
        }

        .input-alignment {
            display: grid;
            grid-template-rows: 1fr 1fr;
        }

        .textarea-align {
            display: flex;
            flex-wrap: wrap;
            flex-direction: column;
        }

        .park {
            display: grid;
            margin-top: .5rem;
            grid-template-columns: 1fr 1fr;
        }

        .location {
            display: grid;
            
            label {
                display: block;
            }
        }
    }

    input[type=text], input[type=email], input[type=date], textarea{
        display: inline-block;
        vertical-align:middle;
        border: 1px solid grey;
    }

    input[type=submit]{
        display: block;
        margin: 2% auto;
    }

    .required_font {
        color: #e10000;
        
    }

    .hide {
        display: none;
    }

    .compact_location{
        display: flex;
                    label {
                display: block;
            }
    }

    .compact_list {
        margin-top: -1rem !important;
    }
}

@media screen and (min-width: 940px) and (max-width: 1079px){
    .container1 {
        width: 95%;
        margin: auto;

        h1 {
            text-align: center;
        }

        .instructions {
            text-align: center;
        }

        .uncenter {
            width: 70%;
            margin: auto;
            display: grid; 
            grid-template-columns: 1fr;
            grid-row-gap: .75rem;
        }

        .text {
            display: grid; 
            flex-wrap: wrap;
            grid-template-columns: 1fr 1fr;
            margin-right: 20%;

            label {
                align-self: center;
                text-align: right;
            }

            .toggle-label {
                align-self: center;
                text-align: right;
            }

            .investigator_2_container {
                display: none;
                align-self: center;
                justify-self: center;
                flex-wrap: nowrap;
            }
        }

        .textarea-align {
            display: flex;
            flex-wrap: wrap;
            flex-direction: column;
        }

        .file {
            display: block; 
        }

        .input-alignment {
            display: grid;
            grid-template-rows: 1fr 1fr;
        }

        .park {
            display: grid;
            margin-top: .5rem;
            grid-template-columns: 1fr 1fr;
        }

        .location {
            display: grid;
            
            label {
                display: block;
            }
        }
    }

    .container2 {
        width: 95%;
        margin: auto;

        .uncenter {
            width: 70%;
            margin: auto;
            display: grid; 
            text-align: left;
            grid-template-columns: 1fr;
            grid-row-gap: 1rem;
        }

        .skip-link {
            position: absolute;
            left: -9999px;
            z-index: 999;
            padding: 1em;
            background-color: black;
            color: white;
            opacity: 0;
        }

        .text {
            display: grid; 
            flex-wrap: wrap;
            grid-template-columns: 1fr 1fr;
            margin-right: 20%;

            label {
                align-self: center;
                text-align: right;
            }

            .toggle-label {
                align-self: center;
                text-align: right;
            }

            .investigator_2_container {
                display: none;
                align-self: center;
                justify-self: center;
                flex-wrap: nowrap;
            }
        }

        .file {
            display: block; 
        }

        .input-alignment {
            display: grid;
            grid-template-rows: 1fr 1fr;
        }

        .textarea-align {
            display: flex;
            flex-wrap: wrap;
            flex-direction: column;
        }

        .park {
            display: grid;
            margin-top: .5rem;
            grid-template-columns: 1fr 1fr;
        }

        .location {
            display: grid;
            
            label {
                display: block;
            }
        }
    }

    input[type=text], input[type=email], input[type=date], textarea{
        display: inline-block;
        vertical-align:middle;
        border: 1px solid grey;
    }

    input[type=submit]{
        display: block;
        margin: 2% auto;
    }

    .required_font {
        color: #e10000;
        
    }

    .hide {
        display: none;
    }

    .compact_location{
        display: flex;
                    label {
                display: block;
            }
    }

    .compact_list {
        margin-top: -1rem !important;
    }
}

@media screen and (min-width: 1080px){
    .container1 {
        width: 95%;
        margin: auto;

        h1 {
            text-align: center;
        }

        .instructions {
            text-align: center;
        }

        .uncenter {
            width: 60%;
            margin: auto;
            display: grid; 
            grid-template-columns: 1fr;
            grid-row-gap: 1rem;
        }

        .text {
            display: grid; 
            flex-wrap: wrap;
            grid-template-columns: 1fr 1fr;
            margin-right: 20%;

            label {
                align-self: center;
                text-align: right;
            }

            .toggle-label {
                align-self: center;
                text-align: right;
            }

            .investigator_2_container {
                display: none;
                align-self: center;
                justify-self: center;
                flex-wrap: nowrap;
            }
        }

        .textarea-align {
            display: flex;
            flex-wrap: wrap;
            flex-direction: column;
        }

        .file {
            display: block; 
            margin-top: 1rem;
        }

        .park {
            grid-template-columns: 50% 50%;
        }

        .location {
            display: grid;
            grid-template-columns: 10% 20% 10% 20% 10% 20%;
            
            label {
                display: block;
            }
        }
    }

    .container2 {
        width: 95%;
        margin: auto;

        .uncenter {
            width: 60%;
            margin: auto;
            display: grid; 
            text-align: left;
            grid-template-columns: 1fr;
            grid-row-gap: 1rem;
        }

        .skip-link {
            position: absolute;
            left: -9999px;
            z-index: 999;
            padding: 1em;
            background-color: black;
            color: white;
            opacity: 0;
        }

        .skip-link:focus {
            left: 50%;
            transform: translateX(-50%);
            opacity: 1;
        }

        .text {
            display: grid; 
            flex-wrap: wrap;
            grid-template-columns: 1fr 1fr;
            margin-right: 20%;

            label {
                align-self: center;
                text-align: right;
            }

            .toggle-label {
                align-self: center;
                text-align: right;
            }

            .investigator_2_container {
                display: none;
                align-self: center;
                justify-self: center;
                flex-wrap: nowrap;
            }
        }

        .file {
            display: block; 
            margin-bottom: 1.5rem;
        }

        .textarea-align {
            display: flex;
            flex-wrap: wrap;
            flex-direction: column;
        }

        .park {
            grid-template-columns: 50% 50%;
        }

        .location {
            display: grid;
            grid-template-columns: 10% 20% 10% 20% 10% 20%;
            
            label {
                display: block;
            }
        }
    }

    input[type=text], input[type=email], input[type=date], textarea{
        display: inline-block;
        vertical-align:middle;
        border: 1px solid grey;
    }

    input[type=submit]{
        display: block;
        margin: 2% auto;
    }

    .required_font {
        color: #e10000;
        
    }

    .hide {
        display: none;
    }

    .compact_location{
        display: flex;
                    label {
                display: block;
            }
    }

    .compact_list {
        margin-top: -1rem !important;
    }
}