/* Web Fonts -------------------- */

@font-face {
  font-family: 'Oswald', sans-serif;
}

/* Base Styles -------------------- */

* {
  box-sizing: border-box;
}

body {
  color: #878787;
  background-color: #3b3d3f;
  margin: 0;
  font: 1em/1.5 "Helvetica Neue", Helvetica, Arial, sans-serif;
}

h1, h2 {
  font-family: 'Oswald', Helvetica, Arial, sans-serif;
}

h1 {
  font-size: 5.625rem; /* 90px/16px  */
  color: rgba(255, 255, 255, 1);
  text-transform: uppercase;
  font-weight: normal;
  line-height: 1.3;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .8);
  margin: 12px 0 0;
}

h2 {
  color: #F1B82D;
  font-size: 3.3125em; /* 53px/16px  */
  font-weight: normal;
  line-height: 1.1;
  margin: 0 0 .5em; /* 0 0 26px */
  padding-top: 20px;
}

h3 {
  font-size: 1.25em; /* 20px/16px  */
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1.7em; /* 34px */
}

img {
  max-width: 100%;
  margin-bottom: 20px;
  border-radius: 10px;
}

ul,
ol {
  margin: 30px 0;
}

li {
  margin-bottom: 10px;
}

span {
  color: #fff;
}

/* Pseudo-classes ------------------ */

.main-content a:link {
  color: #F1B82D;
  text-decoration: none;
}

.main-content a:visited {
  color: #c49523;
}

.main-content a:hover {
  color: #fff;
}

.main-content a:active {
  color: #ccc;
}

.main-footer a:link {
  color: #000;
  text-decoration: none;
}

.main-footer a:hover {
  color: #2b2a2b;
}

.main-footer a:active {
  color: #c49523;
}

/* Navigation Bar ------------------ */

header {
  background-color: #000;
}

.container {
  width: 100%;
  margin: 0 auto;
}

.logo-div {
  display: inline-block;
  margin: auto;
}

.logo {
  width: 300px;
  height: auto;
}

nav {
  float: right;
}

nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

nav ul li {
  display: inline-block;
  margin: 0 70px 0px 35px;
  padding-top: 90px;

  position: relative;
}

nav ul li a {
  color: #F1B82D;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 25px;
}

nav ul li a:hover {
  color: #c49523;
}

nav ul li a::before {
  content: '';
  display: block;
  height: 5px;
  background-color: #F1B82D;

  position: absolute;
  top: 0;
  width: 0%;

  transition: all ease-in-out 250ms;
}

nav ul li a:hover::before {
  width: 100%;
}

.current {
  color: #fff;
}

.toggle {
  width: 100%;
  padding: 10px 20px;
  text-align: right;
  box-sizing: border-box;
  color: #F1B82D;
  font-size: 30px;
  display: none;
}

/* Main Styles --------------------- */

.main-header {
  padding-top: 170px;
  height: 850px;
  background: linear-gradient(#F1B82D, transparent 90%),
              linear-gradient(0deg, #3b3d3f, transparent),
              #ffa949 url('../img/mizzou-campus.jpg') no-repeat center;

  background-size: cover;
}

.main-header-events {
  padding-top: 170px;
  height: 850px;
  background: linear-gradient(#F1B82D, transparent 90%),
              linear-gradient(0deg, #3b3d3f, transparent),
              #ffa949 url('../img/large-tournament.jpg') no-repeat center;

  background-size: cover;
}

.main-header-members {
  padding-top: 170px;
  height: 850px;
  background: linear-gradient(#F1B82D, transparent 90%),
              linear-gradient(0deg, #3b3d3f, transparent),
              #ffa949 url('../img/mizzou-tiger-background.jpg') no-repeat center;

  background-size: cover;
}

.main-header-contact {
  padding-top: 170px;
  height: 850px;
  background: linear-gradient(#F1B82D, transparent 90%),
              linear-gradient(0deg, #3b3d3f, transparent),
              #ffa949 url('../img/contact-background.jpg') no-repeat center;

  background-size: cover;
}

.title {
  color: white;
  font-size: 1.625rem; /* 26px/16px */
  text-transform: capitalize;
  letter-spacing: .065em;
  font-weight: 200;
  border-bottom: 2px solid;
  padding-bottom: 10px;
}

.intro {
  font-size: 1.25em; /* 20px/16px */
  line-height: 1.6;
}

.primary-content,
.main-header,
.main-header-events,
.main-header-members,
.main-header-contact,
.main-footer {
  text-align: center;
}

.primary-content {
	padding-top: 25px;
  padding-bottom: 95px;
}

.secondary-content {
	padding-top: 80px;
	padding-bottom: 70px;
}

.callout {
  font-size: 1.25em;
  text-transform: capitalize;
  border-bottom: 3px solid;
  padding: 0 9px 3px;
  margin-top: 20px;
  display: inline-block;
}

.t-border {
  border-top: 2px solid #dfe2e6;
}

/* Layout Styles ------------------ */

.primary-content,
.secondary-content {
  width: 75%;
  padding-left: 50px;
  padding-right: 50px;
  margin: auto;
  max-width: 960px;
}

.ultimate-pr-background {
  text-align: center;
  height: auto;
  background: #ffa949 url('../img/super-smash-bros-ultimate-background.jpg') no-repeat center;
  background-size: cover;
}

.melee-pr-background {
  text-align: center;
  height: auto;
  background: #ffa949 url('../img/super-smash-bros-melee-background.jpg') no-repeat center;
  background-size: cover;
  border-bottom: 2px solid #fff;
}

.pr-heading {
  padding: 20px 15px 30px 15px;
  text-align: center;
  color: #fff;
  font-size: 1.25em;
}

.second-tenth-grid {
  display: flex;                       /* establish flex container */
  flex-wrap: wrap;                     /* enable flex items to wrap */
  justify-content: space-around;
}

.second-tenth-ultimate {
  flex: 0 0 30%;                       /* don't grow, don't shrink, width */
  width: 100%;
  height: auto;
}

.second-tenth-melee {
  flex: 0 0 20%;                       /* don't grow, don't shrink, width */
  width: 100%;
  height: auto;
}

.pr-banner {
  color: #000;
  text-align: left;
  padding: 18% 24%;
  border-top: 10px solid #F1B82D;
  margin: 105px 0 60px;
  background: #434a52 url('../img/super-smash-bros-logo-pr.jpg') no-repeat center;
  background-size: cover;
  box-shadow: inset 0 0 50px 10px rgba(0, 0, 0, .8);

  border-radius: 10px;
}

.pr-season {
  background-color: #fff;
  color: #000;
  text-align: center;
  padding-top: 25px;
  padding-bottom: 95px;
  width: 100%;
  padding-left: 50px;
  padding-right: 50px;
  margin: auto;
}

.pr-season-intro {
  max-width: 960px;
  margin: auto;
  font-size: 1.25em;
}

.pr-heading-intro {
  text-shadow:
   -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
     1px 1px 0 #000;
}

.amateurs-pr {
  text-align: center;
  width: 75%;
  padding: 20px 50px;
  margin: auto;
  max-width: 960px;
}

.arrow {
  width: 50px;
  margin-top: 150px;
}

.pr-link {
  text-align: center;
}

/* Floated Columns ------------------ */

.right-side,
.left-side {
  width: 46.5%;
}

.left-side {
  float: left;
}

.right-side {
  float: right;
}

.locations {
  width: 400px;
  height: 300px;
  object-fit: cover;
}

.game-logos {
  position: relative;
  width: 350px;
  height: 175px;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Main Footer -------------------- */

.footer-container {
  text-align: center;
  background-color: #F1B82D;
}

.main-footer {
  padding: 60px 0;
  margin-left: 0;
  text-align: center;
  display: inline-block;
}

.main-footer ul {
  float: none;
  margin-right: 80px;
}

.main-footer ul li {
  list-style: none;
  display: inline-block;
  padding-top: 40px;
}

.main-footer ul li:first-child {
  padding-left: 40px;
}

.main-footer ul li a {
  width: 80px;
  height: 80px;
  background: #fff;
  text-align: center;
  line-height: 80px;
  font-size: 35px;
  margin: 0 10px;
  display: block;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  border: 3px solid #fff;
  z-index: 1;
}

.main-footer ul li a .fab {
  position: relative;
  color: #262626;
  transition: .5s;
}

.main-footer ul li a:hover .fab {
  color: #fff;
  transform: rotateY(360deg);
}

.main-footer ul li a:before {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: #f00;
  transition: .5s;
  z-index: 2;
}

.main-footer ul li a:hover:before {
  top: 0;
}

.main-footer ul li:nth-child(1) a:before {
  background: #3b5998;
}

.main-footer ul li:nth-child(2) a:before {
  background: #55acee;
}

.main-footer ul li:nth-child(3) a:before {
  background: #6441a4;
}

.main-footer ul li:nth-child(4) a:before {
  background: #b31217;
}

.to-top {
  text-align: center;
  color: #000;
}

/* Float Clearfix ------------------ */

.group:after {
  content: "";
  display: table;
  clear: both;
}

/* Media Queries ------------------- */

@media (max-width: 1170px) {
  .logo {
    width: 250px;
    height: auto;
  }
  nav ul li a {
    font-size: 20px;
  }
}

@media (max-width: 1036px) {

  /* Main Navbar */

  header {
    background-color: #000;
  }
  .container {
    width: 100%;
    margin: 0 auto;
  }
  .logo-div {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 250px;
    height: auto;
  }
  nav {
    float: none;
  }

  nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
  }

  nav ul li {
    display: inline;
  }

  nav ul li a {
    color: #F1B82D;
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 20px;
    margin-bottom: 30px;
  }

  nav ul li a:hover {
    color: #c49523;
  }

  nav ul li a::before {
    content: '';
    display: none;
    height: 5px;
    background-color: #F1B82D;

    position: absolute;
    top: 0;
    width: 0%;

    transition: all ease-in-out 250ms;
  }

  nav ul li a:hover::before {
    width: 100%;
  }
}

@media (max-width: 1024px) {
  .primary-content,
  .secondary-content,
  .amateurs-pr {
    width: 90%;
  }
}

@media (max-width: 786px) {
  h2 {
    font-size: 2.25em;
  }
  .primary-content,
  .secondary-content,
  .amateurs-pr {
    width: 100%;
    padding: 20px;
    border-top: none;
  }
  .main-header,
  .main-header-events,
  .main-header-members,
  .main-header-contact {
    max-height: 380px;
    padding: 50px 25px 0;
  }
  .title {
    font-size: 1.3rem;
    border: none;
  }
  h1 {
    font-size: 5rem;
    line-height: 1.1;
  }
  h3 {
    text-align: center;
  }
  .arrow {
    display: none;
  }
  .intro {
    font-size: 1rem;
  }
  .right-side,
  .left-side {
    float: none;
    width: 100%;
  }
  .locations {
    float: none;
    width: 100%;
    margin-top: 50px;
  }
  .game-logos
  {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 60%;
    height: auto;
  }
  .ultimate-pr {
    width: 60%;
    margin-left: auto;
    margin-right: auto;
  }
  .melee-pr {
    width: 60%;
    margin-left: auto;
    margin-right: auto;
  }
  .honorable-mention {
    width: 30%;
    margin-left: auto;
    margin-right: auto;
  }
  /* Main Navbar */

  .toggle {
    display: block;
    text-align: right;
    margin: 0;
  }
  nav {
    width: 100%;
  }
  nav ul {
    width: 100%;
    display: none;
  }
  nav ul li {
    display: block;
    position: relative;
    text-align: center;
    padding: 0;
    margin: 0;
    border-bottom: 2px solid #F1B82D;
  }
  nav ul li:first-child {
    border-top: 2px solid #F1B82D;
  }
  nav ul li:active {
    background-color: #F1B82D;
    color: #000;
  }
  nav ul li a {
    padding: 20px 10px 10px 10px;
    margin: 10px;
    display: block;
  }
  nav ul li a::before {
    content: '';
    display: none;
    height: 5px;
    background-color: #F1B82D;

    position: absolute;
    top: 0;
    width: 0%;

    transition: all ease-in-out 250ms;
  }

  nav ul li a:hover::before {
    width: 100%;
    display: none;
  }
  .active {
    display: block;
    width: 100%;
  }

  /* Main Footer */

  .main-footer ul {
    float: none;
    margin-right: 20px;
    padding: 0;
  }
  .main-footer ul li:first-child {
    padding-left: 10px;
  }
  .main-footer ul li a {
    width: 72px;
    height: 72px;
    background: #fff;
    text-align: center;
    line-height: 72px;
    font-size: 25px;
    margin: 0 5px;
    display: block;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    border: 3px solid #fff;
    z-index: 1;
  }

}
