/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */
 * {
    -webkit-tap-highlight-color: rgba(0,0,0,0); /* make transparent link selection, adjust last value opacity 0 to 1.0 */
}

body {
    -webkit-touch-callout: none;                /* prevent callout to copy image, etc when tap to hold */
    -webkit-text-size-adjust: none;             /* prevent webkit from resizing text to fit */
    -webkit-user-select: none;                  /* prevent copy paste, to allow, change 'none' to 'text' */
    background-color:#E4E4E4;
    background-image:linear-gradient(to bottom, #A7A7A7 0%, #E4E4E4 51%);
    font-family: system-ui, -apple-system, -apple-system-font, 'Segoe UI', 'Roboto', sans-serif;
    font-size:12px;
    height:100vh;
    margin:0px;
    padding:0px;
    /* Padding to avoid the "unsafe" areas behind notches in the screen */
    padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
    text-transform:uppercase;
    width:100%;
}

/* Portrait layout (default) */


/* Landscape layout (with min-width) */
@media screen and (min-aspect-ratio: 1/1) and (min-width:400px) {

}

@media screen and (prefers-color-scheme: dark) {
    body {
        background-image:linear-gradient(to bottom, #585858 0%, #1B1B1B 51%);
    }
}

body{
    overflow:hidden;
    margin:0px;
    font-family: sans-serif;
    background-color:#282828;
    cursor:none;
}
player{
    display:block;
    width:60px;
    height:60px;
    background-color:blue;
    color:white;
    border-radius: 30px;
    position:absolute;
    z-index:9;
    text-align: center;
    line-height:60px;
}
.circle{
    width:80px;
    height:80px;
    background-color:blue;
    border-radius: 40px;
    position:absolute;
    animation: 20s fly linear infinite;
}
@keyframes fly{
    0%{transform:translateX(0px) translateY(0px);}
    10%{transform:translateX(-100px) translateY(400px);}
    20%{transform:translateX(300px) translateY(100px);}
    30%{transform:translateX(100px) translateY(-300px);}
    40%{transform:translateX(-400px) translateY(200px);}
    50%{transform:translateX(-100px) translateY(-200px);}
    60%{transform:translateX(200px) translateY(-400px);}
    70%{transform:translateX(-300px) translateY(100px);}
    80%{transform:translateX(100px) translateY(300px);}
    90%{transform:translateX(400px) translateY(-100px);}
    100%{transform:translateX(0px) translateY(0px);}
}
#endgame{
    position:absolute;
    z-index: 999;
    width:100%;
    height:100vh;
    display:none;
    justify-content: center;
    align-items: center;
}
#endgame div{
    width:50%;
    height:50vh;
    background-image: linear-gradient(rgba(78, 122, 243,0.5), rgba(80, 80, 207,0.5));
    border-radius:30px;
    text-align: center;
    color:#EEE;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:space-evenly;
}
#endgame h1{
    font-size:300%;
    font-weight: 100;
    margin:0px;
    text-shadow:2px 2px 2px #000;
}
#endgame p{
    font-size:140%;
    margin:0px;
}
#endgame h2{
    font-size:300%;
    color:#EEE;
    margin:0px;
    text-shadow:2px 2px 2px #000;
}
#endgame a{
    font-size:120%;
    padding:10px 20px;
    border-radius: 20px;
    background-color: darkblue;
    color:white;
    text-decoration:none;
}
#endgame a:hover{
    background-color: white;
    color:darkblue;
}