@font-face{
    font-family: "Open Sans";
    src: url('OpenSans.ttf') format('woff2');
}

html {
    font-size: calc(0.9 * min(1vw, 1vh));
    scroll-behavior: smooth;
}

* {
    --darkest: rgb(24, 24, 24);
    --darker: rgb(48, 48, 48);
    --dark: rgb(72, 72, 72);
    --light: rgb(184, 184, 184);
    --lighter: rgb(208, 208, 208);
    --lightest: rgb(232, 232, 232);
    --red: rgb(225, 25, 40);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--darkest);
    color: var(--lightest);
    font-family: "Open Sans", "sans-serif";
    overflow-y: scroll;
    overflow-x: hidden;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

header {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.logo {
    color: var(--foreground);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    pointer-events: none;
}

.logo span {
    font-weight: 400;
    font-size: 18rem;
    margin: 0 2.5rem;
}
.logo img {
    height: 17rem;
    margin: -1rem;
}

.tagline {
    color: var(--lighter);
    font-size: 3.5rem;
    font-weight: 400;
    letter-spacing: 1rem;
    margin: 3rem 0;
}

@keyframes change-tagline {
    0%, 33.2%, 33.3%, 66.6%, 66.7%, 99.9%, 100% {
        opacity: 0;
        letter-spacing: -2rem;
    }
    2.5%, 30.8%, 35.8%, 64.2%, 69.2%, 97.5% {
        opacity: 1;
        letter-spacing: 1rem;
    }
    0%, 33.2%, 100% {
        content: "esports";
    }
    33.3%, 66.6% {
        content: "community";
    }
    66.7%, 99.9% {
        content: "friends";
    }
}

.special-text {
    content: "esports";
}

.special-text::after {
    display: inline;
    content: "esports";
    animation: change-tagline 10s infinite;
}

nav {
    padding: 3rem 0;
}

nav a {
    font-size: 3.5rem;
    margin: 0 2rem;
    letter-spacing: 0.5rem;
    text-decoration: none;
    color: var(--lightest);
}
nav a:hover {
    transition: 0.2s ease;
    color: var(--red);
}

.content {
    width: 80%;
    padding: 3rem;
}

.infobox {
    margin: 3rem;
    padding: 3rem;
    letter-spacing: 0.125rem;
    background-color: var(--darker);
    border-radius: 3rem;
}

.infobox br {
    margin: 3rem 0 0 0;
}

.infobox p {
    color: var(--light);
    margin: 3rem 0 0 0;
    padding: 0;
    font-size: 3rem;
}

.infobox h3 {
    color: var(--lighter);
    margin: 0 0 3rem 0;
    padding: 0;
    font-size: 3.5rem;
    font-weight: 600;
}

.infobox a {
    color: var(--lighter);
    font-weight: 600;
    text-decoration: none;
}
.infobox a:hover {
    color: var(--lightest);
    text-decoration: underline;
}

.members {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.member {
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: center;
    background-color: var(--darker);
    padding: 2rem;
    margin: 0;
    border-radius: 2rem;
    box-sizing: border-box;
    height: min-content;
}

.member:hover {
    background-color: var(--dark);
    transition: ease 0.5s;
}

.member .avatar {
    height: 10rem;
    border-radius: 2rem;
    pointer-events: none;
}

.member .nameplate {
    margin: 0 2rem;
    display: flex;
    flex-direction: column;
}

.member .name {
    color: var(--lighter);
    font-size: 3.5rem;
    font-weight: 600;
    white-space: nowrap;
}

.member .flag {
    height: 2.75rem;
    margin: 0 1rem;
    padding: 0;
    pointer-events: none;
    border-radius: 0.5rem;
}

.member .role {
    font-size: 2.75rem;
    font-weight: 600;
    color: var(--light);
}
