html, body { 
    font-family: sans-serif; 
    text-align: center; 
    padding: 20px; 
    height:100%;
    margin: 0;
    background-color: rgb(0, 140, 255);
    background-image: linear-gradient(rgb(0, 140, 255), rgb(70, 170, 255));
    overflow: hidden;
}
body::-webkit-scrollbar {
  display: none;
}
.head {
    display: grid;
    place-items: center;
    background-color: rgb(75, 175, 255);
    height: 10%;
    width: 67.85%;
    border-width: 4px;
    border-color: rgb(60, 160, 255);
    border-radius: 30px;
    border-style: solid;
    position: relative;
    translate: -50% -50%;
    top: 3%;
    left: 50%;
    font-family: Impact, fantasy;
    font-size: 3em;
}
.center {
    text-align: center;
    font-size: 17px;
    text-decoration: none;
    position: absolute;
    translate: -50% -0%;
    top: 12.5%;
    left: 50%;
}
.underline:link, .underline:active, .underline:visited {
    text-decoration: none;
    color: black;
    margin-left: 17px;
}
.underline:hover {
    text-decoration: underline;
    color: white;
}
 #question {
    position: absolute;
    translate: -50% -0%;
    top: 25%;
    left: 50%;
    font-size: 1.5em;
}
.quiz {
    position: absolute;
    translate: -50% -0%;
    top: 0%;
    left: 50%;
    width: 100%;
    height: 100%;
    text-align: center;
}
#leftcity {
    position: absolute;
    translate: -0% -0%;
    top: 32%;
    left: 12.5%;
    width: 27.5%;
    min-height: 37%;
    max-height: 37%;
    background-color: rgba(255, 255, 255, 0.025);
    outline: 3px solid transparent;
    outline-offset: -3px;
    transition: outline-color 0.3s ease;
    /*border-color: rgba(0, 0, 0, 0.15);
    border-style: solid;
    border-width: 3px;
    padding: 10px;*/
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    /*transition: border 0.3s ease;*/
    box-sizing: border-box;
}
#rightcity {
    position: absolute;
    translate: -0% -0%;
    top: 32%;
    right: 12.5%;
    width: 27.5%;
    min-height: 37%;
    max-height: 37%;
    background-color: rgba(255, 255, 255, 0.025);
    outline: 3px solid transparent;
    outline-offset: -3px;
    transition: outline-color 0.3s ease;
    /*border-color: rgba(0, 0, 0, 0.15);
    border-style: solid;
    border-width: 3px;
    padding: 10px;*/
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    /*transition: border 0.3s ease;*/
    box-sizing: border-box;
}
#leftName, #rightName {
    position: relative;
    translate: -50% -0%;
    top: -7px;
    left: 50%;
    font-weight: bold;
    font-size: 1.2em;
}
#leftImg, #rightImg {
    position: relative;
    translate: -0% -0%;
    top: -15px;
    width: 400px;
    height: 250px;
    border-radius: 8px;
    border-width: 2px;
    border-style: solid;
    border-color: rgb(140, 200, 250)
}
.city button {
    position: absolute;
    translate: -50% -100%;
    top: 345px;
    left: 50%;
    padding: 10px 20px;
    font-size: 1em;
    border: none;
    background-color: rgb(0, 123, 255);
    color: white;
    border-radius: 8px;
    cursor: pointer;
}
.city button:hover {
    background-color: rgb(0, 109, 226);
}
.city button:disabled {
    background-color: gray;
    cursor: not-allowed;
}
.answer {
    position: absolute;
    translate: -50% -0%;
    top: 106%;
    left: 50%;
    font-weight: bold;
    color: rgb(68, 68, 68);
}
#score {
    position: absolute;
    translate: -50% -50%;
    top: 66%;
    left: 50%;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
}
#nextBtn {    
    position: absolute;
    translate: -50% -50%;
    top: 70%;
    left: 50%;
    padding: 10px 20px;
    font-size: 1em;
    background-color: rgb(26, 121, 199);
    color: white;
    border-color: rgb(28, 136, 224);
    border-style: solid;
    border-radius: 8px;
    cursor: pointer;
    display: none;
    z-index: 10;
}
#nextBtn:hover {
    background-color: rgb(25, 108, 177);
    border-color: rgb(28, 136, 224);
}
#endScreen {
    position: absolute;
    translate: -50% -50%;
    top: 45%;
    left: 50%;
    font-size: 1.5em;
    display: none;
}
.restart {
    position: absolute;
    translate: -50% -50%;
    top: 135%;
    left: 50%;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 6px;
    background-color: rgb(26, 121, 199);
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.restart:hover {
    background-color: rgb(25, 108, 177);
    border-color: rgb(28, 136, 224);
}