﻿body {
    font-family: 'Raleway', sans-serif;
    margin: auto;
    background-color: #151b2b;
    color: #e8e8e8;
    font-size: 1em;
}

h1, h2 {
    font-family: 'Staatliches', sans-serif;
    margin: 10px auto 0px;
}

nav {
    background-color: #212a42;
    border-radius: 0 15px 0 15px;
    height: 60px;
    margin-top: 10px;
    position: fixed;
    max-width: 1200px;
    width: inherit;
    filter: drop-shadow(5px 5px 3px #000000);
}

nav a {
    font-family: 'Staatliches', sans-serif;
    line-height: 60px;
    color: #e8e8e8;
    text-decoration: none;
}

hr {
    height: 5px;
    margin-bottom: 15px;
    display: block;
    background-image: linear-gradient(to right, rgba(184, 0, 153, 1), rgba(184, 0, 153, 0));

    border: none;
}

.alt {
    height: 5px;
    margin-bottom: 15px;
    display: block;
    background-image: linear-gradient(to left, rgba(184, 0, 153, 1), rgba(184, 0, 153, 0));

    border: none;
}

p {
    line-height: 1.6em;
}

.links {
    width: 75%;
    display: inline-block;
    margin-left: 20px;
    font-size: 24px;
}

.top {
    background-color: #151b2b;
    height: 10px;
    position: fixed;
    width: 80%;
    max-width: 1200px;
}

nav img {
    height: 60px;
}

.content {

    padding-top: 80px;
}

.tally {
    float: right;
}

.fold {
    width: 95%;
    margin: 10px auto;
}

.lower-fold {
    width: 100%;
    margin: 10px 0 0 0;
}

.joystick, .vault, .desk, .team {
    background-repeat: no-repeat;
    background-position: right center;

    background-size: contain;
}

.joystick {
    background-image: url("images/joy.jpg");
    background-position: right bottom;
}

.vault {
    background-image: url("images/vault.jpg");
}

.desk {
    background-image: url("images/desk.jpg");
}

.team {
    background-image: url("images/team.jpg");
}

@media (max-width: 1200px) {
    .fold-text {
        width: 78%;
        display: inline-block;
        float: left;
    }

    .wrapper {
        width: 95%;
        max-width: 1200px;
        min-width: 380px;
        margin: auto auto 10px;
    }

    .toadbully p, .mrtt p, .ace p {
        width: 100%;
    }

    .toadbully img, .mrtt img, .ace img {
        width: 80%;
        margin: auto;
        display: block;
    }
}

@media (min-width: 800px) {
    .fold-text {
        width: 48%;
        display: inline-block;
        float: left;
    }

    .wrapper {
        width: 100%;
        max-width: 1200px;
        min-width: 380px;
        margin: auto auto 10px;
    }

    .toadbully p, .mrtt p, .ace p {
        float: left;
        width: 48%;
    }

    .toadbully img {
        float: left;
        width: 48%;
    }

    .ace img {
        float: left;
        width: 48%;
    }

    .mrtt img {
        float: right;
        width: 48%;
    }
}

.fold-image {
    width: 50%;
    display: block;
    clear: both;
    overflow: visible;
    min-height: 100%;
    float: left;
}

.logo {
    display: block;
    max-width: 75%;
    height: auto;
    width: auto;
    margin-bottom: 20px;
}

.mailingList {
    float: right;
    width: 50%;
    margin-left: 40px
}

.mailingList label {
    display: none;
}

.mailingList input {
    display: block;
    width: 100%;
    margin-bottom: 5px;
}

.mailingList button {
    display: block;
    width: 100%;
    margin-bottom: 5px;
}

.mailing-output {
    display: block;
    text-align: center;
    margin: auto;
    clear: right;
    font-size: 0.8em;
}

.social {
    width: 50%;
    height: 40px;
    text-align: left;
    padding: 0;
    float: left;
    margin-left: 20px;
}

.social a {
    border: none;
}

.social .circleLogo {
    text-align: center;
    height: 24px;
    width: 24px;
    padding: 5px;
    margin: 4px auto auto;
}

.emoji {
    font-size: 24px;
}

label {
    color: #e8e8e8;
}

button {
    background: rgba(184, 0, 153, 1);
    height: 30px;
    width: 100px;
    border-radius: 10px;
    padding: 5px;
    font-weight: bold;
    font-size: 16px;
    border: none;
    color: #e8e8e8;
    cursor: pointer;
    display: block;
    margin-bottom: 10px;
}

input {
    height: 30px;
    width: 200px;
    border-radius: 10px;
    background: linear-gradient(90deg, rgba(187, 7, 179, 1) 0%, rgba(192, 22, 232, 1) 100%);
    border: none;
    padding: 0;
    margin: 0;
    font-size: 16px;
    color: #e8e8e8;
    text-align: center;
}

input::placeholder {
    color: #e8e8e8;
    padding-left: 5px;
    text-align: center;
}

footer {
    text-align: right;
    color: #e8e8e8;
    font-size: 0.9em;
    margin-top: 20px;
    background-color: #212a42;
    border-radius: 15px 0 15px 0;
    height: 40px;
    line-height: 40px;
    filter: drop-shadow(5px 5px 3px #000000);
}

footer a {
    font-family: 'Staatliches', sans-serif;
    color: #e8e8e8;
    text-decoration: none;
    margin-right: 20px;
    font-size: 1.2em;
}

footer .social a {
    box-shadow: none;
    color: rgba(192, 22, 232, 1);
    padding: 0 .25rem;
    margin: 0 -.25rem;
    transition: none;
    height: 100%;
}

a {
    box-shadow: inset 0 0 0 0 rgba(184, 0, 153, 1);
    color: rgba(192, 22, 232, 1);
    padding: 0 .25rem;
    margin: 0 -.25rem;
    transition: color .3s ease-in-out, box-shadow .3s ease-in-out;
    height: 100%;
}

a:hover {
    color: #fff;
    box-shadow: inset 200px 0 0 0 rgba(192, 22, 232, 1);
}

button {
    box-shadow: inset 0 0 0 0 rgba(184, 0, 153, 1);
    color: #e8e8e8;
    transition: color .3s ease-in-out, box-shadow .3s ease-in-out;
    height: 100%;
}

button:hover {
    color: #e8e8e8;
    box-shadow: inset 600px 0 0 0 rgba(192, 22, 232, 1);
}

.cblogo{
    width:40%;
    float:right;
    padding: 10px;
    margin :0 20px 20px 0;
}

.sergej{
    float: right;
    clea: both;
    width:40%
}