body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    font-family: 'Roboto Mono', monospace;
    background-color: #fff;
    text-align: center;
    font-size: 18px;
}
header {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #b9ccef;
    color: #000000;
    padding: 20px 0;
}
header img {
    margin-right: 10px;
}
.site-title {
    margin: 0;
    font-size:1.7em;
}
.site-title-link {
    text-decoration: none;
    color: black;
    border-bottom: none;
}
.site-title-link:hover {
    text-decoration: none;
    border-bottom: none;
    color: #af2d50;
}
h1 {
    margin: 0;
    font-size:1.3em;
}
.about-section {
    max-width: 600px;
    margin: 20px auto;
    padding: 15px;
    text-align: left;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.about-section h2 {
    color: #333;
    margin-top: 0;
}

.about-section p {
    color: #000;
    line-height: 1.6;
}
.note {
    font-size: 1.1em;
    background: #e4cbcb;
    padding: 7px;
    border-radius: 7px;
    text-align: justify;
}
#monitor {
    width: 80%;
    max-width: 600px;
    height: 400px;
    background-color: #ddd;
    border: 5px solid #333;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
}
#screen {
    width: 96%;
    height: 92%;
    background-color: #000;
    margin: 2% auto;
    border-radius: 5px;
    cursor: pointer;
}
#colorSelection {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}
.color-bar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: transform 0.3s ease;
}
.color-bar:hover {
    transform: scale(1.1);
}
#testSection {
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
}
.color-bar:nth-child(1) { background-color: #000000; }
.color-bar:nth-child(2) { background-color: #FFFFFF; }
.color-bar:nth-child(3) { background-color: #7f1313; }
.color-bar:nth-child(4) { background-color: #0f7b0f; }
.color-bar:nth-child(5) { background-color: #1247aa; }
.color-bar:nth-child(6) { background-color: #1e8f75; }
.color-bar:nth-child(7) { background-color: #9e285f; }
.color-bar.active {
    border: 2px solid #444;
}
.color-bar {
    border: 2px solid transparent;
}
#startTestButton {
    padding: 10px 20px;
    font-size: 18px;
    color: white;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    outline: none;
    transition: background-color 0.3s ease;
}
#startTestButton:hover {
    background-color: #0056b3;
}
#startTestButton:active {
    background-color: #004080;
}
footer {
    text-align: center;
    padding: 20px;
    background-color: #b9ccef;
    color: #030303;
    bottom: 0;
    width: 100%;
    box-sizing: border-box;
}
footer p {
    margin: 0;
    font-size: 17px;
}
footer a {
    color: #094305;
    text-decoration: none;
}
footer a:hover {
    text-decoration: underline;
}
@media screen and (max-width: 768px) {
    header, footer {
        padding: 10px;
    }

    #monitor {
        width: 85%;
        height: 40%;
    }

    h1 {
        font-size: 24px;
    }

    .color-bar {
        width: 40px;
        height: 40px;
    }

    #startTestButton {
        font-size: 16px;
        padding: 8px 16px;
    }
}
.not-found-container {
    text-align: center;
    padding: 50px;
    margin-top: 100px;
}
.not-found-container h1 {
    font-size: 96px;
    margin-bottom: 24px;
}
.not-found-container p {
    font-size: 24px;
    color: #666;
}
.home-button {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 20px;
    font-size: 18px;
    color: white;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}
.home-button:hover {
    background-color: #0056b3;
}
.home-button:active {
    background-color: #004080;
}
.about-developer {
    background-color: #e7ecf8;
    padding: 13px;
    margin-top: 27px;
    border-radius: 7px;
    text-align: center;
    font-size:1.1em;
}