/* Master Styles */

body {
    font-family: "Lato", sans-serif;
    margin: 0px;
    /* background:  linear-gradient(to right, #9c27b0, #8ecdff); */
    background:linear-gradient(to right, #007bff, #0C4078);
}

.container {
    display: grid;
    grid-template-columns: 1fr;
}








/* Navigation Styles */

.nav-wrapper {
    font-family: 'Quicksand', sans-serif;
    letter-spacing: 2px;
    display: flex;
    justify-content: space-between;
    padding: 38px;
    font-weight: 400;
}

.left-side {
    display: flex;
}

.brand a {
    /* border-bottom: 1px solid transparent; */
    color: white;
    text-decoration: none;
}

.nav-wrapper>.left-side>div {
    margin-right: 20px;
    font-size: 0.9em;
    text-transform: uppercase;
}

.nav-link-wrapper {
    height: 22px;
    border-bottom: 1px solid transparent;
    transition: border-bottom 0.5s;
}

.nav-link-wrapper a {
    /* color: #8a8a8a; */
    color: white;
    text-decoration: none;
    transition: color 0.5s;
}

.nav-link-wrapper:hover {
    border-bottom: 1px solid white;
}

.nav-link-wrapper a:hover {
    color: white;
}

.active-nav-link {
    border-bottom: 1px solid white;
}

.active-nav-link a {
    font-weight: 700;
    color: white !important;
}

.middle-side a {
    color: white !important;
    text-decoration: none;
}








/* Home Wrapper */




/* Content Wrapper */

.content-wrapper {
    margin-right: 30px;
    margin-left: 30px;
/*     margin-bottom: 50px; */
    display: grid;
    grid-template-columns: 1fr 1fr;

/*     display: flex; */
/*     grid-auto-flow: column; */
/*     text-align: center; */
}
.gif-wrapper{
/*     display: grid;  */
    transform: translate(0px, 0%);
    text-align: center;
/*     align-items: center;  */
}
.gif-wrapper img {
    box-shadow: 12px 12px 3px 1px rgba(0, 0, 0, 0.15);

    border-radius: 30px 30px 30px 30px;
/*     display: block;
    margin-left: auto;
    margin-right: auto; */
    width: 40%;
    min-width: 300px;
}








/* Leaderboard styles */

.wrapper {
    display: block;
    margin-left: auto;
    margin-right: auto;
/*     width: 80%; */
    /* */
/*     height: 100%; */
/*     text-align:center;  */
    transform: translate(0%, 0%);
}
.lboard_section{
    box-shadow: 12px 12px 3px 1px rgba(0, 0, 0, 0.15);
    display: grid;
/*     text-align: center; */
}

.lboard_section {

    width: 120%;
    max-width: 400px; 
    /*// 50%*/
    height: 390px;
/*      62.5% */
/*     margin: 175px auto 0;   */
    background: #f94f62;
    padding: 25px 40px;
    position: relative;
    border-radius: 15px;
}

.lboard_section .lboard_tabs {

    color: #fff;
    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
    letter-spacing: 1.5px;
    font-weight: 500;
}

.lboard_wrap {
    box-shadow: 12px 12px 7px 1px rgba(0, 0, 0, 0.15);
    position: absolute;
    top: 70px;
    left: 40px;
    background: #ffd300;
    width: 100%;
    height: 110%;
    border-radius: 15px;
}

.lboard_wrap .lboard_item {
    padding: 25px;
}

.lboard_wrap .lboard_mem {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #ffe773;
}

.lboard_wrap .lboard_mem:first-child {
    padding-top: 0;
}

.lboard_wrap .lboard_mem:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.lboard_wrap .lboard_mem .img {
    width: 50px;
}

.lboard_wrap .lboard_mem img {
    display: block;
    width: 100%;
}

.lboard_wrap .lboard_mem .name_bar {
    margin: 0 20px;
    width: calc(100% - 150px);
}

.lboard_wrap .lboard_mem .name_bar p {
    color: #3a3d51;
}

.lboard_wrap .lboard_mem .name_bar p span {
    margin-right: 5px;
}

.lboard_wrap .lboard_mem .points {
    width: 100px;
    color: #3a3d51;
}

.lboard_wrap .lboard_mem .name_bar .bar_wrap {
    width: 100%;
    height: 5px;
    background: #d5b000;
    margin-top: 5px;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}

.lboard_wrap .lboard_mem .name_bar .bar_wrap .inner_bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 5px;
    background: #fff;
    border-radius: 5px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}

.username{
    font-family: 'Open Sans', sans-serif;
    font-weight: 500;

    /* font-size: 15px; */
}

.points{
    text-align: right;
    font-family: 'Open Sans', sans-serif;
    font-weight: 500;
}








@media screen and (max-width: 1000px) {
    /* Master Styles */
    body {
        font-family: "Lato", sans-serif;
        margin: 0px;
        /* background:  linear-gradient(to right, #9c27b0, #8ecdff); */
        background:linear-gradient(to right, #007bff, #00519d);

        /* background: blue; */
    }
    .container {
        display: grid;
        grid-template-columns: 1fr;
    }








    /* Navigation Styles */
    .nav-wrapper {
        padding-right: 0;
/*         padding-left: 0; */
        margin-right: 0;
/*         margin-left: 0; */
/*         text-align: center;
        align-items: center; */
        margin: 0;
        /* padding-left: 0%; */
        display: grid;
        /* grid-template-columns: 1fr 1fr; */
        justify-content: space-evenly;
        /* align-items: center; */
        /* padding: 38px; */
    }
    .left-side {
        display: flex;
        transform: translate(0%, 0%);
    }
    .right-side {
        /* margin-top: 50%; */
        /* text-align: center; */
        display: none;
    }
    .brand a {
        /* border-bottom: 1px solid transparent; */
        color: black;
        text-decoration: none;
    }
    .nav-wrapper>.left-side>div {
        margin-right: 20px;
        font-size: 0.9em;
        text-transform: uppercase;
    }
    .nav-link-wrapper {
        height: 22px;
        border-bottom: 1px solid transparent;
        transition: border-bottom 0.5s;
    }
    .nav-link-wrapper a {
        /* color: #8a8a8a; */
        color: white;
        text-decoration: none;
        transition: color 0.5s;
    }
    .nav-link-wrapper:hover {
        border-bottom: 1px solid white;
    }
    .nav-link-wrapper a:hover {
        color: white;
    }
    .active-nav-link {
        border-bottom: 1px solid white;
    }
    .active-nav-link a {
        color: whote !important;
    }
    .middle-side a {
        color: white !important;
        text-decoration: none;
        display: none;
    }







    /* Content Wrapper */
    .content-wrapper {
        display: grid;
        grid-template-columns: 1fr;
        padding-right: 0%;
        margin-left: 0%;
        margin-right: 0;

        /* flex-direction: column-reverse; */
        align-items: center;
    }
    .gif-wrapper img {
/*         display: grid; */
        text-align: center;
        align-items: center;
        margin-left: 0;
        margin-right: 0;
        width: 60%;
        transform: translate(0%, 0%); 
        margin-bottom: 30px;

    }







    /* Leaderboard styles */
    .wrapper {
        transform: translate(0%, 0%);
        width: 90%;
        height: 100%;
        margin-top: 0%;
        margin-left: 0;
    margin-right: 0;
    }
    .lboard_section {
        width: 50%;
        min-width: 225px; 
        /*// 50%*/
        height: 430px;
        /*  62.5% */
        margin: 175px auto 0;
        background: #f94f62;
        /* padding: 25px 40px; */
        position: relative;
        border-radius: 15px;
        transform: translate(0%, -30%); 
    }
    .lboard_section .lboard_tabs {
        color: #fff;
        font-weight: 500;
    }
    
    .lboard_wrap {
        position: absolute;
        top: 100px;
        left: 40px;
        background: #ffd300;
        width: 100%;
        height: 100%;
        border-radius: 15px;
    }
    .lboard_wrap .lboard_item {
        padding: 25px;
    }
    .lboard_wrap .lboard_mem {
        display: flex;
        align-items: center;
        /* padding between members */
        padding: 15px 0;
        border-bottom: 1px solid #ffe773;
    }
    .lboard_wrap .lboard_mem:first-child {
        padding-top: 0;
    }
    .lboard_wrap .lboard_mem:last-child {
        padding-bottom: 0;
        border-bottom: 0;
    }
    .lboard_wrap .lboard_mem .img {
        width: 50px;
    }
    .lboard_wrap .lboard_mem img {
        display: block;
        width: 100%;
    }
    .lboard_wrap .lboard_mem .name_bar {
        margin: 0 20px;
        width: calc(100% - 150px);
    }
    .lboard_wrap .lboard_mem .name_bar p {
        color: #3a3d51;
    }
    .lboard_wrap .lboard_mem .name_bar p span {
        margin-right: 5px;
    }
    .lboard_wrap .lboard_mem .points {
        width: 100px;
        color: #3a3d51;
    }
    .lboard_wrap .lboard_mem .name_bar .bar_wrap {
        width: 100%;
        height: 5px;
        background: #d5b000;
        margin-top: 5px;
        border-radius: 5px;
        position: relative;
        overflow: hidden;
    }
    .lboard_wrap .lboard_mem .name_bar .bar_wrap .inner_bar {
        position: absolute;
        top: 0;
        left: 0;
        height: 5px;
        background: #fff;
        border-radius: 5px;
        border-top-right-radius: 0px;
        border-bottom-right-radius: 0px;
    }
}
