@import url('https://fonts.googleapis.com/css?family=Urbanist');

body {
    text-align: center;
    font-family: Urbanist, Arial, Helvetica, sans-serif;
    background-color: antiquewhite;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    box-sizing: border-box;
    overflow: hidden;
    color: #3b5350;
}
p {
    font-size: 1.2em;
}
h1 {
    color: #3b5350;
}
input, #quiz-start {
    border: 1px solid grey;
    border-radius: 5px;
    width: 200px;
    padding: 12px;
    margin: 3px;
    text-align: center;
    font-size: 1em;
    font-family: Urbanist, Arial, Helvetica, sans-serif;
}
button {
    padding: 12px;
    margin: 3px;
    border-radius: 5px;
    border: 1px solid grey;
    font-size: 1em;
    cursor: pointer;
    color: #3b5350;
}
button:hover {
    background-color: rgb(255, 251, 246);
}
#bg-image {
    position: absolute;
    width: 100vw;
    height: 30vh;
    top: 0;
    left: 0;
    z-index: -1;
    background-image: url(pfirsich.jpg);
    background-size: cover;
    background-position: 50% 45%;
}
#start-screen {
    background-color: rgba(250, 235, 215, 0.8);
    backdrop-filter: blur(5px);
    width: 50vw;
    border-radius: 15px;
    padding: 0 25px 25px 25px;
    z-index: 1000;
}
#quiz-container {
    display: none;
    flex-direction: column;
    justify-content: center;
    background-color: rgba(250, 235, 215, 0.8);
    backdrop-filter: blur(5px);
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1);
    width: 80vw;
    border-radius: 15px;
    padding: 25px;
    z-index: 1000;
}
#result-screen {
    display: none;
    background-color: rgba(250, 235, 215, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1000;
    width: 50vw;
    border-radius: 15px;
    padding: 0 25px 25px 25px;
}
#kogl {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100vw;
    background-color: rgba(250, 235, 215, 0.8);
    backdrop-filter: blur(5px);
    font-size: 0.8em;
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
#kogl div {
    display: flex;
    width: 33.3vw;
}
#kogl p {
    padding: 10px;
    font-weight: bold;
    color: #3b5350;
}
#kogl a {
    text-decoration: none;
}
#kogl a:hover {
    text-decoration: underline;
    color: #3b5350;
}
#next {
    display: none;
    padding: 12px 36px;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
}
#start {
    font-family: Urbanist, Arial, Helvetica, sans-serif;
    background: none;
    border: none;
}
#start:hover {
    cursor: pointer;
    text-decoration: underline;
}
#options {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}
#options button {
    flex-grow: 1;
    width: 45%;
}
#explanation {
    display: none;
    justify-content: center;
    background-color:rgb(251, 242, 231);
    border-radius: 5px;
    border: 1px solid rgb(128, 128, 128, 0.5);
    width: auto;
    padding: 20px;
    margin: 3px;
}
#topic {
    font-size: 1.2em;
    font-weight: bold;
}

@media only screen and (max-width: 600px) {
    #start-screen {
        width: 85vw;
    }
    #quiz-container, #start-screen, #result-screen {
        width: 85vw;
    }
    #options button {
        flex-grow: 1;
        width: 100vw;
    }
    #next {
        width: 100%;
    }
    #kogl {
        flex-direction: column-reverse;
        flex-wrap: wrap;
    }
    #kogl div {
        width: 100vw;
    }
}