@font-face {
  font-family: 'Artico';
    src: url('index-fonts/ArticoMedium.eot');
    src: url('index-fonts/ArticoMedium.eot?#iefix') format('embedded-opentype'),
        url('index-fonts/ArticoMedium.woff2') format('woff2'),
        url('index-fonts/ArticoMedium.woff') format('woff'),
        url('index-fonts/ArticoMedium.ttf') format('truetype'),
        url('index-fonts/ArticoMedium.svg#ArticoMedium') format('svg');
    font-weight: 500;
    font-style: normal;
}

@font-face {
  font-family: 'Artico';
    src: url('index-fonts/ArticoLight.eot');
    src: url('index-fonts/ArticoLight.eot?#iefix') format('embedded-opentype'),
        url('index-fonts/ArticoLight.woff2') format('woff2'),
        url('index-fonts/ArticoLight.woff') format('woff'),
        url('index-fonts/ArticoLight.ttf') format('truetype'),
        url('index-fonts/ArticoLight.svg#ArticoLight') format('svg');
    font-weight: 300;
    font-style: normal;
}

@font-face {
  font-family: 'Artico';
    src: url('index-fonts/Artico.eot');
    src: url('index-fonts/Artico.eot?#iefix') format('embedded-opentype'),
        url('index-fonts/Artico.woff2') format('woff2'),
        url('index-fonts/Artico.woff') format('woff'),
        url('index-fonts/Artico.ttf') format('truetype'),
        url('index-fonts/Artico.svg#Artico') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
  font-family: 'Artico';
    src: url('index-fonts/ArticoBold.eot');
    src: url('index-fonts/ArticoBold.eot?#iefix') format('embedded-opentype'),
        url('index-fonts/ArticoBold.woff2') format('woff2'),
        url('index-fonts/ArticoBold.woff') format('woff'),
        url('index-fonts/ArticoBold.ttf') format('truetype'),
        url('index-fonts/ArticoBold.svg#ArticoBold') format('svg');
    font-weight: bold;
    font-style: normal;
}

body {
  font-family: Artico;
  background: black;
}

a, a:visited {
  color: white;
  text-decoration: none;
}

a:hover {
  color: #fac15e;
}

nav {
  display: flex;
  flex-wrap: nowrap;
  height: 60px;
  background: black;
}

nav .sm {
  display: none;
}

nav .right {
  margin-right: 32px;
  margin-left: auto;
}

nav ul {
  list-style-type: none;
  margin: 0; padding: 0;
}

nav li {
  display: inline;
  margin-left: 32px;
  height: 100%;
  line-height: 60px;
}

nav li a {
  color: white;
  text-decoration: none;
  font-size: 18px;
}

@media screen and (max-width: 550px) {

  nav {
    justify-content: center;
  }

  nav li a {
    font-size: 1rem;
  }

  nav li {
    margin: 0 8px;
  }

  nav .right {
    margin: 0;
  }
  nav .sm {
    display: inline;
  }
  nav .lg {
    display: none;
  }
}

header {
  position: relative;
  background: url('index-images/header.jpg') top center no-repeat;
  background-size: cover;
  min-height: 890px;
  height: 95vh;
}

header img {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 1120px;
}

header iframe.hide {
  display: none;
}

header iframe {
  display: block;
  margin: 2rem auto 0 auto;
  max-width: 420px;
  width: calc(100vw - 50px);
}

header .action {
  display: flex;
  margin-left: 2rem;
  flex-direction: column;
  width: max-content;
}

header .action span {
  display: block;
  color: #212529;
  text-shadow : -3px -3px 15px white;
}

header .action span:nth-of-type(1) {
  font-size: 2.2rem;
  font-weight: 300;
}

header .action span:nth-of-type(2) {
 font-size: 3.2rem; 
 font-weight: 500;
}

@media screen and (max-width: 768px) {
  header .action {
    margin: 5rem auto 0 auto;
  }
}

@media screen and (max-width: 425px) {
  header .action span:nth-of-type(1) {
   font-size: 1.8rem;
  }
  header .action span:nth-of-type(2) {
   font-size: 2.8rem;
  }
}

button {
  border: 3px solid black;
  border-radius: 5rem;
  font-size: 1.4rem;
  font-weight: 600;
  text-shadow: 1px 1px 1px rgba(255, 255, 255, 1);
  background: #e99400;
  background: linear-gradient(90deg, rgba(233, 148, 0, 1) 0%, rgba(255, 206, 121, 1) 100%);
  transition: all 0.5s ease;
}

button a, button a:hover {
  display: block;
  padding: 1.25rem 1.875rem;
  color: black;
  text-decoration: none;
}

button:hover {
  color: black;
  box-shadow: 0px 0px 18px 3px rgba(0,0,0,0.5);
}

button.dark-bg:hover {
  box-shadow: 0px 0px 18px 3px rgba(255,255,255,0.5);
}

@media screen and (max-width: 425px) {
  button {
    font-size: 0.8rem;
  }
}

section.tagline {
  background: #9B9B9B;
  min-height: 175px;
  display: flex;
}

section.tagline .left {
  background: #9B9B9B;
}

section.tagline img {
  display: block;
  margin: 0 auto;
  max-width: 225px;
}

section.tagline .right {
  display: flex;
  flex-direction: column;
  background: #3D3D3D;
  width: 100%;

  --padding: calc(100vw * 0.05255211763);

  clip-path: polygon(
    calc(var(--padding) * 2)  0%, 
    100% 0%, 
    100% 100%, 
    0% 100% );

  -webkit-clip-path: polygon(
    calc(var(--padding) * 2)  0%, 
    100% 0%, 
    100% 100%, 
    0% 100% );

  padding-left: calc(var(--padding) * 2);
  padding-right: 2rem;
}

section.tagline p {
  margin: auto;
}

section span {
  display: block;
}

section span:nth-of-type(1) {
  color: white;
  font-size: 2.5rem;
  font-weight: 300;
}

section span:nth-of-type(2) {
  font-size: 4.5rem;
  font-weight: 600;
  color: #feb331;
}

@media screen and (max-width: 1125px) {
 section span:nth-of-type(1) {
  font-size: 2rem;
 }
 section span:nth-of-type(2) {
  font-size: 3.5rem;
 }
}

@media screen and (max-width: 600px) {
  section.tagline {
    flex-direction: column;
  }
  section.tagline .right {
    clip-path: none;
    -webkit-clip-path: none;
    text-align: center;
    padding: 1rem 0;
  }
  section.tagline .left {
    padding: 1rem 0;
  }
}

.thumbs {
  display: flex;
  background: #3D3D3D;
}

.thumbs img {
  width: 100%;
}

@media screen and (max-width: 1024px) {
  .thumbs {
    flex-wrap: wrap;
  }
  .thumbs .container {
    flex-basis: 33%;
  }
}

@media screen and (max-width: 425px) {
  .thumbs .container {
    flex-basis: 50%;
  }
}

.features {
  padding: 60px 10px;
  background: #3D3D3D;
  display: flex;
  justify-content: center;
}

.features .feature {
  max-width: 427px;
  height: 100%;
  display: flex;
}

.features .feature img {
  width: 110px; 
  height: 110px;
  border-radius: 50%;
  margin: 0 2rem 2rem 0;
}

.features .feature .content-container {
  display: flex;
  flex-direction: column;
}

.features .feature h2 {
  margin: 0;
  color: white;
  font-size: 2.4rem;
  font-weight: 500;
}

.features .feature p {
  color: white;
  line-height: 24px;
}

@media screen and (max-width: 1024px) {
  .features {
    flex-wrap: wrap;
  }
  .features .feature {
    flex-basis: 100%;
    flex-direction: column;
    text-align: center;
  }

  .features .feature img {
    margin: 0 auto;
  }
}

section.massively-multiplayer {
  background: url('index-images/bg03.png') top center no-repeat;
  height: 826px;
}

@media screen and (max-width: 1250px) {
  section.massively-multiplayer {
    background: url('index-images/bg03-tablet.png') top center no-repeat;
  }
}

@media screen and (max-width: 775px) {
  section.massively-multiplayer {
    background: url('index-images/bg03-mobile.png') top center no-repeat;
  }
}

section.massively-multiplayer img {
  display: block;
  margin: 0 auto;
  max-width: 1250px;
  width: 100%;
}

section.massively-multiplayer .content {
  margin-left: 5rem;
  max-width: 500px;
}

section.massively-multiplayer h2 {
  margin: 25px 0 15px 0;
  font-size: 3.5rem;
  font-weight: 300;
  color: #feb331;
}

section.massively-multiplayer h3 {
  font-size: 2rem;
  font-weight: 500;
  margin: 25px 0 15px 0;
  color: white;
}

section.massively-multiplayer p {
  color: white;
  line-height: 1.5rem;
}

@media screen and (max-width: 775px) {
  section.massively-multiplayer .content {
    text-align: center;
    margin: 0 auto;
  }
  section.massively-multiplayer h2 {
    font-size: 2.5rem;
  }
  section.massively-multiplayer h3 {
    font-size: 1.5rem;
  }
}

section.activities {
  position: relative;
  padding: 200px 0;
  top: -200px;
  margin-bottom: -377px;
  z-index: -1;
  background: url('index-images/bg04.jpg') top center no-repeat;
  max-height: 1160px;
  height: auto;
}

section.activities .container {
  max-width: 850px;
  margin-left: 2rem;
  display: flex;
  flex-wrap: wrap;
}

section.activities .container img {
  width: 386px;
  height: 326px;
  flex-shrink: 1;
  margin: 1rem;
}

@media screen and (max-width: 1024px) {
  section.activities .container {
    margin: 0 auto;
  }

  section.activities .container img {
    width: calc(50% - 2rem);
    height: 100%;
  }
}

section.avatar {

  /*
    Magic Number:
    tan(angle°) / 2 
      = tan(6°) / 2 
      = 0.05255211763
  */

  --padding: calc(100vw * 0.05255211763);

  clip-path: polygon(
    0% calc(var(--padding) * 2), 
    100% 0%, 
    100% 100%, 
    0% 100% );
  -webkit-clip-path: polygon(
    0% calc(var(--padding) * 2), 
    100% 0%, 
    100% 100%, 
    0% 100% );
  
  padding: calc(var(--padding) * 2) 2rem 2rem;

  background: #566877 url('index-images/bg05.jpg');
  background-repeat: no-repeat;
  background-position: bottom left;
}

section.avatar .container {
  position: relative;
  display: flex;
}

section.avatar .image-container {
  width: 55%;
  margin-right: 1rem;
}

section.avatar .image-container img {
  width: 100%;
  max-width: 780px;
}

section.avatar .content-container {
  width: 45%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

section.avatar h2 {
  margin: 0;
  font-size: 3.4em;
  font-weight: 300;
  color: #feb331;
  line-height: 1em;
}

section.avatar p {
  color: white;
  line-height: 1.5rem;
  margin-bottom: 2rem;
}

section.avatar button {
  display: block;
  margin: 0 auto;
  width: 90%;
  max-width: 350px;
}

@media screen and (max-width: 800px) {
  section.avatar .container {
    flex-direction: column;
    margin-top: -30px;
    align-items: center;
  }

  section.avatar .image-container {
    margin: 0;
  }

  section.avatar .content-container {
    width: 100%;
    text-align: center;
  }

  section.avatar h2 {
    font-size: 2.4rem;
  }

  section.avatar button {
    display: block;
    margin: 0 auto;
  }

  section.avatar p {
    margin-bottom: 1rem;
  }
}

footer {
  background: black;
  color: white;
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 2rem 0;
}

footer .branding {
  width: 80%;
}

footer .branding .break {
  flex-basis: 100%;
  height: 0;
}

footer .branding i {
  margin-right: 0.5rem;
  font-size: 1.25rem;
}

footer span {
  display: block;
  font-size: 0.5rem;
}

footer .branding img {
  display: block;
  margin: 0 auto;
}

footer .branding .logo img {
  width: 100%;
  max-width: 110px;
}

footer .branding .wordmark img {
  width: 100%;
  max-width: 256px;
}

footer .branding .social {
  margin-top: 1.25rem;
  display: flex;
  justify-content: center;
}

footer .branding .social > * {
  padding: 0.25rem;
}


footer ul {
  list-style-type: none;
  margin: 1rem 0;
  padding: 0;
}

footer li {
  padding: 0.25rem 0;
}

footer .action span:nth-of-type(1) {
  font-size: 1.3em;
  font-weight: 300;
}

footer .action span:nth-of-type(2) {
  font-size: 2em;
  font-weight: 500;
}

footer button {
  margin: 1rem 0;
}

footer .links a {
  color: white;
  text-decoration: none;
}

footer .copyright {
  width: 100%;
  text-align: center;
}

@media screen and (min-width: 900px) {
  footer {
    flex-direction: row;
    padding: 2rem 2rem;
  }

  footer .branding {
    width: 33%;
  }

  footer .links {
    flex-grow: 1;
  }
}

@media screen and (min-width: 1200px) {
  footer {
    align-items: stretch;
    padding: 2rem 5rem;
  }

  footer .branding {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }

  footer .branding .logo {
    flex-basis: 33%;
  }

  footer .branding .wordmark {
    flex-basis: 66%;
  }

  footer .branding .logo img, footer .branding .wordmark img {
    max-width: none;
  }

  footer .action span:nth-of-type(1) {
    font-size: 1.6rem;
  }

  footer .action span:nth-of-type(2) {
    font-size: 2.5rem;
  }
    
  footer p.copyright {
    text-align: left;
  }
}