/** I'm borrowing these, I hope they don't mind. Obviously this wouldn't be done in an actual prod environment. ***/

@font-face {
    font-family: 'Praktika Regular';
    src: url('https://www.nba.com/resources/static/team/v2/grizzlies/assets/fonts/praktika_complete/PraktikaRegular.eot');
    src: url('https://www.nba.com/resources/static/team/v2/grizzlies/assets/fonts/praktika_complete/PraktikaRegular.eot?#iefix') format('embedded-opentype'),
        url('https://www.nba.com/resources/static/team/v2/grizzlies/assets/fonts/praktika_complete/PraktikaRegular.woff') format('woff'),
        url('https://www.nba.com/resources/static/team/v2/grizzlies/assets/fonts/praktika_complete/PraktikaRegular.ttf') format('truetype'),
        url('https://www.nba.com/resources/static/team/v2/grizzlies/assets/fonts/praktika_complete/PraktikaRegular.svg#Praktika Regular') format('svg');
}

@font-face {
    font-family: 'Praktika Medium';
    src: url('https://www.nba.com/resources/static/team/v2/grizzlies/assets/fonts/praktika_complete/PraktikaMedium.eot');
    src: url('https://www.nba.com/resources/static/team/v2/grizzlies/assets/fonts/praktika_complete/PraktikaMedium.eot?#iefix') format('embedded-opentype'),
        url('https://www.nba.com/resources/static/team/v2/grizzlies/assets/fonts/praktika_complete/PraktikaMedium.woff') format('woff'),
        url('https://www.nba.com/resources/static/team/v2/grizzlies/assets/fonts/praktika_complete/PraktikaMedium.ttf') format('truetype'),
        url('https://www.nba.com/resources/static/team/v2/grizzlies/assets/fonts/praktika_complete/PraktikaMedium.svg#Praktika Medium') format('svg');
}

@font-face {
    font-family: 'Praktika Bold';
    src: url('https://www.nba.com/resources/static/team/v2/grizzlies/assets/fonts/praktika_complete/PraktikaBold.eot');
    src: url('https://www.nba.com/resources/static/team/v2/grizzlies/assets/fonts/praktika_complete/PraktikaBold.eot?#iefix') format('embedded-opentype'),
        url('https://www.nba.com/resources/static/team/v2/grizzlies/assets/fonts/praktika_complete/PraktikaBold.woff') format('woff'),
        url('https://www.nba.com/resources/static/team/v2/grizzlies/assets/fonts/praktika_complete/PraktikaBold.ttf') format('truetype'),
        url('https://www.nba.com/resources/static/team/v2/grizzlies/assets/fonts/praktika_complete/PraktikaBold.svg#Praktika Bold') format('svg');
}

/***** Grizzlies.com Styles *****/

body {
    margin: 0;
}

body * {
    text-rendering: optimizeLegibility;
}

h1,
h2,
h3 {
    font-family: "Praktika Bold", Arial, sans-serif;
    color: #5D76A9;
}

p,
li
{
    font-family: "Praktika Medium", Arial, sans-serif;
    color: #12173f;
}

th,
tr {
    font-family: "Praktika Bold", Arial, sans-serif;
    color: #FFF;
}

p {
    font-size: 17px;
}

h1 {
    font-size: 35px;
}

#page {
    background: url("../assets/grizz-confetti-bg-2.jpg") #222 no-repeat top;
    background-attachment: fixed;
    background-size: cover;
}

.container:before,
.container:after {
    content: " ";
    display: table;
}

.container:after {
    clear: both;
}

#content {
    margin: 0 auto;
    max-width: 1170px;
    position: relative;
    background: #FFF;
    box-shadow: 0 0px 10px rgba(18, 23, 63, 0.5);
    padding-top: 15px;
    margin-top: 20px;
    min-height: 100vh;
}

.button {
    background-color: #FFBB22;
    -moz-box-shadow: rgba(18, 23, 63, .75) 0 5px 6px -5px;
    -webkit-box-shadow: rgba(18, 23, 63, .75) 0 5px 6px -5px;
    box-shadow: rgba(18, 23, 63, .75) 0 5px 6px -5px;
    color: #12173F;
    font-size: 17px;
    font-family: 'Praktika Medium';
    border-radius: 5px;
    text-transform: uppercase;
    padding: 6px 15px;
    margin-bottom: 5px;
    cursor: pointer;
}

.button:hover {
    text-decoration: none;
    color: #000;
    background-color: #FDCB5B;
}

/******** Actual Content *********/

/***** Header *****/

#player-name {
    color: #0A2240;
    margin: 0;
    font-size: 2.5rem;
    padding: 0 1rem;
    padding-left: 0;
    text-align: right;
}

#player-number-position {
    background: #7C9CBF;
    color: #FFF;
    margin: 0;
    font-size: 1.1rem;
    line-height: 3.5;
    padding: 0 .7rem;
    width: 95px;
}

#player-photo-container {
    background: url('../assets/grizzlies-logo.svg') no-repeat top;
}

#player-photo-container img {
    position: relative;
    z-index: 1;
    opacity: 0;
    transition: opacity .5s ease-in-out;
   -moz-transition: opacity .5s ease-in-out;
   -webkit-transition: opacity .5s ease-in-out;
}

#player-photo-container:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: rgba(255,255,255,0.5);
    content: "";
}

#player-highlights-video {
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
    background: url("../assets/claw-ball.png") center no-repeat;
}

#player-highlights-video h2 {
    width: 100%;
    padding-left: 5%;
    text-transform: uppercase;
    font-size: 1.5rem;
}

/***** Career Stats *****/

#player-career-stats {
    background:#0A2240;
    color: white;
}

#player-career-stats h2 {
    color: #FFF;
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 0;
}

#player-career-stats table {
    text-align: center;
}

#player-career-stats table th,
#player-career-stats table td {
    border-top: none;
    border-left: 1px solid white;
    border-right: 1px solid white;
}

#player-career-stats table th:first-child {
    border-bottom-width: 1px;
}

#player-career-stats table td:first-child {
    border-top: 1px solid #fff;
}

#player-career-stats table th:first-child,
#player-career-stats table td:first-child {
    border-left: none;
}

#player-career-stats table th:first-child,
#player-career-stats table td:first-child,
#player-career-stats table th:last-child,
#player-career-stats table td:last-child {
    border-right: none;
}

/***** Mobile Highlights Video *****/

#mobile-highlights-video-container {
    margin-top: 1rem;
}

#mobile-highlights-video-container h2 {
    text-transform: uppercase;
}

#mobile-video {
    display: none;
    margin: 0 auto;
}

/***** Bios *****/

.badges-row {
    padding-top: 3rem;
}

.bio-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: .8rem;
    text-align: center;
    text-transform: uppercase;
}

.bio-container h3 {
    font-size: 2rem;
    color: #5D76A9;
}

.bio-container p {
    font-size: 1.5rem;
    margin: 0;
    font-family: "Praktika Bold", Arial, sans-serif;
}

.bio-circle{
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFBB22;
    border-radius: 100px;
    height: 130px;
    width: 130px;
    line-height: 1.2;
}

#draft-details {
    font-size: 1rem;
}

#player-shot-map {
    margin-top: 1rem;
}
#player-shot-map h2{
    text-align: center;
    text-transform: uppercase;
}

#low-res-fg-pct {
    text-align: center;
}

#player-shot-map img {
    width: 400px;
}

#shot-map-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.shot-stat-box {
    position: absolute;
    text-align: center;
    line-height: 1.3;
    background: #FFBB22;
    padding: .2rem .2rem;
    width: 83px;
    border-radius: 5px;
}

.shot-stat-box p {
    margin: 0;
    font-family: "Praktika Bold", Arial, sans-serif;
}

#lt-10-ft-shots {
    top: 90px;
}

#twopt-shots {
    top: 165px;
}
#threept-shots {
    top: 235px;
}

#nba-stats-cta {
    background: #0A2240;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    color: white;
    width: 389px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 50px;
    padding: .8rem 1rem;
}

#nba-stats-cta p {
    font-family: "Praktika Bold", Arial, sans-serif;
    color: white;
    margin-bottom: 0;
    line-height: 2.5;
    text-transform: uppercase;
}

/***** Write-up Sections *****/

.player-writeup {
    padding: 2rem 1rem;
}

.player-writeup .button {
    width: 100%;
    margin: 0 auto;
}

/***** Player Copy *****/

.write-up-row {
    margin-top: 3rem;
}

/***** Media Queries *****/

@media only screen and (max-width: 991px) {

    #mobile-highlights-video-container {
        min-height: 18rem;
    }
}

@media only screen and (max-width: 767px) {
    .badges-row {
        display: flex;
        flex-direction: row;
        padding: 0;
    }

    .badges-row h3,
    .badges-row p {
        font-size: 1rem;
    }

    .bio-circle {
        width: 85px;
        height: 85px;
    }

    #draft-details {
        font-size: .8rem;
    }
}
@media only screen and (max-width: 600px) {
    #player-name {
        font-size: 2rem;
    }

    #player-number-position {
        font-size: 1rem;
        line-height: 2.4;
        text-align: center;
    }
}

@media only screen and (max-width: 576px) {
    #player-career-stats table th:nth-child(2),
    #player-career-stats table td:nth-child(2) {
        border-left: none;
    }
}

@media only screen and (max-width: 480px) {

    #player-name {
        font-size: 2rem;
    }

    table {
        font-size: 12px;
    }

    .badges-row h3 {
        font-size: 1rem;
    }
    .badges-row p {
        font-size: .8rem;
    }

    .bio-circle {
        width: 70px;
        height: 70px;
    }

    #draft-details {
        font-size: .6rem;
    }

    #shot-map-container img {
        width: 310px;
    }

    .shot-stat-box {
        margin-top: -40px;
    }

    #nba-stats-cta {
        width: 302px;
    }

    #nba-stats-cta p {
        font-size: .8rem;
        line-height: 3.5;
    }
}

@media only screen and (max-width: 320px) {

    #player-number-position {
        width: 88px
    }

    table {
        font-size: 10px;

    }
    .badges-row h3,
    .badges-row p {
        font-size: .8rem;
    }

    .bio-circle {
        width: 70px;
        height: 70px;
    }

    #draft-details {
        font-size: .6rem;
    }
}