@import url('https://fonts.googleapis.com/css?family=Karla:400,700&display=swap');
:root {
    --bgColor: #00ccff;
    --bgColor2: #0b0e43;
    --accentColor: #FFF;
    --font: 'Karla', sans-serif;
    --delay: .5s;
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font);
    background: var(--bgColor2);
    opacity: 0;
    animation: 1s ease-out var(--delay) 1 transitionAnimation;
    animation-fill-mode: forwards;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.linkText {
    margin: 0px;
    margin-block: 0;
    margin-inline: 0;
}

::-webkit-scrollbar {
    display: none;
}

.container {
    /* height: 100%; */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-width: fit-content;
}


/*-------------------------Top-----------------------*/

.top {
    flex: 1;
    min-height: 200px !important;
    max-height: 200px !important;
    display: flex;
    align-items: center;
    justify-content: end;
    flex-direction: column;
    width: 100%;
    background: var(--bgColor);
}


/*-------------------------Profile-----------------------*/

.profile {
    display: block;
    position: absolute;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    margin-top: 44px;
}

#profilePicture {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#profilePicture img {
    position: relative;
    max-width: 96px;
    max-height: 96px;
    display: block;
    border-radius: 50%;
    box-shadow: 0px 0px 2px 0px var(--bgColor2);
    -webkit-tap-highlight-color: transparent;
}

#userName {
    color: var(--accentColor);
    font-size: 1rem;
    font-weight: bold;
    line-height: 1.25;
    font-family: var(--font);
    width: 100%;
    text-align: center;
    text-decoration: none;
}


/*-------------------------Waves-----------------------*/

.waves {
    width: 100%;
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.waves>svg {
    width: 100%;
    height: 100%;
    max-height: 100px;
}


/*-------------------------Top End-----------------------*/


/*-------------------------Middle-----------------------*/

.middle {
    flex: 4;
    width: 100%;
    background: var(--bgColor2);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.middle::-webkit-scrollbar {
    display: none;
    scrollbar-width: none;
}


/*-------------------------Player-----------------------*/

#player {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding-top: 30px;
}

.hide { display: none !important; }

@media only screen and (max-width: 639px) {
    #player {
        min-height: unset;
        width: 100%;
    }
    #player>iframe {
        height: calc(100vw * 9 / 16);
        width: 100vw;
    }
}


/*-------------------------Links-----------------------*/

#links_container {
    display: flex;
    justify-content: center;
}

#links {
    flex: 1;
    max-width: 680px;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-top: 30px;
    padding-bottom: 30px;
}

.link {
    width: 90%;
    min-height: 60px;
    max-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: transparent;
    color: var(--accentColor);
    border: solid var(--accentColor) 2px;
    border-radius: 10px;
    font-size: 1rem;
    text-align: center;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

/* ko-fi icon from https://haliphax.dev/2022/06/ko-fi-icon-for-fontawesome/ */

.fa-ko-fi::before {
    content: '\f0f4';
    display: inline-block;
    font-size: 1.1em;
    line-height: 0.45em;
    margin: -0.45em 0 0 -0.2em;
    overflow-y: hidden;
    padding-top: 0.45em;
}

.fa-ko-fi::after {
    color: var(--bgColor2);
    content: '\f004';
    font-size: 50%;
    font-weight: 900;
    margin: 0.5em 0 0 -2em;
    position: absolute;
}


@media (hover: hover) {
    .link:hover {
        background-color: var(--accentColor);
        color: var(--bgColor);
    }
}

.link:active {
    background-color: var(--accentColor);
    color: var(--bgColor);
}

/*-------------------------Middle End-----------------------*/


/*-------------------------Bottom-----------------------*/

.bottom {
    flex: 4;
    width: 100%;
    background: var(--bgColor2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 30px;
}

.code {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: var(--bgColor);
}


/*-------------------------Bottom End-----------------------*/


/*-------------------------Animations-----------------------*/

@keyframes transitionAnimation {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes animate {
    0% {
        left: -100px;
        transform: scaleX(1);
    }
    49.999% {
        transform: scaleX(1);
    }
    50% {
        left: calc(100% + 100px);
        transform: scaleX(-1);
    }
    100% {
        left: -100px;
        transform: scaleX(-1);
    }
}


/* Waves Animations */

.parallax>use {
    animation: move-forever 25s cubic-bezier(.55, .5, .45, .5) infinite;
}

.parallax>use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}

.parallax>use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}

.parallax>use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}

.parallax>use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}

@keyframes move-forever {
    0% {
        transform: translate3d(-90px, 0, 0);
    }
    100% {
        transform: translate3d(85px, 0, 0);
    }
}


/*Shrinking for mobile*/

@media (max-width: 768px) {
    .waves {
        height: 40px;
        min-height: 40px;
    }
    .content {
        height: 30vh;
    }
    h1 {
        font-size: 24px;
    }
}
