*
{
    margin: 0;
    padding: 0;
}

html
{
    font-family: 'Georama', sans-serif;
    font-weight: normal;
}

h1
{
    cursor: default;
}

a
{
    text-decoration: none;
    color: white;
}

ul
{
    list-style: none;
}

#background
{
    position: absolute;
    top: -100%;
    left: -100%;

    background-image: url('resources/noise.png');
    background-repeat: repeat;
    height: 300%;
    width: 300%;
    opacity: 0.1;
    pointer-events: none;
    will-change: transform;
    animation: grain 6s steps(10) infinite;
}

body
{
    background-color: black;
    color: white;
}

.container
{
    width: 80%;
    margin: auto;
}

header
{
    position: relative;
    overflow: hidden;
    height: 100vh;
}

header.odd
{
    height: unset;
    padding-bottom: 100px;
}

header h1
{
    font-size: 3.8em;
    font-weight: lighter;
    width: 90%;
}

header h1 + a, #scroll
{
    margin-top: 50px;
    display: inline-block;
}

header .wrapper
{
    padding-top: 60px;
}

header ul.menu
{
    margin-top: 30px;
}

header ul.menu li, header .closing, header ul.cases
{
    padding-left: 5vw;
}

header ul.menu li
{
    margin-top: 22px;
}

header ul.menu li:first-child
{
    margin-top: 0;
}

header .closing
{
    position: absolute;
    bottom: 60px;
}

footer .closing ul, header .closing ul
{
    display: flex;
    align-items: center;
}

header .closing ul li, footer .closing ul li
{
    float: left;
}

header .closing ul li, header h1 + a, footer .closing ul li, #scroll
{
    font-weight: lighter;
    opacity: 0.65;
    transition: opacity 0.1s ease-in;
}

header .closing ul li:first-child, footer .closing ul li:first-child
{
    margin-right: 50px;
}

.closing li:hover, header h1 + a:hover
{
    opacity: 1;
}

header ul.cases li
{
    width: 80%;
    max-width: 250px;
    background-color: transparent;
    height: 400px;
    position: relative;
}

header ul.cases li img
{
    height: 100%;
}

header ul.cases li a
{
    position: absolute;
    bottom: 10%;
    left: -30px;

    color: #777777;
}

header ul.cases li a::after
{
    width: 30px;
    position: absolute;
    content: ' >';
    white-space: pre-wrap;
    transition: margin-left 0.1s ease-in;
}

header ul.cases li a:hover::after
{
    margin-left: 4px;
}

nav
{
    padding: 60px 10vw;
}

nav a
{
    margin-left: 40px;
}

nav a, header ul.menu li
{
    transition: opacity 0.1s ease-in;
}

nav a:hover, header ul.menu li:hover
{
    opacity: 0.7;
}

nav a:first-child
{
    margin-left: 0;
    margin-right: 90px;
}

.column
{
    float: left;
}

.column.small
{
    width: 40%;
}

.column.wide
{
    width: 60%;
}

.column.double
{
    width: 50%;
}

.row
{
    overflow: auto;
}

.row.white
{
    background-color: white;
    color: black;
}

.row.white a
{
    color: black;
}

.row.padded
{
    padding: 100px 0;
}

.service h1
{
    font-size: 4.5em;
    font-weight: lighter;
}

.service p
{
    margin-top: 30px;
}

.service ul
{
    margin-top: 15px;
    width: 60%;
}

.service ul li
{
    line-height: 1.6em;
    font-weight: bold;
}

.service.white a
{
    background-color: rgb(122, 122, 122);
    color: white;
}

.service a
{
    color: black;
    display: inline-block;
    padding: 15px 20px;
    background-color: white;
    box-sizing: border-box;
    margin-top: 20px;
    transition: opacity 0.1s ease-in;
}

.service a:hover
{
    opacity: 0.5;
}

footer.white
{
    color: black;
    background-color: white;
}

footer.white a
{
    color: black;
}

footer
{
    text-align: center;
    padding: 130px 0;
}

footer .container
{
    display: flex;
    align-items: center;
    flex-direction: column;
}

footer h1
{
    font-size: 4em;
    font-weight: lighter;
}

footer p
{
    margin-top: 80px;
    width: 80%;
    max-width: 500px;
}

footer .closing
{
    margin-top: 80px;
}

.showcase ul
{
    width: 90%;
    display: flex;
    justify-content: space-between;
}

.showcase ul li
{
    height: 24.14vw;
    width: 16.2vw;
    background-color: white;
}

.showcase ul li img
{
    width: 100%;
}

.showcase ul li:last-child, .showcase h2
{
    font-size: 3.125em;
    font-weight: lighter;
    margin-top: 80px;
}

.showcase p
{
    margin-top: 30px;
    width: 80%;
    line-height: 1.8em;
    font-weight: normal;
}

#scroll
{
    display: inline-flex;
    align-items: center;
}

#scroll .icon
{
    display: flex;
    align-items: center;
    justify-content: center;

    width: 20px;
    height: 30px;
    border-radius: 25%;
    border: 1px solid white;
    margin-left: 8px;
}

#scroll .icon::after
{
    content: '';
    height: 8px;
    width: 1px;
    margin-top: -14px;
    background-color: white;
    animation: scroll 1s linear infinite;
}

@keyframes scroll
{
    0%
    {
        margin-top: -14px;
    }

    50%
    {
        margin-top: 0px;
    }

    100%
    {
        margin-top: -14px;
    }
}

.bold
{
    font-weight: 400;
}

.flow-hidden
{
    overflow: hidden;
}

@keyframes grain
{
    0%
    {
        -webkit-transform:translate(20%,-15%);
        transform:translate(20%,-15%);
    }
    
    10%
    {
        -webkit-transform:translate(-20%,-15%);
        transform:translate(-20%,-15%);
    }
    
    20%
    {
        -webkit-transform:translate(20%,-5%);
        transform:translate(20%,-5%);
    }
    
    30%
    {
        -webkit-transform:translate(-20%,-5%);
        transform:translate(-20%,-5%);
    }
    
    40%
    {
        -webkit-transform:translate(20%,5%);
        transform:translate(20%,5%);
    }
    
    50%
    {
        -webkit-transform:translate(-20%,5%);
        transform:translate(-20%,5%);
    }
    
    60%
    {
        -webkit-transform:translate(20%,15%);
        transform:translate(20%,15%);
    }
    
    70%
    {
        -webkit-transform:translate(-20%,15%);
        transform:translate(-20%,15%);
    }
    
    80%
    {
        -webkit-transform:translate(20%,5%);
        transform:translate(20%,5%);
    }
    
    90%
    {
        -webkit-transform:translate(-20%,5%);
        transform:translate(-20%,5%);
    }
    
    to
    {
        -webkit-transform:translate(20%,-5%);
        transform:translate(20%,-5%);
    }
}