@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono&family=Roboto&display=swap');

:root {
    --theme: 0;
    --accent1: 240, 78%, 70%;
    --accent2: 240, 66%, 75%;
    --bgbright: 0, 0%, 94%;
    --bgdark: 200, 19%, 18%;
    --welcomebg: url(images/blueberries/blueberries2.png);
}

html, body {
    margin: 0%;
    overflow-x: hidden;
    font-family: 'Roboto Mono', monospace;
}

hr {
    width: 80%;
    border-color: var(--bgdark);
    background-color: var(--bgdark);
}

div.welcome {
    position: relative;
    width: 100%;
    margin: 0;
    font-family: "Roboto Mono", monospace;
    font-size: 113px;
    text-align: center;
    color: azure;
    padding: 188px 0 207px;
    background: linear-gradient(to top, hsl(var(--accent2), 0.7), hsl(var(--accent1), 0)),var(--welcomebg) no-repeat center;
    background-size: cover;
    border-bottom: 1px solid hsl(var(--bgbright));
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -ms-user-select: none;
}

span.credit {
    font-size: 12px;
    text-align: right;
    color: azure;
    position: absolute;
    bottom: 0;
    right: 0;
    padding-bottom: 1%;
    padding-right: 1%;
}

span.credit a:link {
    color: hsl(var(--accent2));
    background-color: hsl(var(--bgdark));
    border-radius: 3px;
    padding: 1px;
    text-decoration: none;
}

.some-words {
    margin: 0;
    width: 100%;
    font-family: 'Roboto Mono', monospace;
    font-size: 40px;
    text-align: center;
    padding: 28px 0 40px;
    color: azure;
    background-color: hsl(var(--bgdark));
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -ms-user-select: none;
}

.content {
    margin: 0 auto;
    display: block;
    max-width: 1200px;
}

div.tiles {
    margin: 35px 0;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

div.tile {
    display: inline;
    margin: 0 1%;
    aspect-ratio: 1 / 1.6;
    width: 80%;
    min-width: 200px;
    max-width: 250px;
    max-height: 350px;
    overflow: hidden;
    padding: 15px 25px;
    background-color: hsl(var(--bgbright));
    align-items: center;
    border-radius: 12px;
    position: relative;
    animation-name: slide-up;
    animation-duration: 2.2s;
    animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

div.tile > p {
    font-size: 0.9em;
    padding: 3%;
}

div.tile > h1 {
    white-space: nowrap;
    font-size: 1.5em;
    text-align: center;
}

#tile-butters {
    margin-top: 50px;
    animation-duration: 2.5s;
}

#btn-butters {
    padding: 12px 0;
    cursor: pointer;
}

#tile-github {
    margin-top: 65px;
    animation-duration: 1.8s;
}

.icon {
    border-radius: 50%;
    width: 75px;
    display: block;
    margin: auto;
}

div.btn {
    color: azure;
    background-color: hsl(var(--accent1));
    border-radius: 12px;
    margin: 40px auto;
    min-width: 20px;
    width: 114px;
    text-align: center;
    font-size: 1.2em;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -ms-user-select: none;
}

div.btn:hover {
    background-color: hsl(var(--accent2));
}

a.btn {
    text-decoration: none;
    color: azure;
    display: block;
    padding: 12px 0;
    margin: 0;
}

section {
    background-color: hsl(var(--bgbright));
    border-radius: 12px;
    padding: 2% 4%;
    font-size: 1em;
    margin: 0 10%;
    animation-name: fade-in;
    animation-duration: 1.5s;
    animation-timing-function: ease-out;
}

section > h1 {
    font-size: 1.5em;
    text-align: center;
}

section > h2 {
    font-size: 1.3em;
}

section > hr {
    width: 90%;
    margin: 2% auto;
}

.inline {
    display: inline;
    margin: 0;
}

.bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    margin:0;
}

footer {
    display: flex;
    height: 121px;
    width: 100%;
    margin: 5% 0 0 0;
    color: azure;
    background-color: hsl(var(--bgdark));
    font-size: 1.3em;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.pauseanimation {
    -webkit-animation-play-state:paused;
    -moz-animation-play-state:paused;
    -o-animation-play-state:paused; 
    animation-play-state:paused;
}

.fade-in {
    animation-name: fade-in;
    animation-duration: 2s;
}

.slide-right {
    animation-name: slide-left;
    animation-duration: 2s;
}

.capitalize {
    text-transform: capitalize;
}

@keyframes fade-in {
    from {opacity: 0;}
    to {opacity: 1;}
}

@keyframes slide-up {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    50%{
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slide-left {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    50%{
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slide-right {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50%{
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@media screen and (max-width: 768px){
    div.welcome {
        font-size: calc(70px + 5.6vw);
    }
    div.tiles {
        display: block;
        text-align: center;
    }
    div.tile {
        margin: 35px auto;
        display: block;
        width: 80%;
        animation-name: slide-right;
        animation-duration: 0.6s;
    }

    section {
        width: 80%;
        margin: 0 auto;
        animation-duration: 0.8s;
    }

    #tile-butters {
        margin: 35px auto;
        animation-duration: 0.6s;
    }

    #tile-mystery {
        animation-name: slide-left;
    }

    #tile-github {
        margin: 35px auto;
        animation-duration: 0.6s;
    }
}