.body{
    background:#fefffe;
    margin: 0;
    display:flex;
    flex-direction: column;
}


/* ------------------------------------------------------ NAV CONTAINER--------------------------------------- */

.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:8em;
  line-height:1em;
  width:100%;
}

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


.ode-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;
}

#home:hover{
  color: #e90c98;
  text-decoration:underline;
}

#essay:hover{
  color: #fb7d12;
  text-decoration:underline;
}

#resources:hover{
  color: #babe00;
  text-decoration:underline;
}

#bio:hover{
  color: #864188;
  text-decoration:underline;
}

/* ------------------------------------------------------ESSAY TITLE & PREFACE --------------------------------------- */

.title-container{
    font-family: "stix-two-math", serif;
    font-style: normal;
    text-align: center;
    padding:0;
    margin:0;
    padding:0 0 125px 0;
}


#header, 
.subheading{
  margin:0;
  padding:0;
  line-height:0px;
}

#header{
  line-height:1em;
  letter-spacing:3px;
  margin:0;
  padding:0;
  font-weight: 500;
  font-size: 2.25em;
}

.subheading{
  font-family: "stix-two-math", serif;
  font-weight: 200;
  font-style: normal;
  font-size:3em;
  line-height:0.75em;
  margin-top:0px;
}

.title-container p{
  font-size: 0.75em;
}

.author{
  font-weight: 400;
  font-style: normal;
  font-size: 2em;
  margin:0;
  padding:0;
  line-height:30px;
}

.preface-container{
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-bottom: dotted black 2px;
    padding-bottom:125px;
}

.preface-container h2{
    font-family: "stix-two-math", serif;
    font-weight: 700;
    font-style: normal;
    font-family: "adobe-kis", sans-serif;
    font-weight: 100;
    font-style: normal; 
}
.preface{
    font-family: "stix-two-math", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 14px;
    line-height:175%;
    text-align:justify;
    margin: 0 1em;
    padding-bottom: 2em;
    max-width:100ch;
    text-indent:50px;
}


/* ------------------------------------------------------ ESSAY --------------------------------------- */


.intro-container{
    padding-top: 2.5em;
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

.intro{
    font-family: "stix-two-math", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
    line-height:175%;
    text-align:left;
    margin: 0 1em;
    padding-bottom: 2em;
    max-width:80ch;
    text-indent:50px;
}

.upbringing-container{
    padding-top: 1.5em;
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.upbringing-container h2{
    font-family: "stix-two-math", serif;
    font-weight: 700;
    font-style: normal;
}

.upbringing{
    font-family: "stix-two-math", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
    line-height:175%;
    text-align:left;
    margin: 0 1em;
    padding-bottom: 2em;
    max-width:80ch;
    text-indent:50px;
}
.spiral-container{
    padding-top: 1.5em;
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.spiral-container h2{
    font-family: "stix-two-math", serif;
    font-weight: 700;
    font-style: normal;
}

.spiral{
    font-family: "stix-two-math", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
    line-height:175%;
    text-align:left;
    margin: 0 1em;
    padding-bottom: 2em;
    max-width:80ch;
    text-indent:50px;
}

.california-container{
    padding-top: 1.5em;
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom:3em;
}

.california-container h2{
    font-family: "stix-two-math", serif;
    font-weight: 700;
    font-style: normal;
}

.california{
    font-family: "stix-two-math", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
    line-height:175%;
    text-align:left;
    margin: 0 1em;
    padding-bottom: 2em;
    max-width:80ch;
    text-indent:50px;
}



.footnote-container{
    padding:1em;
    border-top: solid black 2px;
    font-size:14px;
    display:flex;
    flex-direction: column;
    justify-content: center;
}

.footnote{
    font-family: "stix-two-math", serif;
    font-weight: 400;
    font-style: normal;
    line-height:175%;
    text-align:justify;
    padding-bottom: 2em;
    margin: 0 3em;
}

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


@media (max-width: 1200px) {
 

  .ode-container span {
  display:block;
  text-align: center;
  }

  #ode-title{
    /* font-size: 1.5em; */
    line-height:1em;
    font-size: 2em;
  }

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

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

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

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

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

  .divider{
    rotate: 90deg;
  }

  .right-side a,
  .left-side a 
  {
  gap:0px;
  line-height: 17px;
  }

  .title-container span{
    display:block;
    text-align: center;
    height:5px;
  }
  .author{
    padding-top:1.5em;
  }


}

@media (max-width: 910px) {

  #ode-title {
    flex-wrap: wrap;
  }

  .ode-container span {
    display:block;
    text-align: center;
  }

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


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

  .left-side {
    margin-left: 3px;
  }
  #header{
    line-height: 1.5em;
  }

  .left-side a{
    margin-left: 10px;
  }
  .right-side a{
    margin-right: 10px;
  }
    
  .title-container{
    padding: 0px 20px;
  }
}

@media (max-width:800px){
  .title-container p{
      line-height:3em;
  }

    .preface {
        font-size: 14px;
    }

}

@media(max-width:430px){
    .parent-container p {
      font-size:3em;  
    }
}
    
