* {
    box-sizing: border-box;
    font-family: Karla;
}
input {
    border-radius: 0;
}

.subNav {
    width: 100%;
    margin-bottom: 35px;
}

.subNav a {
    text-decoration: none;
    color: black;
    cursor: pointer;
}

.subGroup {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
    padding: 0;
}

.subNavElements {
    text-decoration: none;
    color: #000;
    font-size: 20px;
    letter-spacing: 4px;
    user-select: none;
}

.job {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 3% 0;
}

.jobItem {
    width: 30%;
    min-width: 500px;
    margin: 1.8% auto;
}

.job img {
    width: 100%;
    height: auto;
    user-select: none;
}

.job h2 {
    text-align: center;
    background-color: #591a26;
    color: white;
    padding: 14px 0;
    margin: 0;
    letter-spacing: 4px;
}

.job p {
    display: flex;
    text-align: justify;
    font-size: 24px;
    line-height: 41px;
}

hr {
    width: 80%;
    margin: 0 auto;
    height: 3px;
    color: #591a26;
    background-color: #591a26;
}

.subNavElements{
    position: relative;
}

.gallerySubNav{
    display: flex;
    flex-direction: column;
    list-style-type: square;
    margin: 21px 0 0 0;
    padding: 0 17px;
}

.gallerySubNav li{
    margin: 15px 0;
}

.jobDescription {
    width: 30%;
    display: block;
}

.one{
    order: 1;
}

.two{
    order: 2;
}

.three{
    order: 3;
}

.four{
    order: 4;
}

.five{
    order: 5;
}

.six{
    order: 6;
}

.seven{
    order: 7;
}

.backgroundColor{
    color: #591a26 !important;
    font-weight: bold;
}

@media screen and (max-width: 1250px) {
    .one{
        width: 100%;
    }
    .two, .four, .six{
        width: 70%;
    }
    .six, .seven{
        margin-bottom: 0 !important;
    }
    .subGroup {
        flex-wrap: wrap;
        flex-direction: unset;
        justify-content: space-between;
        width: 80%;
        margin: 40px auto 0;
    }
    .subNavElements {
        margin: 0 0 34px 0;
    }
}
@media screen and (max-width: 650px) {
    /*.responsiveNav {*/
    /*    width: 100%;*/
    /*    margin: 6px 0;*/
    /*    display: flex;*/
    /*    justify-content: space-between;*/
    /*}*/

    .subGroup {
        flex-wrap: wrap;
        width: 85%;
    }
    .two, .four, .six {
        width: 65%;
    }
    .jobItem {
        width: 95%;
        min-width: unset;
        margin: 0 auto;
    }
    .job p {
        font-size: 126%;
        line-height: 30px;
        margin: 8px 0;
    }

    .job h2 {
        font-size: 120%;
    }

    hr {
        margin-bottom: 7%;
    }

    .bottomRow {
        margin-bottom: 4%;
    }

    .subNavElements {
        text-align: left;
        font-size: 110%;
    }
}
@media screen and (max-width: 400px) {
    .responsiveNav {
        margin: 8px 0;
    }

    .subGroup {
        width: 97%;
    }

    .subNavElements {
        font-size: 86%;
    }
}