/* Landscape */
@media screen and (max-width: 1000px) and (orientation: landscape) {
    .page {
        width: 90%;
    }

    .no-overflow {
        overflow-y: visible;
    }
}

/* Landscape */
@media screen and (max-width: 870px) and (orientation: landscape) {
    .logo-name {
        font-size: 22px;
        line-height: 29px;
    }

    .menu-subtitle {
        font-size: 10px;
    }
}

@media screen and (max-width: 850px) and (orientation: portrait) {

    /* needs to be updated if header or footer height is adjusted */
    .page {
        width: calc((100vh - 255px) * 1.78);
    }

    .header {
        padding-top: 10px;
        height: 120px;
        margin-bottom: 0%;
    }

    .logo {
        float: unset;
        position: unset;
        bottom: unset;
        left: unset;
        text-align: unset;
        padding-bottom: 10px;
        line-height: 30px;
    }

    .line {
        display: block;
    }

    .menu {
        float: unset;
        position: unset;
        bottom: unset;
        right: unset;
        display: block;
        text-align: center;
    }

    .menu-items {
        justify-content: center;
    }

    .menu-item {
        font-size: 20px;
        padding: unset;
        margin: unset;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .alt-video {
        flex: 1 0 51%;
    }

    .alt-video:first-of-type {
        margin-right: 0px;
        margin-bottom: 2%;
    }

    .alt-video-2 {
        flex: 51%;
    }

    .alt-video-2:not(:last-child) {
        margin-bottom: 10px;
    }

    .alt-video:nth-child(odd) {
        margin-right: 0px;
    }

    .alt-video:nth-child(even) {
        margin-left: 0px;
    }

    .still {
        flex: 51%
    }

    .still:nth-child(odd) {
        margin-right: 0px;
    }

    .still:nth-child(even) {
        margin-left: 0px;
    }

    .name {
        font-size: 14px;
    }

    .socials {
        font-size: 20px;
    }
}

@media screen and (max-width: 560px) and (orientation: portrait) {
    .header {
        padding-top: 10px;
        margin-bottom: 0%;
    }

    .menu-subtitle {
        font-size: 12px;
    }
}

@media screen and (max-width: 326px) and (orientation: portrait) {

    .name {
        font-size: 12px;
    }

    .socials {
        font-size: 18px;
    }
}

/* BRANDS */

/* Small screens (mobile) */
@media (max-width: 576px) {
    .brands {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        padding: 0 15px;
    }

    .brands img {
        max-height: 35px;
    }
}

/* Medium screens (tablets) */
@media (min-width: 577px) and (max-width: 992px) {
    .brands {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .brands img {
        max-height: 40px;
    }
}

/* Large screens (desktops) */
@media (min-width: 993px) {
    .brands {
        grid-template-columns: repeat(6, 1fr);
        gap: 25px;
    }

    .brands img {
        max-height: 50px;
    }
}
