/* Home */
.home {
    position: relative;
    width: 100%;
    height: calc(100vh - 3.5rem) !important;
    min-height: 35rem;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 50%, #000 100%), url("/assets/img/bg-home.jpg?v=1");
    background-position: bottom;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
}
.home .img-logo {
    max-width: 100%;
    height: auto;
    margin: auto auto 1rem;
}
.home h1, .home .h1 {
    /*font-family: "Varela Round", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";*/
    font-size: 2.5rem;
    line-height: 2.5rem;
    letter-spacing: 0.8rem;
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0));
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
}
.home h2, .home .h2 {
    max-width: 20rem;
    font-size: 1.5rem;
    margin: auto;
}
@media (min-width: 768px) {
    .home{
        padding: 15rem 0;
    }
    .home h1, .home .h1 {
        font-size: 4rem;
        line-height: 4rem;
    }
}
@media (min-width: 992px) {
    .home {
        height: calc(90vh - 3.5rem) !important;
        padding: 0;
    }
    .home h1, .home .h1 {
        font-size: 6.5rem;
        line-height: 6.5rem;
        letter-spacing: 0.8rem;
    }
    .home h2, .home .h2 {
        max-width: 30rem;
        margin: -3rem 0 0 auto !important;
    }
}

.about-section {
    padding-top: 10rem;
    background: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.9) 75%, rgba(0, 0, 0, 0.8) 100%);
}
.about-section p {
    margin-bottom: 5rem;
}

.games-section img {
    border-radius: 0.375rem 0 0 0.375rem !important;
}
.games-section .order-1 img {
    border-radius: 0 0.375rem 0.375rem 0 !important;
}
@media (max-width: 991px) {
    .games-section img {
        border-radius: 0.375rem 0.375rem 0 0 !important;
    }
    .games-section .order-1 img {
        border-radius: 0.375rem 0.375rem 0 0 !important;
    }
}
.games-section .featured-text {
    padding: 2rem;
}
@media (min-width: 992px) {
    .games-section .featured-text {
        padding: 0 0 0 2rem;
        border-left: 0.5rem solid #64a19d;
    }
}
.games-section .game-text {
    padding: 1rem;
    font-size: 90%;
}
@media (min-width: 992px) {
    .games-section .game-text {
        padding: 5rem;
    }
}

.remote-section {
    padding: 1rem;
}
.remote-section .img-banner-top {
    min-height: 20vh;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.5) 50%, #000 100%), url("/assets/img/bg-connect.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
}

.connect-section {
    padding: 12rem 1rem;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.5) 75%, #000 100%), url("/assets/img/bg-connect.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
    height: calc(100vh - 7rem);
}


/* User - Last games */
.user-lastgames-details{
    min-width: auto;
    max-width: auto;
}
.user-lastgames-stats > li{
    min-width: auto;
    padding-right: 1rem !important;
    background-color: transparent;
}
.user-lastgames-stats > li > br{
    display: none;
}
@media (min-width: 992px) {
    .user-lastgames-details{
        min-width: 180px;
        max-width: 180px;
        text-wrap: nowrap;
    }
    .user-lastgames-stats > li {
        min-width: 130px;
    }
    .user-lastgames-stats > li > br {
        display: block;
    }
}

/* Games - New game */
.card-newgame{
    position: relative;
}
.card-newgame-text-about {
    background-color: rgba(0, 0, 0, 0.75);
    border-top-left-radius: 0px !important;
    border-top-right-radius: 0px !important;
    position: absolute;
    max-height: 2.5rem;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: hidden;
    width: 100%;
    transition: max-height .35s ease-out;
}
@media (min-width: 667px) {
    .card-newgame-text-about {
        max-height: 2.75rem;
    }
}

.card-newgame:hover .card-newgame-text-about {
    max-height: 100%;
    transition: max-height .35s ease-in;
}


/* Games */
.game-topbar{
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    background-color: #111!important;
    box-shadow: 0 1rem 3rem rgba(17, 17, 17, .175) !important;
    margin-top: -0.5rem;
}
.game-topbar .left,
.game-topbar .right{
    flex: 1;               /* Allow the divs to grow as needed */
    box-sizing: border-box;
}
.game-topbar .right {
    text-align: right;
}
.game-topbar .center{
    flex: 0 1 auto;        /* Center div grows based on content but doesn't shrink unnecessarily */
    margin: 0 20px;        /* Add spacing between center and side divs */
    text-align: center;
}
@media (max-width: 768px) {
    .game-scoresheet {
        margin-right: calc(-.5 * var(--bs-gutter-x));
        margin-left: calc(-.5 * var(--bs-gutter-x));
    }
}
