

@font-face {
  font-family: 'TT Firs Neue Trl';
  font-style: normal;
  font-weight: 400;
  src: local('TT Firs Neue Trl'), url('/fonts/ttfirsneue.ttf') format('truetype');
}


html {
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-size: 1.2em;
  font-family: Arial, sans-serif;
  background: #ddd;
}

 .wrapper {

   
}
.col1 {
  float: left;
  width: 45%;
  margin-top: 40px;
}
.col2 {
  float: right;
  width: 45%;
}


#main {
/*
  max-width: 70vw;
  min-height: 400px;
*/
/*  margin: 5vh auto;*/
  margin: 0 auto;
  text-align: center;
}

p.welcome {
  max-width: 450px;
  margin-top: 5px;
  margin-bottom: 10px;
  font-size: 1.2em;
}

#instructions2 {
  max-width: 500px;
  margin: 3em auto 0 auto;
}
.airpods-image {
  display: flex;
  margin-top: 3em;
}
.col1 {
  flex: 1;
}
.col2 {
  flex: 2;
  text-align: left;
  padding-left: 1em;
}
.airpods-image img {
  max-width: 100%;
  width:100px;
  margin: 0 auto;
  display: inline-block;
  
}

#desktop {
/*  display: none;*/
}

/*@media (min-width: 768px) {*/
  #desktop {
    font-size: 0.7em;
    display: block;
    color: black;
/*
    position: absolute;
    right: -10px;
    bottom: 8%;
*/
    width: 240px;
/*    height: 280px;*/
    overflow: hidden;
    text-align: center;
    background: white;
    border-radius: 10px;
    padding: 0 10px;
    z-index:9999;
    margin: 0 auto 0 auto;
  }
  #desktop p {
    margin: 10px 0 5px 0;
    font-size: 0.9em;
  }
  #desktop a {
    color: navy;
  }
  
  #desktop:active {
  cursor: grabbing;
}

  #desktop img {
    max-width: 100%;
    max-height: 150px;
  }
/*}*/

.logo {
  max-width: 100%;
  width: 200px;
  display: block;
  margin-top: 3vh;
}



/* Text styles 
-------------------------------------------- */

h1 {
  font-size: 1.1em;
  max-width: 550px;
  font-weight: normal;
  margin: 20px 0 0 0;
}

#instructions2 {
  font-size: 0.7em;
}
.click-above {
  
}
.headphones {
  margin-top: 0;
}
.permissions {
  font-size: 12px;
  color: rgb(170,170,170);
  margin-top: 1em;
}

 .tfi {
   -webkit-animation: text-focus-in 0.5s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
           animation: text-focus-in 0.5s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;   
 }
 .tfi1 {
   -webkit-animation: text-focus-in 1s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
           animation: text-focus-in 1s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;   
 }
.tfi2 {
   -webkit-animation: text-focus-in 2.6s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
           animation: text-focus-in 2.6s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;   
 }
.tfi3 {
   -webkit-animation: text-focus-in 1.4s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
           animation: text-focus-in 1.4s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;   
 }


/* Buttons
-------------------------------------------- */
#psilocybin,
#mdma,
#lsd,
#ayuhasca {
  background-color: unset;
  border-width: 0;
}
#psilocybin img,
#mdma img,
#lsd img,
#ayuhasca img {
  max-width: 200px;
  width:100px;
}


/* HR
--------------------------- */
.elegant-hr {
  border: none;
  height: 1px;
  background-color: black;
  position: relative;
  margin: 20px 0;
  width: 100%;
}



 /* ----------------------------------------------
  * Generated by Animista on 2024-1-24 17:11:39
  * Licensed under FreeBSD License.
  * See http://animista.net/license for more info. 
  * w: http://animista.net, t: @cssanimista
  * ---------------------------------------------- */
 
 /**
  * ----------------------------------------
  * animation text-focus-in
  * ----------------------------------------
  */
 @-webkit-keyframes text-focus-in {
   0% {
     -webkit-filter: blur(12px);
             filter: blur(12px);
     opacity: 0;
   }
   100% {
     -webkit-filter: blur(0px);
             filter: blur(0px);
     opacity: 1;
   }
 }
 @keyframes text-focus-in {
   0% {
     -webkit-filter: blur(12px);
             filter: blur(12px);
     opacity: 0;
   }
   100% {
     -webkit-filter: blur(0px);
             filter: blur(0px);
     opacity: 1;
   }
 }


/* Image generation
-------------------------------------------- */



.row {
/*
  flex: 1;
  display: flex;
  align-items: center; 
  justify-content: center;
*/
  padding: 10px 0 0 0;
}


#fetch-image-btn {
  margin: 40px 0 0 0;
  display: inline-block;
  padding: 15px 30px;
  font-size: 0.9em;
  font-weight: bold;
/*  background: linear-gradient(145deg, #f8a2e8, #edbdc5); */
  border: none;
  border-radius: 12px; 
/*  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3), -4px -4px 8px rgba(255, 255, 255, 0.5); */
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
/*  font-family: 'TT Firs Neue Trl', sans-serif;*/
  background: navy;
  color: white;
}



#fetch-image-btn:active {
  background: linear-gradient(145deg, #edbdc5, #f8a2e8); 
  box-shadow: inset 4px 4px 6px rgba(0, 0, 0, 0.4), inset -4px -4px 6px rgba(255, 255, 255, 0.4);
  transform: translateY(2px); 
}



#image-display {
/*  border-radius: 50%;*/
/*  overflow: hidden;*/
  margin: 40px 0;
  border: 2px solid white;
}

/* Loading for images 
-------------------------------------------- */
#loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  z-index: 999;
}
.spinner {
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid #fff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


/* Mockup & radios
-------------------------------------------- */
.mockup img {
  max-height: 250px;
  display: none;
}

.radio-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.radio-label {
  cursor: pointer;
}

.radio-label input[type="radio"] {
  display: none;
}

.radio-label span {
  display: inline-block;
  padding: 10px 20px;
  background-color: #f0f0f0;
  border-radius: 10px;
  box-shadow: 5px 5px 10px #ccc, -5px -5px 10px #ffffff;
  transition: all 0.3s ease;
}

.radio-label:hover span {
  box-shadow: inset 5px 5px 10px #ccc, inset -5px -5px 10px #ffffff;
}

.radio-label input[type="radio"]:checked + span {
  background-color: hotpink;
  color: white;
  box-shadow: inset 5px 5px 10px rgba(0, 0, 0, 0.2), inset -5px -5px 10px rgba(255, 255, 255, 0.5);
}



#footer {
/*
  position: fixed;
  bottom: 0;
*/
/*  width: 100%;*/
  background: #b8969e;
  padding: 20px;
  font-size: 0.7em;
  min-height: 100px;
  margin-top: 4em;
}
.footer {
  padding: 20px 0; 
}

.footer-intro-container {
  max-width: 80vw;
  margin: 0 auto 40px auto;
  text-align: center;
  display: flex;
}
.footer-intro {
  flex: 1;
}
.footer-container {
  display: flex;
  justify-content: space-between;
  max-width: 80vw;
  margin: 0 auto;
  gap: 20px; 
}
.footer img {
  max-width: 200px;
  max-height:25px;
}
.footer .footer-column:nth-of-type(2) img {
    max-height: 40px;
  }
#footer a {
    text-decoration: none;
    color: navy;
  }

.footer-column {
  flex: 1; 
  min-width: 200px; 
  min-height: 100px; 
}







/* WIDGETS
---------------------------------------- */
.widgets {
  flex-direction: column;
}
.color-picker {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
  margin-top: 20px;
}

.color-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.2s;
}

.color-circle:hover {
  transform: scale(1.1);
}

.color-circle[data-color="white"] { background-color: white; }
.color-circle[data-color="burgundy"] { background-color: red; }
.color-circle[data-color="orange"] { background-color: orange; }
.color-circle[data-color="yellow"] { background-color: yellow; }
.color-circle[data-color="green"] { background-color: green; }
.color-circle[data-color="blue"] { background-color: blue; }
.color-circle[data-color="indigo"] { background-color: indigo; }
.color-circle[data-color="violet"] { background-color: violet; }
.color-circle[data-color="black"] { background-color: black; }

.color-circle.active {
  border: 2px solid white;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
  transform: scale(1.5);
}


.sliders label, .horizontal-slider label {
/*
  display: flex;
  flex-direction: column;
  align-items: center;
*/
  margin: 10px;
}
.sliders.vertical label {
  display: block;
  width: 100%;
/*
  position: absolute;
  top: 47%;
*/
  font-size: 0.8em;
}
.sliders.vertical label input {
/*  margin-top: 150px;*/
}
.sliders.vertical .left {
/*
  left: 20%;
  width: 50px;
*/
}
.sliders.vertical .right {
/*
  right: 20%;
  width: 50px;
*/
}
.vertical-slider {
/*  transform: rotate(-90deg) translateY(-50%);*/
  width: 250px;
}
.intensity {
}
.luminosity {
}
.horizontal-slider input {
  width: 200px;
}

.emoji-toggles {
  display: flex;
  flex-wrap: wrap; 
  gap: 10px; 
  justify-content: center; 
  margin-top: 20px;
  max-width: 500px; 
  margin-left: auto; 
  margin-right: auto;
}

.emoji-toggle {
  font-size: 1em; /* 2em  */
  cursor: pointer;
  width: 50px; 
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent; 
  border-radius: 50%; 
  transition: transform 0.2s, border-color 0.2s;
}

.emoji-toggle:hover {
  transform: scale(1.2); 
}

.emoji-toggle.active {
  background: hotpink;
}




/* Rotate loading effect */
@keyframes rotateImg {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}

#image-display.rotating {
  animation: rotateImg 4s linear infinite;
}


