@import url('https://fonts.googleapis.com/css2?family=Overpass:wght@200&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap');

body {
    font-family: 'Overpass', sans-serif;
    font-weight: light;
    background: black;
    counter-reset: section;
}



h1 {
    font-size: 50pt;
    margin-bottom: 30px;
    color: #FFFAF0;
    font-family: 'Raleway', serif;
    text-align: center;
    text-transform: uppercase;
    font-weight: medium;
    letter-spacing: 3px;
    animation: pulsate 2s infinite alternate; 
}

h2 {
    font-size: 15pt;
    font-family: 'Raleway', sans-serif;
    font-weight: lighter;
    text-align: center;
    color: #8b8576;
}

.header {
    padding-top: 3em;
    padding-bottom: 3em;
}

h3.written-in-ink {
    font-size: 9pt;
    font-family: sans-serif;
    text-align: center;
    font-weight: 700;
    position: fixed;
    /*display: block;*/
    width: 100%;
    background: black;
    margin: 0;
    padding-top: 6px;
    padding-bottom: 6px;
    top: 0;
    display: none; /*I wanted to hide this for aesthetic purposes!*/

}

/* Seems necessary to make iframes work on itch.io on mobile iOS :-( */
.outerContainer {
    position: absolute;
    display: block;
    margin: 0;
    padding: 0;
    -webkit-overflow-scrolling: touch;
    overflow-y: scroll;
    overflow-x:hidden;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}

.container {
    display: block;
    max-width: 350px;
    min-height: 100vh;
    height: 100%;
    margin: 0 auto;
    padding: 70px;
    padding-top: 4em;
    background-image: url("images/backgroundtrans.png");
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: 100%;
    background-blend-mode: multiply;
    text-indent: -20px;

}

.switched .container {
    transition: background-color 0.6s;
}



#container {
    display: block;
}



@media only screen and (orientation: portrait) {
    #wrapper {
      width: 1024px;
    }
  }
  
  @media only screen and (orientation: landscape) {
    #wrapper {
      width: 1024px;
    }
  }




p {
    font-size: 14pt;
    color: #e6efee;
    line-height: 1.3em;
    font-weight: medium;
}

a {
    color: #BE761B;
    transition: color 0.6s;
    text-decoration: none;
}


a:hover {
    color: #F4E67E;
    transition: color 0.1s;
}

img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
}

.container .hide {
    opacity: 0.0;
}

.container .invisible {
    display: none;
}

.container * {
    opacity: 1.0;
    transition: opacity 1.0s;
}

p.choice {
    font-size: 14pt;
    line-height: 1.3em;
    color: #be3c1c;
    font-weight: medium;
    display: block;
    margin-top: -1em;
}

p.choice:before {
    font-size: 14pt;
    font-weight: medium;
    color: #e6efee;
    counter-increment: section;
    content: "" counter(section) ". - ";
}

/* first choice */
:not(.choice) + .choice {
    margin-top: .5em; 
}


p.choice a {
    font-size: 14pt;
}

/* Built in class if you want to write:
     The End # CLASS: end
*/
.end {
    text-align: center;
    font-weight: bold;
    color: black;
    padding-top: 20px;
    padding-bottom: 20px;
}

.menuTitle {
    padding: 20px;
    position: relative;
    font-size: 50pt;
    margin-bottom: 100px;
    text-align: center;
    color: #FFFAF0;
    font-family: 'Raleway', serif;
    text-transform: uppercase;
    font-weight: medium;
    letter-spacing: 3px;
    animation: pulsate 1.8s infinite alternate;
}
    .menuTitle:before {
        content: "";
        position: absolute;
        margin-top: 130px;
        top: 0%;
        left: 5%;
        right: 5%;
        width: 90%;
        height: 1px;
        background-image: linear-gradient(to right, transparent, #f4e67e, transparent);
    }
    
    .menuTitle:after {
        content: "";
        position: absolute;
        margin-top: 130px;
        z-index: 1;
        top: -3px;
        width: 5px;
        height: 5px;
        transform: rotate(45deg);
        background-color: #b8f8e6;
        border:1px solid transparent; /* control the offset of the lines */
        outline:1px solid #f4e67e8a ; /* adjust the 2px here */
        outline-offset:5px; /* control the offset of the rectangle */
    }



.menubyline {
    font-size: 11pt;
    font-family: 'Raleway', sans-serif;
    font-weight: lighter;
    color: #8b8576;
    margin-bottom: 60px;
    text-align: center;
    margin: 0;
    padding: 0;
    line-height: 5em;
}

.credits {
    font-size: 12pt;
    font-family: 'Raleway', sans-serif;
    font-weight: bolder;
    color: #f4e67e;;
    padding-top: 20px;
    padding-bottom: -20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
}
.please {
    font-size: 11pt;
    font-family: 'Raleway', sans-serif;
    color: #dad5cb;
    letter-spacing: 1px;
    line-height: 1.5em;
    text-align: center;
}
.role1 {
    font-size: 10pt;
    font-family: 'Raleway', sans-serif;
    color: #c2bbaa;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1em;
    text-align: center;
}
.role {
    font-size: 10pt;
    font-family: 'Raleway', sans-serif;
    color: #c2bbaa;
    padding-top: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 0.5em;
    text-align: center;
}
.fren {
    font-size: 14pt;
    font-family: 'Overpass', sans-serif;
    color: #f1f0e3;;
    line-height: 0.5em;
    text-align: center;
}

.que1 {
    font-size: 14pt;
    font-family: 'Overpass', sans-serif;
    color: #f1f0e3;;
    line-height: 0.5em;
    text-align: center;
    padding-top: 23px;
}
.que2 {
    font-size: 14pt;
    font-family: 'Overpass', sans-serif;
    color: #f1f0e3;;
    line-height: 0.5em;
    text-align: center;
    padding-bottom: 20px;
}
.signoff {
    font-size: 14pt;
    font-family: 'Overpass', sans-serif;
    color: #f1f0e3;;
    line-height: 0.5em;
    text-align: center;
}
.right {
    font-size: 14pt;
    font-family: 'Overpass', sans-serif;
    color: #f1f0e3;;
    line-height: 0.5em;
    text-align: right;
}


/* Start of the game-specific classes*/
body .name {
    font-weight: bold;
    font-family: 'Raleway', sans-serif;
    color: #32c199;
    text-transform: uppercase;
}

body .int {
    font-weight: bold;
    font-family: 'Raleway', sans-serif;
    color: #f4e67e;
    text-transform: uppercase;
}

body .psy {
    font-weight: bold;
    font-family: 'Raleway', sans-serif;
    color: #32c199;
    text-transform: uppercase;
}

body .fys {
    font-weight: bold;
    font-family: 'Raleway', sans-serif;
    color: #bfa066;
    text-transform: uppercase;
}

body .mot {
    font-weight: bold;
    font-family: 'Raleway', sans-serif;
    color: #E28EA8;
    text-transform: uppercase;
}

body .gen {
    font-weight: bold;
    font-family: 'Raleway', sans-serif;
    color: #c7b2ff;
    text-transform: uppercase;
}

body .pro {
    font-weight: bold;
    font-family: 'Raleway', sans-serif;
    color: #d34040;
    text-transform: uppercase;
}

body .check {
    color: #7e796a;
}

body .task {
    color: #86a979;
}

/* Text you've read already */
body .greyed {
    opacity: 0.5;
}

/* Continue button */
body .continue a {
    background-color: rgba(24, 73, 67, 0.1);
    width: 110%;
    margin-left: -20px;
    text-indent: 20px;
    display: block;
    font-family: 'Raleway', sans-serif;
    color: #FFFAF0 !important; 
    font-weight: 100; 
    font-size: 15pt;
    line-height: 2.1em;
    text-transform: uppercase;
    letter-spacing: 4px;
    border: 1px solid #06aa97; /* Solid border with neon color */
    border-radius: 1px; /* Slight rounding of corners */
    filter: drop-shadow(0 0 2px #06aa97) drop-shadow(0 0 3px #06aa97)
    contrast(1) brightness(1); /* Adds a subtle glow effect and enhances the vibrancy */
    transition: 0.5s; /* Smooth color change on hover */
}

/* Styling for hover state */
.continue:hover {
  filter: drop-shadow(0 0 3px rgba(24, 73, 67, 0.1)) drop-shadow(0 0 5px rgba(24, 73, 67, 0.1))
    contrast(1.3) brightness(1.3); /* Glow effect is enhanced on hover */
}


/* Red check options */
p.red{
    width: 110%;
    min-height: 1.3em;
    text-indent: 0px;
    margin-left: -20px;
    margin-top: -1em;
    display: block;
}

p.red a {
    font-size: 14pt;
    color: #99807a;
    line-height: 1.3em;
    font-weight: medium;

}

p.red:hover a {
    color: white;
}

/* White check options */
p.white{
    width: 110%;
    min-height:1.3em;
    text-indent: 0px;
    margin-left: -20px;
    margin-top: -1em;
    background-color: #cbc5b7;
    display: block;
}

p.white a {
    font-size: 14pt;
    color: #373735;
    line-height: 1.3em;
    font-weight: medium;

}

p.white:hover {
    background-color: #858070;
}

p.white:hover a {
    color: white;
}

/* Locked white check options*/
p.locked{
    width: 110%;
    min-height:1.3em;
    text-indent: 0px;
    margin-left: -20px;
    margin-top: -1em;
    background-color: #421128;
    display: block;
    border: 1px solid #421128; /* Solid border with neon color */
    border-radius: 2px; /* Slight rounding of corners */
    filter: drop-shadow(0 0 2px #701436) drop-shadow(0 0 3px #4c3144)
    contrast(1) brightness(1); /* Adds a subtle glow effect and enhances the vibrancy */
}

p.locked a {
    font-size: 14pt;
    color: #c7d3d1 !important;
    line-height: 1.3em;
    font-weight: medium;
    pointer-events: none;
}

/* For the choices you've already picked */
body .read a {
    color: #8d331a !important;
}

.read:hover a {
    color: white !important;
    transition: color 0.1s;
}


/* For "you" paragraphs */
.you:before {
    content: "YOU — "
}


/* Photos */
.photoContainer {
    display: none;
    justify-content:center;
}
.charframe {
    width: 150px;
    position: absolute;
    margin-left: -575px;
    margin-top: 124px;
}
.charphoto {
    width: 125px;
    position: absolute;
    margin-left: -573px;
    margin-top: 140px;
}
.charoverlay {
    width: 150px;
    position: absolute;
    margin-left: -575px;
    margin-top: 124px;
}
.portraitoverlay {
    position: relative;
    top: 0;
    left: 0;
}





/* scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: white;
    border-left: 4px solid black;
    border-right: 4px solid black;
    background-clip: padding-box;
}
::-webkit-scrollbar-thumb {
    background: white;
    height: 50px;
    border-radius:100px;
}



/* neon, pulsating text */
@keyframes pulsate {
  100% {
    /* Larger blur radius */
    text-shadow:
      0 0 4px #fff,
      0 0 11px #fff,
      0 0 19px #fff,
      0 0 40px #06aa97,
      0 0 80px #06aa97,
      0 0 90px #06aa97,
      0 0 100px #06aa97,
      0 0 150px #06aa97;
  }
  0% {
    /* Smaller blur radius */
    text-shadow:
      0 0 2px #fff,
      0 0 4px #fff,
      0 0 6px #fff,
      0 0 10px #06aa97,
      0 0 45px #06aa97,
      0 0 55px #06aa97,
      0 0 70px #06aa97,
      0 0 80px #06aa97;
  }
}
