html {
	font-family: sans-serif;
}
header {
	background-color: #40E0D0;
	width: 100%;
	text-align: center;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 10px;
    position: fixed;
    top: 0;
    z-index: 1000;
	transition: box-shadow 0.5s;
}
.scrolled {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
#header-logo {
	width: 2em;
	padding: 10px;
}
body {
	background-color: #CCFFEE;
	margin: 0;
    padding-top: 60px;
}
section {
	text-align: center;
	margin: 2em 0;
}
#welcome {
	display: block;
}
.welcome-go-btn, .header-home-btn, .dashboard-btn, .dashboard-btn2 {
	color: black;
	font-weight: bold;
	font-size: 1em;
	background-color: #00F0E0;
	border: none;
	border-radius: 0.5em;
	padding: 1em;
}
.header-home-btn {
	font-size: 0.9em;
	padding: 0.7em;
}
.dashboard-btn, .dashboard-btn2 {
	width: 90%;
}
.db-btn-rec {
	background-color: #00FF77;
}
.db-btn-pla {
	background-color: #CCFF66;
}
.db-btn-cha {
	background-color: #FF9999;
}

.tile-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5em;
    padding: 1em;
    max-width: 1200px;
    margin: 0 auto;
}

.tile {
    background-color: #00F0E0;
    border-radius: 0.5em;
    padding: 1.5em;
    text-decoration: none;
    color: black;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tile2 {
    background-color: #00CCFF;
    border-radius: 0.5em;
    padding: 1.5em;
    text-decoration: none;
    color: black;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tile i, .tile2 i {
    font-size: 2.5em;
    margin-bottom: 0.5em;
}

.tile h4, .tile2 h4 {
    margin: 0.5em 0;
    font-size: 1.2em;
}

.tile p, .tile2 p {
    margin: 0;
    font-size: 0.9em;
    text-align: center;
}

.tile-rec {
    background-color: #00FF77;
}

.tile-pla {
    background-color: #CCFF66;
}

.tile-cha {
    background-color: #FF9999;
}

.line {
    border: 1px solid black;
    width: 90%;
    margin: 1.5em auto;
}

@media (max-width: 600px) {
    .tile-container {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1em;
        padding: 0.5em;
    }

    .tile i {
        font-size: 2em;
    }

    .tile h4 {
        font-size: 1em;
    }

    .tile p {
        font-size: 0.8em;
    }
}

@media (min-width: 1200px) {
    .tile-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

#welcome-logo {
	width: 10em;
}
.line {
	border: 1px solid black;
	width: 90%;
	margin: 0 auto;
}
.correct-answer {
	background-color: #00FF00 !important;
}
.wrong-answer {
	background-color: #FF7F7F !important;
}
.read-note-btn {
	color: black;
	font-weight: bold;
	font-size: 1em;
	background-color: #00F0E0;
	border: none;
	border-radius: 0.5em;
	padding: 1em;
	width: 60px;
}
.write-note-btn {
	color: black;
	font-weight: bold;
	font-size: 1em;
	background-color: #00F0E0;
	border: none;
	border-radius: 0.5em;
	padding: 1em;
}
.write-note-btn2 {
	color: black;
	font-weight: bold;
	font-size: 1em;
	background-color: #00F0E0;
	border: none;
	border-radius: 0.5em;
	padding: 1em;
	max-width: 11em;
	width: 11em;
	height: 3.25em;
	max-height: 3.25em;
}
#notationRead {
	height: 200px !important;
	display: flex;
	justify-content: center;
	margin: 0 auto;
	width: fit-content !important;
	max-width: 150px;
	overflow-x: auto;
}
#playNote {
	font-size: 5em;
	margin: 20px;
}
#playStatus {
	margin: 20px;
	font-size: 2em;
	font-weight: bold;
}
#tonleiter-container {
	width: 100%;
	overflow-x: auto;
	text-align: center;
	-webkit-overflow-scrolling: touch;
	white-space: nowrap;
}
#tonleiterSVG {
	display: inline-block;
}
#notationWrite {
	height: 200px !important;
	display: flex;
	justify-content: center;
	margin: 0 auto;
	width: fit-content !important;
	max-width: 150px;
	overflow-x: auto;
}
table {
    border-collapse: collapse;
    margin: 0 auto;
    max-width: 350px;
}
th, td {
    border: 1px solid black;
    padding: 6px;
    text-align: left;
}
th {
    background-color: #40E0D0;
}
#copyright {
    position: fixed;
    bottom: 0px;
    left: 0px;
    padding: 3px 4px;
    background-color: #CCFFEE;
    border-radius: 5px;
}
