/*
Theme Name: Egvil
Author: Victor Berland
Description: Egvil
Version: 1
Tags: egvil
*/
body {
  margin: 0;
  padding: 0;
  background: #F2ECCE;
  font-family: "Montserrat", sans-serif;
  letter-spacing: 0.1px;
  line-height: 180%;
  font-size: 17px;
  color: #222;
}

* {
  box-sizing: border-box;
  font-weight: 400;
}

a {
  color: #222;
}

input {
  padding: 20px 30px;
  background: #fff;
  border-radius: 5px;
  color: #222;
  border: 0;
  font-size: inherit;
}

.button, input[type=submit] {
  padding: 20px 25px;
  background: #fff;
  border-radius: 5px;
  text-decoration: none;
  cursor: pointer;
  color: #222;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 0;
  font-size: inherit;
  text-align: center;
  transition: 0.2s background ease;
}
.button:hover, input[type=submit]:hover {
  background: rgba(255, 255, 255, 0.8);
}

.container {
  margin: 180px auto;
  max-width: 1100px;
  padding: 0 8%;
}
.container .title {
  margin-bottom: 50px;
}
.container figure {
  margin: 50px 0;
}
.container figure img {
  width: 100%;
  height: auto;
}

.box, .wp-block-group {
  border-radius: 20px;
  background: #F0D355;
  padding: 50px;
  margin: 15px 0;
  color: #222;
}
.box--light, .wp-block-group--light {
  background: rgba(240, 211, 85, 0.4);
}
.box h1, .wp-block-group h1 {
  margin-top: 0;
}

.wp-block-group {
  margin: 170px 0;
}

.header {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
  padding: 40px;
}
.header__logo {
  height: 90px;
  z-index: 10;
}
.header__logo img {
  height: 100%;
}
.header__nav {
  display: flex;
}
.header__nav ul {
  margin: 0 25px;
  padding: 0;
}
.header__nav ul li {
  display: inline-block;
  padding: 0 25px;
  margin-top: -1px;
}
.header__nav ul li a {
  text-decoration: none;
  color: black;
  transition: 0.2s ease;
  transform: translateY(0);
  display: block;
}
.header__nav ul li a:hover {
  transform: translateY(2px);
  opacity: 0.7;
}
.header__nav ul li img {
  height: 22px;
}
.header .navicon {
  display: none;
}

@media (max-width: 900px) {
  .header {
    position: absolute;
  }
  .header__nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #F2ECCE;
    padding: 0 40px;
    padding-top: 180px;
    display: none;
  }
  .header__nav ul {
    margin: 0;
    padding: 0;
    width: 100%;
  }
  .header__nav ul li {
    padding: 10px 0;
    display: block;
  }
  .header .navicon {
    display: block;
    padding: 0;
    margin: 0;
    font-size: 18px;
    background: transparent;
    outline: none;
    border: 0;
    cursor: pointer;
    font-family: inherit;
    z-index: 10;
  }
}
.nav-open .header__nav {
  display: block;
}

.front-page {
  background: #eee;
  position: relative;
  display: inline-block;
  width: 100%;
  overflow: hidden;
}
.front-page__container {
  opacity: 0;
  z-index: 1;
  position: relative;
  max-width: 1000px;
  padding: 0 8%;
  margin: 0 auto;
  margin-top: 50vh;
  box-shadow: 0px 0px 500px 150px rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.5);
  color: #222;
}
.front-page__container h1 {
  font-size: 60px;
  margin-bottom: 100px;
}
@media (max-width: 600px) {
  .front-page__container h1 {
    font-size: 12vw;
    line-height: 110%;
  }
}
.front-page__container p {
  margin: 40px 0;
}
.front-page__courses {
  margin: 140px 0;
}
.front-page__courses h2 {
  color: #9B674A;
}
.front-page__courses__list {
  grid-template-columns: 50% 50%;
  display: grid;
  color: rgba(0, 0, 0, 0.5);
}
.front-page__cta {
  height: 400px;
  width: 450px;
  position: relative;
  background-size: contain;
  background-repeat: no-repeat;
}
.front-page__cta a {
  color: #222;
  text-decoration: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
}
.front-page__cta a * {
  margin: 0;
}
.front-page__cta a h4 {
  text-decoration: underline;
  font-size: 30px;
  margin-bottom: 10px;
}
.front-page__cta a p {
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.courses-page__choices {
  background: rgba(240, 211, 85, 0.4);
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: 0;
  border-radius: 20px;
  overflow: hidden;
}
.courses-page__choices li {
  display: inline-block;
  padding: 30px 50px;
  width: 50%;
}
.courses-page__choices li:last-child {
  background: rgba(240, 211, 85, 0.5);
}
.courses-page__choices a {
  text-decoration: none;
  color: inherit;
}
.courses-page__choices a:hover {
  text-decoration: underline;
}

.courses {
  margin: 0;
  padding: 0;
  list-style: none;
  background: #F0D355;
  border-radius: 20px;
}
.courses__course {
  padding: 30px 50px;
  color: #222;
}
.courses__course__icon {
  height: 20px;
  float: left;
  margin-right: 20px;
  opacity: 0.7;
}
.courses__course__add {
  float: left;
}
.courses__course__add button {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}
.courses__course__add button img {
  opacity: 1;
}
.courses__course a {
  color: inherit;
  text-decoration: none;
}
.courses .no-access {
  opacity: 0.5;
  background: rgba(255, 255, 255, 0.3);
  transition: 1s ease;
}
.courses .no-access:hover {
  opacity: 0.7;
}

.packages__package {
  margin: 40px 0;
}

.meetings__overview {
  display: grid;
  grid-template-columns: 50% 50%;
}
.meetings__overview__column h1 {
  margin-bottom: 40px;
}
.meetings__overview__column:last-child {
  padding-left: 40px;
}
.meetings__overview .button {
  width: 100%;
  display: block;
}
.meetings h3 {
  margin-bottom: 20px;
  margin-top: 50px;
}
.meetings__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.login .register {
  display: none;
}
.login form {
  background: none;
  border: 0;
  padding: 5px;
  box-shadow: none;
}

.scene {
  width: 100%;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 0;
}

.categories h3 {
  margin-top: 50px;
}

.parent-box {
  margin-bottom: 80px;
}

.hex-button {
  background: url(/wp-content/themes/egvil/images/hex-5.svg);
  background-size: cover;
  width: 350px;
  height: 300px;
  transition: 0.2s transform ease;
}
.hex-button a {
  background: none;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 20px;
}
.hex-button:hover {
  transform: translateY(5px);
}
@media (max-width: 400px) {
  .hex-button {
    width: 100%;
    height: 70vw;
  }
}

.newsletter-fields {
  border-radius: 5px;
  overflow: hidden;
}
.newsletter-fields input {
  border-radius: 0px;
  width: 100%;
}
.newsletter-fields input[type=submit] {
  background: #F2ECCE;
}

.mc4wp-form a {
  text-decoration: none;
  opacity: 0.8;
}

.decoration {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
}
.decoration img {
  width: 170px;
  position: absolute;
}
.decoration #bee1 {
  top: 200px;
  left: 10vw;
}
.decoration #bee2 {
  top: 600px;
  right: 10vw;
}
.decoration #hex1 {
  top: 1200px;
  left: 10vw;
}
@media (max-width: 1800px) {
  .decoration img {
    width: 130px;
  }
}
@media (max-width: 1600px) {
  .decoration {
    display: none;
  }
}