/* Import fonts */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&family=Long+Cang&display=swap');

/* General Styles */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: "Caveat", cursive;
    color: black;
}

h1 {
    font-family: "Long Cang", cursive;
    letter-spacing: 2px;
    color: black;
    text-transform: uppercase;
}

/* Header Styles */
header {
    background-color: darkgoldenrod;
    padding: 1rem;
    position: fixed;
    z-index: 99;
    width: 100%;
    box-shadow: 0 2px 2px #3a3a3a;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

header a {
    text-decoration: none;
    color: inherit;
}

/* Navigation Styles */
#menu {
    font-size: 110%;
    letter-spacing: 4px;
    list-style-type: none;
}

#menu > li {
    margin-bottom: 1em;
}

.active {
    border-bottom: 1px solid black;
}

nav {
    position: absolute;
    background-color: darkgoldenrod;
    padding: 1rem;
    left: 0;
    width: 100%;
    box-shadow: 0 2px 2px #3a3a3a;
    display: none;
    top: 100%;
}

#nav-toogle:checked~nav {
    display: block;
}

#nav-toogle {
    display: none;
}

.nav-toogle-label {
    font-size: 2rem;
}

.sofa {
    height: fit-content;
    width: 100%;
    background: url("../images/smaller\ CP.jpg") no-repeat center center/cover;
    position: relative;
}
/* Main Content Styles */
main {
    flex: 1 0 auto;
    margin-top: 70px;
}

.cover-text {
    background-color: rgba(145, 85, 202, 0.589);
    font-size: 120%;
    position: relative;
    text-transform: uppercase;
    bottom: 40%;
    width: 100%;
    padding-top: 20px;
    padding-left: 10px;
    padding-right: 10px;
    text-align: center;
    color: azure;
    letter-spacing: 3px;
    font-weight: 700;
}

.hall-of-fame> h2, .hall-of-fame> h3 {
    color: black;
    padding: 20px;
}

.hall-of-fame {
    background-color: rgba(184, 135, 11, 0.735);
    font-size: 110%;
    font-weight: 700;
    color: black;
    position: relative;
    bottom: 40%;
    width: 100%;
    min-height: auto;
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    text-align: center;
    letter-spacing: 4px;
    
    text-transform: uppercase;
}

.hall-of-fame > table {
    text-align: center;
    font-weight: 700;
    word-spacing: 10px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 10px;
    border-spacing: 30px;
}

/* Button Styles */
.start-button, #answers button {
    height: 55px;
    width: 190px;
    padding: 10px;
    border: 2px solid black;
    border-radius: 6px;
    box-shadow: 2px 2px 10px rgb(187, 171, 131);
    font-size: 15px;
    background-color: rgb(187, 171, 131);
    color: black;
    font-weight: 700;
    align-items: center;
    display: block;
    margin: auto;
    justify-content: center;
    margin-bottom: 10px;
}

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

/* Question Container Styles */
#question-container {
    margin-top: 20px;
}

#question {
    font-size: 110%;
    font-weight: 700;
    margin-bottom: 20px;
}

.social {
    font-size: 110%;
    letter-spacing: 4px;
   text-decoration: none;
}

.giphy-embed {
    width: auto;
    height: auto;   
}

/* Footer Styles */
footer {
    background-color: darkgoldenrod;
    font-family: "Caveat", cursive;
    text-align: center;
    text-transform: uppercase;
    font-size: larger;
    letter-spacing: 2px;
    color: black;
    letter-spacing: 4px;
    color: black;
}

footer a {
    text-decoration: none;
    color: inherit;
}
/* Game Timer Styles */

#timer {
    text-align: center;
    margin-top: 20px;
    font-size: 1em;
    font-weight: bold;
    color: white;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-radius: 10px;
    display: inline-block;
}
/* Media Queries */
@media screen and (min-width: 768px) {
    nav {
        display: block;
        position: relative;
        box-shadow: none;
        width: fit-content;
        padding-right: 1rem;
    }

    #menu {
        display: flex;
    }

    #menu > li {
        padding-left: 2rem;
    }

    .nav-toogle-label {
        display: none;
    }

    #logo {
        font-size: 280%;
        line-height: 80px;
        margin: 0 0.5rem;
    }

    main {
        margin-top: 194px;
    }
}

@media screen and (min-width: 992px) {
    #menu a:hover {
        color: white;
    }
}

@media screen and (min-width: 848px) {
    main {
        margin-top: 128px;
    }
}
