body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom right, #42a5f5, #f8bbd0);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    padding-top: 5%;
}
h1 {
    font-size: 2em;
    max-width: 95vw;
    word-wrap: break-word;
    margin-bottom: 0.5em;
}
p {
    max-width: 95vw;
    word-wrap: break-word;
}
.button-group {
    display: flex;
    gap: 1em;
    margin-bottom: 1em;
    position: relative;
    justify-content: center;
    width: 90%;
    flex-wrap: wrap;
}
.button {
    padding: 10px;
    background-color: transparent;
    color: #fff;
    border: none;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
    white-space: nowrap;
}
.button::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: transparent;
    transition: background-color 0.3s ease;
}
.button:hover {
    color: #ccc;
}
.button.active {
    color: #ff5722;
}
.button.active::after {
    background-color: #ff5722;
}
.tab-content {
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0 0 5px 5px;
    width: 90%;
    max-width: 95vw;
    box-sizing: border-box;
    overflow-x: auto;
    white-space: nowrap;
}
.error-message {
    color: red;
}
.underline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ff5722;
    transition: left 0.3s ease, width 0.3s ease;
}
code {
    font-size: 1em;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2px 5px;
    border-radius: 3px;
}
@media screen and (max-width: 600px) {
    body {
    padding-top: 10%;
}
h1 {
    font-size: 1.5em;
    max-width: 95vw;
    margin-bottom: 0.5em;
}
.tab-content {
    width: 95vw;
}
img {
    max-width: 95%;
    height: auto;
}
}