/*
CSS Table of Contents
1. Variables
2. Imports
3. Global Styles
4. Header
5. Content
6. Footer
7. Media Queries
*/

/* Variables */
:root {
    --primary: #EB7803;
    --secondary: #22418A;
    --dark: #001145;
    --darkest: #000717;
    --med: #aaa;
    --grey: #D9D9D9;
    --font: 'Lato', sans-serif;

    --titanium-gradient: linear-gradient(135deg,rgba(126, 124, 124, 1) 0%, rgba(204, 200, 200, 1) 37%, rgba(209, 205, 205, 1) 60%, rgba(126, 124, 124, 1) 100%);
    --platinum-gradient: linear-gradient(135deg,rgba(234, 234, 234, 1) 0%, rgba(240, 240, 240, 1) 60%, rgba(252, 252, 252, 1) 77%, rgba(209, 209, 209, 1) 87%, rgba(204, 204, 204, 1) 100%);
    --gold-gradient: linear-gradient(135deg,rgba(209, 193, 139, 1) 0%, rgba(255, 246, 216, 1) 50%, rgba(167, 154, 109, 1) 100%);
    --silver-gradient: linear-gradient(135deg,rgba(190, 190, 190, 1) 0%, rgba(255, 255, 255, 1) 50%, rgba(128, 128, 128, 1) 100%);
    --bronze-gradient: linear-gradient(135deg,rgba(209, 154, 101, 1) 0%, rgba(239, 185, 121, 1) 50%, rgba(101, 71, 40, 1) 100%);
    --friend-gradient: linear-gradient(135deg,rgba(34, 65, 138, 1) 0%, rgba(162, 188, 248, 1) 50%, rgba(34, 65, 138, 1) 100%);

    --titanium-fallback: #7E7C7C;
    --platinum-fallback: #EAEAEA;
    --gold-fallback: #D1C18B;
    --silver-fallback: #BEBEBE;
    --bronze-fallback: #D19A65;
    --friend-fallback: #22418A;
}

/* Imports */

/* Global Styles */
* {
    border: 0;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--secondary);
    background: linear-gradient(90deg, var(--secondary), var(--darkest), var(--secondary));
    color: #fff;
    font-family: var(--font);
    font-size: 18px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #fff;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.container {
    margin: auto;
    max-width: 980px;
}

img {
    max-width: 100%;
    display: block;
}

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

a:hover {
    opacity: 0.7;
}

.btn {
    background-color: var(--primary);
    border-radius: 30px;
    color: #fff;
    display: inline-block;
    font-size: 16px;
    letter-spacing: 2px;
    padding: 7px 20px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}

.flex-row {
    display: flex;
}

.flex-row-centered {
    align-items: center;
    justify-content: space-between;
}

.flex-row-centered-both {
    align-items: center;
    justify-content: center;
}

.mb-2 {
    margin-bottom: 20px;
}

/* Header */
header {
    background-color: #fff;
    padding: 35px;
    position: relative;
    z-index: 2;
}

.logo {
    max-width: 75%;
}

/* Content */
.wrapper {
    padding-bottom: 100px;
    position: relative;
}

.wrapper:after {
    background-image: url("/images/bg-bokeh.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    opacity: 0.5;
    content: "";
    display: block;
    position: fixed;
    z-index: 1;
    height: 100%;
    top: 0;
    width: 100%;
}

.wrapper > .container {
    position: relative;
    z-index: 3;
}

.faux-wrapper {
    background-color: var(--secondary);
}

.main-block {
    background-color: transparent;
    padding: 50px;
    text-align: center;
}

.main-block section p {
    margin: auto;
    max-width: 880px;
}

.main-block section p:not(:last-child) {
    margin-bottom: 25px;
}

.image-row img {
    box-sizing: border-box;
    height: 300px;
    width: 100%;
    object-fit: cover;
    padding: 10px;
}

.image-lg {
    flex: 8;
}

.image-sm {
    flex: 5;
}

.title {
    display: block;
    font-size: 40px;
    margin-bottom: 35px;
}

.title:after {
    background-color: var(--primary);
    content: '';
    display: block;
    height: 2px;
    margin-top: 10px;
    margin: auto;
    width: 150px;
}

h2 {
    font-size: 25px;
    margin-bottom: 30px;
}

h3 {
    font-size: 20px;
/*    margin-bottom: 18px;*/
    margin-bottom: 30px;
}

h3:not(:first-child):not(:nth-child(2)) {
    margin-top: 50px;
}

h4 {
    font-size: 18px;
    margin-bottom: 15px;
}

section {
    margin-bottom: 50px;
}

section:not(.image-row):after {
    background-color: var(--grey);
    content: '';
    display: block;
    height: 2px;
    margin: auto;
    margin-top: 50px;
    max-width: 80%;
    width: 480px;
}

.sponsor-box {
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
    position: relative;
    width: auto;
}

.sponsor-box-inner {
    background-color: #fff;
    border-radius: 22px;
    color: var(--med);
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    height: 100%;
    justify-content: center;
    padding: 15px 20px;
}

.level-titanium {
    background: var(--titanium-fallback);
    background: var(--titanium-gradient);
}

.level-platinum {
    background: var(--platinum-fallback);
    background: var(--platinum-gradient);
}

.level-gold {
    background: var(--gold-fallback);
    background: var(--gold-gradient);
}

.level-silver {
    background: var(--silver-fallback);
    background: var(--silver-gradient);
}

.level-bronze {
    background: var(--bronze-fallback);
    background: var(--bronze-gradient);
}

.level-friend {
    background: var(--friend-fallback);
    background: var(--friend-gradient);
}

.sparkle {
    left: 0;
    position: absolute;
    top: -10px;
}

.sparkle-sm {
    top: -2px;
    width: 20px;
}

.sponsors {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.sponsors > a {
    margin-bottom: 50px;
}

.sponsors > a:not(:last-child) {
    margin-right: 50px;
}

.headshot-img {
    aspect-ratio: 1/1;
    border: 2px solid var(--grey);
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
}

/* Footer */
footer {
    background-color: transparent;
    color: #fff;
    padding: 30px;
    position: relative;
    z-index: 2;
}

.copyright {
    font-size: 14px;
}

.socials {
    align-items: center;
    display: flex;
}

.social-link {
    align-items: center;
    border-radius: 30px;
    box-sizing: border-box;
    color: #fff;
    display: flex;
    font-size: 30px;
    height: 54px;
    justify-content: center;
    margin: 5px;
    padding: 7px;
    width: 54px;
}

.social-link.social-insta {
    background-color: #FF29CE;
}

.social-link.social-face {
    background-color: #0061C3;
}

.social-link.social-twit {
    background-color: #000000;
    outline: 1px solid #fff;
}

/* Media Queries */
@media screen and (max-width: 767px) {
    header {
        padding: 10px;
    }

    .logo {
        max-width: 100%;
        margin-bottom: 10px;
    }

    .flex-row:not(.image-row) {
        flex-direction: column;
    }

    .image-row img {
        height: 175px;
    }

    .main-block {
        padding: 15px 15px 50px 15px;
    }

    .copyright {
        margin-bottom: 20px;
    }
}