@font-face {
    font-family: 'V3nomFont';
    src: url('./fonts/oxanium/Oxanium-ExtraBold.ttf') format(truetype);
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "EsportsFont";
    src: url('./fonts/rajdhani/Rajdhani-SemiBold.ttf') format(truetype);
    font-weight: 100 900;
    font-style: normal;
    font-display:swap;
}

@font-face {
    font-family: "RosterButton";
    src: url(./fonts/oxanium/Oxanium-SemiBold.ttf);
}

body{
    background: #09090D; 
    padding: 10px;
}

#hero {
    background: #17131F;
    padding: 10PX;
    border-radius: 20px;
    border-width: 2px;
    border-color: #8B5CF6;
    border-style: solid;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    height: 1vp;
}

#centre_text{
    color: #8B5CF6;
    font-size: clamp(2rem, 6vw + 1rem, 15rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 0;
    font-family: 'V3nomFont', 'sans-serif';
    animation: appear 0.6s;
    animation-timing-function: ease-out;
    animation-fill-mode: both;
}

#secondary_text{
    color: #F4F0FF;
    font-size: clamp(1rem, 3vw + 0.5rem, 7.5rem);
    margin-top: 0;
    font-family: 'EsportsFont', 'sans-serif';
    margin-bottom: 20px;
    animation: appear 0.5s;
    animation-delay: 0.2s;
    animation-timing-function: ease-out;
    animation-fill-mode: both;
}

#supporting_text{
    color: #F4F0FF;
    size: clamp(0.75rem, 3vw + 1rem, 7.5rem);
    font-family: 'EsportsFont', 'sans-serif';
    margin-top: 0;
}

.tagline{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.line{
    height: clamp(0.125rem, 0.25vw + 0.0625rem, 1.25rem);
    background-color: #8B5CF6;
    width: clamp(0.75em, 5vw + 2rem, 10rem);
    border-radius: 100px;
}

#line_left{
    animation: line_appear 2s;
    animation-delay: 0.4s;
    animation-timing-function: ease-out;
    animation-fill-mode: both;
    transform-origin: right;
}

#line_right{
    animation: line_appear 2s;
    animation-delay: 0.4s;
    animation-timing-function: ease-out;
    animation-fill-mode: both;
    transform-origin: left;
}

#roster_button{
    color: #F4F0FF;
    background-color: transparent;
    border: 2px solid #8B5CF6;
    padding: 10px 20px;
    border-radius: 10px;
    font-family: 'RosterButton', 'sans-serif';
    transition-duration: 0.4s;
    margin-bottom: 10px;
    animation: appear 0.5s;
    animation-delay: 0.6s;
    animation-timing-function: ease-out;
    animation-fill-mode: both;
}

#roster_button:hover {
    background-color: #8B5CF6;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.6);
}

#roster_button:active{
    transform: translateY(2px);
}

#roster_button span{
    display: inline-block;
    position: relative;
    transition: 0.5s
}

#roster_button span:after{
    content: '\00bb';
    position: absolute;
    opacity: 0;
    top: 0;
    right: -20px;
    transition: 0.5s
}

#roster_button:hover span{
    padding-right: 25px;
}

#roster_button:hover span:after{
    opacity: 1;
    right: 0;
}

@media (max-width: 600px) {
    .line {
        transform: translateY(-9px);
    }
}

@keyframes appear{
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes line_appear{
    from {
        transform: scaleX(0) translateY(-7px);
    }
    to {
        transform: scaleX(1) translateY(-7px);
    }
}

#roster, #about, #results{
    display: flex;
    align-items: center;
    flex-direction: column;
    background-color: transparent;
}

.heading_text {
    color: #F4F0FF;
    animation: appear 0.5s;
    animation-delay: 0.1s;
    animation-timing-function: ease-out;
    animation-fill-mode: both;
}

#player_cards{
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: row;
    gap: 25px;
    background-color: transparent;
    flex-wrap: wrap;
}

.player_card{
    background-color: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    border-radius: 10px;
    border-width: 2px;
    border-color: #8B5CF6;
    border-style: solid;
}

#sort {
    display: flex;
    flex-direction: row-reverse;
    width: 100%;
    padding: 10px;
    padding-bottom: 50px;
    gap: 10px;
}

.name {
    color: #8B5CF6;
    font-family: 'V3nomFont','sans-serif';
    font-size: clamp(1rem, 2vw + 0.5rem, 5rem);
    padding: 10px;
    padding-bottom: 0;
}

.role {
    color: #F4F0FF;
    padding-top: 0;
    margin-top: 0;
    transform: translateY(clamp(-10px, -15px, -20px));
    font-family: 'EsportsFont', 'sans-serif';
    font-size: clamp(0.5rem, 1vw + 0.25rem, 2.5rem);
    margin-bottom: 0;
}

.splitter {
    height: clamp(0.125rem, 0.25vw + 0.0625rem, 1.25rem);
    background-color: #35234A;
    border-radius: 50px;
    width: clamp(0.75vw, 7vw + 3rem, 10vw);
    transform: translateY('-6');
    margin-top: 0;
}

.stats {
    color: #F4F0FF;
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-family: 'EsportsFont', 'sans-serif';
    gap: 10px;
}

.stats_right {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.stats_left {
    display: flex;
    flex-direction: column;
}

.sort_button {
    background-color: transparent;
    color: #F4F0FF;
    padding: 10px;
    border-radius: 10px;
    border-width: 2px;
    border-color: #8B5CF6;
    border-style: solid;
    animation: appear 0.4s;
    animation-delay: 0.25s;
    animation-timing-function: ease-out;
    animation-fill-mode: both;
}

.sort_button:hover {
    background-color: #8B5CF6;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.6);
}

.sort_button.active {
    background-color: #8B5CF6;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.6);
}

.fn_tracker_link{
    color: #8B5CF6;
}

#card1 {
    animation: appear 0.5s;
    animation-delay: 0.4s;
    animation-timing-function: ease-out;
    animation-fill-mode: both;
}

#card2 {
    animation: appear 0.5s;
    animation-delay: 0.52s;
    animation-timing-function: ease-out;
    animation-fill-mode: both;
}

#card3 {
    animation: appear 0.5s;
    animation-delay: 0.64s;
    animation-timing-function: ease-out;
    animation-fill-mode: both;
}

#card4 {
    animation: appear 0.5s;
    animation-delay: 0.76s;
    animation-timing-function: ease-out;
    animation-fill-mode: both;
}

#about_sentence {
    font-family: 'EsportsFont','sans-serif';
    color: #B7A9CC;
    font-size: clamp(10px, 18px, 26px);
    line-height: 1.5;
    width: clamp(280px, 80%, 700px);
    padding-left: 20px;
    padding-right: 20px;
    animation: appear 0.6s;
    animation-delay: 0.4s;
    animation-timing-function: ease-out;
    animation-fill-mode: both;
}

#about_line {
    animation: appear 0.4s;
    animation-delay: 0.3s;
    animation-timing-function: ease-out;
    animation-fill-mode: both;
}

#results {
    padding-top: 15px;
}
