:root {
    --font-family: 'Roboto', sans-serif;
}

/* Desktop font size */
@media only screen and (max-width: 1200px) {
    #main header {
        font-size: 25px;
    }

    #main p {
        font-size: 23px;
    }
}

/* Mobile font size */
@media only screen and (max-width: 600px) {
    #main header {
        font-size: 19px;
    }

    #main p {
        font-size: 17px;
        margin-bottom: 0 !important;
    }
}

body {
    font-family: var(--font-family);
    overflow: hidden;
}

.hidden {
    display: none !important;
}

canvas {
    /* responsive canvas without the need to resize */
    width: 100%;
    object-fit: contain;
}

#main, canvas {
    text-align: center;
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

article {
    opacity: 85%;
    animation: 1200ms 1 cubic-bezier(0.175, 0.885, 0.32, 1.375) animate-blur-bounce;
}

article svg {
    opacity: 100% !important;
}

#main header {
    /*font-size: 25px;*/
    font-weight: bold;
    margin-bottom: 0;
    padding: 25px;
}

#main footer {
    margin-top: 0;
    padding: 25px;
}

#main p {
    opacity: 100% !important;
    margin-bottom: 10px;
    padding: 15px;
    /*font-size: 23px;*/
}

#main a {
    width: 64px;
    height: 64px;
    display: inline-block;
    opacity: 100% !important;
}

#main {
    z-index: 100;
}

a, a:hover, a:visited, a:active {
    color: #4f4f4f;
    outline: 0;
    text-decoration: none;
}

svg:hover {
    color: rgb(255, 255, 255);
    transition: 250ms ease-in-out;
    cursor: pointer;
    transform: rotate(360deg) scale(125%);
}

svg {
    /* github icon */
    fill: rgb(255, 255, 255);
}

@keyframes animate-blur-bounce {
    0% {
        transform: scale3d(0, 0, 0);
    }
    100% {
        transform: scale3d(100%, 100%, 100%);
    }
}
