/* ///////////////////////////////// */
/* General */
/* ///////////////////////////////// */

* {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.2;
    margin: 0px;
    padding: 0px;
}

body {
    background-color: #EEEEEE;
}

footer div {
    margin-bottom: 1rem;
}

.flex-container {
    display: flex;
}

p {
    margin: 0px;
}

/* /////////////////////////////// */
/* Intro & Main Search Bar */
/* /////////////////////////////// */

.intro {
    text-align: center;
    padding: 2rem;
}

.intro img {
    width: 50%;
    /* text-align: center; */
}

h1 {
    margin-top: 1.5rem;
}

.searchField {
    padding: 2rem;
    background-color: #2E3137;
    margin-top: 2rem;
    margin-bottom: 3rem;
    border-radius: 0.3rem;
}

.searchField h4,  .searchField p{
    color: white;
}

.searchField .notFound {
    color: yellow;
    display: none;
}


/* /////////////////////////////// */
/* Boardgame sheet */
/* /////////////////////////////// */

/* Contenedor principal ficha juego */
.gameSheet {
    display: flex;
    /* display: none; */
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    max-width: 1070;
    border: 1px solid rgb(219, 219, 219);
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
}

/* Contenedor izquierdo de imagen */
.imgSheet {
    flex-grow: 1;
    flex-basis: 400px;
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    text-align: center;
}

.imgSheet img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Contenedor derecho de datos */
.dataSheet {
    flex-grow: 1;
    flex-basis: 700px;
    padding: 30px;
    color: white;
    background-color: black;
    border-radius: 10px;
}

hr {
    margin-top: 3rem;
}

hr.solid {
    border-top: 3px solid #bbb;
}

.dataSheetTitleButton {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    /* align-items: stretch; */
    margin-bottom: 20px;
}

.dataSheetTitle {
    flex-grow: 1;
}

.dataSheetButton {
    flex-grow: 1;
}

.dataSheetDetail {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
}

.dataSheetDetailNumeric {
    font-size: 2rem;
}

.item {
    flex-grow: 1;
    background: #313131;
    margin: 3px;
    padding: 15px 10px;
    text-align: center;
    border-radius: 10px;
}

.spec {
    font-weight: 300;
}



/* //////////////////////////////////////////// */
/* Game cards headers y titulo con boton sheet */
/* /////////////////////////////////////////// */


.header {
    margin-top: 3rem;
}


.headerText {
    display: inline;
    font-size: 24pt;
}

.headerBtn {
    float: right;
}

/* /////////////////////////////// */
/* Game cards */
/* /////////////////////////////// */

.card{
    width: 330px;
    padding: 0px;
    margin: 15px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.15);
}

.card:hover {
    cursor: pointer;
}

.card:hover .card-body {
    background-color: #2c3955;
}

.card-img-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 185px;
}

.card-img-top {
    max-height: 85%;
    max-width: 85%;
    object-fit: contain;
    /* padding: 5px; */
}

.card-body {
    background-color: #2E3137;
    color: white;
    height: 75px;
    display: flex;
    padding: 0;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.cardText {
    display: block;
}

.cardRating {
    background-image: url("img/other/Hex_gris.svg");
    background-position: center;
    background-repeat: no-repeat;
    margin-right: 10px;
    font-size: 18pt;
    width: 70px;
    text-align: center;
}

.ratingColor4less {
    background-image: url("img/other/Rating_4less.svg");
}
.ratingColor4-5 {
    background-image: url("img/other/Rating_4-5.svg");
}
.ratingColor5-6 {
    background-image: url("img/other/Rating_5-6.svg");
}
.ratingColor6-7 {
    background-image: url("img/other/Rating_6-7.svg");
}
.ratingColor7-8 {
    background-image: url("img/other/Rating_7-8.svg");
}
.ratingColor8more {
    background-image: url("img/other/Rating_8more.svg");
}


.cardRating p {
    margin-top: 22px;
}

.cardName {
    font-size: 20pt;
    font-style: normal;
    font-weight: 300;
    margin-top: 10px;
}

.cardCategory {
    display: inline-block;
    margin-top: 5px;
    font-size: 10pt;
}


@media screen and (max-width: 600px) {

    .intro img {
        width: 100%;
    }

    
    /* Responsive settings */
}