body {
    font-family: Arial, sans-serif;
    background-color: black;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
    flex-direction: column;
    height: 100%;
}

#htmllogo{
    display: flex;
    justify-content: center;
}

#jslogo{
    display: flex;
    justify-content: center;
}

h1 {
    font-size: 36px;
    color: #fff;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

.code-tabs {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 20px;
}

.code-tabs button {
    background-color: #333;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin: 0 10px;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.code-tabs button:hover {
    background-color: #555;
}

.code-tabs button:focus {
    outline: none;
}

.code-tabs button.active {
    background-color: blue;
}

#Random {
    background-color: blue;
    border: none;
    color: white;
    padding: 15px 30px;
    font-size: 18px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

#Random:hover {
    background-color: darkblue;
}

#html, #javascript {
    display: none;
    background-color: #333;
    color: #fff;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 80%;
    max-width: 750px;
    margin-top: 20px;
    text-align: left;
    font-size: 15px;
}

#html{
    max-height: 110px;
}

#html.active, #javascript.active {
    display: inline-block;
}

@media (max-width: 600px) {
    body {
        padding: 20px;
    }

    h1 {
        font-size: 28px;
    }

    .code-tabs button {
        font-size: 14px;
        padding: 8px 16px;
    }

    #Random {
        padding: 12px 24px;
        font-size: 16px;
    }
}