body {
    font-family: "Lato", sans-serif;
}

.firstinfo, .badgescard, body {
    display: flex;
    justify-content: center;
    align-items: center;
}

.firstinfo {
    justify-content: space-around;
}

.card-container {
    max-width: 100%;
    position: relative;
    animation: animatop 0.9s cubic-bezier(0.425, 1.14, 0.47, 1.125) forwards;
}

.card {
    width: 500px;
    max-width: 100%;
    min-height: 100px;
    padding: 20px;
    border-radius: 3px;
    background-color: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.card:after {
    content: "";
    display: block;
    width: 190px;
    height: 300px;
    background: cadetblue;
    position: absolute;
    animation: rotatemagic 0.75s cubic-bezier(0.425, 1.04, 0.47, 1.105) 1s both;
}

.badgescard {
    color: cadetblue;
    font-size: 1.5em;
    border-radius: 3px;
    background-color: #ECECEC;
    width: 90%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: -1;
    bottom: 100px;
    animation: animainfos 0.5s cubic-bezier(0.425, 1.04, 0.47, 1.105) 0.75s forwards;
    margin: auto;
}

.badgescard a {
    color: cadetblue;
    font-size: 1.3em;
    margin: 0 .3em;
}

.badgescard a:hover {
    color: #606060 !important;
}

.badgescard span {
    font-size: 1.6em;
    margin: 0 6px;
    opacity: 0.6;
}

.firstinfo {
    flex-direction: row;
    z-index: 2;
    position: relative;
    text-align: center;
}

.firstinfo .profileinfo {
    padding: 0 20px;
}

.firstinfo .profile-photo {
    border-radius: 50%;
    height: 120px;
    width: 120px;
    background-image: url('../../images/bright-coffee-boi.jpg');
    background-position: center;
    background-size: 130%;
    display: inline-block;
}

.firstinfo .profileinfo h1 {
    font-size: 1.8em;
    margin: 0 0 0.5em 0;
    letter-spacing: 0.01em;
    line-height: 1;
    color: #009688;
}

.firstinfo .profileinfo h3 {
    font-size: 1.2em;
    color: #009688;
    font-style: italic;
}

.firstinfo .profileinfo p.bio {
    padding-bottom: 0;
    margin-bottom: 0;
    color: #5A5A5A;
    line-height: 1.2;
    font-style: initial;
}

@keyframes animatop {
    0% {
        opacity: 0;
        bottom: -500px;
    }
    100% {
        opacity: 1;
        bottom: 0;
    }
}

@keyframes animainfos {
    0% {
        bottom: 100px;
    }
    100% {
        bottom: 5px;
    }
}

@keyframes rotatemagic {
    0% {
        opacity: 0;
        transform: rotate(0deg);
        top: -24px;
        left: -253px;
    }
    100% {
        transform: rotate(-30deg);
        top: -24px;
        left: -78px;
    }
}

#banner:before {
    opacity: 0.75;
}

#page-wrapper {
    width: 100%;
}

.single-cheeseburger {
    width: 100% !important;
    padding-left: 0 !important;
}

@media screen and (max-width: 1680px) {
    #footer .inner {
        padding: 1.5em 0;
    }
}

.margin-auto {
    margin: auto;
}

#footer p {
    margin-bottom: 0;
}

.button.large img {
    max-width: 50px;
    position: relative;
    left: -10px;
    top: 3px;
}

#banner footer {
    display: flex;
}

#banner footer section {
    margin: 0 0.9em;
    width: calc(33.33% - 1.8em);
}

#banner footer section img {
    max-height: 25px;
}

#banner footer section a {
    display: block;
    margin-bottom: 0.3em;
}

#banner footer section a.button {
    padding: 0 0.5em;
}

@media screen and (max-width: 780px) {
    #banner footer {
        display: block;
    }

    #banner footer section {
        width: 80%;
        margin: 2em auto 4em;
    }
}

@media screen and (max-width: 480px) {
    .firstinfo {
        display: block;
    }

    #banner {
        padding: 6.5em 1em 6em 1em;
    }

    @keyframes rotatemagic {
        0% {
            opacity: 0;
            transform: rotate(0deg);
            top: -24px;
            left: -253px;
        }
        100% {
            transform: rotate(-10deg);
            top: -7px;
            left: -36%;
        }
    }
}

@media screen and (max-width: 400px) {
    @keyframes rotatemagic {
        0% {
            opacity: 0;
            transform: rotate(-70deg);
            top: -90px;
            left: -253px;
        }
        100% {
            transform: rotate(-135deg);
            top: -153px;
            left: -36%;
        }
    }
}
