/* dutch blitz */

/*

font-family: 'Montserrat', sans-serif;
font-family: 'Luckiest Guy', cursive;

light green = #00ffab
darker green = #14c38e

*/

/* core */
html {
    font-size: 1rem;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
}

h1 {
    color: #14c38e;
    font-family: 'Luckiest Guy', cursive;
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin: auto !important;
    padding: 0 !important;
    position: relative;
    text-align: center;
}


h1 a {
    color: #14c38e !important;
    font-family: 'Luckiest Guy', cursive;
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
    text-decoration: none !important;
}

h1 a:hover {

}

h2 {
    color: #14c38e;
    font-family: 'Luckiest Guy', cursive;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
}

h4 {

    font-size: 1.2rem;
    font-weight: 800;
    margin-top: 20px;
    text-align: center;
    width: 100%;
}

/* bootstrap overrides */

.btn-primary {
    background-color: #00ffab;
    border: 1px solid #00ffab;
    color: #000;
    font-weight: 900;
    letter-spacing: 1px;
}

.btn-primary:hover {
    background-color: #fff;
    border-color: #00ffab;
    color: #000;
}

.btn-primary:focus { 
    background-color: #00ffab;
    border-color: #00ffab;
    color: #000;
}

.btn-secondary {
    background-color: #14c38e !important;
    border: 1px solid #14c38e !important;
    color: #fff;
    font-weight: 600;
    letter-spacing: 1px;

}

.btn-secondary:hover {
    background-color: #fff;
    color: #000;
}

.btn-group, .btn-group-vertical {
    display: block !important;

}

.dropdown-menu a {
    padding: 15px 10px !important; 
}

.dropdown-menu {
    background-color: #00ffab;
}

.dropdown-menu a {
    color: #000;
    font-family: 'Luckiest Guy', cursive;
    letter-spacing: 1.2px;
}

.dropdown-menu a i {
    text-align: left;
}

.show>.btn-primary.dropdown-toggle {
    background-color: #14c38e;
}

.show>.btn-primary.dropdown-toggle:focus {

    box-shadow: 0 0 0 0.25rem rgb(20 195 142 / 50%) !important;

}

.row {
    margin-top: 20px;
}


/* swal overrides */

.swal2-html-container {
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    overflow: hidden !important;
}

.swal2-styled {
    font-size: 1.2rem !important;
    font-weight: 900 !important;
}

/* swal related */
.swal_label {
    margin-top: 25px;
}


/* reporting */

.error {
    border: 1px solid #900;
    background-color: #f46d75 ;
    border-radius: 5px;
    color: #fefefe;
    font-weight: 500;
    margin: auto;
    margin-top: 15px;
    padding: 10px;
}

.error::before {
    font: var(--fa-font-solid);
    font-size: 16px !important;
    content: "\f06a";
}

/* header */

header {
    margin-top: 30px;
}

.heading {
    display: flex;
    position: relative;
    text-align: center;
    width: 100% !important; 
}

.heading h1 {
    flex: 1;
    /* position: absolute; */
}

.spinning_bg {
    flex: 1;
    font-size: 3rem !important;
    position: absolute;
    top: -5px;
    left:10px;
    right:0;
    margin-left:auto;
    margin-right:auto;

    animation-name: spin;
    animation-duration: 20000ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear; 
    /* transform: rotate(3deg); */
    /* transform: rotate(0.3rad);/ */
    /* transform: rotate(3grad); */ 
    /* transform: rotate(.03turn);  */

     z-index: -1;

}


@keyframes spin {
    from {
        transform:rotate(0deg);
    }
    to {
        transform:rotate(360deg);
    }
}


/* nav */

nav {
    margin-top: 30px;
}

.custom_nav {
    /* display: flex; */
}

.custom_nav button {
    /* flex: 1; */
    width: 100% !important;
    margin: 5px;
    padding: 15px 10px; 
}

.custom_nav button ~ button {

    margin-left: 0px;
    margin-right: 5px;

}

/* body */

.top_50{
    margin-top: 50px;
}

/* index / scores / score page */

.scores_table {
    border: 1px solid #14c38e;
    font-size: 0.9em;
    font-weight: 800;  
    margin-top: 20px;
    margin-bottom: 50px;
    padding: 15px;
    width: 100%;
}

.scores_table thead th {
    background-color: #14c38e;
    /* border-bottom: 1px solid #00ffab; */
    color: #fff;
    font-family: 'Luckiest Guy', cursive;
    font-size: 1rem;
    font-weight: 200;
    letter-spacing: 1.2px;
    padding: 10px;
    text-align: center;
}

.scores_table tbody {

}

.scores_table tbody td {
    /* border: 1px solid yellow; */
    font-size: 0.9rem;
    padding: 10px;
    text-align: center;
}

.hand_number {
    background-color: #ccc;
}

.hand_type {
    background-color: #eee;
}

.running_total {
    /* border: 1px solid yellow; */
    background-color: #ddd;
}



/* add */

.new_game {
    margin-bottom: 20px;
    margin-top: 20px;
}

.new_game input {
    font-weight: 600 !important;
    margin-bottom: 10px;
}

.game_code {
    letter-spacing: 1px !important;
}

.game-code {
    color: #14c38e;
    font-size: 2rem;
    font-family: 'Luckiest Guy', cursive;
    padding: 10px;
    text-align: center;
    width: 100%;

}

.dutch-btn,
.start_game {
    margin-top: 50px;
    padding: 10px;
    width: 100%;
}

/* form */

.missing,
.input_error {
    background-color: #f46d75 !important;
    border: 1px solid #ba0001 !important;
}

/* footer */



/***********************/


/*********************************/


.score_input {
    font-size: 2rem !important;
    font-weight: bolder !important;
    margin-top: 15px !important;
    text-align: center !important;

}


/* animate.css overrides */

/* animate__zoomInLeft */

:root {
    --animate-delay: 0.9s;

}

.animate__zoomInLeft {
    --animate-duration: 1s;
}

.animate__zoomInRight {
    --animate-duration: 2s;
}

.animate__zoomInLeft ~ .animate__zoomInLeft {
    --animate-delay: 0.9s !important;
}

.animate__rubberBand {
    --animate-delay: 2.5s !important;
}

/* font awesome (fontawesome) css */

.icon::before {
    display: inline-block;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

