@import url('https://fonts.googleapis.com/css2?family=New+Rocker&display=swap'); */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 90vh;
    background: #1abc9c;
    background-image: url('img/long live rock and roll.jpg');
    background-size: 50%;
    font-family: New Rocker;
    position: relative;
    text-align: center;
    overflow-x: hidden;
}
/*
@media only screen and (min-width: 768){
    body{
        height: 10%;
    }
} */
/* HEADER */
header {
    text-shadow: 10px 5px 5px rgba(0, 0, 0, 0.9);
    color: white;
    background: rgba(50, 50, 50, 0.4);
    letter-spacing: 2px;
    font-size: 12px;
    padding: 1px 18px;
    margin-bottom: 1px;
}

@media only screen and (min-width: 768px) {
    header {
        font-size: 14px;
    }
}

@media only screen and (min-width: 1024px) {
    header {
        font-size: 18px;
        padding: 0px 25px 10px 25px;
    }
}
/* main SECTION */
.main {
    background: rgba(200, 200, 200, 0.5);
    width: 100vw;
    height: 100vh;
    /*   box-shadow: 3px 3px 3px 1px rgba(0,0,0,0.4); */
    margin: 1% 1%;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

@media only screen and (min-width: 768px) {
    .main {
        width: 80vw;
        height: 90vh;
    }
}

@media only screen and (min-width: 1024px) {
    .main {
        align-content: space-between;
        width: 60vw;
        height: 70vh;
        padding: 1%;
        margin-top: -5%;
    }
}

.box {
    background: #6186aa;
    /*   background-image: linear-gradient(to top left, #9b59b6, #1abc9c); */
    background-size: 250%;
    width: 20vw;
    height: 10vh;
    float: left;
    margin: 10px 0 0 10px;
}

.box img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}
@media only screen and (min-width: 768px) {
    .box {
        width: 14vw;
        height: 12vh;
    }
}

@media only screen and (min-width: 1024px) {
    .box {
        align-content:  space-between;
        width: 140px;
        height: 140px;
    }
}

.play:hover {
    opacity: 0.9;
    cursor: pointer;
}

img {
    width: 100%;
    display: block;
}


/* STATUS bar */

#state {
    background: rgba(100, 150, 200, 0.7);
    /*   background-image: linear-gradient(to top left, #9b59b6, #1abc9c); */
    background-size: 250%;
    width: 90%;
    line-height: 25px;
    float: left;
    margin: 10px 0 0 10px;
    padding: 0 10px;
    color: white;
    font-size: 14px;
}

@media only screen and (min-width: 768px) {
    #state {
        width: 70vw;
    }
    #time, #score{
     font-size: 1.5em;
    }
}

@media only screen and (min-width: 1024px) {
    #state {
        width: 60vw;
        line-height: 50px;
    }
}
#time {
    font-size: 1.4rem;
    text-shadow: 10px 5px 5px rgba(0, 0, 0, 0.9);
    float: left;
}

#time::after {
    content: " sec";
}

#score {
    font-size: 1.3rem;
    text-shadow: 10px 5px 5px rgba(0, 0, 0, 0.9);
    float: right;
}

#score::after {
    content: " points";
}


/* FOOTER */

footer p {
    color: white;
    padding: 5px;
    font-size: 14px;
    letter-spacing: 1px;
}

footer p a {
    color: #ddd;
    text-decoration: none;
}

footer p a:hover {
    color: white;
    text-decoration: underline;
}

.hidden {
    display: none !important;
}

.show {
    display: block;
}

.outlined {
    outline: solid 2px #34495e;
    background: #9b59b6;
}


/* PRE modal window */
#pre {
    position: absolute;
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
/*     justify-content: center; */
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    text-align: center;
    overflow-y: hidden;
}

#themes {
    margin-top: 15%;
    padding: 20px;
    width: 10w;
    background: white;
    color: #5586aa;
    font-size: 20px;
    letter-spacing: 1px;
}

#themes p {
    margin-top: 10px;
    padding: 5px 20px;
    border: solid 1px;
    background: white;
    color: #6186aa;
    cursor: pointer;
    font-size: 16px;
}

#themes p:hover {
    background: #6186aa;
    /*   background-image: linear-gradient(to top left, #9b59b6, #1abc9c); */
    background-size: 250%;
    color: white;
}


/* POST modal window */

#post {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
}

#post>div {
    width: 50vw;
    padding: 2px 0 20px;
    background: white;
    color: #6186aa;
}

#post p:first-child,
#post #final {
    font-weight: bold;
    letter-spacing: 2px;
    margin: auto;
    padding: 10px 20px;
}

#post #again {
    color: #2199aa;
    text-decoration: none;
    margin: auto;
    padding: 10px 20px;
    width: 160px;
    border: solid 1px;
}

#post #again:hover {
    background: #6186aa;
    /*   background-image: linear-gradient(to top left, #9b59b6, #1abc9c); */
    background-size: 250%;
    color: white;
    cursor: pointer;
}
