/*
Theme Name: Charles Games
Author: Richard Kabilka
Version: 1.0
*/
/* minireset.css v0.0.3 | MIT License | github.com/jgthms/minireset.css */
html,
body,
p,
ol,
ul,
li,
dl,
dt,
dd,
blockquote,
figure,
fieldset,
legend,
textarea,
pre,
iframe,
hr,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: normal;
}
ul {
  list-style: none;
}
button,
input,
select,
textarea {
  margin: 0;
}
html {
  box-sizing: border-box;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}
img,
embed,
iframe,
object,
audio,
video {
  height: auto;
  max-width: 100%;
}
iframe {
  border: 0;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
td,
th {
  padding: 0;
  text-align: left;
}
body,
button,
textarea,
input {
  font-size: 1.6rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-family: "Roboto", sans-serif;
}
button {
  border: 0;
  cursor: pointer;
}
input:invalid {
  box-shadow: none;
  border-color: #f00;
}
input[type="email"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 4.8rem;
  padding: 0 3rem;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 0.5px;
  font-size: 1.8rem;
  background-color: transparent;
  border: 0.3rem solid #fff;
  color: #fff;
  width: 40rem;
  max-width: 100%;
}
::placeholder {
  color: #fff;
  opacity: 1;
}
a {
  text-decoration: none;
  color: inherit;
}
strong {
  font-weight: bold;
}
.error {
  color: #f00;
}
.content {
  color: #fff;
  font-size: 2.8rem;
  font-weight: 300;
  max-width: 70rem;
  line-height: 1.46;
}
.content h2,
.content h3 {
  font-weight: 300;
  font-size: 2.8rem;
  margin-top: 4rem;
}
.content h2:first-child,
.content h3:first-child {
  margin-top: 0;
}
.content p + p {
  margin-top: 4rem;
}
.content a {
  text-decoration: underline;
}
.content--big {
  max-width: 100rem;
}
.content--privacy {
  font-size: 2rem;
}
.content--contact {
  padding-bottom: 16rem;
}
@media (max-width: 680px) {
  .content {
    font-size: 2rem;
  }
  .content h2,
  .content h3 {
    margin-top: 3rem;
  }
  .content p + p {
    margin-top: 3rem;
  }
}
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 4.8rem;
  padding: 0 3rem;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 0.5px;
  font-size: 1.8rem;
  color: #000;
  background-color: #fff;
  margin-top: 4rem;
  text-decoration: none !important;
  transition: opacity 0.2s;
}
.button:hover {
  opacity: 0.9;
}
.button--secondary {
  background-color: #f00;
  color: #fff;
}
.button.is-disabled {
  pointer-events: none;
  cursor: default;
  opacity: 0.8;
}
@media (max-width: 680px) {
  .button {
    margin-top: 3rem;
  }
}
html {
  font-size: 62.5%;
}
@media (max-width: 1024px) {
  html {
    font-size: 50%;
  }
}
body {
  padding: 8rem 0 6rem;
}
@media (max-width: 680px) {
  body {
    padding: 8rem 0 11rem;
  }
}
.container {
  margin: 0 auto;
  max-width: 1780px;
  width: 93%;
}
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  z-index: 10;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 8rem;
}
.header__logo img {
  height: 2.6rem;
}
.header__menu a {
  position: relative;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 0.5px;
}
.header__menu a:after {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  bottom: -0.8rem;
  background-color: #000;
  width: 0;
  height: 0.3rem;
  transition: all 0.2s;
}
.header__menu a.is-active:after,
.header__menu a:hover:after {
  width: 100%;
  left: 0;
}
.header__menu a + a {
  margin-left: 2rem;
}
.header .mobile {
  display: none;
}
@media (max-width: 768px) {
  .header__logo {
    margin-top: 2.5rem;
  }
  .header .container {
    flex-direction: column;
  }
  .header__menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-height: 0;
    overflow: hidden;
    transition: all 0.6s;
  }
  .header__menu.is-open {
    max-height: 30rem;
  }
  .header__menu a {
    text-align: center;
  }
  .header__menu a:first-of-type {
    margin-top: 4rem;
  }
  .header__menu a:last-of-type {
    margin-bottom: 4rem;
  }
  .header__menu a + a {
    margin-left: 0;
    margin-top: 3rem;
  }
  .header .mobile {
    position: absolute;
    display: block;
    top: 2.5rem;
    right: 5%;
    width: 3rem;
    height: 3rem;
  }
}
@media (max-width: 680px) {
  .header__logo img {
    height: 2.4rem;
  }
}
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  background-color: #000;
  color: #fff;
}
.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 6rem;
}
.footer__mail {
  text-transform: uppercase;
  font-size: 1.5rem;
}
.footer__mail a:hover {
  text-decoration: underline;
}
.footer__menu img {
  height: 3rem;
  transition: opacity 0.2s;
}
.footer__menu a:hover img {
  opacity: 0.8;
}
.footer__menu a:nth-of-type(2) {
  margin-left: 2.8rem;
}
.footer__menu a + a {
  margin-left: 2rem;
}
@media (max-width: 680px) {
  .footer .container {
    flex-direction: column;
    padding: 2rem 0;
  }
  .footer__mail {
    order: 2;
    margin-top: 2rem;
  }
}
.home {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 14rem);
  padding-top: 10vh;
}
.home__slider {
  display: flex;
  position: fixed;
  width: 100%;
  top: 8rem;
  z-index: -1;
  left: 0;
  transform: translateX(0);
  animation-name: slider;
  animation-duration: 20s;
  animation-iteration-count: infinite;
}
.home__slider .slide {
  min-width: 100vw;
}
.home__slider .slide img {
  min-height: calc(100vh - 14rem);
  object-fit: cover;
}
.home svg {
  position: absolute;
  height: 20rem;
  z-index: -1;
}
.home svg * {
  animation-name: letters;
  animation-duration: 20s;
  animation-iteration-count: infinite;
}
.home svg:first-of-type {
  bottom: 0;
  left: 3.5%;
}
@media (min-width: 1780px) {
  .home svg:first-of-type {
    left: calc(50vw - 890px);
  }
}
.home svg:last-of-type {
  top: 0;
  right: 3.5%;
}
@media (min-width: 1780px) {
  .home svg:last-of-type {
    right: calc(50vw - 890px);
  }
}
@media (max-width: 680px) {
  .home {
    min-height: calc(100vh - 19rem);
    padding-top: 0;
  }
  .home svg {
    height: 14rem;
  }
  .home .container {
    min-height: calc(100vh - 19rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 0;
  }
  .home__slider .slide img {
    min-height: calc(100vh - 19rem);
  }
}
@keyframes slider {
  0% {
    transform: translateX(0);
  }
  27% {
    transform: translateX(0);
  }
  33.3333% {
    transform: translateX(-100vw);
  }
  57% {
    transform: translateX(-100vw);
  }
  66.6666% {
    transform: translateX(-200vw);
  }
  90.3333% {
    transform: translateX(-200vw);
  }
  100% {
    transform: translateX(0);
  }
}
@keyframes letters {
  0% {
    fill: #c80000;
  }
  27% {
    fill: #c80000;
  }
  33.3333% {
    fill: #008180;
  }
  57% {
    fill: #008180;
  }
  66.6666% {
    fill: #db921a;
  }
  90.3333% {
    fill: #db921a;
  }
  100% {
    fill: #c80000;
  }
}
.project {
  position: relative;
  padding: 4rem 0;
}
.project:not(:last-of-type) {
  margin-bottom: 1rem;
}
.project__img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  min-height: 100%;
  object-fit: cover;
}
.project__content {
  min-height: calc(80vh - 14rem);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.project__content div {
  max-width: 60rem;
  width: 90%;
  margin: 0 auto;
  font-size: 2rem;
  font-weight: 300;
  text-align: center;
  line-height: 1.5;
}
.project__content h2 {
  font-size: 6rem;
  font-weight: bold;
  margin-bottom: 4rem;
}
@media (max-width: 680px) {
  .project__content h2 {
    font-size: 4rem;
    margin-bottom: 3rem;
  }
}
.page {
  position: relative;
  padding-top: 10vh;
  min-height: calc(100vh - 14rem);
}
.page__img {
  position: fixed;
  min-height: calc(100vh - 14rem);
  top: 8rem;
  left: 0;
  z-index: -1;
  object-fit: cover;
}
.page__partners {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f00;
  height: 12rem;
}
.page__partners img {
  height: 5rem;
}
.page__partners img:last-of-type {
  height: 4rem;
}
.page__partners img + img {
  margin-left: 10rem;
}
@media (max-width: 680px) {
  .page {
    padding-top: 4rem;
    text-align: center;
    min-height: calc(100vh - 19rem);
  }
  .page__img {
    min-height: calc(100vh - 19rem);
  }
  .page__partners img + img {
    margin-left: 6rem;
  }
}
.newsletter {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 4rem 0;
}
.newsletter input[type="email"] {
  text-align: center;
}
.newsletter__checkbox {
  display: inline-flex;
  align-items: center;
  text-transform: uppercase;
  font-size: 1.4rem;
  margin-top: 2rem;
}
.newsletter__checkbox input {
  position: absolute;
  opacity: 0;
}
.newsletter__checkbox input:checked ~ .indicator {
  background-color: #fff;
}
.newsletter__checkbox .indicator {
  display: block;
  border: 0.3rem solid #fff;
  width: 2.5rem;
  height: 2.5rem;
  cursor: pointer;
  order: -1;
  margin-right: 1rem;
}
.newsletter__response {
  text-transform: uppercase;
  font-size: 1.4rem;
  margin-top: 1rem;
}
@media (max-width: 680px) {
  .newsletter {
    align-items: center;
  }
  .newsletter__checkbox {
    align-items: flex-start;
    text-align: left;
  }
}
.contact--privacy .contact__img {
  min-height: calc(100vh - 8rem);
}
