/*  aurthor : codemyvision (AA)
	Dec 2020
	1. Body
	2. Nav/Header
	3. Main Content
	4. Footer
	5. Animations
	6. Any extras
	7. Media Queries
*/

/* Body */
html,
body {
  top: 0px !important;
  color: #000000 !important;
  font-family: hero-new, sans-serif;
  font-weight: 400 !important;
  font-style: normal;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  overflow-x: hidden;
  height: 100%;
  width: 100%;
  position: relative;
}
.background-header {
  background-image: url("../images/background-header.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 3;
}
.background-footer {
  background-image: url("../images/background-footer.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 1;
}

#background-wrap {
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 2;
}
.hero-new {
  font-family: hero-new, sans-serif;
  font-style: normal;
}
/* Header / Nav */

.wpcc-color-custom--943834009.wpcc-container {
  width: 100vw;
}

.x1 {
  -webkit-animation: animateCloud 48s linear infinite;
  -moz-animation: animateCloud 48s linear infinite;
  animation: animateCloud 48s linear infinite;
  -webkit-transform: scale(0.25);
  -moz-transform: scale(0.25);
  transform: scale(0.25);
  width: 100%;
  height: 23px;
  top: 130px;
  position: absolute;
  z-index: 2;
}

.x2 {
  -webkit-animation: animateCloud 55s linear infinite;
  -moz-animation: animateCloud 55s linear infinite;
  animation: animateCloud 55s linear infinite;
  animation-delay: -30s;
  -webkit-transform: scale(0.3);
  -moz-transform: scale(0.3);
  transform: scale(0.3);
  width: 100%;
  height: 23px;
  top: 25vh;
  position: absolute;
  z-index: 2;
}

.x3 {
  -webkit-animation: animateCloud 55s linear infinite;
  -moz-animation: animateCloud 55s linear infinite;
  animation: animateCloud 55s linear infinite;
  animation-delay: -20s;
  -webkit-transform: scale(0.1);
  -moz-transform: scale(0.1);
  transform: scale(0.1);
  width: 100%;
  height: 23px;
  top: 28vh;
  position: absolute;
  z-index: 2;
}

.x4 {
  -webkit-animation: animateCloud 55s linear infinite;
  -moz-animation: animateCloud 55s linear infinite;
  animation: animateCloud 55s linear infinite;
  animation-delay: -30s;
  -webkit-transform: scale(0.1);
  -moz-transform: scale(0.1);
  transform: scale(0.1);
  width: 100%;
  height: 23px;
  top: 130px;
  position: absolute;
  z-index: 2;
}
.cloud-bird-one {
  position: absolute;
  left: 12%;
  top: -90px;
  transform: rotate(2deg);
}

.cloud-bird-two {
  position: absolute;
  left: 20%;
  top: -300px;
  transform: rotate(2deg);
}

.cloud-bird-three {
  position: absolute;
  top: -100px;
  transform: rotate(2deg);
  left: 20px;
}

.cloud-bird-four {
  position: absolute;
  left: 40%;
  top: -200px;
  transform: rotate(2deg);
}

.language-container {
  padding: 1%;
  position: absolute;
  left: 93%;
  z-index: 999;
}

.language-text {
  text-align: center;
  text-decoration: none;
  position: absolute;
  left: 0px;
  top: 1vh;
  width: 100%;
}
.language-text a {
  color: #000000;
  font-size: 15px;
  overflow: auto;
  white-space: nowrap;
}

/* Main content */
.dropbtn {
  color: black;
  padding: 10px;
  border: none;
  cursor: pointer;
  position: fixed;
  z-index: 1;
  top: 20px;
  right: 20px;
  font-size: 16px;
  background: #fff;
  border-radius: 4px;
}

.dropbtn:hover,
.dropbtn:focus {
  box-shadow: rgba(0, 0, 0, 0.2) 0 5px 15px;
  -webkit-transition: all 0.3s cubic-bezier(0, 0.99, 0.44, 0.99);
  -moz-transition: all 0.3s cubic-bezier(0, 0.99, 0.44, 0.99);
  -o-transition: all 0.3s cubic-bezier(0, 0.99, 0.44, 0.99);
  -ms-transition: all 0.3s cubic-bezier(0, 0.99, 0.44, 0.99);
  transition: all 0.3s cubic-bezier(0, 0.99, 0.44, 0.99);
}

#myInput {
  box-sizing: border-box;
  background-image: url("searchicon.png");
  background-position: 14px 12px;
  background-repeat: no-repeat;
  font-size: 16px;
  padding: 14px 20px 12px 45px;
  border: none;
  border-bottom: 1px solid #ddd;
  display: block;
}

#myInput:focus {
  outline: 3px solid #ddd;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  overflow: auto;
  position: fixed;
  z-index: 1;
  top: 20px;
  right: 20px;
  font-size: 14px;
  background: #fff;
  border-radius: 4px;
}

.dropdown-content a {
  color: black;
  padding: 10px 14px;
  text-decoration: none;
  display: block;
}

.dropdown a:hover {
  background-color: #ddd;
}

.show {
  display: block;
}

.main-content {
  display: inline-block;
  text-align: center;
  margin: 0% 40% 0 5%;
  font-size: 2vw;
  text-align: justify;
  text-align-last: center;
  font-weight: 300;
}

.sun-container {
  position: relative;
}
.sun-one {
  width: 3%;
  height: auto;
  position: absolute;
  z-index: 99;
  top: 35vh;
  left: 15%;
  opacity: 0;
  animation-delay: 2.5s !important;
  -webkit-animation-delay: 2.5s !important; /* Safari and Chrome */
}

.sun-two {
  width: 3%;
  height: auto;
  position: absolute;
  z-index: 99;
  top: 28vh;
  left: 35%;
  opacity: 0;
  animation-delay: 3.5s !important;
  -webkit-animation-delay: 3.5s !important; /* Safari and Chrome */
}
.sun-three {
  width: 3%;
  height: auto;
  position: absolute;
  z-index: 99;
  top: 57vh;
  left: 38%;
  opacity: 0;
  animation-delay: 4.5s !important;
  -webkit-animation-delay: 4.5s !important; /* Safari and Chrome */
}
.sun-four {
  width: 3%;
  height: auto;
  position: absolute;
  z-index: 99;
  top: 40vh;
  left: 49%;
  opacity: 0;
  animation-delay: 5.5s !important;
  -webkit-animation-delay: 5.5s !important; /* Safari and Chrome */
}
.sun-five {
  width: 3%;
  height: auto;
  position: absolute;
  z-index: 99;
  top: 65vh;
  left: 83%;
  opacity: 0;
  animation-delay: 6.5s !important;
  -webkit-animation-delay: 6.5s !important; /* Safari and Chrome */
}
.sun-six {
  width: 3%;
  height: auto;
  position: absolute;
  z-index: 99;
  top: 35vh;
  left: 65%;
  opacity: 0;
  animation-delay: 7.5s !important;
  -webkit-animation-delay: 7.5s !important; /* Safari and Chrome */
}
.sun-seven {
  width: 3%;
  height: auto;
  position: absolute;
  z-index: 99;
  top: 45vh;
  left: 80%;
  opacity: 0;
  animation-delay: 8.5s !important;
  -webkit-animation-delay: 8.5s !important; /* Safari and Chrome */
  opacity: 0;
}
.sun-one:hover,
.sun-two:hover,
.sun-three:hover,
.sun-four:hover,
.sun-five:hover,
.sun-six:hover,
.sun-seven:hover {
  animation: fade ease 1s;
}
.content-container {
  left: 24%;
  position: absolute;
  bottom: 0;
  height: 0;
  top: -1vw;
}

.social-container {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-left: 15px;
}

.social-container svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.headline {
  position: absolute;
  top: 30%;
  left: 25%;
  margin: -25px 0 0 -25px;
  z-index: 99;
  .headline-title {
    pointer-events: none;
  }
}
.headline-title {
  font-size: 50px;
  text-align: center;
  line-height: 1.1;
  font-weight: 300;
}

.title-two {
  float: right;
  width: 70%;
}

/* Footer */

footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* margin-top: -100px; */
  height: 25%;
  clear: both;
  z-index: 99;
}

.main-bird {
  position: absolute;
  z-index: 999;
  left: 35vw;
  top: -18em;
  width: 300px;
  height: auto;
  transform: rotate(1deg);
}

.credits {
  font-size: 26px;
}
.bottom-x1 {
  -webkit-transform: scale(0.2);
  -moz-transform: scale(0.2);
  transform: scale(0.2);
  width: 100%;
  height: 10%;
  left: -38%;
  position: absolute;
  z-index: 9999999;
}
.bottom-x1-top {
  transform: scale(0.2);
  width: 100%;
  height: 0;
  left: -40%;
  top: -60px;
  position: relative;
  z-index: 9999999;
}
.bottom-x {
  width: 100%;
  height: 0;
  top: -4vw;
  left: 10%;
  position: relative;
  z-index: 999999;
}
.bottom-x2 {
  -webkit-transform: scale(0.2);
  -moz-transform: scale(0.2);
  transform: scale(0.2);
  width: 100%;
  top: -93rem;
  z-index: 999999;
  left: 45vw;
  position: relative;
  -webkit-transition: all 1s ease-out;
  -moz-transition: all 1s ease-out;
  -o-transition: all 1s ease-out;
  transition: all 1s ease-out;
}

.bottom-x2:hover {
  transform: scale(0.25);
  -webkit-transition: all 1s ease-in-out;
  -moz-transition: all 1s ease-in-out;
  -o-transition: all 1s ease-in-out;
  transition: all 1s ease-in-out;
}
.download-text {
  position: absolute;
  top: 17vh;
  left: 92vw;
  transform: translate(-50%, -50%);
  font-size: 30px;
}

.download-text a {
  font-size: 30px;
  color: #000;
}
.download-text a:hover {
  color: #000000 !important;
  text-decoration: none !important;
}
.download-text a:visited {
  color: #000000 !important;
  text-decoration: none !important;
}

.bottom-x2-top {
  -webkit-transform: scale(0.2);
  -moz-transform: scale(0.2);
  transform: scale(0.2);
  width: 100%;
  top: -33rem;
  left: 40vw;
  position: relative;
  z-index: 9999999;
}

.bottom-left-clouds {
  position: relative;
  top: 0%;
  left: 0%;
  height: 100%;
  width: 100%;
}

.credits-social-wrapper {
  position: absolute;
  top: 14vh;
  left: 12vw;
  z-index: 9999;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.privacy-link {
  font-size: 16px;
  color: #000;
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.privacy-link:hover {
  opacity: 1;
  text-decoration: underline;
}

.social-container-center {
  position: absolute;
  top: 18vh;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  display: flex;
  gap: 18px;
  align-items: center;
}

.social-container-center a {
  color: #000;
  transition: opacity 0.3s ease;
}

.social-container-center a:hover {
  opacity: 0.7;
}

.social-container-center svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

/* Animations */
.fade-in {
  animation: fadeIn ease 1s;
  -webkit-animation: fadeIn ease 1s;
  -moz-animation: fadeIn ease 1s;
  -o-animation: fadeIn ease 1s;
  -ms-animation: fadeIn ease 1s;
  animation-fill-mode: forwards;
}

.animate__animated.animate__backInLeft {
  --animate-duration: 5s;
  opacity: 1;
}
.animate__animated.animate__bounce {
  --animate-duration: 1s;
}

.bubbles a {
  color: #000;
  z-index: 2;
}

.individual-bubble {
  position: absolute;
  border-radius: 100%;
  bottom: 10px;
  background-color: #45779d;
  z-index: 1;
}

.flex-container {
  display: flex;
  align-items: center;
}

.math-explorer-cloud {
  display: inline-block; /* gives the <a> a real box equal to the img size   */
  cursor: pointer; /* obvious affordance                                */
  text-decoration: none;
  vertical-align: top;
  img {
    opacity: 1;
    width: 100%;
    height: auto;
    z-index: 99;
    position: relative;
    animation: bounce-scale 2s ease-in-out infinite;
  }
}

.math-explorer-pro-cloud {
  display: inline-block; /* gives the <a> a real box equal to the img size   */
  cursor: pointer; /* obvious affordance                                */
  text-decoration: none;
  vertical-align: top;
  img {
    width: 100%;
    height: auto;
    position: relative;
    animation: bounce-scale-pro 2s ease-in-out infinite;
  }
}

/* Keyframes */
@keyframes bounce-scale {
  0% {
    transform: translate(-32%, -23%) scale(1);
  }
  25% {
    transform: translate(-32%, -23%) scale(1.07);
  }
  50%,
  100% {
    transform: translate(-32%, -23%) scale(1);
  }
}

@keyframes bounce-scale-pro {
  0% {
    transform: translate(-32%, -32%) scale(1);
  }
  25% {
    transform: translate(-32%, -32%) scale(1.07);
  }
  50%,
  100% {
    transform: translate(-32%, -32%) scale(1);
  }
}

@keyframes bounce-scale-mobile {
  0% {
    transform: translate(-32%, -55%) scale(1);
  }
  25% {
    transform: translate(-32%, -55%) scale(1.07);
  }
  50%,
  100% {
    transform: translate(-32%, -55%) scale(1);
  }
}

@keyframes bounce-scale-tablet {
  0% {
    transform: translate(0%, -38%) scale(1);
  }
  25% {
    transform: translate(0%, -38%) scale(1.07);
  }
  50%,
  100% {
    transform: translate(0%, -38%) scale(1);
  }
}

@keyframes fade {
  from {
    opacity: 0;
  }
}
@-webkit-keyframes animateCloud {
  0% {
    margin-left: -200px;
  }
  100% {
    margin-left: 100%;
  }
}

@-moz-keyframes animateCloud {
  0% {
    margin-left: -1000px;
  }
  100% {
    margin-left: 100%;
  }
}

@keyframes animateCloud {
  0% {
    margin-left: -1000px;
  }
  100% {
    margin-left: 100%;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@-moz-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@-o-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@-ms-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* cookie bar*/
.wpcc-color-custom--943834009 .wpcc-btn {
  color: rgb(0 0 0) !important;
  background-color: rgb(251 237 242) !important;
}
/* Smartphones (portrait and landscape) ----------- */
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (orientation: portrait) {
  .credits-social-wrapper {
    top: 61%;
    left: 16vw;
  }
  .credits {
    font-size: 10px;
  }
  .privacy-link {
    font-size: 8px;
  }
  .social-container-center {
    top: 81%;
    left: 50%;
    gap: 10px;
  }
  .social-container-center svg {
    width: 20px;
    height: 20px;
  }
  .social-container {
    margin-left: 8px;
    gap: 6px;
  }
  .social-container svg {
    width: 12px;
    height: 12px;
  }
  .headline-title {
    font-size: 20px;
    transform: translate(0%, -91%);
  }
  .main-content {
    font-size: 4vw;
  }
  .main-bird {
    width: 50%;
    top: -23vh;
  }
  .download-text {
    left: 87vw;
    top: 70%;
  }
  .download-text a {
    font-size: 16px;
  }
  .sun-one,
  .sun-two,
  .sun-three,
  .sun-four,
  .sun-five,
  .sun-six,
  .sun-seven {
    width: 9vw;
  }
  .math-explorer-cloud {
    img {
      animation: bounce-scale-mobile 2s ease-in-out infinite;
    }
  }
}
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (orientation: landscape) {
  .headline {
    left: 20%;
  }
  .headline-title {
    font-size: 3vw;
  }
  .credits-social-wrapper {
    top: 42%;
    left: 8.5%;
  }
  .credits {
    font-size: 1.6vw;
  }
  .privacy-link {
    font-size: 1.3vw;
  }
  .social-container-center {
    top: 50%;
    left: 50%;
    gap: 10px;
  }
  .social-container-center svg {
    width: 18px;
    height: 18px;
  }
  .social-container {
    margin-left: 8px;
    gap: 6px;
  }
  .social-container svg {
    width: 12px;
    height: 12px;
  }
  .download-text {
    top: 68%;
    width: 19%;
  }
  .download-text a {
    font-size: 2.5vw;
  }
  .main-content {
    font-size: 2vw;
  }
  .main-bird {
    top: -13vw;
    width: 13vw;
    height: auto;
  }
  .sun-one,
  .sun-two,
  .sun-three,
  .sun-four,
  .sun-five,
  .sun-six,
  .sun-seven {
    width: 3vw;
  }
}

/* Smartphones (landscape) ----------- */
@media only screen and (max-width: 768px) and (orientation: landscape) {
  .main-bird {
    top: -15vw;
    width: 40%;
  }
  .content-container {
    top: -2vw;
  }
  .main-content {
    font-size: 2.5vw;
  }
  .credits-social-wrapper {
    top: 8vw;
    left: 12vw;
  }
  .credits {
    font-size: 10px;
  }
  .privacy-link {
    font-size: 8px;
  }
  .social-container-center {
    top: 12vw;
    left: 50%;
    gap: 10px;
  }
  .social-container-center svg {
    width: 18px;
    height: 18px;
  }
  .social-container {
    margin-left: 8px;
    gap: 6px;
  }
  .social-container svg {
    width: 12px;
    height: 12px;
  }
  .headline-title {
    font-size: 18px;
  }
  .download-text {
    top: 9vw;
    left: 93vw;
  }
  .download-text a {
    font-size: 18px;
  }
}
/* Smartphones (portrait) ----------- */
@media only screen and (max-width: 320px) {
  .credits-social-wrapper {
    top: 15vh;
    left: 14vw;
  }
  .credits {
    font-size: 9px;
  }
  .privacy-link {
    font-size: 7px;
  }
  .social-container-center {
    top: 20vh;
    left: 50%;
    gap: 8px;
  }
  .social-container-center svg {
    width: 18px;
    height: 18px;
  }
  .social-container {
    margin-left: 6px;
    gap: 4px;
  }
  .social-container svg {
    width: 10px;
    height: 10px;
  }
  .headline-title {
    font-size: 20px;
    transform: translate(0%, -109%);
  }
  .main-content {
    font-size: 4vw;
  }
  .main-bird {
    width: 49%;
    top: -23vh;
  }
  .download-text {
    left: 87vw;
    top: 17vh;
  }
  .download-text a {
    font-size: 16px;
  }
  .sun-one,
  .sun-two,
  .sun-three,
  .sun-four,
  .sun-five,
  .sun-six,
  .sun-seven {
    width: 9vw;
  }
}
/* Smartphones (portrait and landscape) ----------- */
@media only screen and (max-device-width: 768px) and (min-device-width: 480px) and (orientation: portrait) {
  .credits-social-wrapper {
    top: 15.5vh;
    left: 15.5vw;
  }
  .credits {
    font-size: 14px;
  }
  .privacy-link {
    font-size: 11px;
  }
  .social-container-center {
    top: 20vh;
    left: 50%;
    gap: 12px;
  }
  .social-container-center svg {
    width: 22px;
    height: 22px;
  }
  .social-container {
    margin-left: 10px;
    gap: 8px;
  }
  .social-container svg {
    width: 14px;
    height: 14px;
  }
  .headline-title {
    font-size: 30px;
  }
  .main-content {
    font-size: 3.5vw;
  }
  .main-bird {
    top: -15em;
    width: 250px;
  }
  .download-text {
    top: 18vh;
    left: 86vw;
  }
  .download-text a {
    font-size: 26px;
  }
  .sun-one,
  .sun-two,
  .sun-three,
  .sun-four,
  .sun-five,
  .sun-six,
  .sun-seven {
    width: 9vw;
  }
}

/* iPads (portrait and landscape) -----------
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px) {
	
} */

/* iPads (landscape) ----------- */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {
  .headline {
    left: 20%;
  }
  .headline-title {
    font-size: 3vw;
  }
  .credits-social-wrapper {
    top: 56%;
    left: 11.5%;
  }
  .credits {
    font-size: 1.8vw;
  }
  .privacy-link {
    font-size: 1.4vw;
  }
  .social-container-center {
    top: 62%;
    left: 50%;
    gap: 14px;
  }
  .social-container-center svg {
    width: 24px;
    height: 24px;
  }
  .download-text {
    top: 68%;
    width: 19%;
  }
  .download-text a {
    font-size: 2.5vw;
  }
  .main-content {
    font-size: 2vw;
  }
  .main-bird {
    top: -13vw;
    width: 13vw;
    height: auto;
  }
}

/* iPads (portrait) ----------- */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
  .headline {
    left: 10% !important;
  }
  .headline-title {
    font-size: 30px;
    transform: translate(0%, -402%);
  }
  .credits-social-wrapper {
    top: 15.5vh;
    left: 15.5vw;
  }
  .credits {
    font-size: 16px;
  }
  .privacy-link {
    font-size: 12px;
  }
  .social-container-center {
    top: 20vh;
    left: 50%;
    gap: 12px;
  }
  .social-container-center svg {
    width: 24px;
    height: 24px;
  }
  .social-container {
    margin-left: 10px;
    gap: 8px;
  }
  .social-container svg {
    width: 14px;
    height: 14px;
  }
  .download-text {
    top: 17vh;
    left: 85vw;
  }
  .main-content {
    font-size: 3.5vw;
  }
  .download-text a {
    font-size: 32px;
  }
  .math-explorer-cloud {
    img {
      animation: bounce-scale-tablet 2s ease-in-out infinite;
    }
  }
}

/* Change background for screens below this ----------- */
@media only screen and (max-device-width: 1024px) and (orientation: portrait) {
  .background-header {
    background-image: url("../images/mobile-background-header.png");
  }
  .background-footer {
    background-image: url("../images/mobile-background-footer.png");
  }
  .headline {
    left: 20%;
  }
  .x1 {
    top: 12vh;
  }
  .x2 {
    top: 12vh;
  }
  .x3 {
    top: 9vh;
  }
  .x4 {
    top: 7vh;
  }
  .cloud-bird-one {
    width: 200px !important;
  }

  .cloud-bird-two {
    width: 650px !important;
  }

  .cloud-bird-three {
    width: 200px !important;
  }

  .cloud-bird-four {
    width: 650px !important;
  }
}

/* Desktops and laptops ----------- */
@media only screen and (min-width: 1024px) {
  .headline {
    left: 20%;
  }
  .headline-title {
    font-size: calc(24px + (26 - 14) * ((100vw - 300px) / (1600 - 300)));
  }
}
@media only screen and (min-width: 1824px) {
  .headline {
    left: 30vw;
  }
  .headline-title {
    font-size: 40px;
  }
}
