body section:first-of-type {
    padding-top: 129px;
}

.content {
    display: flex;
    align-items: center;
}

p:not(:first-child) {
    margin-top: 2em;
}

.aboutme-img-section {
    position: relative;
    background-image: url('/img/aboutme/background.jpg');
    background-repeat: no-repeat;
    background-size: cover;
}

.aboutme-twopanel-section {
    padding: 10em;
}

.aboutme-twopanel-section h1 {
    margin-top: 1.5em;
    overflow:visible;
}

.panels {
    display: flex;
    padding: 0 5em 5em 5em;
}

.panels .panel:first-child {
    border-right: 1px solid gray;
    padding-right: 2em;
}

.panels .panel:nth-child(2) {
    margin-left: 2em;
}

.aboutme-list-section {
    padding: 7em;
}

.list-img {
    display: flex;
    justify-content: space-between;
}

.list-img h1 {
    font-size: 60px;
}

.why-us-list {
    text-align: left;
}

.why-us-list li {
    display: flex;
    flex-direction: row;
    align-items: center;
    list-style: none;
    text-align: justify;
    margin-bottom: 3em;
    font-size: 24px;
    max-width: 30em;
}

.marker {
    position: absolute;
    width: 1em;
    height: 1em;
    background-color: var(--lighterbrown);
    border-radius: 40%;
    transform: translateX(-3em);
}

.cover {
    display: block;
    position: fixed;
    width: 100vw;
    height: 100vh;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(88, 68, 54, 0.479);
}

.staff-wanted {
    display: flex;
    flex-direction: column;
    background-color: #fff58c;
    border-color: #635e1e;
    border-radius: 0.5em;
    width: 50%;
    height: auto;
    padding: 2em;
    align-items: center;
    margin: 0;
    text-align: center;
}

.staff-wanted h1 {
    margin: 0;
}

.staff-wanted span {
    margin-top: 2em;
    overflow-wrap: break-word;
    font-size: 25px;
}

.x {
    width: 2em;
    height: 2em;
    background: none;
    border: none;
    background-image: url('/img/gallery/x.png');
    background-size: contain;
    background-repeat: no-repeat;
    margin-bottom: 2em;
}

.x:hover {
    cursor: pointer;
}

@media only screen and (max-width: 1800px) {
    .aboutme-list-section {
        padding: 5em;
    }
}

@media only screen and (max-width: 1500px) {
    .content {
        flex-direction: column;
    }

    .why-us-list li {
        flex-direction: column;
        align-items: center;
        margin-top: 5em;
    }

    .marker {
        transform: translate(0) translateY(-1.5em);
    }

    .aboutme-twopanel-section {
        padding: 5em;
    }

    .list-img h1 {
        font-size: 50px;
        margin: 2em 0 2em 0;
    }
}

@media only screen and (max-width: 1100px) {
    body section:first-of-type {
        padding-top: 110px;
    }

    .container-text {
        margin: 0;
        margin-bottom: 2em;
    }

    .aboutme-twopanel-section {
        padding: 1em;
    }
}

@media only screen and (max-width: 900px) {
    .panels {
        padding: 0 2.5em 2.5em 2.5em;
    }
}

@media only screen and (max-width: 800px) {
    .panels {
        flex-direction: column;
    }

    .panels .panel:first-child {
        border: 0;
        border-bottom: 1px solid gray;
        padding: 0;
        padding-bottom: 1em;
    }

    .panels .panel:nth-child(2) {
        margin: 0;
        margin-top: 1em;
    }
}

@media only screena and (max-width: 700px) {
    body section:first-of-type {
        padding-top: 90px;
    }
}

@media only screen and (max-width: 600px) {
    .aboutme-list-section {
        padding: 3em;
    }

    .aboutme-list-section h1 {
        font-size: 40px;
    }
}

@media only screen and (max-width: 550px) {
    body section:first-of-type {
        padding-top: 60px;
    }

    .container {
        padding: 1em;
    }

    .container p {
        line-height: 2em;
    }
    
    .panels {
        padding: 1em;
    }

    .aboutme-list-section {
        padding: 1em;
    }

    .why-us-list li {
        font-size: 18px;
        text-align: center;
    }
}

/* IMG */

#forklift-box {
    max-width: 40%;
}

#forklift {
    width: 40%;
    margin: 4em 10em 0 10em;
}