/*
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;
    --grey: #D9D9D9;
    --font: 'Lato', sans-serif;
}

/* Imports */

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--secondary);
    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-decoration: none;
    text-transform: uppercase;
}

.flex-row {
    display: flex;
}

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

/* Header */
header {
    background-color: #fff;
    padding: 35px;
}

.logo {
    max-width: 75%;
}

/* Content */
.wrapper {
    background-color: var(--secondary);
    background: linear-gradient(0deg, var(--dark), var(--secondary));
    padding-bottom: 100px;
}

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

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

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

.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: 18px;
    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;
    justify-content: center;
}

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

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

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

.copyright {
    font-size: 14px;
}

.social-link {
    color: #fff;
    font-size: 30px;
    padding: 7px;
    border-radius: 30px;
    margin: 5px;
    display: inline-block;
}

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

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

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

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

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