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

/* Variables */
:root {
    --primary: #c7a93a;
    --secondary: #072772;
    --dark: #071129;
    --darkest: #020a1d;
    --grey: #D9D9D9;
    --light: #f2f2f2;
    --font-primary: 'arial', sans-serif;
    --font-secondary: 'minion-pro', serif;
}

/* Imports */

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

html {
    scroll-behavior: smooth;
}

body {
    color: var(--dark);
    font-family: var(--font-primary);
    font-size: 16px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--secondary);
    font-family: var(--font-secondary);
    font-weight: 700;
    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;
}

ul {
    margin: auto;
    max-width: 500px;
    padding-left: 20px;
    text-align: left;
}

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

.flex-row {
    display: flex;
    gap: 20px;
}

.flex-row-even {
    > * {
        flex: 1;
    }
}

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

.flex-row-centered-h {
    justify-content: center;
}

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

.mb-1 {
    margin-bottom: 10px;
}

.mt-1 {
    margin-top: 10px !important;
}

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

.mt-2 {
    margin-top: 20px !important;
}

.text-primary {
    color: var(--primary);
}

.text-secondary {
    color: var(--secondary);
}

.font-secondary {
    font-family: var(--font-secondary);
    font-weight: 500;
}

.mw-100 {
    max-width: 100%;
}

/* Header */
header {
    background-color: var(--darkest);
    padding: 35px;
}

.logo {
    max-width: 75%;
}

/* Content */
.wrapper {
    background-color: var(--dark);
    background: linear-gradient(0deg, var(--dark), var(--darkest));
}

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

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

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

.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: 28px;
    margin-bottom: 30px;
}

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

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;
}

.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;
}

.video {
    margin-bottom: -7px;
    max-width: 100%;
    width: 100%;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: #fff;
    padding: 30px;
}

.copyright {
    font-size: 14px;
}

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

.social-link {
    align-items: center;
    background-color: var(--dark);
    border-radius: 30px;
    box-sizing: border-box;
    display: flex;
    height: 40px;
    justify-content: center;
    margin: 5px;
    padding: 7px;
    width: 40px;
}

.sponsorship-box {
    background-color: var(--light);
    border-radius: 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: space-between;
    max-width: 430px;
    padding: 20px;
    text-align: center;
}

.sponsorship-box h3 {
    margin-bottom: 0;
}

.sponsorship-box .price {
    color: var(--primary);
    font-family: var(--font-secondary);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.sponsorship-box p {
    font-size: 14px;
}

.sponsorship-box ul {
    font-size: 14px;
    padding: 0 40px;
}

.sponsorship-box .btn {
    align-self: center;
    justify-self: flex-end;
}

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

    .logo {
        max-width: 100%;
    }

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

    .flex-row-centered-h {
        align-items: center;
    }

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

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

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