/* PREFIXES */
/* sc is for satoshi club */
/* ath is for ath reached  */
/* tg is for top gainers  */

@font-face {
    font-family: "SF Pro Display Light";
    src: url("../fonts/SFProDisplay-Light.ttf") format("truetype");
}

@font-face {
    font-family: "SF Pro Display Bold";
    src: url("../fonts/SFPRODISPLAYBOLD.ttf") format("truetype");
}

@font-face {
    font-family: "SF Pro Display Regular";
    src: url("../fonts/SFPRODISPLAYREGULAR.ttf") format("truetype");
}

* {
    letter-spacing: 1px;
    box-sizing: border-box;
}

body {
    padding: 0;
    margin: 0;
}

h1 {
    font-family: "SF Pro Display Bold";
}

.hidden{ display: none !important; }

span.accent-color {
    color: #e2834b;
}

.ath-body-tag {
    color: #fff;
    font-family: "SF Pro Display Light", sans-serif;
}

.tg-body-tag {
    color: #303d57;
    font-family: "SF Pro Display Regular", sans-serif;
}

.opacity-6 {
    opacity: 0.6;
}

.sc-main {
    padding-top: 2rem;
    min-height: 100vh;
    position: relative;
    padding-bottom: 5rem;
}

.ath-main {
    background: url("../images/athreached-main-bg.png") no-repeat top left / cover;
}

.tg-main {
    background: #f3f5fb;
}

.sc-wrapper {
    max-width: 1200px;
    margin: auto;
    padding: 0 2rem;
}

.sc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sc-header__left,
.sc-header__right{
    display: flex;
    flex-direction: row;
}

.sc-btn-group{
    display: flex;
    margin: 0 0 0 20px;
}

.sc-btn-group__btn{
    cursor: pointer;
    background: rgba(226, 131, 75, .7);
    padding: 0.8rem 1rem;
    border: 2px solid transparent;
    border-right: solid 1px #e2834b;
    border-radius: 0;
    display: inline-block;
    color: #fff;
}

.sc-btn-group .sc-btn-group__btn:first-child{
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.sc-btn-group .sc-btn-group__btn:last-child{
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    border: none;
}

.sc-btn-group__btn:hover{
    background: rgba(226, 131, 75, .8);
}

.sc-btn-group__btn.active{
    background: #e2834b;
}

.sc-heading h1 {
    margin: 0;
}

.sc-header .sc-date {
    margin: 0 0 0 20px;
}
.sc-header .sc-date span {
    background: #e2834b;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    display: inline-block;
}

.sc-header .ath-date span {
    color: #fff;
}

.sc-header .tg-date span {
    color: #fff;
}

footer.sc-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 1rem 0;
}

footer.ath-footer {
    background: #303d57;
}

footer.tg-footer {
    background: #fff;
    box-shadow: 0px -8px 32px rgba(50, 66, 79, 0.16);
}

footer.sc-footer .in-sc-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sc-social {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sc-social-icon {
    display: flex;
    align-items: center;
    margin-left: 2rem;
}

.sc-social-icon a {
    text-decoration: none;
}

.ath-social-icon a {
    color: #fff;
}

.tg-social-icon a {
    color: #303d57;
}

.sc-social-icon img {
    margin-right: 0.6rem;
}

/* sc-body */
.sc-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 3rem;
    margin: 2rem 0;
}

.ev-body {
    column-gap: 1.5rem;
}

.sc-body a {
    text-decoration: none;
    margin-bottom: 1.3rem;
}

.ath-body a {
    color: #fff;
}

.tg-body a {
    color: #303d57;
}

.sc-card {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 50fr;
    align-items: center;
    border-radius: 8px;
    padding: 1.2rem 1.2rem 1.2rem 0;
}

.ath-card {
    background: #303d57;
}

.tg-card {
    background: #fff;
    box-shadow: 0px 8px 32px rgba(50, 66, 79, 0.16);
}

.sc-card-icon {
    margin-left: -1.5rem;
    margin-right: 1rem;
}

.sc-card-icon img{
    width: 48px;
    height: 48px;
    text-indent: -10000px
}

.sc-card-heading .coin-shortname {
    font-size: 2rem;
    margin-right: 0.4rem;
    font-weight: bold;
}

.tg-card-heading .coin-shortname {
    font-family: "SF Pro Display Bold";
}

.coin-fullname {
    font-size: small;
}

.sc-card-body {
    display: grid;
    row-gap: 1rem;
    margin-right: 2rem;
}

.sc-card-body-top {
    display: flex;
    justify-content: space-between;
}

.sc-card-body-bottom {
    display: grid;
    grid-auto-flow: column;
    gap: 1rem;
}

.sc-info-heading {
    margin-bottom: 0.5rem;
    font-size: small;
}

.sc-info-data--24h {
    display: flex;
    align-items: center;
}

.ath-info-data--24h_up {
    color: #5df4b8;
}
.tg-info-data--24h_down,
.ath-info-data--24h_down {
    color: #fd7979;
}

.tg-info-data--24h_na img,
.ath-info-data--24h_na img{
    display: none;
}

.tg-info-data--24h_up {
    color: #3fb692;
}

.sc-info-data--24h img {
    margin-left: 0.5rem;
}

.sc-info-data--topexchange {
    display: flex;
    align-items: center;
}

.sc-info-data--topexchange .topexchange-logo {
    margin-right: 0.5rem;
    line-height: 0;
}

.sc-card-serial {
    position: absolute;
    right: 0.5rem;
}

.sc-card-serial .sc-card-serial-span {
    font-size: 8rem;
    font-weight: bold;
    line-height: 100px;
    opacity: 0.1;
    font-family: "SF Pro Display Bold";
}

.sc-card-serial .ath-card-serial-span {
    background: -webkit-linear-gradient(#eee, #333);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sc-card-serial .tg-card-serial-span {
    background: -webkit-linear-gradient(#333, #fff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* EVENTS PAGE */

.ev-card {
    position: relative;
    display: grid;
    align-items: center;
    border-radius: 8px;
    padding: 1.2rem 1.6rem;
    background: #303d57;
}

.ev-header {
    display: block;
}

.ev-card-body {
    display: grid;
}

.ev-card-body-top {
    flex-direction: column;
}

.sc-card-body-top h3 {
    margin: 0;
}

.sc-card-body-top p {
    font-size: small;
    margin: 0.5rem 0;
}

.ev-card-body-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: 0.8rem;
}

.sc-coin-label {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.sc-coin-label .sc-coin-logo {
    margin-right: 0.5rem;
    width: 40px;
}

.sc-coin-label .sc-coin-logo img {
    width: 100%;
}

.sc-coin-label .sc-coin-name .sc-coin-shortname {
    font-weight: bold;
}

.sc-coin-label .sc-coin-name .sc-coin-fullname {
    font-size: small;
}

.sc-card-date {
    display: flex;
    align-items: center;
}

.sc-card-date span {
    margin-left: 0.5rem;
    text-decoration: underline;
}

/* iPAD PRO */
@media screen and (max-width: 1200px) {
    .sc-body {
        column-gap: 2rem;
    }

    .sc-card-body {
        margin-right: 0;
    }

    .sc-info-heading {
        font-size: 11px;
    }

    .sc-info-data {
        font-size: 13px;
    }
}

/* iPAD */
@media screen and (max-width: 1023px) {
    .sc-card-body-bottom {
        grid-auto-flow: unset;
        grid-template-columns: 1fr 1fr;
    }
}

/* PHONE */
@media screen and (max-width: 767px) {
    #filters, #topGainers, #ATHSort, #ATHMin { display: none}
    .sc-main {
        padding-bottom: 12rem;
    }

    .sc-header .sc-heading {
        max-width: 160px;
    }

    .sc-header .sc-heading img {
        width: 100%;
    }

    .sc-body {
        grid-template-columns: 1fr;
    }

    .sc-card-body-bottom {
        grid-auto-flow: unset;
        grid-template-columns: 1fr 1fr;
    }

    footer.sc-footer .in-sc-footer {
        display: block;
    }

    .sc-social {
        display: block;
    }

    .sc-social-icon {
        margin-left: 0;
        margin: 1rem 0;
    }
}

/* VERY SMALLER PHONES */
@media screen and (max-width: 320px) {
    #filters, #topGainers, #ATHSort, #ATHMin { display: none}
    .sc-header .sc-date span {
        font-size: 10px;
        padding: 0.8rem 0.6rem;
    }
}

.preloader{
    position: fixed;
    top: 50%;
    left: 50%;
    margin-left: 92px;
}
.preloader span{
     position: absolute;
     width: 6px;
     height: 90px;
     margin-top: -45px;
     border-radius: 10px;
     background-color: #e2834b;
     animation: animate 0.8s infinite;
     animation-direction: alternate-reverse;
 }
.preloader span:nth-child(1){
    margin-left: 0;
}
.preloader span:nth-child(2){
    margin-left: -14px;
    animation-delay: 0.1s;
}
.preloader span:nth-child(3){
    margin-left: -28px;
    animation-delay: 0.2s;
}
.preloader span:nth-child(4){
    margin-left: -42px;
    animation-delay: 0.3s;
}
.preloader span:nth-child(5){
    margin-left: -56px;
    animation-delay: 0.4s;
}
.preloader span:nth-child(6){
    margin-left: -70px;
    animation-delay: 0.5s;
}
.preloader span:nth-child(7){
    margin-left: -84px;
    animation-delay: 0.6s;
}
.preloader span:nth-child(8){
    margin-left: -98px;
    animation-delay: 0.7s;
}
@keyframes animate{
    0%{
        height: 5px;
        margin-top: 0;
        transform: rotate(40deg);
    }
    100%{
        height: 90px;
        transform: rotate(0deg);
    }
}

.sc-select {
    margin: 0 0 0 20px;
    appearance: none;
    border: 0;
    outline: 0;
    font: inherit;
    padding: 0 4em 0 1em;
    background: url(https://upload.wikimedia.org/wikipedia/commons/9/9d/Caret_down_font_awesome_whitevariation.svg) no-repeat right 0.8em center / 1.4em, linear-gradient(to left, rgb(169 106 73) 3em, rgb(226 131 75) 3em);
    color: white;
    border-radius: 8px;
    box-shadow: 0 0 1em 0 rgb(0 0 0 / 20%);
    cursor: pointer;
}
.sc-select option {
    color: inherit;
    background-color: #320a28;
}
.sc-select:focus {
     outline: none;
 }
.sc-select::-ms-expand {
     display: none;
}

.sc-input{
    padding: 0.8rem 1rem;
    margin: 0 0 0 20px;
    appearance: none;
    border: 0;
    outline: 0;
    font: inherit;
    color: white;
    border-radius: 8px;
    box-shadow: 0 0 1em 0 rgb(0 0 0 / 20%);
}

.sc-save{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 0 15px;
    cursor: pointer;
}
.sc-save__img{
    width: 40px;
    height: auto;
}

.taking-screenshot #filters,
.taking-screenshot #topGainers,
.taking-screenshot #ATHSort,
.taking-screenshot #ATHMin,
.taking-screenshot .sc-save {
    display: none !important;
}
.taking-screenshot .sc-card-serial .ath-card-serial-span,
.taking-screenshot .sc-card-serial .tg-card-serial-span{
    background: none;
}
