body {
    font-family: "Roboto Mono", monospace;
    margin: 0;
    padding: 0;
    background-color: #232136;
    color: #e0def4;
    text-align: center;
}

html {
    scroll-behavior: smooth;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #191724;
    padding: 15px 20px;
}

.logo img {
    width: 40px;
    height: auto;
    vertical-align: middle;
    margin-right: 10px;
}

.logo a {
    color: #eb6f92;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

a {
    color: #eb6f92;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li {
    display: inline;
}

.nav-links a {
    text-decoration: none;
    color: #e0def4;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #eb6f92;
}

.nav-links a.active {
    position: relative;
    color: #eb6f92;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #eb6f92;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: #eb6f92;
}

.nav-links a:hover::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #eb6f92;
    transition: all 0.3s ease;
}

.hero {
    background: url('../assets/4k-keyboard.jpg') no-repeat center center/cover;
    padding: 100px 20px;
    background-attachment: fixed;
    background-size: cover;
    height: 50vh;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;	
    position: relative;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.clock {
    text-decoration: underline;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px;
    background-color: #eb6f92;
    color: #e0def4;
    text-decoration: none;
    border-radius: 5px;
}

.btn:hover {
    background-color: #b4637a;
}

.btn-alt {
    background-color: #555;
}

.about {
    padding: 50px;
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
}

.about-text {
    background-color: #191724;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 40%;
}

.features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    padding-bottom: 80px;
    padding-top: 10px;
}

.feature {
    background: #191724;
    padding: 20px;
    border-radius: 10px;
    width: 250px;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.feature img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.feature .btn {
    background-color: #eb6f92;
    padding: 8px 15px;
    border-radius: 5px;
    color: #e0def4;
    text-decoration: none;
}

.feature .btn:hover {
    background-color: #b4637a;
}

.history {
    padding-bottom: 80px;
}

.history-content {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
}

.history-text {
    background-color: #191724;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 40%;
}

.community {
    padding: 50px 20px;
    background: #191724;
}

.community p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.reddit-logo {
    width: 30px;
    height: auto;
    vertical-align: middle;
    margin-right: 10px;
}

.discord-logo {
    width: 30px;
    height: auto;
    vertical-align: middle;
    margin-right: 10px;
}

/* Distor page */
.distro-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
}

.distro {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    margin-bottom: 20px;
    padding: 20px;
    border-bottom: 1px solid #ddd;
    border-radius: 8px;
    background-color: #191724;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, background-color 0.3s ease;
    width: 50%;
}

.distro:hover {
    background-color: #191724;
    transform: scale(1.02);
}

.distro img {
    width: 160px;
    height: 160px;
    margin-right: 20px;
    border-radius: 8px;
    object-fit: cover;
}

/* Customization Page */
.rice {
    background: #1e1e2e;
    padding: 15px;
    margin: 20px 0;
    border-radius: 10px;
    color: #fff;
    border-bottom: 2px solid #44475a;
    padding-bottom: 20px;
}

.window {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    overflow: auto;
    transition: opacity 0.5s ease;
    justify-content: center;
    align-items: center;
}

.window-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
    animation: fadeIn 2s forwards;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #ddd;
    text-decoration: none;
    cursor: pointer;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.image-container {
    display: inline-block;
    margin: 10px;
}

img {
    width: 100%;
    height: auto;
    max-width: 300px;
    transition: transform 0.3s ease;
}

.image-container img:hover {
    transform: scale(1.1);
}

#window button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 30px;
    padding: 15px;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

.scroll-down {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.5rem;
    background: none;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 30px 20px;
    cursor: cursor;
    animation: blink 1.5s infinite;
    transition: transform 0.3s ease, opacity 0.3;
}

.scroll-down:focus {
    outline: none
}

.stars {
    color: #f6c177;
    font-size: 1.1rem;
    margin-top: 10px;
}

#loadMoreBtn {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px;
    border-color: #b4637a;
    background-color: #eb6f92;
    color: #e0def4;
    text-decoration: none;
    border-radius: 5px;
}

#loadMoreBtn:hover {
    background-color: #b4637a;
}

/* Sources Page */
.sources {
    padding: 20px;
    text-align: center;
}

.sources h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #eb6f92;
}

.sources p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    line-height: 1.5;
}

.sources ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.8;
}

.sources li {
    margin-bottom: 10px;
}

.sources a {
    color: #eb6f92;
    text-decoration: none;
}

.sources a:hover {
    text-decoration: underline;
}

/* forum page */
form {
    background-color: #1e1c2d;
    padding: 24px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 420px;
    text-align: left;
    margin: 60px auto;
    transition: all 0.3s ease-in-out;
}

form:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

form input[type="text"],
form input[type="password"],
form input[type="email"],
form textarea {
    width: 100%;
    padding: 12px;
    margin: 12px 0;
    border: 1px solid #403d52;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 16px;
    background: #26233a;
    color: #e0def4;
    transition: border 0.3s ease-in-out;
}

form input[type="text"]:focus,
form input[type="password"]:focus,
form input[type="email"]:focus,
form textarea:focus {
    border: 1px solid #eb6f92;
    outline: none;
    background: #2a283b;
}

form input[type="submit"] {
    background: linear-gradient(135deg, #eb6f92, #b4637a);
    color: #ffffff;
    border: none;
    padding: 12px;
    font-size: 17px;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    transition: transform 0.2s, background 0.3s;
}

form input[type="submit"]:hover {
    background: linear-gradient(135deg, #b4637a, #8c4351);
    transform: scale(1.03);
}

.message-box {
    border: 2px solid #ccc;
    padding: 15px;
    overflow-y: auto;
    border-radius: 8px;
    background-color: #2a283b;
    max-width: 500px;
    max-height: 300px;
    margin: 20px auto;
    text-align: center;
    flex-direction: column-reverse;
}

.message-box ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.message-box li {
    padding: 5px 0;
}

.text h2 {
   text-align: center;
}

.text p {
    color: white;
    padding: 10px;
    text-align: center;
}

select {
    font-size: 16px;
    padding: 10px;
    border: 1px solid #403d52;
    border-radius: 5px;
    background-color: #26233a;
    color: #e0def4;
    width: 200px;
}

select:focus {
    border: 1px solid #eb6f92;
    outline: none;
    background: #2a283b;
}

option {
    padding: 10px;
    background-color: #26233a;
    color: #e0def4;
    font-size: 16px;
}

footer {
    background-color: #191724;
    padding: 20px;
    margin-top: 20px;
}

footer p {
    font-size: 0.9rem;
    color: #e0def4;
}

@media only screen and (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 10px;
    }

    .logo a {
        font-size: 20px;
    }

    .nav-links {
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
    }

    .hero {
        padding: 50px 20px;
        height: auto;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .about-text {
        width: 80%;
    }

    .history-text {
	width: 80%;
    }

    .feature {
        width: 100%;
        margin-bottom: 15px;
    }

    .message-box {
        max-width: 100%;
        padding: 10px;
    }

    form {
        width: 70%;
        padding: 20px;
    }

    .distro {
        width: 90%;
    }

    .distro img {
        width: 120px;
        height: 120px;
    }
}

@media only screen and (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .btn {
        padding: 8px 15px;
    }

    .feature {
        width: 100%;
    }

    .logo img {
        width: 35px;
    }
}
