/* ------------------------------------------
 * Global CSS
 * ------------------------------------------
 */

html {
  font-size: 21px;
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
}

main {
  height: 100%;
  overflow: auto;
  overflow-x: hidden;
}

/* NAV */

nav {
  height: 0%;
}

#menu {
  position: fixed;
  height: 100%;
  width: 250px;
  margin: -100px 0 0 -50px;
  padding-top: 125px;

  background: linear-gradient(0deg, rgb(147 206 222) 0%, rgb(249 191 105) 100%);
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  /* to stop flickering of text in safari */

  transform-origin: 0% 0%;
  transform: translate(-100%, 0);

  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}

@media (max-width: 768px) {
  #menu {
    opacity: 93%;
  }
}

@media (min-width: 768px) {
  #menu {
    opacity: 70%;
  }
}

#menuToggle {
  display: block;
  position: fixed;
  top: 20px;
  left: 20px;

  z-index: 1;

  -webkit-user-select: none;
  user-select: none;
}

/*
 * And let's slide it in from the left
 */
#menuToggle input:checked ~ ul {
  transform: none;
}

#menuToggle ul {
  list-style-type: none;
  padding-left: 18px;
}

#menuToggle li {
  padding: 0;
  font-size: 0.95rem;
  margin: 1.5rem;
  transition: 0.3s;
}

#menuToggle a {
  color: purple;
  text-decoration: none;
}

#menuToggle a:hover {
  color: #23890a;
}

#menuToggle input {
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  left: -5px;

  cursor: pointer;

  opacity: 0; /* hide this */
  z-index: 2; /* and place it over the hamburger */

  -webkit-touch-callout: none;
}

/*
 * Just a quick hamburger
 */
#menuToggle span {
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  background: #fff896;
  border-radius: 3px;
  z-index: 1;
}

@media (max-width: 499px) {
  #menuToggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin-bottom: 3px;
    position: relative;
    background: #fff896;
    border-radius: 3px;
    z-index: 1;
  }
}

/* End Nav */

section {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  min-height: 100vh;
  min-width: 100vw;
  position: relative;
}

.section__header {
  color: #fff;
  font-family: Futura, "Trebuchet MS", Arial, sans-serif;
  font-size: 28px;
  letter-spacing: 7px;
  line-height: 35px;
  margin-top: 6rem;
  max-width: 50rem;
  overflow: hidden;
  padding-left: 1rem;
  padding-right: 1rem;
  text-align: center;
  text-shadow: rgba(0,0,0,0.3) 0px 0px 4px, rgba(0,0,0,0.5) 1px 1px 7px;
  text-transform: uppercase;
  word-wrap: break-word;
}

.section__main {
  align-items: center;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-evenly;
  margin: 0 0;
  max-width: 45rem;
  width: 100%;
}

.section__main-text {
  color: #fff;
  font-size: 1.4rem;
  margin: 1rem;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.7);
}

.section__main-image {
  margin: 1rem auto;
  display: block;
}

.section__main-image img {
  max-width: 12rem;
  width: 100%;
}

@media (max-width: 800px) {
  .section__header {
    margin-top: 4rem;
    margin-bottom: 2rem;
  }
  main {
    overflow-x: hidden;
  }
}

@media (max-width: 320px) {
  .section__header {
    font-size: 20px;
  }
}

@media (min-width: 500px) {
  .section__header {
    font-size: 2rem;
    line-height: 3rem;
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

@media (min-width: 800px) {
  .section__main {
    flex-direction: row;
    margin: 0 4rem;
  }
}

@media (min-width: 950px) {
  .section__main-text {
    margin: 3rem;
  }
  .section__main-image {
    margin: 3rem;
  }
}


/* ------------------------------------------
 * GLIDE STYLE OVERRIDES
 * ------------------------------------------
 */

.glide__slide {
  background-repeat: repeat;
  background-size: cover;
  height: 100vh;
}

.glide__slides {
  margin: 0;
}

.glide__arrow {
  background-color: rgba(255, 255, 255, .3);
  border-radius: 50%;
  border: 2px rgba(230, 230, 230, .5);
  color: rgba(45, 45, 45, .5);
  font-size: 1.4rem;
  padding: 8px 15px;
}

.glide__arrow:hover {
  background-color: rgba(247, 247, 247, 0.5);
}

@media (max-width: 910px) {
  .glide__arrow--left {
    left: 0.1em;
  }
  .glide__arrow--right {
    right: 0.1rem;
  }
}


/* ------------------------------------------
 * SECTION 1 -- SUPERHERO
 * ------------------------------------------
 */

#section__superhero {
  height: 100vh;
  width: 100vw;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

#superhero__gif {
  bottom: 0;
  height: 100vh;
  left: 0;
  -o-object-fit: cover;
  object-fit: cover;
  overflow: hidden;
  position: absolute;
  right: 0;
  top: 0;
  width: 100vw;
}

.superhero__image {
  bottom: 0;
  height: 100vh;
  left: 0;
  object-fit: cover;
  overflow: hidden;
  position: absolute;
  right: 0;
  top: 0;
  width: 100vw;
  background-position: center center;
  background-size: cover;
  background-color: #a37b5e;
}

#superhero__text {
  position: absolute;
  font-family: fantasy;
  top: 1%;
  font-size: 3.5rem;
  background: -webkit-linear-gradient(#eee, rgb(245, 205, 105));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
}

@media (min-width: 800px) {
  .superhero__title-image-desktop {
    position: absolute;
    top: 0;
    width: 824px;
    margin-top: -10px;
    padding-left: 2px;
  }

  .superhero__title-image-mobile {
    display: hidden;
  }
}

@media (max-width: 799px) {
  .superhero__title-image-desktop {
    display: hidden
  }

  .superhero__title-image-mobile {
    position: absolute;
    top: 1%;
    width: 250px;
    margin-top: 2em;
  }
}

.fill-container-img img {
  width: 100%;
  height: auto;
}

#superhero__text > span {
  padding-left: 8px;
}

#superhero__tm {
  font-size: 0.7rem;
  padding-right: 0.5rem;
  vertical-align: top;
}

@media (max-width: 800px) {
  #superhero__text {
    font-size: 2.3rem;
    text-align: center;
    padding: 0 5px;
  }
}

#superhero__image {
  -webkit-filter: blur(10px);
  filter: blur(10px);
  background-image: url("https://ik.imagekit.io/lightmindmeditation/fifteencharacters/heroes/hero-beach-tiny_OPgr26H0h.png");
}

#superhero__image-full {
  background-image: url("https://ik.imagekit.io/lightmindmeditation/fifteencharacters/tr:q-70/heroes/hero-beach_pY7ERrpt0.png");
}

@media (max-width: 400px) {
  #superhero__text {
    font-size: 2.3rem;
  }

  #superhero__image {
    background-image: url("https://ik.imagekit.io/lightmindmeditation/fifteencharacters/heroes/hero-beach-mobile-tiny_0ct9X_9bw.png");
  }

  #superhero__image-full {
    background-image: url("https://ik.imagekit.io/lightmindmeditation/fifteencharacters/tr:q-70/heroes/hero-beach-mobile_SZyaq57Vi.png");
  }
}


@media (max-width: 320px) {
  #superhero__text {
    font-size: 35px;
    margin: 60px 0;
  }
}

/* ------------------------------------------
 * SECTION 1.5 -- LOGO and SLOGAN
 * ------------------------------------------
 */

#section__logo-slogan {
  background: radial-gradient(circle, rgba(226,135,47,1) 0%, rgba(222,167,217,1) 100%);
  background-position: center center;
  background-size: cover;
  min-height: auto;
}

#logo-slogan__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 12px;
}

#logo-slogan__text {
  color: white;
  text-align: left;
  margin: 0;
  min-width: fit-content;
  text-shadow: 1px 1px 5px rgb(0 0 0 / 90%);
}

#logo-slogan__text-sm {
  color: white;
  text-align: left;
  margin: 0;
  min-width: fit-content;
  text-shadow: 1px 1px 5px rgb(0 0 0 / 90%);
  margin-bottom: 6px;
}

#logo-slogan__col {
  display: flex;
  flex-direction: column;
  padding: 12px 0;
}

#logo-slogan__row {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 0 -12px;
  padding-top: 12px;
}

@media(max-width: 500px) {
  #logo-slogan__row {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 0px;
  }
  #logo-slogan__container {
    padding-bottom: 10px;
  }
}


#logo {
  height: 49px;
  margin-bottom: 6px;
  border-radius: 7px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  margin-right: 12px;
}

@media(max-width: 300px) {
  #logo-slogan__text {
    font-size: 0.75em;
  }
  #logo-slogan__text-sm {
    font-size: 0.7em;
  }
}

@media(min-width: 301px) {
  #logo-slogan__text {
    font-size: 0.9em;
  }
  #logo-slogan__text-sm {
    font-size: 0.8em;
  }
}

@media(min-width: 480px) {
  #logo-slogan__text {
    font-size: 1.2em;
  }
  #logo-slogan__text-sm {
    font-size: 0.85em;
  }
}

@media(min-width: 768px) {
  #logo-slogan__text {
    font-size: 1.5em;
  }
  #logo-slogan__text-sm {
    font-size: 1em;
  }
}

@media(min-width: 992px) {
  #logo-slogan__text {
    font-size: 1.5em;
  }
  #logo-slogan__text-sm {
    font-size: 1em;
  }
}

@media(min-width: 1200px) {
  #logo-slogan__text {
    font-size: 1.5em;
  }
  #logo-slogan__text-sm {
    font-size: 1em;
  }
}

/* ------------------------------------------
 * SECTION 2 -- QUOTE OF THE DAY
 * ------------------------------------------
 */

#section__quote-of-the-day {
  background: radial-gradient(circle, rgb(85, 183, 212) 0%, rgba(226,135,47,1) 100%);
  background-position: center center;
  background-size: cover;
}

.section__quote-text {
  margin: 2rem;
  text-align: center;
}

.section__quote-text p {
  color: #fff;
  font-size: 1.2rem;
  margin: 0;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

.play-pause {
  align-self: center;
  margin-top: 2rem;
  position: relative;
  z-index: 2;
}

#button-circle {
  cursor: pointer;
  background-color: rgba(255, 255, 255, .5);
  border: 1.4rem solid rgba(255, 255, 255, .5);
  bottom: 2.1rem;
  left: 0.9rem;
  position: relative;
  border-radius: 50%;
  z-index: -1;
}

#play-pause-checkbox {
  position: absolute;
  left: -9999px;
}

.play-pause label {
  border-color: transparent transparent transparent #303030;
  border-style: double;
  border-width: 0 0 0 30px;
  box-sizing: border-box;
  bottom: 4.3rem;
  cursor: pointer;
  display: block;
  height: 38px;
  margin-left: 0px;
  left: 1.6rem;
  position: relative;
  transition: 100ms all ease;
  width: 0;
  will-change: border;
  z-index: 2;
}

.play-pause input[type='checkbox']:checked + label {
  border-style: solid;
  border-width: 18.5px 0 18.5px 30px;
  margin-left: 3px;
}

@media (min-width: 500px) {
  .section__quote-text p {
    font-size: 2rem;
  }
}

@media(max-width: 800px) {
  #section__quote-of-the-day h2 {
    margin-top: 3rem;
  }
  .section__quote-text {
    justify-content: auto;
    width: 80%;
  }
}


/* ------------------------------------------
 * SECTION 3 -- WELCOME
 * ------------------------------------------
 */

#section__welcome {
  background: radial-gradient(circle, rgba(226,135,47,1) 0%, rgba(222,167,217,1) 100%);
}

@media (max-width: 800px) {
  #section__welcome .section__main-text {
    padding: 0.6rem;
    font-size: 1.2rem;
  }
}

@media (min-width: 800px){
  .section__main-text {
    width: 65%
  }
}

/* ------------------------------------------
 * SECTION 4 -- FEATURES CAROUSEL
 * ------------------------------------------
 */

#section__features-carousel {
  background: linear-gradient(0deg, rgb(252, 201, 92) 0%, rgb(83, 187, 189) 100%);
  padding-bottom: 0;
}

#section__features-carousel .section__main {
  margin: 0;
}

.glide__slide.carousel-cell {
  align-items: center;
  background-position: center;
  background-repeat: no-repeat;
  background-size: auto 82%;
  display: flex;
  justify-content: space-around;
  margin: 0px;
}

.features-carousel__phones {
  display: flex;
  justify-content: center;
  width: 65%
}

.features-carousel__phone {
  height: 500px;
  width: 245px;
  padding: 3px;
}

.features-carousel__cell-text-box {
  height: 82%;
  opacity: .85;
  padding: 1.0rem;
  width: 35%;
  justify-content: center;
  flex-direction: column;
  display: flex;
}

.features-carousel__cell-text-inner {
  text-align: center;
  display: grid;
  height: 500px;
}

.features-carousel__cell-text-inner ul {
  text-align: left;
}

.features-carousel__cell-text-inner li {
  margin-bottom: 1.0rem;
}

#features-carousel__cell-text-title {
  top: 0;
  color: white;
}

@media (max-width: 850px) {
  .glide__slide.carousel-cell {
    background-position: 50% 100%;
    background-size: auto 75%;
  }
  .feature-position.carousel-cell {
    flex-direction: column-reverse;
    width: 100%
  }
  .features-carousel__cell-text-box {
    color: #1f1f1f;
    height: 17%;
    margin-top: 1.3rem;
    opacity: 1;
    width: 100%;
    font-size: 1.2rem;
  }
  .features-carousel__phone {
    width: 196px;
    height: 400px;
    margin-bottom:10px;
  }
  #section__features-carousel .glide__arrow {
    top: 65%;
  }
  .features-carousel__cell-text-inner {
    text-align: center;
  }
  #features-carousel__cell-text-title {
    visibility: hidden;
    height: 0;
    margin: 0;
  }
  .features-carousel__cell-text-inner ul {
    visibility: hidden;
    height: 0;
    margin: 0;
  }
  .glide__bullets {
    bottom: 1rem;
  }
}

@media (max-width: 530px) {
  .features-carousel__cell-text-box {
    color: #1f1f1f;
    font-size: 1rem;
    height: 25%;
    margin-top: 30px;
    opacity: 1;
    width: 100%;
  }
  .features-carousel__phone {
    width: 147px;
    height: 300px;
    margin-bottom: 10px;
  }
}

@media (min-width: 910px) {
  #section__features-carousel {
    padding-bottom: 7%;
  }
  .features-carousel__cell-text-box {
    padding: 2rem;
  }
  #section__features-carousel .section__main {
    margin: 0 4rem;
  }
  #section__features-carousel .glide__arrow--left {
    left: -3rem;
  }
  #section__features-carousel .glide__arrow--right {
    right: -3rem;
  }
}

/* ------------------------------------------
 * TUTORIAL VIDEO
 * ------------------------------------------
 */

#section__tutorial-video {
  background: radial-gradient(circle, rgba(226,135,47,1) 0%, rgba(222,167,217,1) 100%);
  min-height: fit-content;
  text-align: center;
}

@media (max-width: 800px) {
  #section__tutorial-video .section__main-text {
      padding: 0.6rem;
      font-size: 1.2rem;
  }
}

#section__tutorial-video .section__main {
  flex-direction: column;
}

#section__tutorial-video .section__main-text {
  margin: 0 1rem;
}

#section__tutorial-video iframe {
  margin: 2rem 0 5rem 0
}

@media (max-width: 320px) {
  #section__tutorial-video iframe {
    width: 270px;
    height: 580px;
  }
}

#tutorial-close-button {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}


#tutorial-close-button a {
  text-decoration: none;
  color: #897a72;
  cursor: pointer;
  font-size: 50px;
  padding: 10px 25px;
}

/* ------------------------------------------
 * SECTION 5 -- SCREENSHOT GALLERY
 * ------------------------------------------
 */

#section__screenshot-gallery {
  background: linear-gradient(144deg, rgba(254,148,161,1) 0%, rgba(65,186,178,1) 50%, rgb(217, 247, 162) 100%);
  padding-bottom: 7%;
}

#section__screenshot-gallery .section__main {
  /* the gallery doesn't show up unless flex-direction is set to row
  or align-items is not set. */
  flex-direction: row;
}

#section__gallery-content {
  display: flex;
  flex-grow: 1;
  flex-wrap: wrap;
  justify-content: space-evenly;
  max-width: 40rem;
}

.section__gallery-item {
  background-position: center center;
  background-size: cover;
  cursor: pointer;
  display: block;
  margin-bottom: 5%;
  padding-bottom: 38%;
  width: 30%;
}

@media (max-width: 800px) {
  #section__screenshot-gallery {
    padding-bottom: 1rem;
  }
  .section__gallery-item {
    margin-bottom: 2.5%;
  }
}


/* ------------------------------------------
 * SCREENSHOT GALLERY OVERLAY
 * ------------------------------------------
 */

.overlay {
  background-color: rgba(0, 0, 0, 0.8);
  bottom: 0px;
  left: 0px;
  position: fixed;
  right: 0px;
  visibility: hidden;
  will-change: contents;
  z-index: 2;
}

.fullscreen-button {
  background-color: rgba(255, 255, 255, .3);
  border-radius: 15%;
  border: 2px rgba(230, 230, 230, .5);
  height: 1.5rem;
  position: absolute;
  top: 1rem;
  right: 2rem;
  z-index: 1;
}

#overlay-content {
  /* Necessary for correct phone to appear on fullscreen */
  height: auto;
  overflow: scroll;
}

.glide__slide.overlay__carousel-cell {
  background-color: rgba(182, 181, 181, 0.5);
  background-position: 25%, 75%;
  background-repeat: no-repeat;
  background-size: auto 85%;
  cursor: auto;
  display: flex;
  height: 100vh;
  justify-content: center;
  width: 100vw;
}


@media (max-width: 530px) {
  .glide__slide.overlay__carousel-cell {
    background-size: auto 65%;
  }
  .fullscreen-button {
    top: 6rem;
    right: 1rem;
  }
}

/* make one phone appear with smaller screens */
@media (max-width: 1035px) {
  .glide__slide.overlay__carousel-cell {
    background-position: 50%, 50%;
  }
}


/* ------------------------------------------
 * SECTION 6 -- TESTIMONIAL SLIDESHOW
 * ------------------------------------------
 */

#section__testimonials {
  min-height: auto;
  background: linear-gradient(0deg, rgb(252, 201, 92) 0%, rgb(83, 187, 189) 100%);
}

#section__testimonials .section__header{
  margin-top: 2.5rem;
}

.testimonial-quotes__cell-text {
  align-items: center;
  bottom: 0;
  color: #fff;
  display: flex;
  font-size: 1rem;
  justify-content: center;
}

.testimonial-quotes__cell-text p {
  margin: 0 60px;
  max-width: 40rem;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000, rgba(0, 0, 0, 0.4) 0px 4px 5px;
}

@media (min-width: 500px) {
  .testimonial-quotes__cell-text p {
    font-size: 28px;
  }
}

@media (max-width: 800px) {
  .testimonial-quotes__cell-text {
    height: 100%;
    margin-top: 0 !important;
    text-align: center;
  }
}

/* ------------------------------------------
 * SECTION 7 -- SUPPORT
 * ------------------------------------------
 */

#section__support {
  background:  #ffd885;
  color: #000;
  font-size: 15px;
  min-height: 10vh;
  text-align: center;
  padding-top: 6px;
  padding-bottom: 16px;
}

@media (max-width: 530px) {
  .section__support-text {
    font-size: 10px;
    padding-left: 16px;
    padding-right: 16px;
  }
}


/* ------------------------------------------
 * SECTION 8 -- CONTACT
 * ------------------------------------------
 */

#section__contact {
  background:  #3d325a;
  color: rgb(219, 218, 218);
  font-size: 0.8rem;
  min-height: 10vh;
  text-align: center;
}

#section__contact #sml-screen {
  visibility: hidden;
  position: absolute;
  margin: 0;
}

#section__contact #med-screen {
  visibility: hidden;
  position: absolute;
  margin: 0;
}

#section_contact #lrg-screen {
  position: absolute;
}

.section__contact-app-name {
  font-size: 1rem;
}

@media (max-width: 1000px) {
  #section__contact #sml-screen {
    visibility: hidden;
  }
  #section__contact #med-screen #section__contact-app-name {
    visibility: visible;
  }
  #section__contact #lrg-screen #section__contact-app-name {
    visibility: hidden;
  }
}

@media (max-width: 670px) {
  #section__contact #sml-screen {
    visibility: visible;
  }
  #section__contact #med-screen {
    visibility: hidden;
  }
  #section__contact #lrg-screen {
    visibility: hidden;
  }
}

/* ------------------------------------------
 * ABOUT PAGE
 * ------------------------------------------
 */

.about__header {
  font-family: Baskerville;
  font-style: italic;
  font-weight: 400;
  color: white;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.7);
  max-width: 70vw;
}

.about__text {
  color: white;
}

.about__text a {
  text-decoration: none;
  color: #3a5ce0;
}

.about__text a:hover {
  text-decoration: underline;
}

.section__about {
  justify-content: center;
  min-height: fit-content;
  padding: 100px 0;
}

#section__welcome-to-light-mind-meditation {
  background: linear-gradient(0deg, rgb(252, 201, 92) 0%, rgb(83, 187, 189) 100%);
}

#section__about-rama {
  background: linear-gradient(144deg, rgba(254,148,161,1) 0%, rgba(65,186,178,1) 50%, rgb(217, 247, 162) 100%);
}

#section__about-the-app {
  background: radial-gradient(circle, rgba(226,135,47,1) 0%, rgba(222,167,217,1) 100%);
}

#section__ramas-meditation-technique {
  background: linear-gradient(144deg, rgba(254,148,161,1) 0%, rgba(65,186,178,1) 50%, rgb(217, 247, 162) 100%);
}

#section__meditation-music {
  background: linear-gradient(0deg, rgb(252, 201, 92) 0%, rgb(83, 187, 189) 100%);
}

#section__meditation-music .about__text{
  display: flex;
  justify-content: center;
}

.about__header {
  font-size: 32px;
}

.about__text {
  font-size: 18px;
  width: 70vw;
  margin-bottom: 50px;
}

@media (min-width: 1024px) {
  .about__text {
    width: 60vw;
  }
}
