:root {
  --primary-color: #333;
  --secondary-color: #444;
  --overlay-color: rgba(0, 0, 0, 0.7);
  --text-color: #145369;
  --emphasize-color: #009fb2;
  --buble-color: #def2f2;
  --nav-height: 40px;
  --nav-color: #0373bd;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Lato', sans-serif;
  line-height: 1.6;
  color: #333;
  font-size: 1.1rem;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  line-height: 1.3;
}

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

ul {
  list-style: none;
}

img {
  width: 100%;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}


/* nav */

/* nav {
  background-color: #323232;
  color: #fff;
  font-size: 14px;
  height: 30px;
  height: 40px;
  height: calc(--nav-height);
  position: relative;
}

#overlay {
  display: none;
}

nav span {
  margin:auto;
  margin-left:2rem;
}

nav .container {
  max-width: 1110px;
  margin: auto;
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  height: 100%;
}

nav ul {
  display: flex;
  align-items: center;
  display: flex;
  justify-content: space-around;
  width: 50%;
  height: 100%;
  margin-left:auto;
}

nav li:nth-child(1) {
  display: none;
}

nav a {
  color: #fff;
}

#searchBox {
  width: 1px;
  opacity: 0;
  transition: width 0.5s ease-out;  
  border-radius: 10px;
  border:0;
  padding:0 7px;
  margin-right: 4px;
}

#searchBox.open {
  width: 100px;
  opacity: 1;
}

nav .search {

}

nav .search.open {

}

#hamburger {
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMjQgMTE3LjY3Ij48ZGVmcz48c3R5bGU+LmNscy0xe2lzb2xhdGlvbjppc29sYXRlO30uY2xzLTJ7b3BhY2l0eTowLjc1O21peC1ibGVuZC1tb2RlOm11bHRpcGx5O30uY2xzLTN7ZmlsbDojZThlOGU4O308L3N0eWxlPjwvZGVmcz48dGl0bGU+aGFtYnVyZ2VyMjwvdGl0bGU+PGcgY2xhc3M9ImNscy0xIj48ZyBpZD0iSGFtIj48ZyBjbGFzcz0iY2xzLTIiPjxwYXRoIGQ9Ik0xMTIsMTEuNjdIMTJhMTIsMTIsMCwwLDAsMCwyNEgxMTJhMTIsMTIsMCwwLDAsMC0yNFoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTYpIi8+PHBhdGggZD0iTTExMiw1NS42N0gxMmExMiwxMiwwLDAsMCwwLDI0SDExMmExMiwxMiwwLDAsMCwwLTI0WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCAtNikiLz48cGF0aCBkPSJNMTEyLDk5LjY3SDEyYTEyLDEyLDAsMCwwLDAsMjRIMTEyYTEyLDEyLDAsMCwwLDAtMjRaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwIC02KSIvPjwvZz48cGF0aCBjbGFzcz0iY2xzLTMiIGQ9Ik0xMTIsNkgxMmExMiwxMiwwLDAsMCwwLDI0SDExMmExMiwxMiwwLDAsMCwwLTI0WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCAtNikiLz48cGF0aCBjbGFzcz0iY2xzLTMiIGQ9Ik0xMTIsNTBIMTJhMTIsMTIsMCwwLDAsMCwyNEgxMTJhMTIsMTIsMCwwLDAsMC0yNFoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTYpIi8+PHBhdGggY2xhc3M9ImNscy0zIiBkPSJNMTEyLDk0SDEyYTEyLDEyLDAsMCwwLDAsMjRIMTEyYTEyLDEyLDAsMCwwLDAtMjRaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwIC02KSIvPjwvZz48L2c+PC9zdmc+");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  cursor: pointer;

  display: none;
  position: absolute;
  cursor: pointer;
  right: 5%;
  top: 50%; 

  top:10px;
  right:20px;
  z-index: 2;
} */


/* ======================================================================= */
/* guru */

.guru {
  /* background: 
    url("../images/clouds-left.svg"),
    url("../images/clouds-right.svg"),
    linear-gradient(to bottom, #0373bd,#a5d2e9);
  background-position: 
    bottom left,
    bottom right;  
  background-size: 35%, 35%, 100%;
  background-repeat: no-repeat, no-repeat, repeat-x; */
  text-align: center;
  position: relative;
  background: linear-gradient(to bottom, #0373bd,#a5d2e9);
  /* height: 1150px; */
}

.guru::before,
.guru::after {
  content:"";
  background-image: url("../images/clouds-left.svg");
  background-size: 35%;
  background-position: left bottom;
  background-repeat: no-repeat;
  position: absolute;
  top:0;
  left:0;
  bottom:0;
  right:0;
}

.guru::after {
  background-image: url("../images/clouds-left.svg");
  background-position: left bottom;
  transform: rotateY(180deg);
}

.guru .container {
  max-width: 1110px;
  /* min-width: 810px; */
  margin: auto;
  padding-bottom: 70px;
  position: relative;
  z-index: 1;
}

.guru .floating-island {
  background-image: url("../images/floating-island-opt.svg");
  background-image: url("../images/floating-island2.svg");
  background-repeat: no-repeat;
  background-position: center top;
  background-position: center 50px;
  /* background-size:cover;   */
  height: 800px;
  /* smaller fork */
  height: 700px;
  min-width: 745px;
  width:745px;
  margin: auto;
  margin-left: calc(50% - 745px / 2);
  position: relative;
  /* position: absolute; */
}

.guru .our-guru {
  background-image: url("../images/guru2-opt.svg");
  background-repeat: no-repeat;
  background-position: center top;
  position: relative;  
  margin-top:-650px;
  height: 335px;

  /* smaller fork */
  height: 280px;
  margin-top:-550px;

	animation: float 5s ease-in-out infinite;
}

@keyframes float {
	0% {
		transform: translatey(0px);
	}
	50% {
		transform: translatey(-20px);
	}
	100% {
		transform: translatey(0px);
	}
}

.guru .shadow {
  width: 150px;
  height: 5px;
  background: #000000;
  opacity: 0.2;
  border-radius: 100px / 5px;
  margin: auto;
  margin-top: 20px;
  animation: grow-and-shrink 5s ease-in-out infinite;
}

@keyframes grow-and-shrink {
	0% {
		transform: scale(1,1);
	}
	50% {
		transform: scale(0.8,0.8);
	}
	100% {
		transform: scale(1,1);
	}
}

.bubble {
  position: absolute;
  top:35px;
  /* width: 400px; */
  width: 80%;
  max-width: 600px;
  /* left: calc(50% - 200px); */
  /* margin: 0 auto; */
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  border-radius: 10px;
  background: var(--buble-color);
  padding: .5rem;
  filter: drop-shadow(#000);
  filter: drop-shadow(0 5px 0 rgba(0,0,0,0.5));
  border: 2px solid var(--text-color);
  z-index: 1;
}

.bubble::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 16px;
  height: 16px;
  left: calc(50% - 8px);
  transform: translateY(10px) 
             rotate(45deg);
  background: var(--buble-color);
  border-right: 2px solid var(--text-color);;
  border-bottom: 2px solid var(--text-color);;
}

.bubble .more {
  position: absolute;
  /* width: 30px; */
  /* height: 30px; */
  bottom:0;
  right:0;
  /* border:1px solid red; */
  font-style: italic;
  padding-right: 30px;
}

.bubble .more::after{
  content: "";
  position: absolute;
  height: 12px;
  width: 12px;
  top:30%;
  background-image: url("data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2MyA1NCI+PHRpdGxlPmFycm93czwvdGl0bGU+PHBvbHlsaW5lIHBvaW50cz0iMCAwIDE4IDI3IDAgNTQgOSA1NCAyNyAyNyA5IDAgMCAwIi8+PHBvbHlsaW5lIHBvaW50cz0iMTggMCAzNiAyNyAxOCA1NCAyNyA1NCA0NSAyNyAyNyAwIDE4IDAiLz48cG9seWxpbmUgcG9pbnRzPSIzNiAwIDU0IDI3IDM2IDU0IDQ1IDU0IDYzIDI3IDQ1IDAgMzYgMCIvPjwvc3ZnPg==");
  background-position: right center;
  background-position: 95% 60%;
  background-repeat: no-repeat;
  /* background-size: 12%; */
  /* padding-right: 20px; */
  /* margin-right: 5px; */

  animation: 0.8s bounce-right ease-out infinite;

}


@keyframes bounce-right {
	0% {
		transform: translateX(0);
  }
  100% {
		transform: translateX(5px);
  }
}




.guru .input-name {
  position: absolute;
  left: calc(50% - 150px);
  top: 595px;

  /* smaller fork */
  top: 500px;
  z-index: 1;
}

.input-name label {
  font-size: 21px;
  color: #fff;
  margin-bottom: 3.5rem;
  text-shadow: 0 2px rgba(0,0,0,0.5);
}

.gimme-a-name {
  position: relative;
  margin-top: 10px;
  font-size: 21px;
  height: 3rem;
  border-radius: 2rem;
  background-color: #fff;
  width: 300px;
  box-shadow: 0 5px rgba(0,0,0,0.7);
}


.gimme-a-name input {
  left: 0;
  width: calc(100% - 5rem);
  margin-left: -1.5rem;
  background-color: #fff;
  color: var(--text-color);
  font-size: 21px;
  height: inherit;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  margin-left: -1.5rem;
  text-transform: capitalize;
}

.gimme-a-name a {
  background-color: var(--emphasize-color);
  /* background-image: url("../images/arrow-right.svg"); */
  background-image: url("data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0OTIgNDA4LjY1Ij48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6I2ZmZjt9PC9zdHlsZT48L2RlZnM+PHRpdGxlPmFycm93LXJpZ2h0PC90aXRsZT48cGF0aCBjbGFzcz0iY2xzLTEiIGQ9Ik0yNy42NiwyODQuNThsLS43Ny0uMTdIMzU2LjExTDI1Mi42MiwzODguMTRhMjcuMTcsMjcuMTcsMCwwLDAsMCwzOC4yMWwxNi4xLDE2LjExYTI2LjkyLDI2LjkyLDAsMCwwLDM4LDBMNDg0LjE2LDI2NS4wOWEyNy4xNCwyNy4xNCwwLDAsMCwwLTM4LjE2TDMwNi43NCw0OS41MmEyNi45NCwyNi45NCwwLDAsMC0zOCwwbC0xNi4xLDE2LjExYTI2LjY1LDI2LjY1LDAsMCwwLTcuODUsMTksMjUuODUsMjUuODUsMCwwLDAsNy44NSwxOC42NWwxMDQuNjYsMTA0LjNoLTMzMEMxMi40NiwyMDcuNTksMCwyMjAuMzcsMCwyMzUuMTlWMjU4QzAsMjcyLjgsMTIuODMsMjg0LjU4LDI3LjY2LDI4NC41OFoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTQxLjY3KSIvPjwvc3ZnPg==");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 70%;
  position: absolute;
  display: block;
  top:0.5rem;
  bottom:0.5rem;
  right:0.5rem;
  width: 2rem;  
  border-radius: 0 2rem 2rem 0;
  border-radius: 3rem;
}

.gimme-a-name a:hover {
  background-color: var(--text-color);
}


.guru .clouds {
  /* position: relative; */
}

.guru .cloud {
  position: absolute;
  background-image: url(../images/cloud-a.svg);
  background-repeat: no-repeat;
  z-index: 0;
}

.guru .cloud:nth-child(1) {
  transform: translate(-10px, 260px);
  height: 120px;
  width: 350px;
  /* animation: 160s drift ease-out forwards; */
  animation: 150s drift ease-out infinite;
  animation-delay: -20s;
}

.guru .cloud:nth-child(2) {
  transform: translate(410px, 680px) rotateY(180deg);
  height: 74px;
  width: 312px;
  /* animation: 160s drift-far ease-out forwards; */
  animation: 250s drift-far ease-out infinite;
  animation-delay: -60s;
}


@keyframes drift {
	0% {
		transform: translate(-700px, 260px);
  }
  100% {
    transform: translate(100vw, 260px);
  }
}



@keyframes drift-far {
	0% {
    transform: translate(-700px, 680px) rotateY(180deg);
  }
  100% {
    transform: translate(100vw, 680px) rotateY(180deg);
  }
}



.guru h1 {
  padding-top:300px;
  padding-bottom:30px;
  font-size: 48px;
  font-size: 2.5rem;
  color: var(--text-color);
}

.guru p {
  /* padding-top: 30px; */
  color: var(--text-color);
  margin: auto;
} 

.guru p:nth-of-type(1){ width: 90%; }
.guru p:nth-of-type(2){ width: 60%; }
.guru p:nth-of-type(3){ width: 25%; }


/* Around the world */
.around-the-world {
  background: linear-gradient(to bottom, #fff 93%,#cedbe0 100%);
}

.around-the-world .container{
  max-width: 1110px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(2,1fr);
  grid-gap: 2rem;
  padding: 60px;
}

.around-the-world img {
  height: 500px;
}

.around-the-world ul, .around-the-world li {
  position: absolute;
}

.around-the-world li a {
  color: rgba(251, 200, 200, 0.6);
  text-transform: uppercase;
  font-size: 21px;
  text-shadow: rgba(0,0,0,0.5) -1px -1px;
  font-weight: bold;
}

.around-the-world li a:hover {
  color: #fff;
}

.around-the-world li:nth-child(1) { transform: translate(-25px, -213px) rotate( 1deg ); }
.around-the-world li:nth-child(2) { transform: translate(-60px, -178px) rotate(-1deg ); }
.around-the-world li:nth-child(3) { transform: translate(-23px, -141px) rotate(10deg ); }
.around-the-world li:nth-child(4) { transform: translate(-38px, -101px) rotate(3deg  ); }
.around-the-world li:nth-child(5) { transform: translate(-36px, -50px ) rotate(-3deg ); }
.around-the-world li:nth-child(6) { transform: translate(-62px, 3px   ) rotate(-1deg ); }
.around-the-world li:nth-child(7) { transform: translate(-28px, 37px  ) rotate(1deg  ); }
.around-the-world li:nth-child(8) { transform: translate(-34px, 74px  ) rotate(-10deg); }
.around-the-world li:nth-child(9) { transform: translate(-30px, 113px ) rotate(-2deg ); }

.around-the-world li:nth-child(3) a { font-size:18px; }
.around-the-world li:nth-child(8) a { font-size:18px; }


.around-the-world h3 {
  /* font-size: 40px; */
  font-size: 2.2rem;
  text-align: center;
  color: var(--text-color);
}

.around-the-world div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;  
}

.around-the-world p {
  /* font-size: 21px; */
  font-size: 1.25rem;
  text-align: center;
  padding-top: 30px;
  color: var(--text-color);
}




/* Name generator */

.name-generator .container{
  max-width: 1110px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(2,1fr);
  grid-gap: 2rem;
  padding: 60px;
}

.name-generator img {
  height: 500px;
  order: 2;
}

.name-generator h3 {
  /* font-size: 48px; */
  font-size: 2.2rem;
  text-align: center;
  color: var(--text-color);
}

.name-generator div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;  
  order: 1;
}

.name-generator p {
  /* font-size: 21px; */
  font-size: 1.25rem;
  text-align: center;
  padding-top: 30px;
  color: var(--text-color);
}



/* Library */

.library {
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.45) 30%,rgba(0,0,0,0) 60%),
    url("../images/library-opt.svg");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size:cover;
  height: 800px;
}

.library .container {
  max-width: 1110px;
  margin: auto; 
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  height: 100%;
  position: relative;
}

.library .container::after {
  content: "";
  position: absolute;
  width:150px;
  height:50%;
  top:0;
  left: calc(50% - 75px);
  background: linear-gradient(to right, rgba(255, 231, 50, 0.1) 0% 
                                      , rgba(255, 231, 50, 0.4) 20%
                                      , rgba(255, 231, 50, 0.3) 40%
                                      , rgba(255, 231, 50, 0.2) 60%
                                      , rgba(255, 231, 50, 0.4) 80%
                                      , rgba(255, 231, 50, 0.1) 100%);
  animation: shimmer 5s infinite;
  background-position: 0 50%;
}

.library .intro {
  z-index: 1;
}

.library h3 {
  padding-top:60px;
  /* font-size: 48px; */
  font-size: 2.2rem;
  text-shadow: rgba(0,0,0,0.7) 0 3px;
}

.library p {
  padding-top: 20px;
  /* font-size: 21px; */
  font-size: 1.25rem;
  width: 52vw;
  text-shadow: rgba(0,0,0,0.7) 0 3px;
}

.library .books {
  width: 100%;
  /* align-self: flex-end; */
  position: relative;
}

.library .pedestal {
  height: 355px;
  background-image: url("../images/pedestal.svg");
  background-repeat: no-repeat;
  background-position: center;
  margin-bottom: 10px;
}

.library .shadow {
  background-image: url(../images/book-shadow.svg);
  background-position: center;
  background-repeat: no-repeat;
  height: 110px;
  width: 1100px;
  width: 300px;
  left:calc( 50% - 150px);
  margin-top:-10px;
  position: relative;
  /* border:3px solid red; */
  /* position: relative; */
  position: absolute; 
  z-index: 1;
  animation: grow-and-shrink-book 5s ease-in-out infinite;
  animation-delay: -5s;
}

@keyframes grow-and-shrink-book {
	0% {
		transform: scale(1,1);
	}
	50% {
		transform: scale(0.9,0.9);
	}
	100% {
		transform: scale(1,1);
	}
}

.library .pedestal img {
  width: 240px;
  z-index:2;
  position: relative;
  margin-top:-55px;
  /* margin-top: -1000px;  */
	animation: float-small 5s ease-in-out infinite;
  animation-delay: -5s;
}

.library .pedestal-lip {
  background-image: url("../images/pedestal-lip.svg");
  background-position: center;
  background-repeat: no-repeat;
  margin: auto;
  height: 45px;
  z-index: 3;
  position: relative;
}

.wheel {
  transform: translateY(-500px);
  /* margin-left: 537px; */
  z-index: 5;
  position: absolute;
  left: calc(50% - 20px);
}

.wheel a {
  color: #fff;
  text-shadow: rgba(0,0,0,0.7) 0 1px;
  font-size: 26px;
  /* width: 30px; */
  height: 20px;
  /* position: absolute; */
}

.wheel a::before {
  content:"\00a0\00a0";
}
.wheel a::after {
  content:"\00a0\00a0";
}


.wheel a:hover {
  color: #000;
  border-radius: 20px;
  background: #fff;
  /* animation: glow 1s ease-in-out infinite alternate; */
}
@keyframes glow {
  0% {
    text-shadow: 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #e60073, 0 0 50px #e60073, 0 0 60px #e60073, 0 0 70px #e60073, 0 0 80px #e60073;
  }
  100% {
    text-shadow: 0 0 40px #fff, 0 0 60px #ff4da6, 0 0 80px #ff4da6, 0 0 100px #ff4da6, 0 0 120px #ff4da6, 0 0 140px #ff4da6, 0 0 160px #ff4da6;
  }
}

.wheel li {
  display: block;
  height: 200px;
  width: 30px;
  text-align: left;
  /* background-color: rgba(255,255,0,0.1); */
  text-align: center;
  position: absolute;
  transform-origin: center bottom;
}


.wheel li:nth-child(1)  { transform: rotate( calc( 360deg / 26 * 0 ) )}
.wheel li:nth-child(2)  { transform: rotate( calc( 360deg / 26 * 1 ) )}
.wheel li:nth-child(3)  { transform: rotate( calc( 360deg / 26 * 2 ) )}
.wheel li:nth-child(4)  { transform: rotate( calc( 360deg / 26 * 3 ) )}
.wheel li:nth-child(5)  { transform: rotate( calc( 360deg / 26 * 4 ) )}
.wheel li:nth-child(6)  { transform: rotate( calc( 360deg / 26 * 5 ) )}
.wheel li:nth-child(7)  { transform: rotate( calc( 360deg / 26 * 6 ) )}
.wheel li:nth-child(8)  { transform: rotate( calc( 360deg / 26 * 7 ) )}
.wheel li:nth-child(9)  { transform: rotate( calc( 360deg / 26 * 8 ) )}
.wheel li:nth-child(10) { transform: rotate( calc( 360deg / 26 * 9 ) )}
.wheel li:nth-child(11) { transform: rotate( calc( 360deg / 26 * 10 ) )}
.wheel li:nth-child(12) { transform: rotate( calc( 360deg / 26 * 11 ) )}
.wheel li:nth-child(13) { transform: rotate( calc( 360deg / 26 * 12 ) )}
.wheel li:nth-child(14) { transform: rotate( calc( 360deg / 26 * 13 ) )}
.wheel li:nth-child(15) { transform: rotate( calc( 360deg / 26 * 14 ) )}
.wheel li:nth-child(16) { transform: rotate( calc( 360deg / 26 * 15 ) )}
.wheel li:nth-child(17) { transform: rotate( calc( 360deg / 26 * 16 ) )}
.wheel li:nth-child(18) { transform: rotate( calc( 360deg / 26 * 17 ) )}
.wheel li:nth-child(19) { transform: rotate( calc( 360deg / 26 * 18 ) )}
.wheel li:nth-child(20) { transform: rotate( calc( 360deg / 26 * 19 ) )}
.wheel li:nth-child(21) { transform: rotate( calc( 360deg / 26 * 20 ) )}
.wheel li:nth-child(22) { transform: rotate( calc( 360deg / 26 * 21 ) )}
.wheel li:nth-child(23) { transform: rotate( calc( 360deg / 26 * 22 ) )}
.wheel li:nth-child(24) { transform: rotate( calc( 360deg / 26 * 23 ) )}
.wheel li:nth-child(25) { transform: rotate( calc( 360deg / 26 * 24 ) )}
.wheel li:nth-child(26) { transform: rotate( calc( 360deg / 26 * 25 ) )}

.library .floating-books {
  position: absolute;
  width: 150px;
  margin-top: -500px;
  margin-left: 10px;
  transform: translateY(-100px);
}

.library .floating-books img:nth-child(1) {
  position: absolute;
  margin-top:300px;
  filter: blur(2px);
 	animation: float-big 20s ease-in-out infinite;
}

.library .floating-books img:nth-child(2) {
  margin-top:100px;
  margin-left:850px;
  margin-left:500%;
  filter: blur(2px);
  animation: float-big 20s ease-in-out infinite;
  animation-delay: 3s; 
}

@keyframes float-small {
	0% {
		transform: translatey(0px);
	}
	50% {
		transform: translatey(-10px);
	}
	100% {
		transform: translatey(0px);
	}
}

@keyframes float-big {
	0% {
		transform: translatey(0px);
	}
	50% {
		transform: translatey(-70px);
	}
	100% {
		transform: translatey(0px);
	}
}

.rays {
  position: absolute;
}

.rays .ray {
  position: absolute;
  height: 550px;
  width: 100px;
}

.rays .ray:nth-child(1) {
  margin-left:-100px;
  background: linear-gradient(to right, rgba(255, 231, 50, 0.1) 0% 
                                      , rgba(255, 231, 50, 0.4) 20%
                                      , rgba(255, 231, 50, 0.3) 40%
                                      , rgba(255, 231, 50, 0.2) 60%
                                      , rgba(255, 231, 50, 0.4) 80%
                                      , rgba(255, 231, 50, 0.1) 100%);
  animation: shimmer 5s infinite;
}
.rays .ray:nth-child(2) {
  margin-left:-50px;
  background: linear-gradient(to right, rgba(255, 231, 50, 0.1) 0% 
                                      , rgba(255, 231, 50, 0.3) 20%
                                      , rgba(255, 231, 50, 0.1) 40%
                                      , rgba(255, 231, 50, 0.3) 60%
                                      , rgba(255, 231, 50, 0.2) 80%
                                      , rgba(255, 231, 50, 0.1) 100%);
  animation: shimmer 1.5s infinite;
}
.rays .ray:nth-child(3) {
  margin-left:-0px;
  background: linear-gradient(to right, rgba(255, 231, 50, 0.1) 0% 
                                      , rgba(255, 231, 50, 0.2) 20%
                                      , rgba(255, 231, 50, 0.1) 40%
                                      , rgba(255, 231, 50, 0.5) 60%
                                      , rgba(255, 231, 50, 0.3) 80%
                                      , rgba(255, 231, 50, 0.1) 100%);
  animation: shimmer 5s infinite;
}

@keyframes shimmer {
	0% {
		opacity: 1;
	}
	25% {
		opacity: 0.5;
	}
	50% {
		opacity: 0.7;
	}
	75% {
		opacity: 0.6;
	}
	100% {
		opacity: 1;
	}
}




/* Footer */
.footer .share {
  background-color: #b13924;
}

.footer {
  background-color: #901e18;
}




/* .footer {
  background-color: #145369;
  color: #fff;
  padding-bottom: 40px;
}

.footer .share {
  background-color: #1a6984;
  padding-top: 30px;
  padding-bottom: 30px;
}

.footer .icon-facebook,
.footer .icon-twitter,
.footer .icon-whatsapp {
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.footer .icon-facebook { 
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MCA1MCI+PHN0eWxlIHR5cGU9InRleHQvY3NzIj4gIAoJLnN0MHtmaWxsOiNGRkZGRkY7fQo8L3N0eWxlPjxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik01MC4xIDI1LjFDNTAuMSAxMS4yIDM4LjkgMCAyNS4xIDAgMTEuMiAwIDAgMTEuMiAwIDI1LjEgMCAzNy42IDkuMiA0Ny45IDIxLjEgNDkuOFYzMi4zaC02LjR2LTcuMmg2LjR2LTUuNWMwLTYuMyAzLjctOS43IDkuNS05LjcgMi43IDAgNS42IDAuNSA1LjYgMC41djYuMmgtMy4yYy0zLjEgMC00LjEgMS45LTQuMSAzLjl2NC43aDdsLTEuMSA3LjJoLTUuOFY0OS44QzQxIDQ3LjkgNTAuMSAzNy42IDUwLjEgMjUuMXoiLz48L3N2Zz4=");
}

.footer .icon-twitter { 
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MCA1MCI+PHN0eWxlIHR5cGU9InRleHQvY3NzIj4gIAoJLnN0MHtmaWxsOiNGRkZGRkY7fQo8L3N0eWxlPjxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik00OS45IDguOGMtMS44IDAuOC0zLjggMS40LTUuOSAxLjYgMi4xLTEuMyAzLjctMy4zIDQuNS01LjcgLTIgMS4yLTQuMiAyLTYuNSAyLjUgLTEuOS0yLTQuNS0zLjItNy41LTMuMiAtNS43IDAtMTAuMiA0LjYtMTAuMiAxMC4yIDAgMC44IDAuMSAxLjYgMC4zIDIuM0MxNiAxNi4xIDguNSAxMiAzLjQgNS44Yy0wLjkgMS41LTEuNCAzLjMtMS40IDUuMiAwIDMuNiAxLjggNi43IDQuNiA4LjUgLTEuNyAwLTMuMy0wLjUtNC42LTEuM3YwLjFjMCA1IDMuNSA5LjEgOC4yIDEwLjEgLTAuOSAwLjItMS44IDAuNC0yLjcgMC40IC0wLjYgMC0xLjMtMC4xLTEuOS0wLjIgMS4zIDQuMSA1LjEgNyA5LjYgNy4xIC0zLjUgMi44LTcuOSA0LjQtMTIuNyA0LjQgLTAuOCAwLTEuNiAwLTIuNC0wLjEgNC42IDIuOSA5LjkgNC42IDE1LjcgNC42IDE4LjkgMCAyOS4yLTE1LjYgMjkuMi0yOS4xIDAtMC40IDAtMC45IDAtMS4zIDItMS40IDMuOC0zLjIgNS4xLTUuM0M1MCA4LjggNDkuOSA4LjggNDkuOSA4Ljh6Ii8+PC9zdmc+");
}

.footer .icon-whatsapp { 
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MCA1MCI+PHN0eWxlIHR5cGU9InRleHQvY3NzIj4gIAoJLnN0MHtmaWxsOiNGRkZGRkY7fQo8L3N0eWxlPjxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik00Mi43IDcuM0MzOCAyLjYgMzEuOCAwIDI1LjEgMCAxMS40IDAgMC4yIDExLjEgMC4yIDI0LjhjMCA0LjQgMS4xIDguNiAzLjMgMTIuNEwwIDUwbDEzLjItMy40YzMuNiAyIDcuNyAzIDExLjkgMyAxMy43IDAgMjQuOS0xMS4xIDI0LjktMjQuOEM1MCAxOC4yIDQ3LjQgMTIgNDIuNyA3LjN6TTI1LjEgNDUuNGMtNC40IDAtNy44LTEuMi0xMS4zLTMuM2wtNy44IDIgMi4xLTcuNmMtMi4zLTMuNi0zLjctNy4xLTMuNi0xMS43IDAtMTEuMyA5LjMtMjAuNiAyMC43LTIwLjYgMTEuNCAwIDIwLjcgOS4yIDIwLjcgMjAuNkM0NS44IDM2LjIgMzYuNSA0NS40IDI1LjEgNDUuNHoiLz48cGF0aCBjbGFzcz0ic3QwIiBkPSJNMzcuNyAzMC43Yy0wLjEtMC4zLTAuNi0wLjQtMS4yLTAuNyAtMC42LTAuMy0zLjctMS44LTQuMi0yIC0wLjYtMC4yLTEtMC4zLTEuNCAwLjMgLTAuNCAwLjYtMS42IDItMiAyLjRzLTAuNyAwLjUtMS4zIDAuMmMtMC42LTAuMy0yLjYtMS01LTMuMSAtMS44LTEuNi0zLjEtMy43LTMuNS00LjMgLTAuNC0wLjYgMC0wLjkgMC4zLTEuMyAwLjMtMC4zIDAuNi0wLjcgMC45LTEuMSAwLjMtMC40IDAuNC0wLjYgMC42LTEgMC4yLTAuNCAwLjEtMC44IDAtMS4xIC0wLjItMC4zLTEuNC0zLjQtMS45LTQuNiAtMC41LTEuMi0xLTEtMS40LTEuMWwtMS4yIDBjLTAuNCAwLTEuMSAwLjItMS43IDAuOCAtMC42IDAuNi0yLjIgMi4xLTIuMiA1LjJzMi4yIDYgMi41IDYuNGMwLjMgMC40IDQuNCA2LjcgMTAuNiA5LjQgMS41IDAuNiAyLjYgMSAzLjYgMS4zIDEuNSAwLjUgMi45IDAuNCAzLjkgMC4zIDEuMi0wLjIgMy43LTEuNSA0LjItMi45QzM3LjggMzIuMiAzNy44IDMwLjkgMzcuNyAzMC43eiIvPjwvc3ZnPgog");
}

.footer .share a:hover {
  opacity: 1.0; 
}

.footer a.icon-facebook:hover { 
  filter: invert(38%) sepia(28%) saturate(7500%) hue-rotate(202deg) brightness(98%) contrast(94%);
}
.footer a.icon-twitter:hover { 
  filter: invert(51%) sepia(87%) saturate(2666%) hue-rotate(178deg) brightness(102%) contrast(90%);
}
.footer a.icon-whatsapp:hover { 
  filter: invert(58%) sepia(100%) saturate(364%) hue-rotate(90deg) brightness(95%) contrast(90%);
}




.footer .share a {
  width: 50px;
  height: 50px;
  display: inline-block;
  margin: 10px;
  opacity: 0.85;
}

.not-home .footer {
  text-align: center;
}

.not-home .footer .share ul {
  display: flex;
  list-style: none;
  margin: 0 auto;
  display: table;
}

.not-home .footer .share li{
display: inline;
}

.footer .browse {
  max-width: 1110px;
  margin: auto;
  margin-top: 30px;
  margin-bottom:30px;
}
.footer .browse ul{
  display: flex;
  justify-content: space-between;
}

.footer .browse ul {
  display: flex;
  list-style: none;
  margin: 0 auto;
  width: 100%;
  display: table;
}

.footer .browse li {
  display: inline-block; 
  width: 3.5%;
  margin-top: 10px;
  margin-bottom: 10px;
}
.footer .browse li:hover {
  background-color: #009fb2;
  border-radius: 3px;
}
.footer .browse a {
  text-decoration: none;
}

.footer .browse li a:hover {
  color: #fff;
}


.footer a {
  color: #fff;
}

.footer a:hover {
  color: #009fb2;
}

.footer .napping {
  filter: saturate(0);
  opacity: 0.55;
  animation: float 5s ease-in-out infinite;
}

.footer .love {
  text-shadow: 0px 1px #145369;
}

.footer .container li{
  padding-bottom:10px;
  text-shadow: 0px 1px #145369;
}

.footer {
  background-image: url("../images/clouds-left-trans.svg"), url("../images/clouds-right-trans.svg");
  background-repeat: no-repeat, no-repeat;
  background-position: left bottom, right bottom;
  background-size: 397px 471px, 397px 471px;
}

@media screen and (max-width: 800px) {
  .footer {
    background-image: url("../images/clouds-right-trans.svg");
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: 397px 471px;
  }
}


.footer .container{
  max-width: 1110px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(2,1fr);
  grid-gap: 2rem;
  padding: 60px;
}  

@media screen and (max-width: 800px) {
  .footer .container {
      grid-template-columns: none;
  }
}

.footer .container div:nth-child(1) { order: 2; }
.footer .container div:nth-child(2) { order: 1; margin-bottom: 2rem;}

.footer .container div:nth-child(1) {
  text-align: left;
}
@media screen and (max-width: 800px) {
  .footer .container div:nth-child(1) {
    text-align: center;
  }
}

.footer h3 {
  color: #fff;
  margin-bottom: 10px;
} */







/* Utility */

.button {
  height: 3rem;
  border-radius: 2rem;
  padding: 1rem 2rem;
  margin-top: 2rem;
  background-color: var(--emphasize-color);
  color: #fff;
  text-transform: uppercase;
  display: flex;
  align-items: center;
}

.button:hover {
  background-color: var(--text-color);
}

.hide-overflow {
  overflow: hidden;
}



.ui-autocomplete {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  float: left;
  min-width: 160px;
  padding: 5px 0;
  margin: 2px 0 0;
  list-style: none;
  font-size: 14px;
  text-align: left;
  background-color: #ffffff;
  border: 1px solid #cccccc;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  background-clip: padding-box;
}

.ui-autocomplete > li > div {
  display: block;
  padding: 3px 20px;
  clear: both;
  font-weight: normal;
  line-height: 1.42857143;
  color: #333333;
  white-space: nowrap;
}

.ui-state-hover,
.ui-state-active,
.ui-state-focus {
  text-decoration: none;
  color: #262626;
  background-color: #f5f5f5;
  background-color: red;
  cursor: pointer;
}

.ui-helper-hidden-accessible {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}






/* === Mobile === Mobile === Mobile === Mobile === Mobile === Mobile === Mobile === Mobile === Mobile === Mobile === Mobile === Mobile === */







@media screen and (max-width: 800px) {
  /* Nav */
  /* Need to fix this */

  
  /* #hamburger {
    display: initial;
    position: fixed;
    z-index:10;
    z-index:999;
  }

  nav {
    height: 0px;
  }


  nav ul {
    opacity: 0.9;
    position: fixed;
    background: #0373bd;
    background: #fff;
    background: #323232;
    height: 100vh;
    width: 75%;
    right:0;
    flex-direction: column;
    margin-right:-100vw;
    pointer-events: none;
    z-index: 6;
    font-size: 1.5rem;
  }

  nav ul.initial-state {
   transition: margin 0.25s ease-out;
  }

  nav ul.open {
    transition: margin 0.25s ease-out;
    pointer-events: all;
    opacity: 1;
    margin-right:0;
  }

  #overlay {
    opacity: 0;
    display: inherit;
    transition: opacity 0.25s ease-out;
  }

  #overlay.open {
    display: inherit;
    position: fixed;
    margin: 0;
    background-color: #000;
    opacity: 0.5;
    width: 100vw;
    height: 100vh;
    left:0;
    top:0;
    z-index: 6;
  }

  nav li:nth-child(1) { order:2; }
  nav li:nth-child(2) { order:3; }
  nav li:nth-child(3) { order:4; }
  nav li:nth-child(4) { order:5; }
  nav li:nth-child(5) { order:1; } */



  /* Guru */
  .guru::before,
  .guru::after {
    background: none;
  }

  .guru .container {
    overflow: hidden;
    /* margin-top:-100px; */
  }

  .guru p:nth-of-type(1){ width: 90%; }
  .guru p:nth-of-type(2){ width: 90%; padding-top: .5rem}
  .guru p:nth-of-type(3){ width: 90%; padding-top: .5rem}

  
  /* Around the world */
  .around-the-world .container{
    grid-template-columns: none;
    /* grid-template-rows: repeat(1, 1fr); */
    grid-template-rows: 100px, 300px;
    grid-gap: 0;
    /* padding:0; */
    align-items: stretch;
  }  

  .around-the-world .container div:nth-child(1) { order: 2; }
  .around-the-world .container div:nth-child(2) { order: 1; margin-bottom: 2rem;}

  .around-the-world h1 {
    margin-top: 10px;
  }



  /* Name generator */
  .name-generator .container {
    grid-template-columns: none;
    /* grid-template-rows: repeat(1, 1fr); */
    grid-template-rows: 100px, 300px;
    grid-gap: 0;
    /* padding:0; */
    align-items: stretch;
  }

  .name-generator img {
    height: 50vh;
    margin-top: 3em;
  }



  /* Library */
  .library .floating-books {
    display: none;
  }

  .library p {
    width: 95%;
  }

}




