body {
    color: whitesmoke;
    margin: 0;
    font-family: sans-serif;
    background: black;
    overflow-x: hidden;
}
form{
    clear: both;
}
/* Hamburger button */

.hamburger {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding-right: 1em;
}
/* Dropdown menu */
.dropdown-menu {
    position: absolute;
    clear: both;
    right: 0;
    width: auto;
    background: linear-gradient(
        #4b0082,   /* indigo */
        #2e0854,   /* dark purple */
        #00008b,   /* deep blue */
        #000016    /* almost black blue */
    );
    display: none; /* hidden by default */
    z-index: +1;
}
.dropdown-menu *{
    text-align: center;
    font-weight: bold;
}

.dropdown-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dropdown-menu li {
  border-bottom: 1px solid #555;
}

.dropdown-menu a {
  display: block;
  padding: 1em 2em;
  color: #fff;
  text-decoration: none;
}

.dropdown-menu >a:hover{
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.8);
    background: linear-gradient(
        135deg,
        #2e0854,   /* dark purple */
        #4b0082,   /* indigo */
        #00008b,   /* deep blue */
        #000016    /* almost black blue */
    );
}

 .dropdown-menu li:hover{
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.8);
    background: linear-gradient(
        135deg,
        #2e0854,   /* dark purple */
        #4b0082,   /* indigo */
        #00008b,   /* deep blue */
        #000016    /* almost black blue */
    );
}

body, html{
    /*overflow-x: hidden;*/
}

.monoton-regular {
  font-family: "Monoton", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.questions {
    margin: 0 auto;
    padding: 0;

}

.carousel {
    position: relative;
    margin-top: 3em;
}

.card {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 80vh;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex: 0 0 100%; /* full width per item */
    z-index: -1;

}
.shownCard {
    z-index: -1;
    visibility: visible;
}

.counter {
    position: absolute;
    top: 80vh;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: -1;
}
.counter h1 {
    color: whitesmoke;
    opacity: 70%;
}

.easy {
    color: rgba(72, 174, 64, 1);
}

.medium {
    color: rgb(251, 188, 53);
}

.hard {
    color: rgba(255, 0, 0, 1);

}

.question {
    height: 80%;
    transition: 0.4s;
    background-size: cover;
}

.question-content {
    text-align: left;
    display: inline-block;
    background-color: rgba(46, 8, 84, 0.5);
    padding: 0 2em 1em 2em;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.3),
                inset 2px 2px 2px 0 rgba(0, 0, 0, 0.5);
}

.question-meta {
    width: 100%;
    position: relative;
    text-align: center;
}

.question-text {
    font-size: larger;
    margin-bottom: 1em;
}

.category {
    display: block;
    text-align: center;
    width: 100%;
    margin-bottom: 2em;
}

.category-text p{
    background-color: #00008b;
    color: white;
    text-shadow: 0 0 4px #000000;
    font-size: 2em;
    padding: 1rem;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.3),
                inset 2px 2px 2px 0 rgba(0, 0, 0, 0.5);
}

.choices {
    font-size: larger;
}

.difficulty {
    font-size: 1.5em;
    display: block;
    font-weight: bold;
    margin-right: 2em;
}
.game-list a {
    color: whitesmoke;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.6);
    background: linear-gradient(
        135deg,
        #4b0082,   /* indigo */
        #2e0854,   /* dark purple */
        #00008b,   /* deep blue */
        #000016    /* almost black blue */
    );
    margin-bottom: 1em;
    padding: 1em;
    width: 80vw;
}

.game-list {
    text-align: center;
    margin-top: 5em;
}

.game-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;

}

.game-list li {
    margin: 0 1em 3em 1em;
    text-wrap: nowrap;
}

.game-list a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.8);
    background: linear-gradient(
        135deg,
        #2e0854,   /* dark purple */
        #4b0082,   /* indigo */
        #00008b,   /* deep blue */
        #000016    /* almost black blue */
    );
}


.difficulty p{
     -webkit-text-stroke: 1px rgba(0, 0, 0, 0.8);
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.8);
    font-weight: bold;

    /*background: radial-gradient(*/
    /*rgba(0, 0, 0, 0.8) 0%,   !* whitesmoke with opacity *!*/
    /*rgba(0, 0, 0, 0) 60%*/
    /*);*/
    /*padding: 1em 0;*/
}

.choices {
    font-size: 1.5em;
}
.choices input[type=radio]{
    border: 0;
    width: 2em;
    height: 2em;
    margin-top: 1em;
}

#logout {
    background-color: transparent;
    color: white;
    border: none;
    padding: 1em;
    font-family: sans-serif;
    font-size: 1rem;
    cursor: pointer;
}
.text-right {
    margin-right: 1em;
    font-size: 2em;
}

.user-greeting, #vibe-check{
    padding: 1em;
    font-family: sans-serif;
    font-size: 1rem;
}

.next-button-container {
    margin-top: 2em;
    text-align: right;
}

.submit, .next-question, button {
    background-color: #00008b;
    color: white;
    border-radius: 5px;
    padding: 5px;
    font-size: 1.5em;
}

.next-question {
    display: inline-block;
    cursor: pointer;
    border-width: 2px;
    border-style: outset;
    border-color: buttonborder;
    border-image: initial;
}

.text-centre {
    text-align: center;
}

.text-left {
    text-align: left;
    width: 100%
}

.text-right {
    text-align: right;
}

.login-container{
    margin-top: 1em;
    margin-left:  30vw;
}

.login-container * {
    margin-top: 1em;
    font-size: larger;
}

/* Titlebar */
.title-bar {
    position: relative;
    width: 100vw;
    align-items: center;
    padding: 0 1.5vw;
    background: linear-gradient(
        135deg,          /* diagonal: top-left to bottom-right */
        #00008b,         /* deep blue */
        #4b0082,         /* indigo */
        /*#2e0854,         !* dark purple *!*/
        #000038, /* almost black blue */
        #000000
    );
    color: white;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.3),
                inset 2px 2px 2px 0 rgba(0, 0, 0, 0.5);
    text-wrap: nowrap;
}

.title-bar a {
    margin-top: 0;
    margin-bottom: 0;
    display: inline-block;
    text-decoration: none;
}

.title-bar a h1 {
    font-family: "Monoton", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: white;
    margin: 0;
}

.title-bar > span {
    width: 48vw;
    display: inline-block;
}
.title-bar .menu-trigger{
    text-align: right;
}

fieldset {
    border: none;
}

.help-text {
    color: darkred;
    font-weight: bold;
    padding: 1em;
}

/*.game-list h1{*/
/*    margin-left: 2em;*/
/*}*/


/* Small devices (phones, 481px and up) */
@media only screen and (max-width: 768px) {
    .title-bar h1 {
        font-size: 1.5em;
    }

    .login-container {
        margin-left: 2em;
    }

    .login-container input{
        max-width: 80vw;
    }


    /* Question card mobile styling */
    .card {
        width: 100vw;
        height: 80vh;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        flex: 0 0 100%; /* full width per item */
        flex-direction: column;
    }
    .shownCard {
        /*visibility: visible;*/
    }
    .category-text p{
        font-size: 1.5em;
    }
    .difficulty {
        margin-right: 0;
    }

    .counter {
        width: 100vw;
        left: 0;
        display: inline-block;
        text-align: center;
    }

    .next-button-container {
        padding-right: 2em;
    }
    .question-content {
        padding: 0;
    }
}

/* Medium devices (tablets, 768px and up) */
@media only screen and (max-width: 992px) {

    .game-list ul {
        display: flex;
        /*flex-direction: column;*/
    }

    .next-question{
        font-size: 2rem;
        padding: 5px;
    }

}
