﻿@import url("https://fonts.googleapis.com/css?family=Lora:400,400i,700");

:root {
    --burger-menu-radius: 7vw;
}
#burger-toggle {
    position: absolute;
    appearance: none;
    opacity: 0;
}

    #burger-toggle:checked ~ .menu {
        opacity: 1;
        visibility: visible;
    }

        /* #burger-toggle:checked ~ .menu .menu-nav-link span div,
        #burger-toggle:checked ~ .menu img,*/
        #burger-toggle:checked ~ .menu .title p {
            transform: translateY(0);
            transition: 0.3s 0.1s cubic-bezier(0.35, 0, 0.07, 1);
        }

    /*#burger-toggle:checked ~ .menu .image-link:nth-child(1) img {
            transition-delay: 0.18s;
        }

        #burger-toggle:checked ~ .menu .image-link:nth-child(2) img {
            transition-delay: 0.26s;
        }

        #burger-toggle:checked ~ .menu .image-link:nth-child(3) img {
            transition-delay: 0.34s;
        }

        #burger-toggle:checked ~ .menu .image-link:nth-child(4) img {
            transition-delay: 0.42s;
        }*/

    #burger-toggle:checked ~ .burger-menu .line::after {
        transform: translateX(0);
    }

    #burger-toggle:checked ~ .burger-menu .line:nth-child(1) {
        transform: translateY(calc(7vh / 5)) rotate(45deg);
    }

    #burger-toggle:checked ~ .burger-menu .line:nth-child(2) {
        transform: scaleX(0);
    }

    #burger-toggle:checked ~ .burger-menu .line:nth-child(3) {
        transform: translateY(calc(7vh / -5)) rotate(-45deg);
    }

.burger-menu {
    
    position: fixed;
    top: 0;
    right: 13vw;
    z-index: 2147483647;
    display: block;
    width: var(--burger-menu-radius);
    height: 7vh;
    outline: none;
    cursor: pointer;
    /*transform: scale(0.5);*/
}

.bounce-me:hover {
    animation: bounce; /* referring directly to the animation's @keyframe declaration */
    animation-duration: 1s; /* don't forget to set a duration! */
    animation-iteration-count: infinite;
}

.rubber-me:hover {
    animation: rubberBand; /* referring directly to the animation's @keyframe declaration */
    animation-duration: .25s; /* don't forget to set a duration! */
    animation-iteration-count: 2;
}

.jello-me:hover {
    animation: jello; /* referring directly to the animation's @keyframe declaration */
    animation-duration: .25s;
}

.tada-me:hover {
    animation: tada;
    animation-duration: 0.25s;
}

.slideUp-me:hover {
    background-color:
}

.zoomIn-me:hover {
    animation: puffInSml;
    animation-duration: .15s;
    animation-delay: 0s;
}

.whiteText-me:hover {
    color: white;
    font-weight: bold;
}

.select-me {
    animation: foolishIn;
    animation-duration: .5s;
    animation-delay: 0s;
}

.back-in-down {
    animation: backInDown;
    animation-duration: .5s;
    animation-delay: 0s;
}

/*.back-in-down:hover {
    animation: backInUp;
    animation-duration: .5s;
    animation-delay: 0s;
}*/


.back-in-up {
    animation: backInUp;
    animation-duration: .5s;
    animation-delay: 0s;
}

.puffInSml {
    animation-name: puffInSml;
}

._1Stat_FadeToRight:hover {
    background: linear-gradient(to right, rgb(62,151,194), rgba(0, 0, 0, 0));
}

._1Stat_FadeToLeft:hover {
    background: linear-gradient(to right, rgba(0, 0, 0, 0), rgb(62,151,194));
}

._1Stat_FadeToRight_hover:hover {
    background: linear-gradient(to right, rgb(62,151,194), rgba(0, 0, 0, 0));
}

._1Stat_FadeToLeft_hover:hover {
    background: linear-gradient(to right, rgba(0, 0, 0, 0), rgb(62,151,194));
}

._1Stat_FadeToRight_on {
    background: linear-gradient(to right, rgb(62,151,194), rgba(0, 0, 0, 0));
}

._1Stat_FadeToLeft_on {
    background: linear-gradient(to right, rgba(0, 0, 0, 0), rgb(62,151,194));
}

@-webkit-keyframes puffInSml {
    0% {
        opacity: 0;
        transform-origin: 50% 50%;
        transform: scale(1.1, 1.1);
        filter: blur(2px);
    }

    100% {
        opacity: 1;
        transform-origin: 50% 50%;
        transform: scale(1, 1);
        filter: blur(0px);
    }
}

@keyframes puffInSml {
    0% {
        opacity: 0;
        transform-origin: 50% 50%;
        transform: scale(1.1, 1.1);
        filter: blur(2px);
    }

    100% {
        opacity: 1;
        transform-origin: 50% 50%;
        transform: scale(1, 1);
        filter: blur(0px);
    }
}

@media screen and (max-width: 739px) {
    .burger-menu {
        top: 0;
        right: 12.5vw;
        
    }
}

.burger-menu .line {
    position: absolute;
    left: 25%;
    width: 50%;
    height: 3px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    transition: 0.5s;
}

    .burger-menu .line:nth-child(1) {
        top: 30%;
    }

    .burger-menu .line:nth-child(2) {
        top: 50%;
    }

    .burger-menu .line:nth-child(3) {
        top: 70%;
    }

    .burger-menu .line::after {
        position: absolute;
        content: "";
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--primary-color-darker);
        transform: translateX(-100%);
        transition: 0.25s;
    }

    .burger-menu .line:nth-child(2)::after {
        transition-delay: 0.1s;
    }

    .burger-menu .line:nth-child(3)::after {
        transition-delay: 0.2s;
    }

.burger-menu:hover .line::after {
    transform: translateX(0);
}

.menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    /*align-items: center;*/
    /*background: rgba(26, 30, 35,0.85);*/
    /*padding-top: 10vh;*/
    /*background-image: -webkit-gradient(linear, left middle, right middle, color-stop(0, rgba(26, 30, 35,0.75)), color-stop(0.72, rgba(26, 30, 35,1)), color-stop(1, rgb(26, 30, 35,0.95)));*/
    /*background-image: linear-gradient(to right, rgba(26, 30, 35,1), rgba(26, 30, 35, 1), rgba(26, 30, 35,1));*/
    /*background-image: -webkit-gradient(linear, left, right, color-stop(0, rgb(0,113, 165)), color-stop(0.72, rgb(0,122,173)), color-stop(0.75, rgb(62,151,194)), color-stop(0.80, rgba(0,0,0,0)));*/
    background: rgb(26, 30, 35);
    opacity: 0;
    overflow-x: hidden;
    visibility: hidden;
    transition: 0.3s;
    z-index: 2147483647 !important;
    padding-top: 1vh;
    padding-bottom: 1vh;
    padding-left: 1vw;
    padding-right: 1vw;
}

.menu-button-container {
    background-image: linear-gradient(to right, rgba(26, 30, 35,0.75), rgba(26, 30, 35, 1), rgba(26, 30, 35,1));
    min-width: 15vw;
    width: 15vw;
    max-width: 15vw;
    min-height: 20vh;
    height: 20vh;
    max-height: 20vh;
}

.menu-button-link-container {
    display: grid;
    align-items: center;
    justify-content: center;
    padding: .5vh;
    padding-bottom: 0;
    border: 1px solid white;
    border-radius: 10px;
    width: 100%;
    height: 100%;
    color: white !important;
    z-index: 2147483647 !important;
}

.menu-button-image {
    margin-left: 12.5%;
    min-width: 75%;
    width: 75%;
    max-width: 75%;
    max-height: 20vh;
}

.menu-button-image-tight {
    margin-left: 12.5%;
    min-width: 75%;
    width: 75%;
    max-width: 75%;
    max-height: 16vh;
}

.menu-side-scroller {
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-menu-container {
    min-height: 28vh;
    height: 28vh;
    max-height: 28vh;
}

.infinite-player-card {
    min-width: 30vw;
    width: 30vw;
    max-width: 30vw;
}

.rtl {
    direction: rtl;
}

.ltr {
    direction: ltr;
}

.user-menu {
    --user-menu-radius: 4em;
    position: absolute;
    top: 2vh;
    left: 6.5vw;
    z-index: 2147483646;
    display: block;
    width: var(--user-menu-radius);
    height: var(--user-menu-radius);
    outline: none;
    cursor: pointer;
}

.sub_menu_background {
    transition: background 0.5s ease-in;
    background: rgb(26, 30, 35);
}

.user-sub-menu {
    position: fixed;
    top: 7vh;
    left: 12.5vw;
    width: 33vw;
    height: 50vh;
    display: flex;
    justify-content: center;
    /*align-items: center;*/
    /*background: rgba(26, 30, 35,0.85);*/
    /*padding-top: 10vh;*/
    /*background-image: -webkit-gradient(linear, left middle, right middle, color-stop(0, rgba(26, 30, 35,0.75)), color-stop(0.72, rgba(26, 30, 35,1)), color-stop(1, rgb(26, 30, 35,0.95)));*/
    /*background-image: linear-gradient(to right, rgba(26, 30, 35,1), rgba(26, 30, 35, 1), rgba(26, 30, 35,1));*/
    /*background-image: -webkit-gradient(linear, left, right, color-stop(0, rgb(0,113, 165)), color-stop(0.72, rgb(0,122,173)), color-stop(0.75, rgb(62,151,194)), color-stop(0.80, rgba(0,0,0,0)));*/
    background: rgb(26, 30, 35);
    opacity: 0;
    overflow-x: hidden;
    visibility: hidden;
    transition: 0.3s;
    z-index: 2147483647 !important;
    padding-top: 1vh;
    padding-bottom: 1vh;
    padding-left: 1vw;
    padding-right: 1vw;
    transition: opacity 0.5s ease-in;
}


@media screen and (max-width: 739px) {
    :root {
        --burger-menu-radius: 10vw;
    }
    /* ALL PHONES, MOST TABLETS - RESPONSIVE (IF NEEDED) */
    /*.menu {
        display: flex;
    }*/
    .user-menu {
        top: 2vh;
        left: 4vw;
        /*transform: scale(0.5);*/
    }

    .user-sub-menu {
        width: 75vw;
        height: 75vh;
    }


    .menu-button-container {
        min-width: 65vw;
        width: 65vw;
        max-width: 65vw;
    }

    .menu-button-image {
        margin-left: 12.5%;
        min-width: 75%;
        width: 75%;
        max-width: 75%;
        max-height: 20vh;
    }

    .menu-button-image-tight {
        margin-left: 12.5%;
        min-width: 75%;
        width: 75%;
        max-width: 75%;
        max-height: 16vh;
    }

    .infinite-player-card {
        min-width: 45vw;
        width: 45vw;
        max-width: 45vw
    }
}

@media screen and (max-width: 915px) {
    
    
    .user-menu {
        top: 2vh;
        left: 4vw;
        /*transform: scale(0.5);*/
    }

    .user-sub-menu {
        width: 33vw;
        height: 75vh;
    }


    .menu-button-container {
        min-width: 25vw;
        width: 25vw;
        max-width: 25vw;
    }

    .menu-button-image {
        margin-left: 12.5%;
        min-width: 55%;
        width: 55%;
        max-width: 55%;
        max-height: 15vh;
    }

    .menu-button-image-tight {
        margin-left: 12.5%;
        min-width: 55%;
        width: 55%;
        max-width: 55%;
        max-height: 10vh;
    }

    .infinite-player-card {
        min-width: 65vw;
        width: 65vw;
        max-width: 65vw
    }
}

.tournament-card {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    transition: transform 0.1s ease-in-out, box-shadow 0.1s ease-in-out;
    transition-delay: 0;
}

    .tournament-card:focus {
        border-color: green;
    }

    .tournament-card:active {
        border-color: green;
    }

.tournament-card-on {
    transform: translateY(-5px);
    top: -5px;
    box-shadow: 0 12px 12px rgba(0, 0, 0, 1);
}

.tournament-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 12px rgba(0, 0, 0, 1);
    /*background: linear-gradient(90deg, rgba(0, 216, 255, 1) 0%, rgba(0, 1, 127, 1) 100%);*/
}

.tournament-card-header {
    background: linear-gradient(90deg, rgba(0, 216, 255, 1) 0%, rgba(0, 1, 127, 1) 100%);
    color: white;
}


@media (max-height: 430px) {
    
    .menu-button-container {
        min-width: 15vw;
        width: 15vw;
        max-width: 15vw;
        min-height: 30vh;
        height: 30vh;
        max-height: 30vh;
    }

    .menu-button-image {
        margin-left: 12.5%;
        min-width: 75%;
        width: 75%;
        max-width: 75%;
        max-height: 14vh;
    }

    .menu-button-image-tight {
        margin-left: 12.5%;
        min-width: 75%;
        width: 75%;
        max-width: 75%;
        max-height: 10vh;
    }

    .main-menu-container {
        min-height: 38vh;
        height: 38vh;
        max-height: 38vh;
    }
}
/* upright phones and small devices */
@media (max-width: 430px) {
    
}

@media (max-width:430px)
{
    :root {
        --burger-menu-radius: 15vw;
    }
}
@media (min-width: 431px) and (max-width: 568px) {
    :root {
        --burger-menu-radius: 15vw;
    }
}

@media (min-width: 569px) and (max-width: 768px) {
    :root {
        --burger-menu-radius: 10vw;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    :root {
        --burger-menu-radius: 10vw;
    }
}

@media (min-width: 1025px) and (max-width: 1280px) {
}

@media (min-width: 1281px) and (max-width: 1920px) {
}

@media (min-width: 1921px) and (max-width: 2560px) {
}

@media (min-width: 2561px) and (max-width: 3840px) {
}

@media (min-width: 3841px) {
}
