* {
    box-sizing: border-box;
}

body     {
    top: 0;
    left: 0;
    background: linear-gradient(to left, rgb(42, 95, 116), seagreen);
    padding: 1%;
}

/****************/
/* HIDE */
/****************/
.hide {
    display: none;
}

/**********************/
/* INITIAL DISPLAY */
/**********************/
#intro {
    width: 100%;
    margin-top: 18%;
    text-align: center;
    padding: 5px;
    color: white;
}

h1 {
    font-size: 55px;
    animation-name: title;
    animation-duration: 2s;
}

@keyframes title {
    0%  {font-size: 10px;}
    100%{font-size: 55px;}
}

.button {
    font-size: 20px;
    color: white;
    border: 2px solid white;
    background-color: transparent;
    text-align: center;
    text-decoration: none;
    padding: 5px;
    width: 104px;
    border-radius: 0%;
}

.start {
    margin-bottom: 20px;
}

#start-button {
    padding-left: 31px;
    padding-right: 31px;
}

.button:hover {
    background-color: white;
    color: black;
}

/**********************/
/*  QUIZ NAVBAR */
/**********************/
.top {
    color: white;
    margin-right: 30px;
    font-size: 30px;
    padding: 0 0 0 0; 
}

#exit {
    text-decoration: none;
    color: white;
    font-size: 30px;
    float: right;
    top: 0;
    padding: 0;
}

#exit:hover {
    opacity: 0.5;
    cursor: pointer;
}

/*******************/
/*  QUIZ  */
/******************/
h3 {
    color: white;
    padding-top: 5px;
    font-size: 40px;
}
.questions-container {
    position: relative;
    margin: 50px;
    margin-top: 9%;
    text-align: center;
    padding-bottom: 15px;
    color: black;
    border: 2px solid white;
    max-width: 100%;
}

.answer {
    text-align: left;
    width: auto;
    margin: 15px;
    font-size: 20px;
    padding: 10px;
    text-decoration: none;
    background: none;
    color: white;
}

.answer.right {
    background-color: green;
}

.answer.wrong {
    background-color: darkred;
}

button {
    border: none;
    display: grid;
}

button:hover {
    cursor: pointer;
    background-color: white;
    color: black;
}

#next {
    border: none;
    width: 100%;
    padding: 5px;
    font-size: 25px;
    color: white;
}

#next:hover {
    background: white;
    color: black;
    cursor: pointer;
}

/**********************/
/* END GAME PAGE */
/**********************/
.answers-container {
    font-size: 35px;
    color: white;
}

#submit {
    width: 100%;
    color: white;
    border: none;
}

#submit:hover {
    cursor: pointer;
    border: none;
    color: black;
}

#name {
    font-size: 25px;
    margin: 15px;
    margin-top: 25px;
}

/****************/
/* SOUNDS */
/****************/
.fa.fa-volume-up {
    text-decoration: none;
    color: white;
    position: absolute;
    font-size: 30px;
    bottom: 0%;
    right: 0;
    padding: 2%;
}

.fa.fa-volume-up:hover {
    cursor: pointer;
}