@import url('https://fonts.googleapis.com/css2?family=Geomini:wght@200..800&display=swap');

body
{
    font-family: "Geomini", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    text-align: center;
}

.doc-container
{
    max-width: 1250px;
    margin-left: auto;
    margin-right: auto;
}

p
{
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
}

.sb-container
{
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.b
{
    font-family: "Geomini", sans-serif;
	text-shadow: none;
    padding: 4px 8px;
    margin: 4px;
    border: none;
	text-decoration: none;
	font-weight: bold;
	border-radius: 6px;
	text-shadow: 1px 1px 8px white;
    font-size: 11pt;
    background-color: rgb(102, 65, 37);
    background: linear-gradient(to bottom, #ac9426, #7d7317);
    box-shadow: 0 3px 0 #5c490e, 
                0 5px 4px #230f04ea;
    text-shadow: 1px 1px 3px rgb(40, 19, 3);
}

#why
{
    font-weight: 600;
    color: #007;
    border-bottom: 1px dashed rgba(0 41 143 / 0.53);
}

@media (prefers-color-scheme: dark) {
    body, p, a
    {
        color: white;
        text-shadow: 2px 2px 3px #0008;
    }
    
    body
    {
        background-color: #112;
        background: radial-gradient(rgb(58, 61, 113) 0%, #112 100%);
    }

    h1, h2, h3, h4, h5, h6
    {
        text-shadow: 3px 3px 6px #000b;
    }

    .b
    {
        color: white;
    }

    #why
    {
        color: rgb(255, 215, 156);
        border-bottom: 1px dashed rgba(255, 226, 151, 0.533);
    }
}

.b-skill
{
        background-color: rgb(37, 97, 102);
	    background: linear-gradient(to bottom, #269cac, #175e7d);
    	box-shadow: 0 3px 0 #0e3a5c, 
				    0 5px 4px #041923ea;
        text-shadow: 1px 1px 3px rgb(40, 19, 3);
        color: white;
        display: inline-block;
}

.onebutton
{
    background-color: rgb(97 102 37);
    background: linear-gradient(to bottom, #A5AC26, #7D7817);
    box-shadow: 0 8px 0 #5C5C0E, 
                0 9px 4px #222304EA;
    text-shadow: 1px 1px 3px rgb(40 38 3);
    border-radius: 32px;
}

.sbb-selected
{
    background-color: rgb(102 37 37);
    background: linear-gradient(to bottom, #AC2626, #7D1717);
    box-shadow: 0 4px 0 #5C0E0E, 
                0 6px 4px #230404EA;
    text-shadow: 1px 1px 3px rgb(40 3 3);
    padding: 3px 7px;
    border: 1px solid #e53838;
}

.sbb-bingo
{
    animation-name: bingo;
    animation-iteration-count: 1;
    animation-duration: 1.2s;
    animation-fill-mode: forwards;
    padding: 3px 7px;
}

@keyframes bingo
{
    0%
    {
        filter: brightness(1.0) hue-rotate(0deg);
        transform: scale(1.0);
        border: 1px solid #e53838;
        box-shadow: 0 4px 0 #5C0E0E, 
                    0 6px 4px #230404EA;
    }
    25%
    {
        transform: scale(1.15) rotateZ(3deg);
    }
    50%
    {
        filter: brightness(2.5) hue-rotate(180deg);
        transform: scale(.93) rotateZ(-1deg);
        box-shadow: 0 4px 0 #5C0E0E, 
                    0 0px 12px #ffffffea;
    }
    75%
    {
        transform: scale(1.04) rotateZ(0.3deg);
    }
    100%
    {
        filter: brightness(1.8)  hue-rotate(360deg);
        transform: scale(1.0);
        border: 1px solid #ffa9a9;
        box-shadow: 0 4px 0 #5C0E0E, 
                    0 6px 4px #230404EA;
    }
}

.b-sound-on
{
    background-color: rgb(42 102 37);
    background: linear-gradient(to bottom, #26AC38, #197D17);
    box-shadow: 0 4px 0 #0E5C18, 
                0 6px 4px #042305EA;
    text-shadow: 1px 1px 3px rgb(7 40 3);
}

.b-sound-off
{
    background-color: rgb(165 33 33);
    background: linear-gradient(to bottom, #C01919, #B51111);
    box-shadow: 0 4px 0 #710909, 
                0 6px 4px #5C0505EA;
    text-shadow: 1px 1px 3px rgb(71 7 7);
}

.sbb
{
    min-height: 60px;
}

.sbb-anim
{
    animation-name: buttonfall;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    animation-duration: 1.4s;
    animation-play-state: paused;
    opacity: 0;
}

@keyframes buttonfall
{
    0%
    {
        opacity: 0;
        transform: translateY(-50px);
        text-shadow: 1px 1px 3px rgb(40, 19, 3);
    }

    25%
    {
        text-shadow: 1px 1px 3px rgb(40, 19, 3);
    }

    40%
    {
        opacity: 1;
        transform: translateY(0);
    }

    60%
    {
        opacity: 1;
        text-shadow: 0 0 10px white;
    }

    100%
    {
        opacity: 1;
        text-shadow: 1px 1px 3px rgb(40, 19, 3);
    }

}

@media screen and (max-width: 600px)
{
    .b-sk5, .b-sk7, .b-sk8
    {
        display: none;
    }

    .sbb
    {
        font-size: 8pt;
    }

    .sb-container
    {
        max-width: 600px;
    }
}


@media screen and (max-width: 800px)
{
    .b-sk7
    {
        display: none;
    }

    .sb-container
    {
        max-width: 800px;
    }

    p
    {
        font-size: 10pt;
    }
}

@media screen and (max-width: 1000px)
{
    .b-sk8
    {
        display: none;
    }

    .sb-container
    {
        max-width: 1000px;
    }
}

@media (prefers-color-scheme: light)
{
    .b-refresh
    {
        color: white !important;
    }
    .sbb
    {
        color: white;
    }
}

.onebutton
{
    font-size: 30pt;
    min-height: 300px;
}

.topbuttoncontainer
{
    margin-bottom: 1rem;
}

@media screen and (min-width: 800px)
{
    .sbb3
    {
        min-height: 100px;
        font-size: 14pt;
    }

    .sbb4, .sbb5
    {
        min-height: 80px;
        font-size: 12pt;
    }
}

@media screen and (min-width: 1000px)
{
    .sbb3
    {
        min-height: 110px;
        font-size: 16pt;
    }
    
    .sbb4, .sbb5
    {
        min-height: 90px;
        font-size: 14pt;
    }
}

#note1note, #note2note
{
    display: none;
}