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


body {
    font-family: 'Roboto', sans-serif;
    background: #030c13;
    color: #fff;
}

img {
    color: #fff;
}

ul {
    list-style: none;
    padding: 0;
}

.container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    height: 100%;
    width: 100%;
}

.content {
    text-align: center;
}

.content .logo {
    width: 350px;
    margin: 0 0 5rem;
}

.content h1 {
    font-family: 'Roboto Slab', serif;
    font-weight: 300;
    font-size: 2.5rem;
}

.content p {
    margin: 2rem 0 1rem;
}

.content form ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
}

.subscribe ul li:first-child {
    position: relative;
}

input[type=email] {
    padding: .8rem 1rem;
    border: 1px solid rgb(16, 43, 62);
    width: 250px;
    font-size: 1rem;
    margin: 0 .5rem;
    outline: none;
    color: #fff;
    border-radius: 3px;
    background: rgb(12, 27, 39);
}

input[type=submit] {
    padding: .8rem 1rem;
    font-size: 1rem;
    display: block;
    border: 1px solid #1a374e;
    cursor: pointer;
    outline: none;
    background: #162938;
    color: #fff;
    border-radius: 3px;
}

.social {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 7rem 0 0;
    text-align: center;
}

.social li {
    margin: 0 .5rem;
}

.social img {
    width: 35px;
}

.social a {
    outline: none;
}

input.error {
    border: 1px solid red;
}

label.error {
    margin: .5rem 0 0;
    display: block;
    color: red;
    position: absolute;
    left: 30%;
}

#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.content .success {
    position: absolute;
    left: 26%;
    margin: 1rem 0;
    color: seagreen;
    display: block;
}

@media screen and (max-width: 910px) {
    .content h1 {
        font-size: 2rem;
    }
}

@media screen and (max-width: 480px) {
    .content .logo {
        width: 85%;
        margin: 1rem 0 2rem;
    }

    .content p {
        padding: 0 1rem;
    }

    .content form ul {
        flex-direction: column;
    }

    input[type=email] {
        width: 80%;
        margin: 1rem 0 0;
    }

    input[type=submit] {
        width: 90%;
        margin: 1rem auto 0;
    }

    .social {
        margin: 4rem 0 0;
    }

    label.error {
        position: unset;
    }
}