﻿*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    width: 100%;
    height: 100%;
}

ul {
    list-style: none;
}

body {
    font-family: Menlo, Consolas, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif;
    background: linear-gradient(180deg, #FEC3C5 0%, #E1A1A4 100%) no-repeat fixed;
    padding: 0 20px 20px 20px;
}

.avatar {
    display: block;
    position: relative;
    z-index: 0;
    width: 240px;
    height: 240px;
    margin: 0 auto;
    background-image: url("../img/avatar.png");
    background-size: cover;
    background-position-x: 240px;
    animation: blink 5s .2s steps(1) alternate infinite;
}

.avatar:hover {
    top: 5px;
}

@keyframes blink {
    0% { background-position-x: 240px; }
    10% { background-position-x: 240px; }
    11% { background-position-x: 0; }
    13% { background-position-x: 0; }
    14% { background-position-x: 240px; }
    30% { background-position-x: 240px; }
    34% { background-position-x: 240px; }
    35% { background-position-x: 0; }
    37% { background-position-x: 0; }
    38% { background-position-x: 240px; }
    39% { background-position-x: 240px; }
    40% { background-position-x: 0; }
    41% { background-position-x: 0; }
    42% { background-position-x: 240px; }
    99.9999% { background-position-x: 240px; }
}

.wrapper {
    position: relative;
    z-index: 1;
    max-width: 740px;
    margin: 0 auto 15px auto;
    background: #fff;
    border-radius: 10px;
    padding: 40px 50px;
    box-shadow: 0 4px 8px #E68E91;
}

.logo {
    font-size: 48px;
    letter-spacing: -2px;
    margin-bottom: 30px;
}

.intro {
    font-size: 24px;
    text-align: center;
    margin-bottom: 50px;
}

.intro p {
    padding-bottom: 20px;
}

.intro a {
    color: #000;
    font-weight: 600;
    text-decoration: underline;
}

strong.headline {
    display: inline-block;
    padding-top: 30px;
}

.card {
    background: #F1F1F1;
    border-radius: 5px;
    display: flex;
}

.cover {
    max-width: 260px;
    border-radius: 5px 0 0 5px;
    overflow: hidden;
}

.cover img {
    display: block;
    width: 100%;
}

.card-logo {
    display: block;
    margin-bottom: 20px;
}

.card-logo img {
    display: block;
}

.card-wip .description {
    display: flex;
    align-items: center;
}

.description {
    padding: 20px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.description p {
    font-size: 16px;
    padding-bottom: 20px;
    max-width: 320px;
}

.card-wip .description p {
    padding-bottom: 0;
}

.description ul {
    display: inline-flex;
}

.description li a {
    color: #000;
    font-weight: 600;
    text-decoration: underline;
    padding: 0 10px;
}

.description li:first-child a {
    padding-left: 0;
}

.description li:last-child a {
    padding-right: 0;
}

.legal {
    text-align: center;
}

.legal ul li {
    display: inline-flex;
}

.legal a {
    color: #A5585B;
    font-size: 14px;
    font-weight: 600;
    text-decoration: underline;
    padding: 0 5px;
}

.legal span {
    color: #A5585B;
    font-size: 14px;
    font-weight: 600;
    padding: 0 5px;
    display: inline-flex;
    justify-items: center;
}

.legal span:after {
    content: "● You are here!";
    display: flex;
    align-items: center;
    font-size: 11px;
    font-weight: 400;
    color: #fff;
    background: #A5585B;
    border-radius: 4px;
    padding: 0 4px;
    margin-left: 5px;
}

/* LEGAL */

.legal-content {
    text-align: left;
    margin-bottom: 0;
}

.legal-content h1 {
    margin-bottom: 20px;
}

.legal-content .column-container {
    display: flex;
    margin: 50px 0 30px 0;
}

.legal-content .column {
    width: 100%;
    margin-right: 30px;
}

.legal-content .column.fit {
    flex-basis: 50%;
}

.legal-content .column:last-child {
    margin: 0;
}

.legal-content .code {
    font-size: 21px;
    font-family: "Monaco", "Andale Mono", "Consolas", "Lucida Console", monospace;
    color: #fff;
    background: linear-gradient(180deg, #FEC3C5 0%, #E1A1A4 100%) no-repeat fixed;
    padding: 1px 4px;
    border-radius: 2px;
}

@media (max-width: 680px) {
    .wrapper {
        padding: 50px 20px;
    }

    .intro {
        font-size: 18px;
    }

    .card {
        flex-direction: column;
    }

    .cover {
        max-width: 100%;
        border-radius: 5px 5px 0 0;
        overflow: hidden;
    }

    .legal ul li {
        display: block;
        padding: 5px 0;
    }

    .legal-content .column-container {
        flex-direction: column;
    }
}