
@media only screen and (min-width: 768px) {
    .table {
        grid-gap: 8px 32px;
        grid-template-columns: auto auto;
    }

    .audio {
        grid-template-columns: auto auto auto;
    }

    .row {
        grid-column: span 2;
    }

    .orangeSection {
        background: white;
    }

    .orangeSection > .pageContent {
        padding: 0 48px 0;
        background: rgba(234, 108, 30);
    }

}

@media only screen and (min-height: 800px) {
    footer {
        /* min-height: 512px; */
    }
}

@media only screen and (orientation: landscape) {
    /************ BANNER ****************/

    .tabular {
        grid-gap: 16px;
        grid-template-columns: auto auto;
    }

    .cell:nth-child(even) {
        margin-bottom: initial;
    }

}

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

    /************ HEAD ****************/

    header {
        width: 194px;
        height: 100%;
        position: fixed;
        display: block;
    }

    .logo {
        width: 130px;
        height: 125px;
        margin-top: 32px;
        margin-left: 32px;
    }

    .so-me {
        position: fixed;
        flex-direction: column-reverse;
        top: calc(50% - 24px);
        left: 58px;
    }

    .topnav {
        flex-direction: column-reverse;
        top: calc(50% - 100px);
        right: initial;
        left: 42px;
    }

    .menu {
        flex-direction: column-reverse;
    }

    .menu-button {
        fill: rgb(0, 82, 54);
        margin-top: 16px;
    }

    .menu-button:hover {
        fill: rgb(234,108,30);
    }

    .popupMenu a:hover {color: rgb(0, 82, 54);}

    .menu-button:hover .popupMenu {display: block !important;}

    .visibleOnMobile {
        display: none !important;
    }
    
    .popupClose {
        display: none;
    }

    .popupMenu {
        left: 90px;
        border-radius: 0;
        width: calc(100vw / 3 - 30px);
        padding: 20px;
    }

    .popupMenu > div {
        margin-left: 20px;
    }

    /************ BODY ****************/

    .scroll {
        margin-left: initial;
        align-items: center;
    }

    /************ FOOT ****************/

    footer {
        display: grid;
        grid-template-columns: 50% 50%;
        /* min-height: 512px; */
        padding: 48px 160px;
    }

    .botnav {
        display: inline-flex;
        align-items: flex-start;
    }

    .botnav > a {
        color: white;
    }

    .botnav > a:first-child {
        display: none;
    }

    .contact-form {
        grid-row: 1 / 3;
        grid-column: 2;
    }

    .formal > div:last-child {
        margin-top: initial;
    }

    /************ BANNER ****************/

    .banner {
        height: 100vh;
        padding: 32px 64px 32px 32px;
        display: flex;
        flex-direction: row;
        align-items: flex-end;
    }

    .bannerContent {
        padding-left: 96px;
        height: 100%;
        width: 100%;
        padding-bottom: 0;
        padding-left: calc(130px + 1vw);
    }

    .bannerTopLeft {
        text-transform: uppercase;
        font-weight: 500;
        letter-spacing: 0.9px;
        font-size: 2.8rem;
        color: rgba(234, 108, 30, 1);
    }

    .bannerBottomLeft {
        font-style: italic;
        font-weight: 600;
    }

    .arrow {
        height: 41px;
        display: initial;
        margin-top:16px;
        -webkit-animation: arrow 2.6s infinite ;
        animation: arrow 2.6s infinite ;
    }
    @-webkit-keyframes arrow {
        0%, 76.92307692307693% {transform: matrix(1,0,0,1,0,0); opacity: 1; animation-timing-function: ease-in-out}
        88.46153846153848% {transform: matrix(1,0,0,1,0,10); opacity: 1; animation-timing-function: ease-in-out}
        100% {transform: matrix(1,0,0,1,0,0); opacity: 1; }
    }
    @keyframes arrow {
        0%, 76.92307692307693% {transform: matrix(1,0,0,1,0,0); opacity: 1; animation-timing-function: ease-in-out}
        88.46153846153848% {transform: matrix(1,0,0,1,0,10); opacity: 1; animation-timing-function: ease-in-out}
        100% {transform: matrix(1,0,0,1,0,0); opacity: 1; }
    }

    /************ CONTENT ****************/

    .pageContent {
        padding: 0;
        /* width: 680px; */
        width: 820px;
        margin-left: auto;
        margin-right: auto;
    }

    .orangeSection > .pageContent {
        width: calc(100vw - 330px);
    }

    .pageDescription {
        display: none;
    }

    .spacer-1 {
        height: 32px;
    }

    .spacer-2 {
        height: 64px;
    }

    .spacer-3 {
        height: 92px;
    }

    .spacebot1 > :last-child {
        padding-bottom: 3.2rem;
    }
    .spacebot2 > :last-child {
        padding-bottom: 6.4rem;
    }
    .spacebot3 > :last-child {
        padding-bottom: 9.2rem;
    }
    .spacetop1 > :first-child {
        padding-top: 3.2rem;
    }
    .spacetop2 > :first-child {
        padding-top: 6.4rem;
    }
    .spacetop3 > :first-child {
        padding-top: 9.2rem;
    }

    .navigation-boxes {
        width: calc(100vw - 340px);
        max-width: 820px;
    }

    .flowers1 {
        display: initial;
        position: absolute;
        margin-top: -180px;
        right: 200px;
        height: 180px;
        overflow: hidden;
    }

    .flowers1 > .flower1 {
        width:136px;
        height:198px;
    }

    .flowers1 > .flower2 {
        width:167px;
        height:241px;
        margin-left:-24px;
    }

    .flowers1 > .flower3 {
        display: initial;
        width:87px;
        height:244px;
        transform: rotate(34deg);
        margin-left:-8px;
    }

    .flowers2 {
        height: 272px;
        margin-bottom: 16px;
        margin-top: -230px;
    }

    .flowers2 > * > .flower1 {
        width: 77px;
        height: 215px;
    }

    .flowers2 > * > .flower2 {
        margin-left: -24px;
        margin-bottom: -24px;
        width: 81px;
        height: 231px;
    }

    .flowers2 > * > .flower3 {
        width: 110px;
        height: 312px;
    }

    .flowers2 > * > .flower4 {
        width: 95px;
        height: 266px;
        z-index: 304;
    }


    .desktop-contentWidth > div, .desktop-windowWidth > div, .desktop-stacked > div {
        display: flex !important;
        justify-content: flex-end !important;
    }
    .desktop-windowWidth > div:nth-child(2) {
        padding-right: 32px !important;
    }

    .desktop-stacked > div:nth-child(1) {
        display: block !important;
        line-height: 0 !important;
    }
    .desktop-contentWidth > div:nth-child(1) {
        width: 100% !important;
    }
    .desktop-windowWidth > div {
        width: 100vw !important;
        margin-left: calc((100vw - 820px) * 0.5 * -1) !important;
    }

    .center-on-mobile {
        display: block;
    }

    .form-header {
        display: flex;
        align-items: flex-start;
    }

    .form-header > div {
        font-size: 3.2rem;
        font-weight: 800;
        display: inline;
        width: 200px;
        line-height: 3.8rem;
        letter-spacing: 0.12rem;
    }

    .form-header > img {
        width: 48px;
        height: 48px;
        margin-left: -270px;
    }

    input[type="email"], input[type="number"], input[type="search"], input[type="text"], input[type="tel"], input[type="url"], input[type="password"], textarea {
        margin-top: 32px;
    }
}