html, body {
  height: 100%;
  width:100%;
  margin:0;
  display: flex;
  flex-direction: column;
  align-items: center;
  background:white;
}

main {
  width:100%;
  margin-bottom:500px;
}

.nav-container{
  display:flex;
  align-items: center;
  justify-content: space-between; 
  position:relative; /*Needed for absolute positioning of title */
  background-color: #ffffff;
  font-family:"degular-mono", 'sans-serif';
  font-weight:500;
  font-style:normal;
  font-size:1em;
  margin-top:50px;
  margin-bottom:60px;
  line-height:1em;
  width:100%;
}

.title-container{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.title-container h2{
  font-family: "stix-two-text", serif;
  font-weight:600;
  font-style: normal;
  font-size:2.75em;
}

.mobile_break{
  display: none; /* Hide the mobile break by default */
}

.left-side, .right-side {
  display: flex;
  gap: 10px; /* or whatever spacing you want between links */
}

.left-side {
  margin-left: 30px;
}

.right-side {
  margin-right: 20px;
}


.nav-container a{
  text-decoration: none;
  color: #000000;
  padding:none;
  margin:0;
}


.nav-container a:hover{
  color: #e90c98;
  transition: color 0.3s ease-in-out;
  text-decoration:underline;
}

#essay:hover{
  color: #fb7d12;
}

#resources:hover{
  color: #babe00;
}

#bio:hover{
  color: #864188;
}

.sketch-container{
  display:flex;
  justify-content: center;
  align-items: center;
  /* display:block; */
}

#prompt-container{
  display:flex;
  justify-content: center;
  align-items: center;
}

.header-container{
  padding-top:40px;
  text-align: center;
  padding-bottom:1.5rem;
  padding-left:40px;
  padding-right:40px;
} 

.header-container h1{
  margin-bottom:auto;
  font-family: "stix-two-text", serif;
  font-weight: 100;
  font-style: normal;
  font-kerning: inherit;
  line-height: 1em;
  font-size:2.75rem;
  margin: 0; /* Removes default spacing that could push canvas down*/
}

.instructions{
  position:relative;
  font-family: "stix-two-text", serif;
  font-weight: 100;
  font-style: normal;
  text-align:center;
  padding:0 50px 0 50px; 
  font-size:1.5rem;
  line-height: 1.25em;
}

.emo-buttons{
  display:flex;
  justify-content: center;
  align-items: center;
}

.emo-buttons button{
  justify-content:space-around;
  background-color: #ffffff; 
  border-radius: 20px;
  padding: 0 30px 0 30px; 
  font-size:1.5em;
  margin-left:3px;
  margin-right:3px;
}

.prompt{
  font-family: "stix-two-text", serif;
  font-weight: 400;
  font-style: normal;
  text-align:center;
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
  padding:0 20px 0 20px; 
  font-size:1.5rem;
}


/* Position buttons to the right of the canvas */
.slider-container {
  position: absolute;
  top: 67%;
  left: 100%; /* move to the right of the canvas */
  /* display: flex;
  flex-direction: column;
  align-items: flex-start; */
  margin:auto;
}

.slider-container button{
  color:white;
  background-color: #000000; 
  border-radius: 10px;
  padding: 0 10px 0 10px; 
  margin:3px;
}

.slider-container button:hover{

  background-color: #864188;
  transition: background-color 0.3s ease-in-out;
}

.outer-container {
  display: flex;
  justify-content: center;
  align-items: center;
  /* width: 100%; */
  position:relative;
}

/* Canvas + buttons side-by-side */
.inner-container{
  position:relative;
  display:inline-block; /* space between canvas and buttons */
  margin:auto;
}

#button_one{
background-color: #000000; 
border-radius: 10px;
padding: 0 10px 0 10px;
border-radius: 10px;
color:#ffffff;
font-family:"degular-mono", 'sans-serif';
font-weight:700;
font-style:normal;
font-size:0.75em;
white-space: nowrap; /* Prevent text from wrapping */
/* position:relative; */
}

#button_two{
  background-color: #000000; 
  border-radius: 10px;
  padding: 0 10px 0 10px;
  border-radius: 10px;
  color:#ffffff;
  font-family:"degular-mono", 'sans-serif';
  font-weight:700;
  font-style:normal;
  font-size:0.75em;
  white-space: nowrap; /* Prevent text from wrapping */
  position:relative;
  }


#button_one:hover{
  background-color: #864188;
  transition: background-color 0.3s ease-in-out;
}

#button_two:hover{
  background-color: #864188;
  transition: background-color 0.3s ease-in-out;
}


.outer-container{
  margin-bottom:200px;
}

/* Position buttons to the LEFT of the canvas */
.instructions{
  position: absolute;
  top: 77%;
  right: 93%; /* move to the right of the canvas */
  padding:none;
}

.instruction-child{
  padding:0;
  position: relative; 
  text-align:center;
  margin-bottom:none;
}


 .hidden{
  display: none; /* Hide the content by default */
  opacity: 0;   /* Start with invisible text for a fade-in effect */
  transition: opacity 0.3s ease; /* Smooth fade-in transition */
  font-family:"degular-mono", 'sans-serif';
  transition: opacity 0.3s ease;
  font-weight:500;
  font-style:normal;
  font-size:0.7em;
  line-height:1.15em;
  text-align:left;
}

.hidden li{
  margin: 15px 10px; /* Space between list items */
}

#colorContent a{
  color:#864188;
  text-decoration: none;
}

#colorContent a:hover{
  text-decoration: underline;
}

#button_one.clicked,
#button_two.clicked {
  transform: translateY(-410px);
}

#button_one,
#button_two {
  display: inline-block;  /* ensure it's treated like a box */
  transition: transform 0.2s ease;
}


#hiddenContent.revealed {
  display: block; /* Make the content visible */
  right:10%;
  top:2%;
  opacity: 1;    /* Fully reveal the text*/
  transform: translateY(-400px); 
  width:300px;
  height: 50px;
  margin: 10px 40px 0 0;
  padding-bottom:none;
  margin-bottom:none;
} 

#colorContent.revealed {
  display: block; /* Make the content visible */
  opacity: 1;    /* Fully reveal the text */
  transform: translateY(-400px);
  width:300px;
  height: 50px;
  margin-top: 10px;
} 




/* --------------------------------------MEDIA QUERIES-----------------------------------*/


@media (max-width: 1200px) {


  .title-container h2 {
    line-height:1em;
  }

  .left-side, .right-side {
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap; /* Allow items to wrap */
    margin: 0;
    gap:5px;
  }

  #ode-title{
    line-height:1.25em;
    font-size: 2em;
  }

  .left-side {
    margin-left: 50px;
  }

  .right-side {
    margin-right: 50px;
  }

  .right-side span{
    display:block; 
    text-align:center;
  }

  .divider{
    rotate:90deg;
}

@media (max-width: 900px) {

  #title {
    flex-wrap: wrap;
    font-size: 2.5em;
  }
  
  .title-container span {
    display:block;
    text-align: center;
  }

  .right-side span{
    display:block; 
    text-align:center;
  }

  .right-side {
    margin-right: 30px;
  }


  .left-side {
    margin-left: 50px;
  }

  .right-side a,
  .left-side a 
  {
  gap:0px;
  line-height: 17px;
  }
  
  .right-side span{
    display:block; 
    text-align:center;
  }

}


