﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

html, body {
    height: 100% !important;
    min-height: 100% !important;
    margin: 0;
    padding: 0;
}

/* my code here */

:root {
    --felt-color: #35654d;
    --felt-hover: #58a780;
    --felt-light-color: #58a780;
    --light-gray-color: #f5f5f5;
    --medium-gray-color: #6c757d;
    /*blue*/
    --blue: #0088ff;
    --blue-light: #3299FF;
    --blue-dark: #0059b3;
    /*purple*/
    --purple: #bc47ff;
    --purple-light: #bc74ff;
    --purple-dark: #974dff;
    /*red*/
    --red: #eb3d3d;
    --red-light: #ff6161;
    --red-dark: #c62e2e;
    /*orange*/
    --orange: #ff8112;
    --orange-light: #ffb542;
    --orange-dark: #cc690e;
    /*yellow*/
    --yellow: #ffc800;
    --yellow-light: #ffe220;
    --yellow-dark: #cc9b00;
    /*green*/
    --green: #58cc02;
    --green-light: #7bdd0d;
    --green-dark: #3d9901;
    /*black*/
    --black: #333333;
    --black-light: #555555;
    --black-dark: #222222;
    /*gold*/
    --gold: #FFD700;
    --gold-light: #FFEB99;
    --gold-dark: #CCB500;
}

.cursor-pointer {
    cursor: pointer;
}

.vertically-collapsed {
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: all 0.5s ease-in-out;
    overflow: hidden !important;
}

.horizontally-collapsed {
    width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: all 0.5s ease-in-out;
    overflow: hidden !important;
}

#site-nav:not(.vertically-collapsed) {
    height: 100px;
    transition: all 0.5s ease-in-out;
}

.show-more-button {
    position: relative; /* Make sure the parent-child relationship works */
    display: inline-block;
    border: none;
    /*border-radius: 5px;*/
    color: white;
    background-color: inherit; /* Inherit the parent's background color */
    cursor: pointer;
    overflow: hidden; /* Hides the overflow of pseudo-element */
    text-align: center;
    width: 100%;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    font-size: 18pt;
    padding: 5px;
    margin-top: 20px;
}

    /* Define the shadow effect using :after pseudo-element */
    .show-more-button::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%; /* Adjust this value to control the height of the shadow */
        background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%);
    }

    /* Lighten the shadow on hover */
    .show-more-button:hover::after {
        opacity: 0.5;
        transition: all 0.3s;
    }

.three-by-three-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 equal columns */
    grid-template-rows: repeat(3, 1fr); /* 3 equal rows */
    width: 150px;
    height: 150px;
    margin: auto;
}

    .three-by-three-grid .cell {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap; /* Allow content to wrap onto new lines */
        text-align: center; /* Optional: Center text horizontally */
        overflow: visible;
    }

.replay-preview-card-grid {
    display: grid;
    grid-template-columns: 1fr 4fr;
    grid-template-rows: repeat(4, 1fr); /* 4 equal rows */
    width: 150px; /* Adjust the width as needed */
    height: auto; /* Adjust the height as needed */
    margin: auto; /* Center the grid horizontally within its parent */
}

    .replay-preview-card-grid .cell {
        display: flex;
    }

#site-nav {
    flex: none;
    position: relative;
    box-sizing: border-box;
}

    #site-nav .nav {
        display: flex;
    }

#nav-toggle-button {
    position: relative;
    z-index: 105;
    width: 64px;
    height: 64px;
    cursor: pointer;
    border-radius: 0 0 29px 29px;
    background-color: var(--felt-color);
    display: flex;
    align-items: center;
    margin-left: 20px;
    top: 0%;
    margin-bottom: -64px;
    padding: 10px;
    border-width: 0 2px 2px 2px;
    border-style: none solid solid solid;
    border-color: none var(--felt-light-color) var(--felt-light-color) var(--felt-light-color);
    transition: all 0.5s ease-in-out;
}


    #nav-toggle-button:hover {
        border-color: transparent var(--felt-color) var(--felt-color) var(--felt-color);
        background-color: var(--felt-light-color);
        transition: all 0.3s ease-in-out;
    }

    #nav-toggle-button img {
        display: block;
        margin: auto;
        width: 110%;
        height: auto;
    }

.nav-menu-link {
    font-size: 12pt;
}

#site-nav .popout-tooltip section {
    width: 200px;
}

.hidden {
    display: none !important;
}

.section-divider {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
    border: 0;
    border-top: 2px solid rgba(0, 0, 0, 0.5);
    margin-left: 3rem !important;
    margin-right: 3rem !important;
    margin-top: 2rem !important;
    margin-bottom: 1rem !important;
}

.border-felt {
    border-color: var(--felt-color) !important;
    border: 2px solid !important;
}

.btn-circle {
    width: 70px;
    height: 70px;
    line-height: 45px;
    text-align: center;
    padding: 0;
    border-radius: 50%;
}

    .btn-circle i {
        position: relative;
        top: -1px;
    }

.btn-circle-sm {
    width: 55px;
    height: 55px;
    line-height: 35px;
    font-size: 0.9rem;
}

.btn-circle-lg {
    width: 100px;
    height: 100px;
    line-height: 55px;
    font-size: 1.1rem;
}

.btn-circle-xl {
    width: 125px;
    height: 125px;
    line-height: 70px;
    font-size: 1.3rem;
}

.border-thick {
    padding: 20px !important;
    border-width: 15px !important;
}

.bg-felt {
    background-color: var(--felt-color) !important;
}

.bg-felt-light {
    background-color: var(--felt-light-color) !important;
}

.border-circle-color {
    border-color: #c2c2c2 !important;
}

.border-purple {
    border-color: var(--purple);
}

.btn-felt {
    background-color: var(--felt-color) !important;
}

    .btn-felt:hover {
        background-color: #58a780 !important;
    }

.btn-felt-light {
    background-color: var(--felt-light-color) !important;
}

    .btn-felt-light:hover {
        background-color: #79b899 !important;
    }

.btn-purple {
    background-color: var(--purple) !important;
}

    .btn-purple:hover {
        background-color: var(--purple-light) !important;
    }

    .btn-purple:active {
        background-color: var(--purple-dark) !important;
    }

.btn-blue {
    background-color: var(--blue) !important;
}

    .btn-blue:hover {
        background-color: var(--blue-light) !important;
    }

    .btn-blue:active {
        background-color: var(--blue-dark) !important;
    }

.btn-red {
    background-color: var(--red) !important;
}

    .btn-red:hover {
        background-color: var(--red-light) !important;
    }

    .btn-red:active {
        background-color: var(--red-dark) !important;
    }

.btn-orange {
    background-color: var(--orange) !important;
}

    .btn-orange:hover {
        background-color: var(--orange-light) !important;
    }

    .btn-orange:active {
        background-color: var(--orange-dark) !important;
    }

.btn-yellow {
    background-color: var(--yellow) !important;
}

    .btn-yellow:hover {
        background-color: var(--yellow-light) !important;
    }

    .btn-yellow:active {
        background-color: var(--yellow-dark) !important;
    }

.btn-green {
    background-color: var(--green) !important;
}

    .btn-green:hover {
        background-color: var(--green-light) !important;
    }

    .btn-green:active {
        background-color: var(--green-dark) !important;
    }

.felt-gradient {
    background-image: radial-gradient(#58a780, #35654d) !important;
}

.study-gradient {
    background-image: radial-gradient(var(--blue-light), var(--blue-dark)) !important;
}

.text-responsive {
    font-size: calc(80% + 1vw + 1vh);
}

.green-border {
    border: 3px solid var(--felt-color);
    border-radius: 5px;
}

.green-border-dashed {
    border: 3px dashed var(--felt-color);
    border-radius: 5px;
}

.felt-button-flat {
    color: white;
    background-color: #35654d;
    border: none;
}

    .felt-button-flat:disabled {
        background-color: #58a780 !important;
        color: black !important;
    }

.parallax-home {
    background-image: url("../images/aces_background.jpg");
    height: 100%;
    min-height: 100vh;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

    .parallax-home:before {
        content: "";
        background: rgba(0, 0, 0, 0.6);
        height: 100%;
        min-height: 100vh;
        position: fixed;
        bottom: 0;
        top: 0;
        left: 0;
        right: 0;
    }

.parallax-coming-soon {
    background-image: url("../images/hearts_background.jpg");
    height: 100%;
    min-height: 100vh;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

    .parallax-coming-soon:before {
        content: "";
        background: rgba(0, 0, 0, 0.6);
        height: 100%;
        min-height: 100vh;
        position: fixed;
        bottom: 0;
        top: 0;
        left: 0;
        right: 0;
    }

.center-absolute {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#page-load-spinner-container {
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
    text-align: center;
    justify-content: center;
    top: 0;
    left: 0;
    background-color: #58a780 !important;
    z-index: 10000;
    position: absolute;
    color: white;
}

#page-load-spinner {
    border: 16px solid #f3f3f3;
    border-top: 16px solid #35654d;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    margin-left: auto;
    margin-right: auto;
    z-index: 1000 !important;
    animation: spin 2s linear infinite;
}

.content-load-spinner-container {
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
    text-align: center;
    top: 0;
    left: 0;
    background-color: inherit;
    background-image: inherit;
    z-index: 100;
    position: absolute;
    color: inherit;
}

.content-load-spinner {
    border: 16px solid #f3f3f3;
    border-top: 16px solid #35654d;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    margin-left: auto;
    margin-right: auto;
    z-index: 100 !important;
    animation: spin 2s linear infinite;
    background-color: inherit;
    background-image: inherit;
}

.dependent-color {
    color: white;
    mix-blend-mode: difference;
}

.text-large {
    font-size: 2rem;
}

.text-medium {
    font-size: 1.2rem;
}

.popout-tooltip {
    width: auto;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    display: inline-block;
}

    .popout-tooltip header {
        cursor: pointer;
        font-size: 2em;
        text-align: center;
    }

    .popout-tooltip section {
        width: 270px;
        max-height: calc(100vh - 40px); /* Adjust for padding and border */
        overflow-y: auto; /* Add scrollbar when content exceeds the height */
        padding: 10px;
        border-radius: 8px;
        border: 3px solid var(--light-gray-color);
        position: absolute;
        z-index: 9999;
        background-color: white;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        display: none;
        text-align: center;
    }


        .popout-tooltip section::before {
            content: ' ';
            position: absolute;
            width: 0;
            height: 0;
            top: -10px;
            left: 50%;
            margin-left: -10px;
            border-style: solid;
            border-width: 0 10px 10px 10px;
            border-color: transparent transparent white transparent;
        }

        .popout-tooltip section p {
            font-size: 1.2em;
            text-align: left;
            margin: 10px;
        }

            .popout-tooltip section p::after {
                content: "";
                display: block;
                border-top: 1px solid rgba(0, 0, 0, 0.1);
                margin-left: 1rem !important;
                margin-right: 1rem !important;
                margin-top: 2rem !important;
                margin-bottom: 2rem !important;
            }

        .popout-tooltip section .rounded-3d-button {
            margin-left: auto;
            margin-right: auto;
        }

.rounded-3d-button {
    display: inline-block;
    padding: 12px 24px;
    color: white !important;
    font-weight: bold;
    cursor: pointer;
    border-radius: 20px;
    border: none;
    text-decoration: none !important;
    transition: transform 0.2s, border-color 0.2s;
}

    .rounded-3d-button:hover {
        transform: translateY(3px);
    }

    .rounded-3d-button:active {
        transform: translateY(5px);
    }

    .rounded-3d-button.blue {
        background-color: var(--blue);
        border-bottom: 8px solid var(--blue-dark);
    }

        .rounded-3d-button.blue:hover {
            background-color: var(--blue-light);
        }

        .rounded-3d-button.blue:active {
            background-color: var(--blue);
            border-bottom: 8px solid var(--blue);
        }

    .rounded-3d-button.green {
        background-color: var(--green);
        border-bottom: 8px solid var(--green-dark);
    }

        .rounded-3d-button.green:hover {
            background-color: var(--green-light);
        }

        .rounded-3d-button.green:active {
            background-color: var(--green);
            border-bottom: 8px solid var(--green);
        }

    .rounded-3d-button.orange {
        background-color: var(--orange);
        border-bottom: 8px solid var(--orange-dark);
    }

        .rounded-3d-button.orange:hover {
            background-color: var(--orange-light);
        }

        .rounded-3d-button.orange:active {
            background-color: var(--orange);
            border-bottom: 8px solid var(--orange);
        }

    .rounded-3d-button.red {
        background-color: var(--red);
        border-bottom: 8px solid var(--red-dark);
    }

        .rounded-3d-button.red:hover {
            background-color: var(--red-light);
        }

        .rounded-3d-button.red:active {
            background-color: var(--red);
            border-bottom: 8px solid var(--red);
        }

    .rounded-3d-button.purple {
        background-color: var(--purple);
        border-bottom: 8px solid var(--purple-dark);
    }

        .rounded-3d-button.purple:hover {
            background-color: var(--purple-light);
        }

        .rounded-3d-button.purple:active {
            background-color: var(--purple);
            border-bottom: 8px solid var(--purple);
        }

    .rounded-3d-button.yellow {
        background-color: var(--yellow);
        border-bottom: 8px solid var(--yellow-dark);
    }

        .rounded-3d-button.yellow:hover {
            background-color: var(--yellow-light);
        }

        .rounded-3d-button.yellow:active {
            background-color: var(--yellow);
            border-bottom: 8px solid var(--yellow);
        }

    .rounded-3d-button.felt-light {
        background-color: var(--felt-light-color);
        border-bottom: 8px solid #547b60;
    }

        .rounded-3d-button.felt-light:hover {
            background-color: #82c49a;
        }

        .rounded-3d-button.felt-light:active {
            background-color: var(--felt-light-color);
            border-bottom: 8px solid var(--felt-light-color);
        }

    .rounded-3d-button.black {
        background-color: var(--black);
        border-bottom: 8px solid var(--black-dark);
    }

        .rounded-3d-button.black:hover {
            background-color: var(--black-light);
        }

        .rounded-3d-button.black:active {
            background-color: var(--black);
            border-bottom: 8px solid var(--black);
        }

    .rounded-3d-button.gold {
        background-color: var(--gold);
        border-bottom: 8px solid var(--gold-dark);
        position: relative;
        overflow: hidden;
    }

        .rounded-3d-button.gold:hover {
            background-color: var(--gold-light);
        }

        .rounded-3d-button.gold:active {
            background-color: var(--gold);
            border-bottom: 8px solid var(--gold);
        }

        .rounded-3d-button.gold::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(70deg, transparent calc(50% - 3px), var(--gold-light) calc(50% - 3px), var(--gold-light) calc(50% + 3px), transparent calc(50% + 3px));
            transform: translateX(100%);
            animation: ShineAnimation 3s infinite;
        }

@keyframes ShineAnimation {
    0% {
        transform: translateX(100%);
        animation-timing-function: cubic-bezier(0.2, 0.6, 0.8, 0.4);
    }

    20% {
        transform: translateX(80%);
        animation-timing-function: cubic-bezier(0.8, 0.4, 0.2, 0.6);
    }

    80% {
        transform: translateX(-80%);
        animation-timing-function: cubic-bezier(0.2, 0.6, 0.8, 0.4);
    }

    100% {
        transform: translateX(-100%);
        animation-timing-function: cubic-bezier(0.8, 0.4, 0.2, 0.6);
    }
}

#hearts-badge, #spades-badge, #euchre-badge {
    transition: transform 0.3s ease-in-out, border-color 0.3s ease-in-out;
    border-color: #c2c2c2 !important;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

    #hearts-badge:hover, #spades-badge:hover, #euchre-badge:hover {
        border-color: #dddddd !important;
        transform: scale(1.1);
    }

    #hearts-badge:before, #spades-badge:before, #euchre-badge:before{
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        transform: translateX(100%);
        animation: ShineAnimation 3s infinite;
    }

    #hearts-badge:before {
        background: linear-gradient(70deg, transparent calc(50% - 3px), var(--red-light) calc(50% - 3px), var(--red-light) calc(50% + 3px), transparent calc(50% + 3px));
    }

    #spades-badge:before {
        background: linear-gradient(70deg, transparent calc(50% - 3px), var(--black-light) calc(50% - 3px), var(--black-light) calc(50% + 3px), transparent calc(50% + 3px));
    }

    #euchre-badge:before {
        background: linear-gradient(70deg, transparent calc(50% - 3px), var(--green-light) calc(50% - 3px), var(--green-light) calc(50% + 3px), transparent calc(50% + 3px));
    }

#hearts-badge {
    background: linear-gradient(to bottom right, var(--red-dark), var(--red-light));
}

#spades-badge {
    background: linear-gradient(to bottom right, var(--black-dark), var(--black-light));
}

#euchre-badge {
    background: linear-gradient(to bottom right, var(--green-dark), var(--green-light));
}

#error-box {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    z-index: 1100;
}

#table-options-box {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    max-width: 180px;
    min-width: 150px;
    z-index: 40;
}

#game-notification-box {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    max-width: 180px;
    min-width: 150px;
    z-index: 1002;
}

#confirmation-box {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    z-index: 1003;
}

.error-background {
    background-color: var(--red-dark);
}

.form-check-input {
    border: 2px solid var(--felt-color) !important;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media (hover: hover) and (pointer: fine){

}

@media (max-width: 653px), (max-height: 485px) {
    #nav-toggle-button {
        width: 48px;
        height: 48px;
        margin-left: 40px;
        margin-bottom: -48px;
    }
}

.abhpc {
    position: absolute !important;
    left: -10000px !important;
    top: -10000px !important;
}

.javascript-disabled-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000 !important;
}

.javascript-disabled-message {
    color: #fff;
    padding: 20px;
    text-align: center;
}