@config "../../../tailwind.config.js";
@import "tailwindcss";
@plugin "daisyui" {
  themes: light --default;
}

.button {
  @apply btn;
}
/*==========  Mobile First Method  ==========*/

/* Custom, iPhone Retina */
@media only screen and (min-device-width: 320px) and (min-width : 320px) {
  .logo {
    text-align: center;
    line-height: 1.42857143;
    margin: auto;
    font-family: 'dejavu_serifbook';
    border: .03em solid;
  }

  #front-logo {
    width: 100%;
    font-size: 28vw;
    margin-bottom: .1em;
  }
}

/* Extra Small Devices, Phones */
@media only screen and (min-device-width: 480px) and (min-width : 480px) {

}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {

}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {
  #front-logo {
    font-size: 19vw;
  }
}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {
  #front-logo {
    font-size: 11vw;
  }
}

/*==========  Mobile First Method  ==========*/

/* Custom, iPhone Retina */
@media only screen and (min-device-width: 320px) and (min-width : 320px) {
  .sentence {
    font-size: calc(100vw / 10);
    font-weight: inherit;
    text-align: center;
    border-radius: 21px;
    border-style: none;
    padding: 0.3em;
    margin: -0.2em;
  }
  
  .word {
    border-radius: 15px;
    border-color: lightgray;
    border-width: 2px;
    border-style: solid;
    padding: 0.09em;
    margin: 0.02em;
    display: inline-block;
  }

  .punctuation-group {
    display: inline-block;
  }

  .group {
    background-color: whitesmoke;
  }
  
  .hide {
    color: transparent;
  }

  .reveal {
    color: black;
  }

  #marquee-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
  }
  
}

/* Mobile-only: sentence hiding, word isolation, full-width section */
@media only screen and (max-width: 767px) {
  .hidden-sentence {
    display: none;
  }

  .hidden-sentence.revealed {
    display: block;
  }

  .cycle-hidden {
    display: none;
  }

  section.word-isolated .word {
    display: none;
  }

  section.word-isolated .word.group {
    display: inline-block;
  }

  section.word-isolated .punctuation-group:not(:has(.word.group)) {
    display: none;
  }

  section {
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
  }
}

/* Extra Small Devices, Phones */
@media only screen and (min-device-width: 480px) and (min-width : 480px) {

}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {
  .sentence {
    font-size: calc(100vw / 25);
  }
}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {

}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {
  .sentence {
    font-size: calc(100vw / 50);
  }
}

.snippet {
  font-size: calc(100vw / 15);
  line-height: 1.8;
}

.snippet-word {
  border: 2px solid lightgray;
  border-radius: 15px;
  padding: 0.09em;
  margin: 0.02em;
  display: inline-block;
}

.attempts-0  { background-color: hsl(40, 80%, 97%); }
.attempts-1  { background-color: hsl(40, 80%, 91%); }
.attempts-2  { background-color: hsl(40, 80%, 85%); }
.attempts-3  { background-color: hsl(40, 80%, 78%); }
.attempts-4  { background-color: hsl(40, 80%, 71%); }
.attempts-5  { background-color: hsl(40, 80%, 64%); }
.attempts-6  { background-color: hsl(40, 80%, 57%); }
.attempts-7  { background-color: hsl(40, 80%, 50%); }
.attempts-8  { background-color: hsl(40, 80%, 44%); }
.attempts-9  { background-color: hsl(40, 80%, 38%); }
.attempts-10 { background-color: hsl(40, 80%, 32%); }

@media only screen and (min-width: 768px) {
  .snippet {
    font-size: calc(100vw / 30);
  }
}

@media only screen and (min-width: 1200px) {
  .snippet {
    font-size: calc(100vw / 60);
  }
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *


 */
