* {
    font-family: 'Kanit', sans-serif;
    font-weight: 400;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    position: relative;
    background-color: var(--sacBlue);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

:root {
    --sacBlue: #00153E;
    --sacBlue2: #003366;

    --sacRed: #C4083D;
    --sacRedHover: rgba(196, 8, 61, 0.74);
    --sacRed2: #F00A4B;

    --sacGray: #cccccc;
    --sacGray2: #E1E1E1;
    --sacBlack: #1A1A1A;

    --sacButtonBlue: #52E5FC;
    --sacButtonBlueHover: rgba(82, 229, 252, 0.71);
}

a {
    color: var(--sacGray2);
    text-decoration: none;
}

h1, h2 {
    font-family: 'Kanit', sans-serif;
    font-weight: 700;
}

/* header */

header {
    padding-top: 25px;
    position: relative;
    display: flex;
    justify-content: center;
}

.header-content-wrapper.lg {
    height: 75vh;
}

.header-content-wrapper.md {
    height: 50vh;
}

.header-content-wrapper.sm {
    height: 25vh;
}

.header-content-wrapper {
    margin: 0 25px;
    max-width: 1200px;
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    min-height: 475px;
    max-height: 650px;
}

.header-top {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
}

.header-sac-logo-link {
    text-decoration: none;
}

.header-sac-logo {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.header-sac-logo img {
    width: 150px;
    margin-right: 5px;
}

.power-by-ipl img {
    width: 300px;
    margin-right: 5px;
}

.header-socials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    text-align: center;
    font-size: 25px;
}

.header-battlefy i {
    font-size: 35px;
    display: block;
    margin-top: -7px;
}

.header-socials * {
    height: 35px;
    width: 35px;
}

.header-image {
    background-size: cover;
    background-position: center center;
    width: 100%;
    height: 100%;
    top: 0; left: 0;
    position: absolute;
    z-index: -5;
}

.header-image::after {
    content: "";
    position: absolute;
    width: 100%; height: 100%;
    top: 0; left: 0;
    /*background-color: var(--sacBlue);*/
}

.patient-video {
    opacity: 0;
}

.header-text-wrapper {
    display: flex;
    justify-content: center;
    flex-direction: column;
    flex-grow: 1;
}

.site-header {
    position: relative;
    padding-top: 0;
}

.site-header video {
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
    z-index: 0;
    background-color: var(--sacBlue);
}

.header-content {
    z-index: 1;
    position: relative;
}

.big-sac-text {
    font-family: 'Kanit', sans-serif;
    font-weight: 700;
    font-size: 2em;
    line-height: 100%;
}

.header-big-text {
    font-size: 3em;
    color: var(--sacGray);
    height: fit-content;
    margin-top: -25px;
}

.header-cta {
    margin-top: 25px;
}

.socials-nav-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    border-radius: 2px;
}

.header-nav {
    margin-right: 15px;
}

.header-nav a {
    text-decoration: none;
    color: var(--sacGray);
    margin-right: 5px;
    font-size: 1.25em;
    font-weight: 800;
    transition-duration: 100ms;
    border-radius: 2px;
    padding: 5px 10px;
}

.header-nav a:hover {
    background-color: var(--sacRedHover);
}

@media (max-width: 1000px) {
    .header-big-text {
        font-size: 6vw;
    }

    .big-ipl-text {
        font-size: 1.5em;
    }
}

.mobile-menu-btn {
    display: none;
    color: var(--sacGray);
    font-size: 2em;
    margin-right: 5px;
    cursor: pointer;
}

@media (max-width: 800px) {
    :root {
        --headerIconColor: white;
        --iplNavHover: rgba(255, 255, 255, 0.10);
    }

    .socials-nav-wrapper[aria-expanded="false"] {
        opacity: 0;
        visibility: hidden;
    }

    .socials-nav-wrapper {
        position: absolute;
        top: 125px;
        right: -5px;
        background:rgba(34, 34, 34, 0.95);
        flex-direction: column;
        align-items: center;
        padding: 5px;
        opacity: 1;
        transition-duration: 100ms;
        border-radius: 8px;
    }

    .header-nav {
        margin-right: 0;
        display: flex;
        flex-direction: column;
        text-align: center;
        font-size: 1.2em;
    }

    .header-nav a {
        margin: 3px 5px;
        padding: 0 10px;
        color: white;
    }

    .header-socials {
        margin-top: 8px;
        font-size: 30px;
    }

    .header-battlefy i {
        font-size: 42px;
        margin-top: -10px;
    }

    .header-socials * {
        height: 45px;
        width: 45px;
    }

    .mobile-menu-btn {
        display: unset;
    }

}

@media (max-width: 650px) {
    .header-content-wrapper {
        min-height: 400px;
        max-height: 500px;
    }

    .header-content-wrapper.md {
        min-height: 250px;
        height: 250px;
    }

    .header-content-wrapper.sm {
        min-height: 200px;
        height: 200px;
    }
}

@media (max-width: 425px) {
    .socials-nav-wrapper {
        width: 100%;
        height: 200px;
        padding-top: 145px;
        top: -25px;
        z-index: 9;
        right: 0;
        border-radius: 0;
    }

    .header-content-wrapper {
        margin: 0;
        min-height: 300px;
        max-height: 400px;
    }

    .mobile-menu-btn {
        z-index: 10;
        margin-right: 25px;
    }

    .mobile-menu-btn.menu-expanded {
        color: white;
        transition-duration: 100ms;
    }

    .header-sac-logo div.menu-expanded {
        color: white;
        transition-duration: 100ms;
    }

    .header-sac-logo-link {
        z-index: 10;
        margin-left: 15px;
    }

    .header-text-wrapper {
        margin: 0 10px;
    }
}

@media (max-width: 375px) {
    .header-sac-logo div {
        font-size: 6vw;
    }

    .header-sac-logo img {
        width: 22vw;
        height: 22vw;
    }

    .header-sac-logo img {
        width: 44vw;
    }
}

/* Icon colours */

.header-youtube:hover {
    color: #FF0000;
}

.header-twitter:hover {
    color: #1DA1F2;
}

.twitter-solid {
    color: #1DA1F2;
}

.header-discord:hover {
    color: #7289DA;
}

.header-battlefy:hover{
    color: #dd4b5e;
}

.header-twitch:hover {
    color: #9146FF;
}


.header-icon {
    color: var(--sacGray);
    transition-duration: 100ms;
    border-radius: 2px;
}

.header-icon:hover {
    background-color: var(--iplNavHover);
}

/* Who are we? */

.no-margin {
    margin: 0 !important;
}

.intro-text {
    margin-right: 10px;
}

.intro-text h2 {
    margin: 0;
}

.intro-text h3 {
    margin: 0;
}


.intro-text p {
    font-size: 1.35em;
    margin-bottom: 5px;
}

/* Button styles */

a.link-button.btn-red {
    background-color: var(--sacRed);
}

a.link-button.btn-red:hover {
    background-color: var(--sacRedHover);
}

a.link-button.btn-blue {
    background-color: var(--sacButtonBlue);
    color: var(--sacBlack);
}

a.link-button.btn-blue:hover {
    background-color: var(--sacButtonBlueHover);
    color: var(--sacBlack);
}

a.link-button.btn-grey {
    background-color: var(--sacGray);
    color: var(--sacBlack);
}

a.link-button.btn-grey:hover {
    background-color: var(--sacGray2);
    color: var(--sacBlack);
}


a.link-button {
    background-color: var(--sacGray);
    color: white;
    padding: 15px;
    border-radius: 3px;
    text-decoration: none;
    transition-duration: 100ms;
    display: inline-block;
    margin: 3px;
}

a.link-button:hover {
    background-color: black;
}

a.link-button-border {
    background-color: transparent;
    border: 3px solid var(--sacGray);
    color: var(--sacGray);
    padding: 12px;
}

a.link-button-border:hover {
    background-color: var(--sacGray2);
    color: var(--sacBlack);
}

/* Misc. utility styles */

.bg-sac-1 {
    background-color: var(--sacBlack);
}

.bg-sac-2 {
    background-color: var(--sacBlue);
}

.section {
    margin: 25px;
    padding: 15px 30px;
    position: relative;
}

.section .link-button {
    margin: 10px 0 5px 0;
}

h2 {
    margin: 15px;
    font-size: 3em;
}

h3 {
    margin: 15px;
    font-size: 2em;
}

h4 {
    margin: 15px 5px;
}

h1, h2, h3, h4, h5, p {
    color: var(--sacGray);
}

@media (max-width: 576px) {
    .section {
        margin: 5px;
        padding: 15px;
    }
}

@media (max-width: 425px) {
    h2 {
        font-size: 2.5em;
    }

    h3 {
        font-size: 1.5em;
    }
}

.redirect {
    display: flex;
    justify-content: center;
}

/* Footer */

footer {
    background-color: var(--sacBlack);
    position: relative;
    text-align: center;
    bottom: 0;
    color: var(--sacBlack);
    width: 100%;
    padding: 2rem 0;
    flex-shrink: 0;
}

.page-wrapper {
    flex: 1 0 auto;
}

footer h4 {
    margin: 0 5px;
}

.padding-space{
    padding: 1.5rem;
}

.page-content {
    flex-grow: 1;
}

span.link-separator {
    margin: 0 5px;
}

/* Wrapper to prevent stuff from getting too wide */

.width-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}


td {
    color: var(--sacGray);
}

th {
    color: var(--sacGray);
    font-weight: bold;
}
