@import url('https://fonts.googleapis.com/css?family=Exo:400,600');

body {
    background-color: #000;
    background-image: url(/images/bg.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
}

html,
body {
    height: 100%;
    margin: 0 0;
    font-family: 'Exo';
}

.container {
    height: min-content;
    width: 65em;
    margin: 0 auto;
    padding: 4em 1em;
    box-sizing: border-box;
}

.title {
    font-size: 3em;
    font-weight: 600;
    padding: 1em;
    color: #60b0ff;
    text-shadow: 0 0 2px #000;
    text-align: center;
}

.specs {
    display: block;
    text-align: center;
    margin: 0 auto;
    margin-top: 8em;
    width: 60em;
    background-color: #103040;
    color: #f0f0f0;
    font-size: 0.7em;
    padding: 1em;
    border-radius: 0.5em;
    text-align: left;
}

.specs-title {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 1em;
    text-align: center;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1em;
}

.specs-key {
    font-weight: 600;
}

.section {
    margin-bottom: 3em;
}

.section-title {
    font-size: 1.5em;
    font-weight: 600;
    padding: 1em 0 1.5em 0;
    color: #f0f0f0;
    text-shadow: 0 0 2px #000;
}

.row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2em;
}

.card {
    background: #fff;
    border-radius: 0.2em;
    width: 19em;
    height: 5em;
    box-shadow: 2px 2px 2px #444;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0.3em;
    position: relative;
}

.card.hidden {
    visibility: hidden;
}

.card-logo {
    height: 4em;
    padding: 0 0.5em;
}

.card-text {
    margin: 0.5em;
    overflow: hidden;
    margin-right: 2.5em;
}

.card-title {
    font-weight: 600;
    padding: 0 0 0.1em 0;
}

.card-info {
    overflow: hidden;
    font-size: 0.8em;
}

.card-info a:link,
.card-info a:visited,
.card-info a:focus,
.card-info a:active {
    color: #3090c0;
    text-decoration: none;
}

.card-open {
    display: block;
    position: absolute;
    right: 0;
    height: 100%;
    width: 2.5em;
    background: #fff;
    border-radius: 50em 0em 0em 50em;
    box-shadow: 0px 0px 5px #909090;
    display: flex;
    align-items: center;
    transition: 0.2s ease;
}

.card-open:hover {
    background: #ddd;
    transition: 0.2s ease;
}

.card-open-image {
    height: 1.5em;
    margin: 0 auto;
}

.info-line {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.dynamic-data {
    position: absolute;
    bottom: -2em;
    height: 3em;
    background: #303030;
    color: #f0f0f0;
    width: 100%;
    left: 0;
    z-index: -1;
    padding: 1.5em 0.5em 0.5em 0.5em;
    box-sizing: border-box;
    font-size: 0.75em;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-radius: 1em;
    border: solid 1px #000;
    animation: dynamic-bg 1.5s infinite;
}

.dynamic-info {
    font-size: 0.9em;
    margin-left: 0.5em;
    margin-right: 0.5em;
}

.red {
    color: #e00000;
}

@media (max-width: 1088px) {
    .container {
        width: 100%;
        padding: 2em 1em;
    }

    .section-title {
        text-align: center;
    }

    .section {
        margin-bottom: 1.5em;
    }

    .row {
        flex-direction: column;
        margin-bottom: 0em;
    }

    .card {
        margin-bottom: 2.25em;
    }

    .card.hidden {
        display: none;
    }

    .specs {
        width: 26em;
    }

    .specs-grid {
        grid-template-columns: 1fr;
    }
}

@keyframes dynamic-bg {
    50% {
        background: #300000;
    }
}
