html, body {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

body {
    position: relative;
    overflow: hidden;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cabin', sans-serif;
    font-size: 20px;
    background-color: #fefefe;
    user-select: none;
    cursor: default;
}

.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 800px;
    max-width: 100%;
    margin-right: 20%;
    padding: 20px;
    z-index: 2;
}

.name {
    font-size: 2.5em;
    line-height: 0.68;
    letter-spacing: 1px;
}

.contact {
    margin-top: 20px;
}

.contact a {
    color: #A6AAA9;
    text-decoration: none;
}

.contact a .mail {
    display: none;
}

.contact:hover a .mail {
    display: inline;
}

.contact a .link {
    text-decoration: underline;
    text-decoration-style: dotted;
    text-decoration-color: #c2c7c6;
}

.contact:hover a .link {
    display: none;
}

.work {
    text-align: right;
}

.roles {
    color: #53585F;
}

.bio, .social, .credentials {
    margin-top: 10px;
    margin-left: 45px;
    font-size: 0.8em;
    color: #A6AAA9;
}

.bio a, .social a {
    color: inherit;
    text-decoration: none;
}

.bio a:hover, .social a:hover {
    color: #2C5364;
}

.bio a, .credentials a {
    color: inherit;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-decoration-color: #c2c7c6;
}

.credentials {
    opacity: 0;
    height: 0;
    display: none;
    padding-top: 40px;
}

.credentials.visible {
    opacity: 1;
    height: 100%;
    display: block;
}

.credentials .secondary {
    color: #cdcdcd;
}

.decoration {
    position: absolute;
    left: -30px;
    right: -30px;
    transform: rotate(-1.5deg);
    width: 120%;
    height: 80px;
    background: -webkit-linear-gradient(to left, #2C5364, #203A43, #0F2027);
    background: #0F2027;
    background: linear-gradient(to left, #2C5364, #203A43, #0F2027);
    z-index: 3;
}

.decoration.top {
    top: -30px;
}

.decoration.bottom {
    bottom: -30px;
}

.background {
    position: absolute;
    right: 0;
    bottom: 30px;
    height: 90%;
    z-index: 1;
    pointer-events: none;
}

.portrait {
    height: 100%;
}

.logo {
    position: absolute;
    width: 90%;
    right: 5%;
    bottom: 96px;
}

@media only screen and (max-device-width : 480px) {
    .container {
        flex-direction: column;
        margin-right: 0;
    }

    .contact {
        margin-top: 10px;
    }

    .work {
        margin-top: 20%;
        text-align: center;
        font-size: 0.6em;
    }

    .portrait {
        opacity: 0.5;
    }

    .logo {
        display: none;
    }
}

.imprint {
    position: absolute;
    bottom: 15px;
    right: 15px;
    z-index: 4;
}

.imprint a {
    color: #6c8199;
    font-size: 0.75em;
}

.content a {
    color: #2C5364;
}
