* {
    font-family: monospace;
    box-sizing: border-box;
    user-select: none;
}

html, body {
    height: 98.5%;
}

#top {
    position: relative;
    height: 7%;
    max-height: 50px;
    background-color: #E6E6E6;
    box-shadow: 0px 5px 5px grey;
}

#return {
    display: inline-block;
    width: 50px;
    height: 100%;
    border: 5px solid transparent;
    background-image: url(https://cdn0.iconfinder.com/data/icons/traffic/500/va0024-512.png);
    background-repeat: no-repeat;
    background-size: contain;
    cursor: pointer;
}

header {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 25px;
    color: white;
    transform: translate(-50%, -50%);
}

#login {
    background-image: url(https://image.flaticon.com/icons/png/512/16/16036.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 100%;
    border: 5px solid transparent;
    float: right;
    cursor: pointer;
}

main {
    height: 93%;
    box-shadow: 0px 5px 5px grey;
    text-align: center;
}

#title {
    display: inline-block;
}

#scoreText {
    text-align: center;
    background-color: #E6E6E6;
    border: 4px solid #E6E6E6;
    border-radius: 5px;
    width: 150px;
    margin: auto;
}

#subjects {
    margin: auto;
    width: 90%;
    height: 60%;
    max-width: 800px;
    max-height: 500px;
    display: inline-flex;
    flex-flow: wrap;
}

.subject {
    position: relative;
    display: inline-block;
    margin: auto;
    width: 40%;
    height: 40%;
    border-radius: 20px;
    box-shadow: 3px 3px 3px 3px grey;
    background-size: cover;
    background-repeat: no-repeat;
    cursor: pointer;
}

.subject p {
    position: absolute;
    top: 75%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: inline-block;
    margin: auto;
    text-align: center;
    font-size: 2.5vh;
    background-color: #E6E6E6;
    border: 4px solid #E6E6E6;
    border-radius: 5px;
}

#sport {
    background-image: url(https://h24-original.s3.amazonaws.com/254903/28137904-F4qE1.jpg);
}

#teknologi {
    background-image: url(https://www.thomsonreuters.com/content/dam/ewp-m/images/image-library/en/photography/201138-118072186.jpeg.transform/hero-s/q90/image.jpg);
}

#historia {
    background-image: url(https://john-wesley.org.uk/wp-content/uploads/2014/05/history.jpg);
}

#geografi {
    background-image: url(https://www.blinn.edu/geography/images/geography.jpg);
}

#subjectImage {
    display: block;
    margin: auto;
    object-fit: contain;
    width: 60%;
    height: 30%;
    border-radius: 10px;
    max-width: 600px;
    max-height: 500px;
}

#about {
    font-size: 3vh;
}

#quizImage {
    object-fit: contain;
    height: 20%;
    width: 40%;
    margin-top: 5%;
}

#start {
    display: inline-block;
    margin: 8%;
    margin-bottom: 5%;
    height: 20%;
    width: 60%;
    max-width: 600px;
    max-height: 500px;
    font-size: 20px;
    border-radius: 20px;
    box-shadow: 3px 3px 3px 3px grey;
    cursor: pointer;
}

#start p {
    margin: 0;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#next {
    position: absolute;
    display: inline-block;
    visibility: hidden;
    position: absolute;
    margin-top: 5%;
    left: 50%;
    transform: translate(-50%, 0);
    height: 10%;
    width: 20%;
    max-width: 200px;
    font-size: 15px;
    border-radius: 10px;
    box-shadow: 3px 3px 3px 3px grey;
    cursor: pointer;
}

#next p {
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -125%);
}

#question {
    display: block;
    margin: 3%;
    font-size: 2.3vh;
}

#options {
    width: 80%;
    height: 40%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    margin: auto;
}

#options div {
    border-radius: 20px;
    box-shadow: 3px 3px 3px 3px grey;
    margin-bottom: 3%;
    height: 100%;
    cursor: pointer;
}

#options div p {
    display: inline-block;
    height: 100%;
    font-size: 2.5vh;
}

/* dator */
@media screen and (min-width: 600px) {
    
}