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

@keyframes float {
    0% {
      transform: translateY(1.5%);
    }
  
    50% {
      transform: translateY(-1.5%);
    }
  
    100% {
      transform: translateY(1.5%);
    }
}

@keyframes background-ani {
    0% {
      background-position: 600px 600px;
    }

    100% {
        background-position: 0 0;
    }
  }
  

body {
    font-family: "Overpass", sans-serif;
	line-height: 1.2;
    background: #361d55 url("/images/wrbg.png");
    color: #fff;
	max-width: 80rem;
	margin: auto;
    padding: 20px;
    text-align: center;
    position: relative;
    /* animation: background-ani 10s linear 0s infinite; */
}

header {
    margin: 2em 0.5em;
}

.banner {

    animation: float 2s ease-in-out 0s infinite;
}

.home {
    position: absolute;
    text-decoration: none;
    left: 0px;
    color: #fff;
    padding: 8px 16px;
    border: 1px solid #fff;
    margin: 0 20px;
}

.home::before {
    content: "← ";
}


h1 span::before {
    content: "🙣";
    margin: 0 16px;
}
 

h1 span::after {
    content: "🙡";
    margin: 0 16px;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
}

img {
    max-height: 150px;
    margin-bottom: -1em;
    max-width: 100%;
}

a {
    color: #9999FF;
  }
  
a:visited {
color: #d699ff;
}

a:focus {
color: #c3c3ff;
}

a:hover {
color: #dfdfff;
}

a:active {
color: #fff;
}

table {	
    width: 90%;
    border-collapse: collapse;
    margin: 0 auto;
}

ul, ol {
    text-align: left;
    max-width: 800px;
    margin: auto;
}

li {
    margin: 2em 0;
}


table {
   box-shadow: #190e28 8px 8px;
   border: 1px solid white;
}

th, td {
    padding: 8px;
	text-align: left; 
	overflow: hidden;
	text-overflow: ellipsis;
}

tr {
    background-color: #361d55;
    height: 64px;
}

tr:nth-of-type(even) {
    background-color: #321a4e;
}



thead tr {
    line-height: 1;
    border-bottom: 1px solid;
    background-color: #190e28;
    height: 24px;
}


td:nth-of-type(1) {
    text-align: center;
    width: 32px;
}

td:nth-of-type(2) {
    font-weight: bold;
}

td:nth-of-type(3) {
    font-size: small;
    line-height: 1;
    word-wrap: break-word;
}

td:nth-of-type(4) {
    font-size: small;
    line-height: 1.5;
}


.container {
    max-width: 800px; 
    margin: auto;
    padding: 12px;
}

footer {
    position: fixed;
    width: 100%;
    height: 48px;
    background-color: #0008;
    bottom: 0px;
    left: 0;
    text-align: center;
}

footer p {
    margin: 8px 8px;
}

pre {
    font-family: 'Overpass Mono', monospace;
    font-size: 14px;
    background-color: #0008;
    padding: 16px;
    border-radius: 10px;
    overflow-x: auto;
    scrollbar-color: #dfb0ff #190e28;
}

pre span {
    color: #dfb0ff;
}

input {
    font-family: Overpass, sans-serif;
    width: 16em;
    font-size: 14px;
    background-color: #0008;
    color: #dfb0ff;
    padding: 16px;
    border-radius: 10px;
    border: none;
    outline: 1px solid #dfb0ff;
}

input::placeholder {
    color: #7a638a;
    font-style: italic;
}

input:focus {
    outline: 3px solid #fdcc02;
}

@media screen and (max-width: 650px) {
    body {
        font-size: 90%; 
    }

    .home {
        position: static;
    }

    table { 
        display: block;
        overflow-x: auto;
        border: none;
        margin: auto;
    }

    th, td {
        padding: 4px 8px; 
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
		white-space: normal;
    }


    td:nth-of-type(even) {
        background-color: #fff2;
    }

    tr {
        border: 5px solid #190e28;
        display: flex; 
        flex-direction: column;
        margin-top: -5px;
        width: 100%;
    }
    

}

@media (prefers-reduced-motion) {
    body, .banner {
        animation: none;
    }
}