/*
Property of Newhead Studio. Copyright © 2015 - today All rights reserved.
*/

@media (min-width: 320px) and (max-width: 1024px) and (orientation: portrait) {

    html,
    body {
        background-color: var(--main-background-color);
    }

    #wrapper {
        position: relative;
    }

    .loader {
        width: 100px;
        height: 100px;
    }

    .loader div {
        margin: 4px;
        border: 4px solid var(--main-text-color);
    }

    .menu {
        visibility: hidden;
        width: 100%;
        height: 12%;
        top: 0;
        position: absolute;
        font-size: 0;
        background-color: var(--main-background-color);
    }

    .menu>a:first-child {
        display: inline-block;
        visibility: visible;
        width: 12vw;
        height: auto;
        margin: 1.5vw 1vw 1vw 1vw;
    }

    .menu #newhead-logo {
        display: inline-block;
        width: 6vh;
        height: 6.85vh;
        margin: 3% 1% 1% 2.5%;
        padding: 0;
        border: 1px solid var(--white-color);
    }

    .menu .menu-buttons {
        display: block;
        visibility: visible;
        position: absolute;
        width: 40%;
        right: 2.5%;
        margin: 2.5% 0 0 0;
        padding: 0;
    }

    .menu .menu-buttons a {
        width: 100%;
        margin: 5% 0 0 0;
        padding: 0;
    }

    .menu .menu-buttons a div {
        font-size: 4.5vw;
        margin: 0;
        padding: 0;
        text-align: right;
        transition: none;
    }

    .menu .menu-buttons a:hover div {
        width: 100%;

    }

    .menu #pull {
        display: grid;
        width: 12vw;
        height: 12vw;
        margin: 2% 3% 2% 2%;
        visibility: visible;
        text-decoration: none;
    }

    .menu #pull .icon {
        margin: auto;
        width: 100%;
        font-size: 5vw;
    }

    .menu #pull .icon:nth-child(2) {
        font-size: 6vw;
    }

    .menu aside {
        display: block;
        position: relative;
        visibility: visible;
        width: 60%;
        height: auto;
        margin: 16vw 0 0 2.5%;
        padding: 0;
        bottom: auto;
    }

    .menu aside a {
        width: 11%;
        margin: 0 0 0 5%;
    }

    .menu aside img {
        width: 100%;
    }

    .HR {
        display: none;
    }

    .view-right {
        position: absolute;
        width: 100%;
        height: auto;
        background-color: var(--white-color);
    }

    .view-right-responsive {
        margin: 17.5% 0 0 0;
    }

    .view-right h2 {
        font-size: 5vw;
        margin: 5% 0 5% 5%;
    }

    .view-right footer {
        position: relative !important;
        display: block !important;
        width: 90% !important;
        bottom: 0 !important;
        margin: 8% auto 2% auto !important;
        padding: 0 !important;
    }

    .view-right footer p {
        font-size: 4.5vw !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    #alert-object {
        top: 0%;
        left: 100%;
        width: 85%;
        padding: 2%;
        font-size: 5vw;
    }
}

@media (min-width: 320px) and (max-width: 1024px) and (orientation: landscape) {

    html,
    body {
        background-color: var(--main-background-color);
    }

    .wrapper {
        position: relative;
        overflow-x: hidden;
    }

    .loader {
        width: 100px;
        height: 100px;
    }

    .loader div {
        margin: 4px;
        border: 4px solid var(--main-text-color);
    }

    .menu {
        visibility: hidden;
        width: 100vw;
        height: 22%;
        top: 0;
        position: absolute;
        font-size: 0;
        background-color: var(--main-background-color);
    }

    .menu>a:first-child {
        display: inline-block;
        visibility: visible;
        width: 9vw;
        height: auto;
        margin: 1vw;
    }

    .menu #newhead-logo {
        display: inline-block;
        width: 20vh;
        height: 22.65vh;
        margin: 1vw 1vw 1vw 1vw;
        padding: 0;
        border: 2px solid var(--white-color);
    }

    .menu .menu-buttons {
        display: block;
        visibility: visible;
        position: absolute;
        width: 20%;
        right: 2.5%;
        margin: 2.5% 0 0 0;
        padding: 0;
    }

    .menu .menu-buttons a {
        width: 100%;
        text-align: right;
        margin: 10% 0 0 0;
        padding: 0;
    }

    .menu .menu-buttons a div {
        font-size: 3.5vw;
        margin: 0;
        padding: 0;
        text-align: right;
        transition: none;
    }

    .menu .menu-buttons a:hover div {
        width: 100%;
    }

    .menu #pull {
        display: grid;
        width: 8vw;
        height: 8vw;
        margin: 2%;
        visibility: visible;
        text-decoration: none;
    }

    .menu #pull .icon {
        margin: auto;
        width: 100%;
        font-size: 3vw;
    }

    .menu #pull .icon:nth-child(2) {
        font-size: 4vw;
    }

    .menu aside {
        display: block;
        position: relative;
        visibility: visible;
        width: 70%;
        height: auto;
        margin: 12vw 0 0 0%;
        padding: 0;
        bottom: auto;
    }

    .menu aside a {
        width: 10%;
        margin: 0 0 0 5%;
    }

    .menu aside img {
        width: 100%;
    }

    .HR {
        display: none;
    }

    .view-right {
        position: absolute;
        width: 100vw;
        height: auto;
        background-color: var(--white-color);
        overflow-x: hidden;
    }

    .view-right-responsive {
        margin: 12.5% 0 0 0;
    }

    .view-right h1 {
        font-size: 4vw;
        margin: 5% 0 5% 0;
    }

    .view-right footer {
        display: block !important;
        position: relative !important;
        width: 100vw !important;
        margin: 0 auto 2% auto !important;
        padding: 0 !important;
        bottom: 0 !important;
    }

    .view-right footer p {
        font-size: 2.5vw !important;
    }

    #alert-object {
        top: 0%;
        left: 100%;
        width: 85%;
        padding: 2%;
        font-size: 4vw;
    }
}