/* ----- Reset ----- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

/* ----- Div / Section Styling ----- */
#sorting{
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: rgb(27, 27, 27);
    top: 0;
    position: sticky;
    width: 100%;
    padding: 3rem 7rem;
}

h1 {
    color: #fff;
    font-family: 'Manrope', sans-serif;
    font-size: 26pt;
    font-weight: 600;
}

#genre{
    position: relative;
}

#genre_dropdown{
    position: absolute;
    background-color: rgb(200, 190, 255);
    color: #272727;
    width: auto;
    top: 90px;
    left: 65px;
    transition: 1s;
}

.menu_genre{
    cursor: pointer;
    margin: 0 !important;
    padding: 1rem 3rem !important;
}

.menu_genre:hover{
    background-color: rgb(138, 117, 255) !important;
}

.main_container{
    background-color: rgb(255, 255, 255);
    display: flex;
    justify-content: center;
    margin: auto;
    align-items: center;
    flex-wrap: wrap;
    transition: 1s;
}

.game{
    display: flex;
    background-color: rgb(200, 190, 255);
    border:  2px solid #fff;
    border-radius: 10px;
    flex-direction: column;
    width: 500px;
    height: 750px;
    margin: 1rem;
}

.game_overview{
    display: flex;
    width: 500px;
}

.game_details{
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.game_cover{
    width: 500px;
    border-radius: 10px;
    transition: .3s;
}

.game_cover_small{
    width: 250px;
    border-radius: 5px 0 5px 0;
    transition: .3s;
}

/* -----Headers & Paragraphs ----- */

.game_name{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 28pt;
    line-height: normal;
    font-weight: 600;
    margin: 1rem;
}

.developer, .release_date, .genre, .menu_genre{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18pt;
    padding-right: 1rem;
    margin: 0 0 1rem 1rem;
}

.developer_bold, .release_date_bold, .genre_bold{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18pt;
    font-weight: 700;
    padding-right: 1rem;
    margin-left: 1rem;
}

.game_synopsis{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14pt;
    line-height: 23pt;
    padding: 0 1rem;
    margin: 1rem 0 1rem 0;
}

/* -----Buttons ----- */

#view_changer, #view_by_genre, #view_as_list, #view_all{
    color: #272727;
    background-color: rgb(200, 190, 255);
    border:  2px solid #fff;
    border-radius: 5px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18pt;
    font-weight: 700;
    line-height: 26pt;
    margin: 1rem 0 1rem 4rem;
    padding: 1rem 3rem;
    cursor: pointer;
    transition: .3s;
}

.selected_button{
    background-color: rgb(138, 117, 255) !important;
    transition: .3s;
}

/* ----- list view ----- */

.main_container_list_view{
    display: flex;
    align-items: stretch;
    min-width: 60%;
    transition: 1s;
}

.game_list_view{
    display: flex;
    height: auto;
    width: 90%;
    margin: .5rem 0;
    padding: 0;
}

.game_overview_list_view{
    display: flex;
    width: 100%;
}

.game_details_list_view{
    display: flex;
    align-items: center;
    flex-direction: row;
    width: 100%;
    justify-content: flex-start;
}

.game_cover_list_view{
    height: 300px;
    width: auto;
    border-radius: 10px 0 0 10px;
}

.toggle_margin{
    margin: 0;
}

/* ----- Hidden ----- */

.hidden{
    display: none;
    transition: 1s;
}

.hidden_2{
    visibility: hidden;
}