:root {
    --text-default:
        #000;
    --text-header:
        #FFF;
    --background-default:
        #281c35;
    --background-wrapper:
        #cae4d3;
    --background-header:
        #728b65;
    --background-footer:
        #8E8E8E;
}

html {
    font-size: 16px;
}

/* MOBILE FIRST STYLING 

1 rem = whatever the root font-size is (16px)


*/

h1, h2, h3, h4, body, blockquote, p, main, section, section, header, footer, img {
    margin: 0;
    padding: 0;
    font: inherit;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 100%;
    background-color: var(--background-default);
}

div.wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: rgb(247, 222, 172);
    color: var(--text-default);
    margin: 0 auto;
    font-family: Gill Sans, Gill Sans MT, Myriad Pro, DejaVu Sans Condensed, Helvetica, Arial, "sans-serif";
    font-size: 1em;
    line-height: 1.25em;
}

h1 {
    font-size: 2.5rem;
    padding: 1.5em;
    /* 16px */
    text-align: center;
    border-radius: 1.5rem;
    height: 3rem;
    line-height: 1rem;
    text-shadow: #ffcc00 1px 0 10px;
    font-weight: bolder;
    background-color: #00ff2231;
}

h2 {
    font-size: 1.25em;
    line-height: 1.25em;
    padding: 1rem;
    background-color: #a8f4528e;
    text-align: center;
    border-radius: 20px;
    max-width: 50%;
    color: rgb(54, 4, 56);
    margin: auto;
    margin-top: 20px;
    margin-bottom: 20px;
}

p {
    font-size: 1em;
    line-height: 1.25em;
    padding: 0.33rem;
}


.responsive-nav {
    background-color: var(--background-header);
    display: flex;
    margin: auto;
    justify-content: center;
    text-align: right;
    top: 0;
    border-radius: 1rem;
    width: 50%;
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 2rem;

}

.responsive-nav .hamburger {
    font-size: 1.5em;
    color: var(--text-header);
    background-color:
        transparent;
    cursor: pointer;
    border: none;

}

.responsive-nav .nav-items {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
}

.responsive-nav li {
    padding: 0.5em;
}

.responsive-nav a {
    text-decoration: none;
    color: var(--text-header);
}

header {
    color: var(--text-header);
    background: url("../images/clown.jpg") no-repeat;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    height: 20vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--background-header);
}


footer {
    text-align: center;
    font-size: .75em;
    color: var(--background-footer);
    padding: 2rem;
    display: flex;
    flex-direction: row;
    margin: auto;
}


.home {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    flex-direction: column;
    width: 100%;
}

* {
    box-sizing: border-box;
}


.header-section {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column-reverse;
    width: 100%;
    background-color: #281c35;
}

section.gallery img {
    width: 75%;
    height: auto;
    margin: 0.5em auto;
    border-radius: 20px;
}

.images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.video {
    display: flex;
    justify-content: center;
    justify-items: center;
    width: 100%;
    margin-top: 30px;
}

/* PHONE */



@media screen and (min-width: 300px) {
    .images {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media screen and (min-width: 600px) {
    .images {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 900px) {
    .images {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (min-width: 200px) {
    .lists {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
}

@media screen and (min-width: 1100px) {
    .lists {
        flex-direction: row;
        justify-content: center;
    }
}




/* TABLET */

@media screen and (min-width: 600px) {

    :root {
        font-size: 20px;
    }

    .responsive-nav {
        order: 1;
    }

    header {
        order: 0;
    }
}

/* DESKTOP */

@media screen and (min-width: 900px) {

    :root {
        font-size: 25px;
    }

    .hamburger {
        display: none;
    }

    .responsive-nav .nav-items {
        display: flex;
    }

    .home {
        gap: 0;
    }

    .responsive-nav {
        order: 1;
    }

    header {
        order: 0;
    }
}