/*
---- Basic Styling
*/

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  width: 100%;
  margin: 0;
  background: #FFF;
}


/*
---- Navbar
*/
.navbar {
  height: 90px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
}

.navbar-buttons {
  float: right;
  width: ;
  margin-right: 5%;
  right: 0;
  justify-content: space-between;
  align-items: center;
}

/* Sing In Button */
.button {
  background-color: rgba(44, 45, 47, 0.749);
  width: 97px;
  height: 30px;
  font-size: 12px;
  color: #fff;
  border: none;
  border-radius: 20px;
  cursor: pointer;
}

#container-menu {
  width: 100%;
  position: fixed;
  top: 0;
  height: 65px;
  padding-top: 5px;
  margin-left: auto;
  margin-right: auto;
  background-color: #FFF;
  box-shadow: 1px 1px 6px rgba(0,0,0,.05);

}

/*
---- Overlay
*/
.overlay {
  position: fixed;
  background: rgba(51, 55, 69, 0.9);
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s, visibility .35s, height .35s;
  overflow: hidden;
}

.overlay.open {
  opacity: 1;
  visibility: visible;
  height: 100%;
  z-index: 100;
}

.overlay.open li {
  animation: fadeInRight .5s ease forwards;
  animation-delay: .35s;
}
.overlay.open li:nth-of-type(2) {
  animation-delay: .4s;
}
.overlay.open li:nth-of-type(3) {
  animation-delay: .45s;
}
.overlay.open li:nth-of-type(4) {
  animation-delay: .50s;
}

/* Navigation Title */
.overlay .nav-title {
  font-size: 22px;
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
  position: absolute;
  left: 50%;
  transform: translate(-50%);
  top: 8%;
}

.overlay nav {
  position: relative;
  height: 60%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2em;
  line-height: 110%;
  font-weight: 400;
  text-transform: uppercase;
  text-align: center;
  width: 94%;
  margin-left: 3%;
  letter-spacing: 5px;
  padding-left: 0;
}
.overlay ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: inline-block;
  position: relative;
  height: 60%;
  min-height: 250px;
  width: 33%;
  min-width: ;
  float: left;
}

.overlay ul p {
  color: #f36e2b;
  margin-bottom: 5px;
  font-size: 1.4em;
  text-align: center;
  font-weight: bold;
}

.overlay ul li {
  display: block;
  position: relative;
  opacity: 0;
  margin-bottom: 5px;
}
.overlay ul li a {
  display: block;
  position: relative;
  color: #FFF;
  text-decoration: none;
  overflow: hidden;
}

.overlay ul li a:hover,
.overlay ul li a:focus,
.overlay ul li a:active {
  color: #f36e2b;
/*  color: #ea2e49; */
}
.overlay ul li a:hover:after,
.overlay ul li a:focus:after,
.overlay ul li a:active:after {
  width: 100%;
  background: #ea2e49;
}

button:focus {
  outline: 0;
}

.close-menu{
  position: absolute;
  right: 3%;
  top: 3%;
}

.open-menu,
.close-menu,
.button {
  cursor: pointer;
  transition: transform 0.30s;
}
.open-menu:hover,
.close-menu:hover,
.button:hover {
  transform: scale(1.1);
}

.overlayul li a:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 43.5%;
  width: 0%;
  transform: translateX(-50%);
  height: 3px;
  background: #FFF;
  transition: .35s;
}

@keyframes fadeInRight {
  0% {
    opacity: 0;
    left: 20%;
  }
  100% {
    opacity: 1;
    left: 0;
  }
}

.overlay-menu-mobile{
  display: none;
}
#about_links,
#game_links,
#consulting_links,
#camp_links,
#partner_links,
#english_links {
  display: none;
}


/*
---- Responsive
*/


@media all and (max-width: 1230px) and (min-width: 1141px) {
.overlay nav {
  font-size: 1.1em;
  line-height: 110%;
  letter-spacing: 4px;
}
}

@media all and (max-width: 1140px) and (min-width: 751px) {
.overlay nav {
  font-size: .9em;
  line-height: 110%;
  letter-spacing: 2px;
}
}

@media all and (max-width: 750px) and (min-width: 521px) {
.overlay nav {
  font-size: .7em;
  line-height: 110%;
  letter-spacing: 0px;
}
}

@media all and (max-width: 520px) and (min-width: 100px) {
.overlay nav {
  font-size: .8em;
  line-height: 110%;
  letter-spacing: 0px;
}
}

@media all and (orientation: portrait) {


.overlay nav {
  height: 90%;
}

.nav-title,
.overlay-menu {display: none;}

.display_link {display: block;}

.overlay-menu-mobile {
  display: block;
  position: relative;
  height: 100%;
  font-size: 2em;
  line-height: 110%;
  font-weight: 400;
  text-transform: uppercase;
  text-align: center;
  width: 94%;
  margin-left: 3%;
  letter-spacing: 5px;
  padding-left: 0;
}
.overlay-menu-mobile ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: inline-block;
  position: relative;
  height: 10%;
  min-height: 100px;
  width: 100%;
}

#about_links,
#consulting_links,
#camp_links,
#partner_links {
  height: 15%;
  min-height: 470px;
}


.overlay-menu-mobile p {
  color: #999;
  margin-bottom: 5px;
  font-size: 3em;
  padding: .6em 0;
  text-align: center;
  font-weight: bold;
  border-bottom: solid 1px #FFF;
}

.overlay-menu-mobile ul li {
  display: block;
  position: relative;
  opacity: 0;
  margin-bottom: 5px;
  background-color: rgba(255,255,255,.2);
}
.overlay ul li a {
  display: block;
  position: relative;
  color: #FFF;
  text-decoration: none;
  overflow: hidden;
  font-size: 2em;
  padding: .8em 0;
}

#logo {
  margin-top: 20px;
}

#logo_bar_3 {
  max-height: 80px;
}

.navbar-buttons{
  margin-top: 20px;
}

}