@font-face {
    font-family: "Awo";
    src: url(../fonts/Audiowide-Regular.woff2);
}
@font-face {
    font-family: "italicTitles";
    src: url(../fonts/Exo2-BlackItalic.woff2);
}
@font-face {
    font-family: "docuText";
    src: url(../fonts/Exo2-Black.woff2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Awo", sans-serif;
}

body {
    display: flex;
    background-color: #1e1e1e;
}

strong {
    font-family: 'docuText', sans-serif;
    font-size: 1.2rem;
}

p {
    padding-bottom: 35px;
}

/* Header */
header {
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    backdrop-filter: blur(10px);
    background-color: rgba(0,0,0,0.3);
    z-index: 100;
}

header a {
    text-decoration: none;
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
    transition: background 0.3s;
}

header a:hover {
    background-color: rgba(255,255,255,0.1);
}

a {
    color: white;
    text-decoration: none;
}

aside {
    width: 275px;
    background-color: #0a0a0a;
    color: white;
    padding: 50px 40px;
    height: calc(100vh - 51px);
    margin-top: 51px;
    box-sizing: border-box;
    text-align: center;
    position: fixed;
}

aside h1 {
    font-size: 1.5rem;
}

aside ul {
    display: flex;
    flex-direction: column;
    margin-top: 4rem;
    font-size: 1.2rem;
    gap: 15px;
}

aside ul a {
    padding: 15px 0;
    color: white;
    text-decoration: none;
}

aside ul a:hover {
    background-color: #1e1e1e;
    border-radius: 10px;
}

#mainContent {
    width: 100%;
    font-family: 'docuText', sans-serif;
    margin-top: calc(50px + 51px);
    margin-left: calc(50px + 275px);
}

#mainContent hr {
    margin-right: 50px;
}

.textDiv {
    color: white;
    font-size: 1.2rem;
}

.textDiv h2 {
    font-family: 'italicTitles', sans-serif;
    font-size: 1.5rem;
    text-align: center;
    padding: 0 0 5rem 0;
}

.textDiv h3 {
    font-family: 'docuText', sans-serif;
    font-size: 1.35rem;
    padding-top: 20px;
}

.textDiv ul li {
    padding: 5px;
}

.difficulty {
    padding-top: 15px;
    padding-bottom: 0;
}

.difficulty img {
    width: 25px;
    vertical-align: sub;
}

/* Select */
.sortControls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sortControls label {
    color: white;
    font-family: 'docuText', sans-serif;
    font-size: 1rem;
}

.sortControls select {
    -webkit-appearance: none; 
    -moz-appearance: none;    
    appearance: none;         
    padding: 10px 40px 10px 15px;
    font-size: 1rem;
    border-radius: 8px;
    border: 1px solid #444;
    background-color: #1e1e1e;
    color: white;
    font-family: 'docuText', sans-serif;
    cursor: pointer;
    position: relative;
    background-image: url('data:image/svg+xml;utf8,<svg fill="white" height="12" viewBox="0 0 24 24" width="12" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.sortControls select:hover,
.sortControls select:focus {
    border-color: #888;
    outline: none;
}

.sortControls button {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    background-color: #2c2c2c;
    color: white;
    font-family: 'docuText', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.sortControls button:hover {
    background-color: #444;
    transform: translateY(-2px);
}

.sortControls button:active {
    transform: translateY(0);
}

.searchBar {
    border: 2px solid #444;
    margin: 20px 0;
    background-color: #2c2c2c;
    color: white;
    cursor: text;
    border-radius: 8px;
    padding: 10px 0 10px 15px;
    font-size: 1.2rem;
}

.searchBar:focus {
    border-color: #888;
    box-shadow:  0 0 8px #8884;
    outline: none;
    caret-color: white;
}

#gameplayDiv img {
    max-width: 430px;
    margin: 30px 0 0;
    border-radius: 14px;
}

#gameplayDiv a {
    display: block;
    justify-self: center;
    margin-bottom: 40px;
    padding: 10px 20px;
    background-color: #0a0a0a;
    border: 1px solid #444;
    border-radius: 14px;
    transition: transform 0.18s, box-shadow 0.18s;
}

#gameplayDiv a:hover {
    transform: translateY(-2px);
    box-shadow: 0px 5px 10px #444;
}


/* POUR JS */
.current{
    background-color: #1e1e1e;
    border-radius: 10px;
}

.hidden {
    display: none;
}