@media only screen and (max-width: 600px) {
    body {
        background-attachment: scroll;
    }
    #quiz {
        width: 100%;
    }
    /* Add more specific styles for smaller screens as needed */
}

html {
    height: 100%;
}
a {
    color: #802b00;
}
a hover {
    color: #eeeae7;
}
body {
    height: 100%;
    margin: 0;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background: #91c1d1;
    background: -moz-linear-gradient(top, #91c1d1 0%, #91d1c1 99%);
    background: -webkit-linear-gradient(top, #91c1d1 0%, #91d1c1 99%);
    background: linear-gradient(to bottom, #91c1d1 0%, #91d1c1 99%);
    filter: progid:DXImageTransform.Microsoft.gradient(
        startColorstr="#91c1d1",
        endColorstr="#91d1c1",
        GradientType=0
    );
    text-align: center;
    color: #fff;
}

h1 {
    font-family: 'Karla', "Comic Sans MS", "Comic Sans", sans-serif;
    letter-spacing: 0;
    text-transform: uppercase;
    font-size: 1em;
}

#quiz {
    font-family: 'Karla', "Comic Sans MS", "Comic Sans", sans-serif;
    width: 70%;
    margin: auto;
}

#questions {
    font-size: 1.3em;
}

#answers {
    list-style-type: none;
    margin: 25px 0 0 0;
    padding: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
}

#answers li {
    display: inline-block;
    margin: 10px;
    width: calc(50% - 20px);
    max-width: 250px;
    height: 50px;
    position: relative;
    box-sizing: border-box;
}

@media only screen and (max-width: 600px) {
    #answers li {
        width: 100%;
        max-width: none;
    }
}

#answers label,
#answers input {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

#answers input[type="radio"] {
    opacity: 0.011;
    z-index: 100;
}

#answers input[type="radio"]:checked + label {
    opacity: 1;
}

#answers label {
    padding: 5px;
    border: 2px solid #fff;
    cursor: pointer;
    z-index: 90;
    opacity: 0.7;
    transition: opacity 0.2s linear;
}

#answers label:hover {
    opacity: 1;
}

.button {
    border: 2px solid #fff;
    margin: 0.5em;
    padding: 0.5em;
    display: inline-block;
    background-color: transparent;
    text-transform: uppercase;
    padding: 10px;
    color: #fff;
}

.button:hover {
    cursor: pointer;
}

#results {
    display: none;
}

#error {
    display: none;
}

/* GEOCITIES WEBPAGE STYLES */
/* Red styles */
.red {
    font-family: "Comic Sans MS", "Comic Sans";
    font-size: 1.4em;
    text-align: center;
    color: rgb(178, 173, 178);
    background-color: red;
}

/* blue styles */
.blue {
    font-family: "Comic Sans MS", "Comic Sans";
    font-size: 1.4em;
    text-align: center;
    color: rgb(210, 204, 210);
    background-color: blue;
}

/* green styles */
.green {
    font-family: "Comic Sans MS", "Comic Sans";
    font-size: 1.4em;
    text-align: center;
    color: rgb(218, 215, 218);
    background-color: green;
}

/* yellow styles */
.yellow {
    font-family: "Comic Sans MS", "Comic Sans";
    font-size: 1.4em;
    text-align: center;
    color: rgb(8, 10, 1);
    background-color: rgb(255, 255, 0);
}

.yellow a {
    color: #290d99;
}

.yellow a :hover {
    background-color: #f5f5f8;
}