html, body {
    background: #FFF;
    font-family: 'Gothic A1', sans-serif;
    text-align: center;
    height: 1000px;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    justify-items: stretch;
}

.addthis-clear {
    min-height: 28px;
}

.head {
    max-width: 800px;
    margin: 0 auto !important;
}

.header img {
    position: relative;
    z-index: 3;
}

.content {
    background: url('../images/bg.png') center top no-repeat;
    background-size: cover;
    max-width: 800px;
    position: relative;
    margin-bottom: 0 !important;
}

.hr-container {
    z-index: 0;
    position: relative;
    top: 50px;
}

#hr {
    position: relative;
    width: 100%;
    height: auto;
    z-index: 0;
}

.conference {
    z-index: 2 !important;
}

.conference h2 {
    display: inline-block;
    font-family: asphalt, sans-serif;
    color: #FFF;
    border-radius: 22px;
    padding: 5px 16px 6px;
    margin-bottom: 40px;
}

#afc-header {
    background-color: #be1206;
}

#afc div h3 {
    color: #be1206;
}

#nfc-header {
    background-color: #0e2e88;
}

#nfc div h3 {
    color: #0e2e88;
}

.division {
    margin-bottom: 8px;
}

.division h3 {
    font-size: 18px;
    text-align: left;
    margin-bottom: 0 !important;
    font-family: 'Exo 2', sans-serif;
}

.division div {
    font-size: 11px;
    height: 35%;
    width: 45%;
    display: inline-block;
    background-color: #FFF;
    border-radius: 0;
    border-bottom: 2px solid #dadada;
    padding: 5px 7px 4px;
    margin: 4px 3px;
    transition: 150ms;
    font-weight: 500;
}

.division div:hover {
    color: #FFF;
    background-color: #426CE1;
    border-color: #5984f8;
    border-bottom: 2px solid #3E66D4;
    transition: 150ms;
}

.division div.active {
    color: #FFF;
    background-color: #426CE1;
    border-color: #5984f8;
    border-bottom: 2px solid #3E66D4;
}

#scale {
    position: absolute;
    z-index: 0;
}

#scale img {
    width: 100%;
    height: auto;
    top: 20px;
    z-index: 0;
}

#scale-group {
    position: relative;
    height: 35vw;
    z-index: 100 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    justify-content: start;
}

#scale-group .columns {
    flex: 1;
}

#scale-group .columns .column {
    padding-bottom: 0 !important;
}

#selected-team {
    display: block;
    width: 100%;
}

#selected-team-name {
    display: inline-block;
    font-family: antique-olive-compact, sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #FFF;
}

#selected-team-logo {
    background: url('../images/team.png') center top no-repeat;
    background-size: contain;
    position: relative;
    height: 15vw;
}

#selected-team-logo img {
    position: absolute;
    left: 22.5%;
    top: 20.75%;
    width: 55%;
    height: auto;
}

.avg {
    margin: 0 !important;
}

.bmi {
    display: inline-block;
    color: #FFF;
    padding: 7px 12px 6px;
}

#triangle-topright {
    width: 0;
    height: 0;
    border-top: 15px solid #403F54;
    border-left: 15px solid transparent;
}

#triangle-topleft {
    width: 0;
    height: 0;
    border-top: 15px solid #403F54;
    border-right: 15px solid transparent;
}

.triangle {
    margin: 0 auto;
}

#difference {
    display: block;
    width: 100%;
    align-self: end;
    z-index: 100 !important;
}

.player {
    background-color: #ED612B;
    font-size: 18px;
    display: inline-block;
    padding: 4px 15px 2px;
}

.player, .position {
    font-weight: 700;
    color: #FFF;
}

.position, .weight {
    display: inline-block;
}

#sources-group {
    color: #FFF;
    font-size: 11px;
    font-weight: 700;
    background-color: transparent;
    z-index: 100 !important;
    position: relative;
}

#sources-group p {
    z-index: 2;
    padding: 0;
    margin: 0 0 3px !important;
}

#sources {
    background-color: #403F54;
    padding: 4px 5px 3px;
}

.content, #scale-group {
    flex-grow: 1;
}

footer {
    display: flex;
    position: absolute;
    background-color: #29844d;
    bottom: 1px;
    max-height: 60px;
}

#logo {
    margin: 0 auto !important;
    color: #FFF;
    position: relative;
}

#powered {
    position: relative;
    top: 8px;
}

/* #logo img:hover {
    filter: brightness(150%);
  } */

@media (min-width: 769px) {
    p {
        margin: 0 auto 8px !important;
    }

    .head {
        margin: 0 100px !important;
        display: flex;
    }

    .header img {
        top: 10px;
    }

    #conferences {
        margin: 10px 24px 0;
    }
    .division h3 {
        margin-left: 20px;
    }
    #selected-team-name {
        background-color: #426CE1;
        font-size: 20px;
        font-style: normal;
        padding: 3px 15px;
        border-radius: 15px;
    }
    #scale-group {
        width: 100%;
    }
    .heavy {
        text-align: left;
    }
    .light {
        text-align: right;
    }
    .bmi {
        background-color: #403F54;
    }
    .player {
        display: block;
        width: 25vw;
    }
    .position {
        left: 50%;
        width: 100%;
        padding-top: 5px;
    }
    .weight {
        font-size: 12px;
        position: absolute;
        width: 100%;
    }
    #heavy-box-1 {
        display: inline-block;
        position: absolute;
        left: 30px;
    }
    #heavy-box-2 {
        display: inline-block;
        position: absolute;
        left: 40px;
        bottom: 0px;
    }
    #light-box-1 {
        display: inline-block;
        position: absolute;
        right: 40px;
        top: -15px;
    }
    #light-box-2 {
        display: inline-block;
        position: absolute;
        right: 40px;
        bottom: 0px;
    }
    #weight-heavy {
        left: 100%;
        text-align: left;
        bottom: 6px;
    }
    #weight-light {
        right: 100%;
        text-align: right;
        bottom: 6px;
    }
    #difference {
        padding-top: 8px;
        height: 4.25vw;
    }
    #difference, #difference strong, .weight {
        color: #C1A9DB !important;
    }
    #sources-group {
        padding: 24px 0 0px;
    }
    #note {
        padding-bottom: 5px !important;
    }
    footer {
        align-items: flex-end !important;
        height: 60px;
        padding: 10px 0 15px;
    }
    #logo {
        max-width: 25%;
        height: auto !important;
    }
}

@media (max-width: 768px) {
    p {
        margin: 0 auto 4px !important;
    }
    .head {
        padding: 0 60px 0 !important;
    }
    .header img {
        position: relative;
        top: 10px;
    }
    #conferences {
        margin: 0 12px;
    }

    .conference {
        padding: 6px 12px;
    }
    .division h3 {
        margin-left: 5px;
    }
    .division div {
        width: 100%;
        display: block;
    }
    #logo-column, #afc-header, #nfc-header, #scale, #triangle-topright, #triangle-topleft, .fas {
        display: none;
    }
    #scale-group, #scale-group .columns .column {
        height: auto;
    }
    #scale-group {
        background: #3E66D4;
        border: 2px solid #3E66D4;
        margin: 0 24px !important;
        left: 2px;
    }
    #results {
        margin-bottom: 0px;
    }
    #results .column {
        border: 3px solid #3E66D4;
    }
    .heavy, .light {
        text-align: center !important;
    }
    .player {
        border-bottom: 4px solid #3E66D4;
        border-top: 4px solid #3E66D4;
    }
    #selected-team-name {
        font-size: 20px;
        font-style: normal;
        padding: 5px 15px 0;
        border-radius: 15px;
    }
    .box-1 {
        width: 100%;
        background-color: #403F54;
        margin: 0 auto;
    }
    .avg {
        color: #FFF;
        display: inline;
    }
    .bmi {
        font-weight: bold;
    }
    .player {
        width: 100%;
    }
    .position-container {
        position: relative;
        display: flex;
        flex-wrap: wrap;
    }
    .position, .weight {
        font-size: 14px;
        padding: 5px 10px;
        background: #0e2e88;
        position: relative;
    }
    .position {
        flex-grow: 1;
        left: 0px;
        border-right: 3px solid #3E66D4;
    }
    .weight {
        right: 0px;
    }
    #difference, #difference strong, .weight {
        color: #FFF !important;
    }
    #difference {
        margin: 5px;
    }
    #sources-group {
        padding: 15px 32px 0px;
        display: flex;
    }

    #source {
        width: 100%;
        text-align: left !important;
    }

    #note {
        width: 100%;
        text-align: right !important;
    }

    footer {
        align-items: flex-end !important;
        height: 60px;
        padding: 10px 0 10px;
    }

    #logo {
        max-width: 25%;
        height: auto !important;
    }
}

@media (max-width: 580px){
    #sources-group {
        flex-direction: column;
    }

    #source,#note {
        text-align: center !important;
    }
    footer {
        padding: 7px 0 7px;
    }
    #powered {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .head {
        padding: 0 40px !important;
    }
    #results .column div {
        font-size: 12px;
    }
    .position, .weight {
        display: block;
        width: 100%;
    }

    .position {
        border-right: none;
        border-bottom: 3px solid #3E66D4;
    }
    #sources-group {
        padding: 10px 0 5px;
        display: flex;
    }
    footer {
        bottom: 5px;
        align-items: center !important;
        padding: 10px 0 15px;
    }

    #powered {
        top: 4px;
    }
}