html {
    font-size: 16px;
}

@media (max-width: 500px) {
    #top #hero {
        font-size: 2.5rem !important;
    }
}

a {
    transition: 0.3s ease opacity;
    color: inherit;
    text-decoration: none;
}

a:hover {
    opacity: 0.8;
}

body {
    margin: 0;
    font-family: Raleway, Arial, Helvetica, sans-serif;
}

/*** TOP */

#top {
    display: block;
    width: 100vw;
    min-height: 370px; /* ff3.6+ */ /* safari4+,chrome */ /* safari5.1+,chrome10+ */ /* opera 11.10+ */ /* ie10+ */
    background: linear-gradient(140deg, #4783FF 0%, #8CFFCB 100%); /* w3c */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#4783FF', endColorstr='#8CFFCB', GradientType=0); /* ie6-9 */
    -webkit-animation: Gradient 30s ease infinite;
            animation: Gradient 30s ease infinite;
    background-size: 300% 300%;
}

#top #logo {
    padding: 20px;
    float: left;
}

#top #hero {
    margin: auto auto;
    font-family: Raleway, Arial, sans-serif;
    color: white;
    font-size: 3.5rem;
    text-align: center;
    padding: 40px;
}

#top .links {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
}

#top .links a {
    color: white;
    height: 40px;
    border-radius: 5px;
    border: 2px solid white;
    width: 200px;
    -webkit-flex: 0 1 auto;
        -ms-flex: 0 1 auto;
            flex: 0 1 auto;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
    margin: 10px;
}

/** BOTTOM */
#bottom {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: row;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-justify-content: space-around;
        -ms-flex-pack: distribute;
            justify-content: space-around;
    padding: 20px;
}

#bottom #blocks {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex: 1 1 auto;
        -ms-flex: 1 1 auto;
            flex: 1 1 auto;
    -webkit-flex-direction: row;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-justify-content: space-around;
        -ms-flex-pack: distribute;
            justify-content: space-around;
    max-width: 1800px;
}

#bottom .block {
    -webkit-flex: 1 1 auto;
        -ms-flex: 1 1 auto;
            flex: 1 1 auto;
    position: relative;
    min-width: 200px;
    height: 200px;
    max-width: 300px;
    border-radius: 10px;
    color: rgb(135, 137, 139);
    border: 2px solid rgb(129, 255, 196);
    padding: 20px;
    margin-top: 30px;
}

#bottom .block .text {
    font-size: 0.9rem;
    height: 40px;
}

#bottom .block .block-title {
    font-size: 1.5rem;
    color: rgb(82, 141, 239);
    margin: 0;
}

#bottom .block .block-subtitle {
    font-size: 1rem;
    color: #333333;
    height: 35px;
}

#bottom .block a {
    background-color: rgb(82, 141, 239);
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    padding: 10px;
    color: white;
    text-decoration: none;
    -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
            justify-content: space-between;
}

#bottom .block a svg {
    margin-top: 2px;
}

@-webkit-keyframes Gradient {
    0% {
        background-position: 0 50%
    }
    50% {
        background-position: 100% 50%
    }
    100% {
        background-position: 0 50%
    }
}

@keyframes Gradient {
    0% {
        background-position: 0 50%
    }
    50% {
        background-position: 100% 50%
    }
    100% {
        background-position: 0 50%
    }
}
