html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section {
  display: block;
}

*, *:before, *:after {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

tr, th, td, h3 {
  padding: 1em;
  text-align: left;
}

body {
  background-color: #051024;
  font-family: Verdana, Arial, sans-serif;
  line-height: 1;
}

header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  background-image: linear-gradient(to top right, #ff6600, #ffff1a);
  padding: 1em;
}

header a {
  float: left;
  margin-right: 1em;
}

main {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-wrap: wrap;
  line-height: 1.2;
}

main img {
  width: 100%;
  height: auto;
}

aside {
  padding: 3em;
  font-variant: small-caps;
}

aside a, footer p {
  color: #fff6e6;
}

aside img {
  width: 100%;
  height: auto;
}

aside .wrap {
  margin-bottom: 3em; 
}

footer {
  margin: 0;
  padding: 1em 1em 6em 1em;
}

footer li {
  margin-bottom: 0.5em;
}

footer a {
  color: #fff6e6;
}

footer p {
  margin: 0;
  font-size: 0.6em;
}

h1 {
  font-size: 1.25em;
}

h2 {
  font-size: 1.4em;
  font-weight: bold;
  color: #ffcc66;
}

h3 {
  font-size: 1.1em;
  margin-top: 0.5em;
  font-weight: bold;
}

h4 {
  margin: auto;
  margin-top: 0.5em;
}

h5 {
  margin-bottom: 0.5em;
  font-size: 1.25em;
  color: #ff8d00;
}

ol, ul {
  list-style: none;
}

p {
  margin: 0.5em 0;
  line-height: 1.3;
  font-family: Arial, Verdana, sans-serif;
  font-size: 0.9em;
}

a {
  text-decoration: none;
  color: #051024;
}

.teams {
  background-color: #ffcc66;
}

.wrapper {
  -webkit-box-flex: 75%;
  -webkit-flex: 75%;
  -ms-flex: 75%;
  flex: 75%;
  font-family: "Centurty Gothic", Tahoma, sans-serif;
}

.sub-title {
  font-size: 0.75em;
}

.links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-wrap: wrap;
  padding: 3px;
  background-color: #051024;
}

.links a {
  display: block;
  padding: 15px;
  color: #051024;
  text-align: center;
}

.links span {
  font-size: 1.5em;
  font-variant: small-caps;
}

.link-wrap {
  -webkit-box-flex: 100%;
  -webkit-flex: 100%;
  -ms-flex: 100%;
  flex: 100%;
  border: thick solid #051024;
}

.link-1 {
  background-color: #00e6ff;
}

.link-2 {
  background-color: #ff4804;
}

.link-3 {
  background-color: #2d60fd;
}

.link-4 {
  background-color: #ffcf06;
}

.link-5 {
  background-color: #ff8d00;
}

/* Hover effects */
.links .link-1, .links .link-2, .links .link-2 a, .links .link-3,
.links .link-4 {
  -webkit-transition: 0.2s ease;
  -moz-transition: 0.2s ease;
  -o-transition: 0.2s ease;
  transition: 0.2s ease;
  transition: background 0.2s, color 0.2s, border-radius 0.2s;
}

.links .link-1:hover {
  background: linear-gradient(rgba(255, 184, 0, 0.2), rgba(255, 224, 0, 0.9), rgba(255, 255, 255, 0.2));
}

.links .link-2:hover, .links .link-2:hover a {
  background: #0080ff;
  color: #c2fcff;
  border-radius: 0px 60px;
}

.links .link-3:hover {
  background: #ff7435;
  border-radius: 25px;
}

.links .link-4:hover, .link-4:hover a {
  background: #051024;
  color: #c9edf4;
  text-decoration: underline;
  text-align: right;
}

.links .link-5:hover {
  background: radial-gradient(#b2ffff, #051024);
  text-align: left;
}

#ad-logo {
  height: auto;
  width: 2em;
}

/* Media queries */
@media only screen and (min-width: 360px) {
  h1 {
    font-size: 1.5em;
  }
}

@media only screen and (min-width: 500px) {
  .link-wrap {
    -webkit-box-flex: 50%;
    -webkit-flex: 50%;
    -ms-flex: 50%;
    flex: 50%;
  }
}

@media only screen and (min-width: 700px) {
  h1 {
    font-weight: bold;
  }

  aside {
    padding: 3em 9em;
  }

  aside .wrap {
    margin-bottom: 6em; 
  }

  .wrapper {
    -webkit-box-flex: 50%;
    -webkit-flex: 50%;
    -ms-flex: 50%;
    flex: 50%;
  }

  .links {
    padding: 3em;
  }

  .links a {
    padding: 30px;
  }

  .link-wrap {
    -webkit-box-flex: 25%;
    -webkit-flex: 25%;
    -ms-flex: 25%;
    flex: 25%;
  }
}

@media only screen and (min-width: 960px) {
  aside {
    padding: 3em 12em;
  }

  .link-wrap {
    -webkit-box-flex: 33.333333%;
    -webkit-flex: 33.333333%;
    -ms-flex: 33.333333%;
    flex: 33.333333%;
  }
}

@media only screen and (min-width: 1200px) {
  aside {
    padding: 3em 18em;
  }

  aside .wrap {
    margin-bottom: 9em; 
  }

  .wrapper {
    font-size: 1.5em;
  }
}

@media only screen and (min-width: 1350px) {
  footer {
    padding: 3em 3em 9em 3em;
  }

  .link-wrap {
    -webkit-box-flex: 25%;
    -webkit-flex: 25%;
    -ms-flex: 25%;
    flex: 25%;
  }
}

@media only screen and (min-width: 1600px) {
  section {
    font-size: 1.5em;
  }

  .links {
    padding: 6em;
  }
}

@media only screen and (min-width: 1900px) {
  aside {
    padding: 3em 30em;
  }

  aside .wrap {
    margin-bottom: 12em; 
  }

  footer {
    padding: 0 6em 12em 3em;
  }

  .links a {
    padding: 50px;
  }
}

@media only screen and (min-width: 2560px) {
  .links a {
    padding: 80px;
  }
}
