* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f4f4f4;
    color: #333;
    text-align: center;
    padding: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.header {
    width: 100%;
    background-color: #1e1e1e;
    padding: 10px;
    display: flex;
    color: white;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    position: absolute;
    top: 0;
    left: 0;
}

.logo-container {
    display: flex;
    align-items: center;
    padding-left: 20px;
}

.logo-image {
    width: 100px;
    margin-right: 20px;
}

h1 {
    margin-bottom: 50px;
    font-weight: 600;
    font-size: 32px;
}

.content {
    text-align: center;
}

.links {
    display: inline-block;
}

.links a {
    display: inline-block;
    margin: 20px;
    padding: 15px 30px;
    text-decoration: none;
    color: white;
    background-color: #007BFF;
    border-radius: 5px;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

.links a:hover {
    background-color: #0056b3;
}

.dark-mode {
    background-color: #333;
    color: #f4f4f4;
}

.dark-mode h1 {
    color: #f4f4f4;
}

.dark-mode .links a {
    background-color: #555;
    color: #f4f4f4;
}

.dark-mode .links a:hover {
    background-color: #444;
}

.theme-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    outline: none;
    width: 40px;
    height: 40px;
    transition: opacity 0.3s ease;
}

.theme-icon img {
    width: 100%;
    height: 100%;
}

.theme-icon:hover {
    opacity: 0.7;
}

@media (max-width: 768px) {
    h1 {
        font-size: 24px;
    }
    .links a {
        font-size: 16px;
        padding: 12px 25px;
    }
}

footer {
    background-color: #1e1e1e;
    color: white;
    padding: 20px 0;
    width: 100%;
    position: relative;
    bottom: 0;
    text-align: center;
}

.footer-content p {
    margin: 5px 0;
    font-size: 14px;
}

.footer-content a {
    color: #007BFF;
    text-decoration: none;
}

.footer-content a:hover {
    text-decoration: underline;
}
