/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}

/* Altered features for settings menu creation, helped with AI, yet refined and understood by my hand*/
body {
	line-height: 1;
    background-image: var(--player-background, url('Images/Backdrop.jpg')); /*Background image and fonturl*/
    font-family: var(--player-font, 'Trebuchet MS', sans-serif);
}

:root {
    --player-background: url('Images/Backdrop.jpg'); /*Root for player font and background selection*/
    --player-font: 'Trebuchet MS', sans-serif;
}

dialog { /*Dialogue Box for settings*/
    border: 3px solid black;
    border-radius: 10px;
    background: #ffffff;
    padding: 0;
    font-family: var(--player-font);
}

#settingsForm { /*Form settings for good display*/
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: min(320px, 78vw);
    padding: 24px;
}

#settingsTitle { /*Settings titles for bold and brash titles*/
    font-size: 1.5rem;
    font-weight: bold;
}

#settingsForm input, /*Custom font integration :/ */
#settingsForm select,
#settingsForm button {
    font: inherit;
    padding: 8px;
}

#settingsForm label { /*Bold labels for settings*/
    font-weight: bold;
}

.settingsActions { /*Simple flexbox display I think*/
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 8px;
}

.settingsActions button { /*Custom settings button appearance for better visibility*/
    border: 2px solid black;
    background: white;
    cursor: pointer;
}

.settingsActions button[type="submit"] { /*Save settings button with green background for better visibility*/
    background: #72b536;
}

#settingsStatus { /*Settings status poppup*/
    min-height: 1em;
    text-align: right;
}


/*Untouched according to my perspective*/
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/*Speed control styling*/

#speedControl {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

#speedControl button {
    width: 28px;
    height: 28px;
    padding: 0;
    border: 2px solid black;
    background: white;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
}

#speedDisplay {
    min-width: 34px;
    text-align: center;
}

/* 
"Six Size" Resolution 
*/

@media only screen and (max-width: 1600px) {
    body {
        background-image: var(--player-background);
    }

    #navigator {
        position: fixed;
        height:40px;
        width: 100%;
        background-color:green;
        padding:25px;
        margin-left: -25px;
        display: flex;
        gap: 10px;
        justify-content: space-evenly;
        align-items: center;
        border-bottom: 3px solid black;
        z-index:1;
    }

    #space {
        height: 70px;
    }

    #mainSection {
        display:grid;
        grid-template-columns: repeat(6, 1fr);
        grid-template-areas: 
        "disc01 disc02 disc03 disc04 disc05 disc06"
        "disc07 disc08 disc09 disc10 disc11 disc12"
        "disc13 disc14 disc15 disc16 disc17 disc18"
        "empty1 disc19 disc20 disc21 disc22 empty2";
        gap: 20px;
        row-gap: 90px;
        padding-bottom: 90px;
        justify-content: space-evenly;
        margin-left: 3%;
    }

    section {
        width: 175px;
        padding-top: 80px;
    }

    section > img {
        width: 150px;
        height: auto;
        image-rendering: crisp-edges;
        margin-left: 10px;
    }

    #mainSection > section {
        display: flex;
        flex-direction: column;
        align-items: center;
        background-color: green;
        height: 100%;
        border: 3px solid black;
        border-radius: 10px; 
        font-size: 20px;
        font-weight: bold;
        text-align: center;
        padding: 5px;
        padding-top: 20px;
        transition: transform 0.3s ease-in-out;
    } 

    #mainSection > section:hover {
        transform: scale(1.1);
    }

    @keyframes anim1 {
        from {background-color: yellow;}
        to {background-color: red;}
        }

    .small {
        width:100px;
        margin-left: 0;
    }

    @keyframes flash {
        0%, 50%, 100% {
            background-color: red;
        }

        25%, 75% {
            background-color: rgb(225, 255, 0);
        }
    }

    .flashing {
        animation: flash 1s infinite;
    }

    @keyframes stop {
        0%, 100% {
            background-color: rgb(0, 0, 255);
        }

        50% {
            background-color: green;
        }
    }

    .blue {
        animation: stop 2s infinite;
    }
/* This next*/ 
    .logo {
        width: 400%;
        image-rendering: crisp-edges;
    }

    a {
        font-size: 200%;
        color: black;
        text-decoration: none;
        font-weight: bold;
    }

    #smallie {
        font-size: 75%;
    }

}

/*
"Five Size" Resolution
*/

@media only screen and (max-width: 1300px) {
    #mainSection {
        grid-template-columns: repeat(5, 1fr);
        grid-template-areas: 
        "disc01 disc02 disc03 disc04 disc05"
        "disc06 disc07 disc08 disc09 disc10"
        "disc11 disc12 disc13 disc14 disc15"
        "disc16 disc17 disc18 disc19 disc20" 
        "disc21 disc22 empty1 empty2 empty3";
    }

}

/*
"Four Size" Resolution
*/

@media only screen and (max-width: 1100px) {
    #mainSection {
        grid-template-columns: repeat(4, 1fr);
        grid-template-areas: 
        "disc01 disc02 disc03 disc04"
        "disc05 disc06 disc07 disc08"
        "disc09 disc10 disc11 disc12"
        "disc13 disc14 disc15 disc16"
        "disc17 disc18 disc19 disc20" 
        "disc21 disc22 empty1 empty2";
        margin-left: 4%;
    }  

}

/*
"Three Size" Resolution
*/

@media only screen and (max-width: 900px) {
    #mainSection {
        grid-template-columns: repeat(3, 1fr);
        grid-template-areas: 
        "disc01 disc02 disc03"
        "disc04 disc05 disc06"
        "disc07 disc08 disc09"
        "disc10 disc11 disc12"
        "disc13 disc14 disc15"
        "disc16 disc17 disc18"
        "disc19 disc20 disc21"
        "disc22 empty1 empty2";
        margin-left: 65px;
    }

}

/*
"Two Size" Resolution
*/

@media only screen and (max-width: 700px) {
    #mainSection {
        grid-template-columns: repeat(2, 1fr);
        grid-template-areas: 
        "disc01 disc02"
        "disc03 disc04"
        "disc05 disc06"
        "disc07 disc08"
        "disc09 disc10"
        "disc11 disc12"
        "disc13 disc14"
        "disc15 disc16" 
        "disc17 disc18"
        "disc19 disc20" 
        "disc21 disc22";
        margin-left: 80px;
    }

    .logo {
        width: 300%;
        image-rendering: crisp-edges;
    }

    #leftText {
        font-size: 10px;
    }

}

/*
"One Size" Resolution
*/

@media only screen and (max-width: 500px) {
    #mainSection {
        grid-template-columns: repeat(1, 1fr);
        grid-template-areas: 
        "disc01"
        "disc02"
        "disc03"
        "disc04"
        "disc05"
        "disc06"
        "disc07"
        "disc08"
        "disc09"
        "disc10"
        "disc11"
        "disc12"
        "disc13"
        "disc14"
        "disc15"
        "disc16" 
        "disc17"
        "disc18"
        "disc19"
        "disc20" 
        "disc21"
        "disc22";
        margin-left: 30%
    }

    .logo {
        width: 250%;
        image-rendering: crisp-edges;
    }

    #leftText {
        font-size: 8px;
    }

}