@charset "utf-8";

:root {
    --blob-time: 30s;
    --blob-pulse: 0.2;
    --white: #ffffff;
    --black: #0c0f0a;
    --pink: #ff206e;
}

body,
html {
    overflow: hidden;
    background: var(--white);
}

html.quotes-page {
    background: #ffffff;
}

.bodyContainer {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: absolute;
    overflow: hidden;
}

.textContainer {
    display: flex;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: absolute;
    overflow: hidden;
}

.title {
    color: var(--white);
    display: block;
    font-size: 10rem;
    font-weight: bold;
    text-align: center;
    mix-blend-mode: difference;
    transform: translate3d(0,0,0); // For mix-blend-mode rendering in older webkit
    user-select: none;
    -webkit-user-select: none;
}

.text_quote {
    color: var(--white);
    display: block;
    font-size: 5rem;
    font-weight: bold;
    text-align: center;
    mix-blend-mode: difference;
    transform: translate3d(0,0,0); // For mix-blend-mode rendering in older webkit
    flex-basis: 100%;
    user-select: none;
    -webkit-user-select: none;
    width: 100%;
}

.text_quoteAuthor {
    color: var(--white);
    display: block;
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    mix-blend-mode: difference;
    transform: translate3d(0,0,0); // For mix-blend-mode rendering in older webkit
    user-select: none;
    -webkit-user-select: none;
}

.blob {
    animation: blob-turn var(--blob-time) linear infinite;
    fill: var(--pink);
    transform-origin: center;
    width: 600px;
    height: 600px;
    position: absolute;
}

.blob svg path {
    animation: blob-scale calc(var(--blob-time) / 2 + 1) ease-in-out 0s infinite;
    transform-origin: center;
}

@keyframes blob-turn {
    0% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(160deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes blob-scale {
    0% {
        transform: scaleX(calc(1 - var(--blob-pulse))) scaleY(1);
    }

    25% {
        transform: scaleX(calc(1 - var(--blob-pulse))) scaleY(calc(1 - var(--blob-pulse)));
    }

    50% {
        transform: scaleX(1) scaleY(calc(1 - var(--blob-pulse)));
    }

    75% {
        transform: scaleX(calc(1 - var(--blob-pulse))) scaleY(calc(1 - var(--blob-pulse)));
    }

    100% {
        transform: scaleX(calc(1 - var(--blob-pulse))) scaleY(1);
    }
}

@keyframes float-odd {
    0% {
        transform: translateX(-30px);
    }
    50% {
        transform: translateX(50px);
    }
    100% {
        transform: translateX(-30px);
    }
}
@keyframes float-even {
    0% {
        transform: translateX(50px);
    }
    50% {
        transform: translateX(-30px);
    }
    100% {
        transform: translateX(50px);
    }
}

html, body {
    height: auto;
    min-height: 100%;
    background: #87CEEB;
    margin: 0;
    font-family: Arial, sans-serif;
    overflow-y: auto;
}

.cloud-link {
    text-decoration: none;
    color: #333;
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    margin: 20px auto;
    width: 300px;
    height: 180px;
    z-index: 1;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    filter: drop-shadow(3px 3px 2px rgba(0, 0, 0, .3));
}

.cloud-link img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.cloud-link span {
    color: #333;
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 0.5rem;
    pointer-events: none;
}

.cloud-link .description {
    color: #555;
    font-size: 1rem;
    font-weight: normal;
    pointer-events: none;
}

.cloud-link .cloud-title {
    font-size: 2rem;
}

.cloud-link:nth-child(odd) {
    animation: float-odd 48s ease-in-out infinite;
}

.cloud-link:nth-child(even) {
    animation: float-even 40s ease-in-out infinite;
}

.cloud-link:nth-child(1) span {
    font-size: 2rem;
}

.sun {
    position: absolute;
    top: 40px;
    right: 220px;
    width: 200px;
    height: auto;
    display: block;
}

.disabled-cloud {
    filter: grayscale(100%);
    pointer-events: none;
    opacity: 0.6;
}
