@font-face {
    font-family: 'Avenir-Heavy';
    src: url('../fonts/Avenir-Heavy/Avenir-Heavy.eot?#iefix') format('embedded-opentype'), 
        /*url('../fonts/Avenir-Heavy/Avenir-Heavy.otf') format('opentype'),*/
        url('../fonts/Avenir-Heavy/Avenir-Heavy.woff') format('woff'), 
        url('../fonts/Avenir-Heavy/Avenir-Heavy.ttf') format('truetype'), 
        url('../fonts/Avenir-Heavy/Avenir-Heavy.svg#Avenir-Heavy') format('svg');
    font-weight: normal;
    font-style: normal;
}

html {
    height: 100vw;
}

html,
body,
main {
    height: 100%;
    font-family: 'Avenir-Heavy';
}

main {
    display: flex;
    flex-direction: column;
}

main.lateral {
    flex-direction: row;
}

svg {
    width: 310px;
    height: 220px;
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
}

svg.horiz {
    display: none;
}

main.lateral svg {
    display: none;
}

main.lateral svg.horiz {
    display: block;
}

main.lateral svg {
    top: 110px;
    left: 0;
    top: 80px;
    left: 40px;
    transform: translateY(-50%);
}

main.inverse svg {
    fill: #fff;
}

a {
    display: block;
    font-size: 12rem;
    font-size: 10.2vw;
    text-decoration: none;
    /*transition: color .9s ease-out;
    transition: background-color .9s ease-out;*/
    line-height: 11rem;
    line-height: 7.2vw;
}

@media screen and (max-width: 1699px) {
    main.lateral a {
        font-size: 8.2vw;
        line-height: 8.2vw;
    }
}

@media screen and (max-width: 1300px) {
    main.lateral svg {
        width: 240px;
        height: 170px;
        top: 90px;
        top: 70px;
    }
    main.lateral a {
        font-size: 8.2vw;
        line-height: 8.2vw;
    }
}

@media screen and (max-width: 1024px) {
    svg {
        width: 260px;
        height: 170px;
        top: -4px;
    }

    main.lateral svg {
        width: 200px;
        height: 140px;
        top: 80px;
        top: 60px;
    }
    a {
        font-size: 15.2vw;
        line-height: 9.2vw;
    }
}

@media screen and (max-width: 768px) {
    main.lateral svg {
        width: 170px;
        height: 120px;
        top: 70px;
        top: 60px;
    }
    a {
        font-size: 17.2vw;
        line-height: 12.2vw;
    }
}

@media screen and (max-width: 600px) {
    svg {
        width: 200px;
        height: 160px;
        top: -14px;
    }
    a {
        font-size: 21.2vw;
        line-height: 9.2vw;
    }
}

h1 {
    position: absolute;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    line-height: .875em;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
}

h1 span {
    font-weight: 100;
}

div {
    display: flex;
    flex: 1;
    align-items: center;
    border-top: 10px solid #000;
    /*transition: color .9s ease-out;
    transition: background-color .9s ease-out;*/
}

.steel {
    flex-direction: column-reverse;
    color: #000;
    background-color: #fff;
}

main.inverse .steel {
    color: #fff !important;
    background-color: #000;
}

main.lateral .steel {
    flex-direction: row-reverse;
}

.steel a {
    margin-bottom: 2.7rem;
    color: #000;
    background-color: transparent;
}

main.inverse .steel a {
    color: #fff !important;
}

main.lateral .steel a {
    margin-right: 50px;
    margin-bottom: 0;
}

.steen {
    flex-direction: column;
    color: #fff;
    background-color: #000;
}

main.inverse .steen {
    color: #000 !important;
    background-color: #fff;
}

main.lateral .steen {
    flex-direction: row;
}

.steen a {
    margin-top: 2.7rem;
    margin-top: 3.5rem;
    color: #fff;
    background-color: transparent;
}

main.inverse .steen a {
    color: #000 !important;
}

main.lateral .steen a {
    margin-top: 0;
    margin-left: 50px;
}

/*===== high aspect ratio screens - (eg. horizontal mobiles) =====

@media (min-aspect-ratio: 17/7) and (min-width: 1700px) {
    main {
        flex-direction: row;
    }

    svg {
        top: 20%;
        left: 0;
        transform: translateY(-50%);
    }

    .steel {
        flex-direction: row-reverse;
    }

    .steel a {
        margin-right: 50px;
        margin-bottom: 0;
    }

    .steen {
        flex-direction: row;
    }
    
    .steen a {
        margin-top: 0;
        margin-left: 50px;
    }
}

@media (min-aspect-ratio: 2/1) and (max-width: 1699px) {
    a {
        font-size: 8.2vw;
        line-height: 8.2vw;
    }
}
*/
@media (max-width: 1300px) and (min-aspect-ratio: 2/1) {

}

@media (min-aspect-ratio: 2/1) and (max-width: 1300px) {
    svg {
        width: 240px;
        height: 170px;
    }

    a {
        font-size: 8.2vw;
        line-height: 8.2vw;
    }
}

@media (min-aspect-ratio: 2/1) and (max-width: 1300px) {
    svg {
        width: 200px;
        height: 140px;
    }

    a {
        font-size: 6.2vw;
        line-height: 6.2vw;
    }
}
