body {
    margin: 0;
}

h1, p {
    font-family: Futura;
    color: #0E0C0A;
    margin: 0;
}

h1 {
    font-weight: 600;
    text-align: center;
}

p {
    font-weight: 300;
}

a {
    color: rgb(255, 182, 18)
}

button, input {
    color: black;
}

label, textarea {
    font-family: Arial, Helvetica, sans-serif;
}

button, input[type=submit] {
    cursor: pointer;
}

/* NAV */

#nav {
    width: 100%;
    height: 100px;
    background-color: #0E0C0A;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#nav > img {
    height: 70%;
    margin-left: 2rem;
    cursor: pointer;
}

#nav .buttons {
    margin-right: 2rem;
}

#nav .buttons button {
    background-color: rgb(255, 182, 18);
    border: none;
    border-radius: 0.5em;
    padding: 1em 1.5em;
    margin-left: 1em;
    font-weight: 600;
}

/* SHOWOFF */

#showoff {
    width: 100%;
    height: 70vh;
    position: relative;
}

#showoff > video {
    position: absolute;
    top: 0;
    left: 0px;
    width: 100%;
    object-fit: cover;
    display: block;
    z-index: 1;
}

#showoff > div {
    z-index: 3;
    position: absolute;
    width: 60%;
    top: 25%;
    left: 20%;
}

#showoff img {
    width: 100%
}

#showoff .buttons {
    display: flex;
    width: 100%;
    justify-content: space-between;
    margin-top: 2em;
}

#showoff .buttons button {
    padding: 0.5em 1em;
    background-color: rgb(255, 182, 18);
    border: none;
    border-radius: 0.25em;
    font-size: 1.75em;
    text-transform: uppercase;
}

/* SERVICES */

#services {
    padding-block: 3em;
    background-color: rgb(255, 182, 18);
}

#services .title {
    margin-bottom: 2rem;
}

#services .content {
    height: 400px;
    width: 60%;
    margin: auto;
    display: flex;
}

#services .content img {
    height: 100%;
    width: 45%;
    margin-right: 5%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.5);
}

#services .content > div {
    width: 45%;
    margin-left: 5%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

#services .content p {
    font-size: 1.1em;
}

#services .content button {
    padding: 1em 1.5em;
    border: none;
    background-color: black;
    color: rgb(255, 182, 18);
    border-radius: 0.25em;
    font-size: 1em;
}

/* QUOTE */

#quote {
    background-color: #0E0C0A;
    padding-block: 3rem;
}

#quote h1, #quote label {
    color: rgb(255, 182, 18);
}

#quote h1 {
    margin-bottom: 2rem;
}

#quote form {
    display: flex;
    flex-direction: column;
    width: 50%;
    margin: auto;
}

#quote form input, #quote form textarea {
    padding: 1em 1.5em;
    border: none;
    border-radius: 0.5em;
    margin-bottom: 1em;
}

#quote form label {
    margin-right: 1em;
}

#quote .bicolumn {
    display: flex;
    justify-content: space-between;
}

#quote .bicolumn input {
    width: 45%;
}

#quote .bicolumn input:first-child {
    margin-right: 0.5em;
}

#quote .bicolumn input:last-child {
    margin-left: 0.5em;
}

#quote #jobselect {
    display: flex;
    margin: auto;
    margin-bottom: 1rem;
}

#quote form input[type=submit] {
    background-color: rgb(255, 182, 18);
    font-weight: 600;
}

/* FOOTER */

#footer {
    width: 100%;
    display: flex;
    height: 80px;
    background-color: #0E0C0A;
}

#footer > div {
    width: calc(100% - 2rem);
    margin: auto;
    height: calc(100% - 2rem);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#footer > div img {
    height: 100%;
}

#footer > div .buttons {

}

#footer > div .buttons button {
    background-color: transparent;
    border: none;
    color: rgb(255, 182, 18)
}

/* UNDER 17/10 */

@media (max-aspect-ratio: 17/10) {

    /* SHOWOFF */

    #showoff .buttons button {
        font-size: 1.5em;
    }

    #showoff > div {
        width: 70%;
        top: 20%;
        left: 15%;
    }

    /* SERVICES */

    #services .content {
        width: 70%;
    }

    /* QUOTE */

    #quote form {
        width: 65%;
    }
}

/* UNDER 6/5 */

@media (max-aspect-ratio: 6/5) {

    /* SHOWOFF */
    
    #showoff .buttons button {
        font-size: 1.25em;
    }
    
    #showoff > div {
        width: 75%;
        top: 20%;
        left: 12.5%;
    }
    
    /* SERVICES */
    
    #services .content {
        width: 80%;
    }
    
    /* QUOTE */
    
    #quote form {
        width: 75%;
    }
}

/* UNDER 1/1 */

@media (max-aspect-ratio: 1/1) {

    h1 {
        font-size: 1.5em;
    }

    /* NAV */

    #nav {
        height: 80px;
    }

    #nav > img {
        margin-left: 1rem;
    }

    #nav .buttons {
        margin-right: 1rem;
    }

    #nav .buttons button {
        padding: 0.5em 1em;
        margin-left: 0.5em;
        border-radius: 0.25em;
    }

    /* SHOWOFF */

    #showoff {
        height: 50vh;
    }

    #showoff .buttons {
        flex-direction: column;
    }

    #showoff .buttons button {
        font-size: 1em;
    }

    #showoff .buttons button:not(:last-child) {
        margin-bottom: 1em;
    }

    #showoff > div {
        width: 90%;
        top: 20%;
        left: 5%;
    }

    #showoff > video {
        height: 100%;
    }

    /* SERVICES */

    #services .title {
        width: 80%;
        display: flex;
        justify-content: center;
        margin-inline: auto;
    }

    #services .content {
        flex-direction: column;
        height: initial;
        align-items: center;
    }

    #services .content img, #services .content>div {
        margin: 0;
        width: 100%;
    }

    #services .content img {
        margin-bottom: 2rem;
    }

    #services .content > div {
        align-items: center;
        text-align: justify;
        text-justify: inter-word;
    }

    #services .content > div p {
        margin-bottom: 1em;
    }

    #services .content > div button {
        width: 100%;
    }

    /* QUOTE */

    #quote form {
        width: 80%;
    }

    #quote .bicolumn {
        flex-direction: column;
    }

    #quote .bicolumn input {
        margin: 0 0 1em 0 !important;
        width: calc(100% - 3em);
    }
}