@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&family=Oswald:wght@200;400&display=swap');

/* reset and set standards */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    color: #fff;
}

#gallery,
#synopsis,
#cast {
    background-image: url(../images/backgrounds/fullscreen-bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

p {
    font-size: 1rem;
    margin-bottom: 1em;
}

/* content */
.wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    min-width: 320px;
    overflow: auto;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

/* burger-menu */
.burger {
    display: none;
}

nav {
    display: block;
}

/* navigation */
.menu {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-items: center;
    justify-items: center;
    grid-auto-flow: column;
    list-style: none;
    max-width: 1280px;
    margin: 0 auto;
    height: 5.375em;
}

.menu__item--last {
    grid-column: 6;
    display: flex;
    justify-content: center;
}

.menu__link {
    text-decoration: none;
    color: #fff;
    font-size: 1.25rem;
    font-family: 'Open Sans', sans-serif;
    text-transform: uppercase;
}

.menu__link:hover,
.menu__link--active{
    font-weight: 700;
}

.some__iconlink {
    color: #fff;
    font-size: 1.25rem;
    margin: 0 0.73em;
}

/* main content */
h2.mobile_title {
    display: none;
}

.rwd_picture {
    display: none;
}

main {
    padding: 10em 2em 5em;
}

.content {
    display: grid;
    grid-template: 1/1;
    align-items: flex-start;
    justify-items: center;
}

.content__logo {
    grid-area: 1/1/-1/-1;
    max-width: 620px;
    padding-top: 30px;
}

.buttons {
    display: none;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.footer-grid {
    max-width: 510px;
    height: 6.25em;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, auto);
    column-gap: 4em;
    justify-items: center;
    align-items: center;
}

.neon {
    max-width: 85px;
}

.cjenm {
    max-width: 100px;
}

.barunson {
    max-width: 198px;
}

@media screen and (max-width: 900px) {
    .menu {
        grid-template-columns: repeat(5, 1fr);
    }

    .menu__item--last {
        grid-column: 5;
        padding-right: 1em;
    }

    .some__iconlink {
        margin: 0 0.4em;
    }

    .content {
        grid-template-columns: repeat(1, auto);
        grid-template-rows: repeat(2, auto);
        justify-items: center;
        align-items: flex-start;
    }

    .content__logo {
        display: flex;
        min-width: 280px;
        justify-self: center;
        grid-row: 1;
    }

    .buttons {
        grid-row: 2;
        justify-self: center;
        align-self: flex-start;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 1em;
    }

    .buttons__link {
        text-decoration: none;
        background-color: #fff;
        color: #000;
        font-family: 'Open Sans', sans-serif;
        font-size: 30px;
        font-weight: 400;
        box-shadow: 1px 1px 1px #000;
        line-height: 60px;
        text-align: center;
        display: block;
    }
}

@media screen and (max-width: 480px) {
    header {
        top: 0;
        background: none;
    }

    nav {
        display: none;
        align-items: center;
        height: 100vh;
        background-color: #35532f;
        position: relative;
        top: 0;
    }

    .menu {
        grid-template-columns: repeat(1, auto);
        grid-template-rows: repeat(5, 1fr);
        gap: 2.1875em;
        height: 320px;
        max-width: 220px;
        justify-content: space-around;
        align-items: center;
        justify-items: center;
    }

    .menu__item {
        grid-column: 1;
        line-height: 2em;
    }

    .menu__item--last {
        grid-column: 1;
        padding-right: 0;
        justify-content: space-between;
        width: 220px;
        margin: 0;
    }

    .burger {
        display: flex;
        justify-self: flex-end;
        font-size: 1.5em;
        margin: 0.75em 1em;
        cursor: pointer;
        right: 0;
        position: absolute;
        z-index: 120;
    }

    main {
        padding-top: 20px;
        height: auto;
        min-height: 100vh;
    }

    .content__logo {
        max-width: 280px;
    }

    h2.mobile_title {
        font-weight: 200;
        font-size: 2rem;
        text-align: center;
        display: block;
        text-transform: uppercase;
    }

    .rwd_picture {
        display: flex;
        justify-content: center;
    }

    .rwd_picture,
    .mobile_title {
        margin-bottom: 2em;
    }

    .buttons {
        align-self: end;
    }

    footer {
        position: unset;
    }

    .footer-grid {
        column-gap: 1em;
    }

    .footer-grid img {
        padding: 1em;
    }
}