@import url('https://fonts.googleapis.com/css2?family=Neuton:ital@0;1&display=swap');

body {
    margin: 0;
    padding: 0;
    font-family: 'Neuton', serif;
    overflow: hidden;
}

#container {
    position: fixed;
    top: 0;
    z-index: 1;
    transform: scale(1);
    background-color: #3c3c3c;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25'%3E%3Cdefs%3E%3ClinearGradient id='a' gradientUnits='userSpaceOnUse' x1='0' x2='0' y1='0' y2='100%25' gradientTransform='rotate(360,958,464)'%3E%3Cstop offset='0' stop-color='%233c3c3c'/%3E%3Cstop offset='1' stop-color='%233c3c3c'/%3E%3C/linearGradient%3E%3Cpattern patternUnits='userSpaceOnUse' id='b' width='504' height='420' x='0' y='0' viewBox='0 0 1080 900'%3E%3Cg fill-opacity='0.01'%3E%3Cpolygon fill='%23444' points='90 150 0 300 180 300'/%3E%3Cpolygon points='90 150 180 0 0 0'/%3E%3Cpolygon fill='%23AAA' points='270 150 360 0 180 0'/%3E%3Cpolygon fill='%23DDD' points='450 150 360 300 540 300'/%3E%3Cpolygon fill='%23999' points='450 150 540 0 360 0'/%3E%3Cpolygon points='630 150 540 300 720 300'/%3E%3Cpolygon fill='%23DDD' points='630 150 720 0 540 0'/%3E%3Cpolygon fill='%23444' points='810 150 720 300 900 300'/%3E%3Cpolygon fill='%23FFF' points='810 150 900 0 720 0'/%3E%3Cpolygon fill='%23DDD' points='990 150 900 300 1080 300'/%3E%3Cpolygon fill='%23444' points='990 150 1080 0 900 0'/%3E%3Cpolygon fill='%23DDD' points='90 450 0 600 180 600'/%3E%3Cpolygon points='90 450 180 300 0 300'/%3E%3Cpolygon fill='%23666' points='270 450 180 600 360 600'/%3E%3Cpolygon fill='%23AAA' points='270 450 360 300 180 300'/%3E%3Cpolygon fill='%23DDD' points='450 450 360 600 540 600'/%3E%3Cpolygon fill='%23999' points='450 450 540 300 360 300'/%3E%3Cpolygon fill='%23999' points='630 450 540 600 720 600'/%3E%3Cpolygon fill='%23FFF' points='630 450 720 300 540 300'/%3E%3Cpolygon points='810 450 720 600 900 600'/%3E%3Cpolygon fill='%23DDD' points='810 450 900 300 720 300'/%3E%3Cpolygon fill='%23AAA' points='990 450 900 600 1080 600'/%3E%3Cpolygon fill='%23444' points='990 450 1080 300 900 300'/%3E%3Cpolygon fill='%23222' points='90 750 0 900 180 900'/%3E%3Cpolygon points='270 750 180 900 360 900'/%3E%3Cpolygon fill='%23DDD' points='270 750 360 600 180 600'/%3E%3Cpolygon points='450 750 540 600 360 600'/%3E%3Cpolygon points='630 750 540 900 720 900'/%3E%3Cpolygon fill='%23444' points='630 750 720 600 540 600'/%3E%3Cpolygon fill='%23AAA' points='810 750 720 900 900 900'/%3E%3Cpolygon fill='%23666' points='810 750 900 600 720 600'/%3E%3Cpolygon fill='%23999' points='990 750 900 900 1080 900'/%3E%3Cpolygon fill='%23999' points='180 0 90 150 270 150'/%3E%3Cpolygon fill='%23444' points='360 0 270 150 450 150'/%3E%3Cpolygon fill='%23FFF' points='540 0 450 150 630 150'/%3E%3Cpolygon points='900 0 810 150 990 150'/%3E%3Cpolygon fill='%23222' points='0 300 -90 450 90 450'/%3E%3Cpolygon fill='%23FFF' points='0 300 90 150 -90 150'/%3E%3Cpolygon fill='%23FFF' points='180 300 90 450 270 450'/%3E%3Cpolygon fill='%23666' points='180 300 270 150 90 150'/%3E%3Cpolygon fill='%23222' points='360 300 270 450 450 450'/%3E%3Cpolygon fill='%23FFF' points='360 300 450 150 270 150'/%3E%3Cpolygon fill='%23444' points='540 300 450 450 630 450'/%3E%3Cpolygon fill='%23222' points='540 300 630 150 450 150'/%3E%3Cpolygon fill='%23AAA' points='720 300 630 450 810 450'/%3E%3Cpolygon fill='%23666' points='720 300 810 150 630 150'/%3E%3Cpolygon fill='%23FFF' points='900 300 810 450 990 450'/%3E%3Cpolygon fill='%23999' points='900 300 990 150 810 150'/%3E%3Cpolygon points='0 600 -90 750 90 750'/%3E%3Cpolygon fill='%23666' points='0 600 90 450 -90 450'/%3E%3Cpolygon fill='%23AAA' points='180 600 90 750 270 750'/%3E%3Cpolygon fill='%23444' points='180 600 270 450 90 450'/%3E%3Cpolygon fill='%23444' points='360 600 270 750 450 750'/%3E%3Cpolygon fill='%23999' points='360 600 450 450 270 450'/%3E%3Cpolygon fill='%23666' points='540 600 630 450 450 450'/%3E%3Cpolygon fill='%23222' points='720 600 630 750 810 750'/%3E%3Cpolygon fill='%23FFF' points='900 600 810 750 990 750'/%3E%3Cpolygon fill='%23222' points='900 600 990 450 810 450'/%3E%3Cpolygon fill='%23DDD' points='0 900 90 750 -90 750'/%3E%3Cpolygon fill='%23444' points='180 900 270 750 90 750'/%3E%3Cpolygon fill='%23FFF' points='360 900 450 750 270 750'/%3E%3Cpolygon fill='%23AAA' points='540 900 630 750 450 750'/%3E%3Cpolygon fill='%23FFF' points='720 900 810 750 630 750'/%3E%3Cpolygon fill='%23222' points='900 900 990 750 810 750'/%3E%3Cpolygon fill='%23222' points='1080 300 990 450 1170 450'/%3E%3Cpolygon fill='%23FFF' points='1080 300 1170 150 990 150'/%3E%3Cpolygon points='1080 600 990 750 1170 750'/%3E%3Cpolygon fill='%23666' points='1080 600 1170 450 990 450'/%3E%3Cpolygon fill='%23DDD' points='1080 900 1170 750 990 750'/%3E%3C/g%3E%3C/pattern%3E%3C/defs%3E%3Crect x='0' y='0' fill='url(%23a)' width='100%25' height='100%25'/%3E%3Crect x='0' y='0' fill='url(%23b)' width='100%25' height='100%25'/%3E%3C/svg%3E");
    background-attachment: fixed;
    background-size: cover;
}

.continent {
    fill: #f0e7de;
    fill: none;
    fill: url(#continentPattern);
    stroke: #93886c7a;
    stroke-width: 2px;
}

.ocean {
    fill: url(#oceanPattern);
}

.patternBg {
    fill: #f9f1e8;
}

.voronoi {
    stroke: none;
    opacity: 0.0;
    pointer-events: visible !important;
    transition: all .2s ease-in-out;
}

#world {
    opacity: 0.4;
    animation: worldInAnimation 1s cubic-bezier(0.65, 0, 0.35, 1)  forwards;
}

#birdName {
    text-align: center;
    /*    display: none;*/
    z-index: 5;
    position: absolute;
    bottom: 3vh;
    left: 50vw;
    font-size: 4em;
    transform: translateX(-50%);
}

#birdName span {
    display: block;
}

#commonName {
    opacity: 0;
    line-height: 90%;
}

.commonNameInAnimation {
    opacity: 0;
    animation: nameInAnimation .7s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.commonNameOutAnimation {
    opacity: 1;
    animation: nameOutAnimation .2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

#scientificName {
    opacity: 0;
    font-style: italic;
    font-size: 0.5em;
}

.scientificNameInAnimation {
    opacity: 0;
    transform: translateX(-50px);
    animation: nameInAnimation .7s cubic-bezier(0.25, 1, 0.5, 1) .2s forwards;
}

.scientificNameOutAnimation {
    opacity: 1;
    transform: translateX(0px);
    animation: nameOutAnimation .2s cubic-bezier(0.25, 1, 0.5, 1) .2s forwards;
}

#credit {
    opacity: 0;
    font-size: 0.2em;
}

.creditNameInAnimation {
    opacity: 0;
    transform: translateX(-50px);
    animation: nameInAnimation .7s cubic-bezier(0.25, 1, 0.5, 1) .4s forwards;
}

.creditNameOutAnimation {
    opacity: 1;
    transform: translateX(0px);
    animation: nameOutAnimation .2s cubic-bezier(0.25, 1, 0.5, 1) .4s forwards;
}

#loading {
    display: none;
    position: absolute;
    z-index: 2;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    top: 5%;
    background-color: #3d3d3d;
    height: 1vh;
    width: 32vw;
    border-radius: 50px;
    padding: 6px;
    transition: opacity .3s ease-in-out;
}

.loadingInAnimation {
    animation: loadingInAnimation .6s cubic-bezier(0.65, 0, 0.35, 1) 1s forwards;
}

/*
.loadingOutAnimation {
    
    animation: loadingOutAnimation .35s cubic-bezier(0.65, 0, 0.35, 1) forwards!IMPORTANT;    
    transform: translateX(-50%) scaleX(1)!IMPORTANT;
}
*/

#loading div {
    background-color: #d9d0c6;
    height: 100%;
    width: 0%;
    border-radius: 50px;
    background: linear-gradient(90deg, rgba(61,61,61,1) 0%, rgba(141,136,131,1) 24%, rgba(217,208,198,1) 100%);
    transition: width .3s ease-in-out;
}

#source {
    position: absolute;
    bottom: 5px;
    right: 5px;
    z-index: 5;
    color: #f0e7de;
    text-decoration: none;
    text-align: right;
}

/*

.voronoi:hover {
    opacity: 0.02;
    stroke: none;
}
*/

.point {
    stroke-width: 0;
    opacity: 1;
    fill: #ff5a5f;
    stroke: #ff5a5f;
    transition: all 1s ease-in-out;
}

.pointInAnimation {
    opacity: 0;
    stroke-width: 0;
    animation: pointInAnimation .8s cubic-bezier(0.25, 1, 0.5, 1);
    animation-fill-mode: forwards;
    transition: all 1s ease-in-out;
}

.playing {
    fill: #f43b41 !IMPORTANT;
    stroke: #f43b41 !IMPORTANT;
    stroke-width: 7 !IMPORTANT;
}

.bgPattern1 {
    fill: #444;
}

.bgPattern2 {
    fill: #DDD;
}

.bgPattern3 {
    fill: #999;
}

.bgPattern4 {
    fill: #FFF;
}

.bgPattern5 {
    fill: #666;
}

.bgPattern6 {
    fill: #222;
}

.bgPattern7 {
    fill: #AAA;
}

@keyframes pointInAnimation {
    0% {
        stroke-width: 15;
        opacity: 0;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        stroke-width: 0;
        opacity: 1;
    }
}


@keyframes nameInAnimation {
    0% {
        transform: translateX(-50px);
        opacity: 0;
    }

    100% {
        transform: translateX(0px);
        opacity: 1;
    }
}

@keyframes nameOutAnimation {
    0% {
        transform: translateX(0px);
        opacity: 1;
    }

    100% {
        transform: translateX(50px);
        opacity: 0;
    }
}


@keyframes worldInAnimation {
    0% {
        transform: scaleY(0);
        opacity: 0.4;
    }

    100% {
        transform: scaleY(1);
        opacity: 1;
    }
}


@keyframes loadingInAnimation {
    0% {
        transform: translateX(-50%) scaleX(0);
        opacity: 0;
    }

    100% {
        transform: translateX( -50%) scaleX(1);
        opacity: 1;
    }
}

/*

@keyframes loadingOutAnimation {
    0% {
        transform: translateX( -50%) scaleX(1);
        opacity: 1!IMPORTANT;
    }

    100% {
        transform: translateX(-50%) scaleX(0);
        opacity: 0!IMPORTANT;
    }
}
*/
