:root {
/* color-scheme: dark; */

/* colors */
/* primary */
--my-pacific-blue: #33BAEA;
--my-sea-green: #17cff8;
--my-ochre: #b98c00;

/* secondary */
--my-midnight-blue: #007B94;
--my-dawn-sky: #004C5C;  
--my-barrier-reef: #0084A1;
--my-deep-sky-blue: #00c3ee;   

/* accent */
--my-red: #FF3B30;
--my-vibrant-green: #00B35D;
--my-yellow: #EDAB00;

/* grays */
--my-gray1: #212121;  /* ??? */
--my-gray2: #383838;
--my-gray3: #424242;
--my-gray4: #575757;
--my-gray5: #b1b1b1;
--my-gray6: #f0f0f0;  
--my-neutral: #ffffff;
--my-black: #161616;
--my-neutral-100: #00252d;
--my-active: #aaaaaa;

--gray: #d7d7d7; 

/* fonts */
--font-my: "Noto Sans";
--font-weight-light: 300;
--font-weight-regular: 400;
--font-weight-semibold: 600;
--font-weight-bold: 700;
--font-weight-extrabold: 800;
}

body {
  font-family: var(--font-my), Arial;
  display: flex; /* Use flexbox for the body */
  flex-direction: column; /* Arrange children vertically */
  min-height: 100vh; /* Ensure the body takes up the full viewport height */
  margin: 0; /* Remove default margin */
}

#container {
  width: 700px;
  padding: 10px;
  margin: 0 auto;
  color: var(--my-neutral-100, #00252d);
  display: flex; /* Use flexbox for layout */
  flex-direction: column; /* Arrange children vertically */
  justify-content: flex-start; /* Align children to the top vertically */
  align-items: stretch; /* Ensure children take up the full width */
}
#article {
  padding: 10px;
  border: 1px solid #cccccc;
  border-radius: 5px;
  margin-bottom: 10px;  
  width: 100%; /* Ensure it spans the full width of the container */
}

#header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;


  border-bottom: 1px solid #cccccc;
  width: 100%; /* Ensure it spans the full width of the container */
}
#header h1 {
  font-size: 32px;
  width: 50%;
  text-align: left;  
  margin: 50px 0 ;
}
#verse {
  font-size: 18px;
  width: 50%;
  text-align: right;
  margin-bottom: 20px;
}

.major::before {
  content: "😊";
  font-size: 28px;

}
.minor::before {
  content: "😔";
  font-size: 28px
}
.augmented::before {
  content: "✨";
  font-size: 28px
}
.diminished::before {
  content: "😨";
  font-size: 28px
}
.p-hidden {
  display: none;
}

#main {
  display: flex;
  flex-direction: row;
  padding: 20px;
  margin-bottom: 10px;
  justify-content:space-around;  
}


footer {
  text-align: center;
  padding: 10px;
  border-top: 1px solid #cccccc;
  width: 100%; /* Ensure it spans the full width of the container */
}


/* font family */
.font-light {
    /* font-family: var(--font-my), Arial; */
    font-weight: var(--font-weight-light);
  }
  .font-regular {
    /* font-family: var(--font-my), Arial; */
    font-weight: var(--font-weight-regular);
  }
  /* Lato semibold is not supported by Google fonts, OK with Noto */
  .font-semibold {
    /* font-family: var(--font-my), Arial; */
    font-weight: var(--font-weight-semibold);
  }
  .font-bold {
    /* font-family: var(--font-my, Arial); */
    font-weight: var(--font-weight-bold);
  }
  .font-extrabold {
    /* font-family: var(--font-my), Arial; */
    font-weight: var(--font-weight-extrabold);
  }
  
  
  /* headings */
  .my-h1 {
    font-size: var(--font-size-24);
  }
  .my-h2 {
    font-size: var(--font-size-18);
  }
  .my-h3 {
    font-size: var(--font-size-16);
  }
  .my-h4 {
    font-size: var(--font-size-12);
  }
  .my-h5 {
    font-size: var(--font-size-9);
  }
  
  /* paragraph */
  .my-p {
    font-family: var(--font-my), Arial;
    font-size: var(--font-size-16);
    line-height: 1.5;
  
  }

  
/* details summary */
details {
    outline: none;
    width: 100%;
}
details:first-of-type {
    padding-top: 10px;
}

details summary {
    outline: none;
    position: relative;
    font-family: var(--font-my);
    list-style-type: none;
    display: flex;
    padding: 0.5em;
    cursor: pointer;
    text-align: left;
    height: auto;
    border-radius: 0.625rem; 
    /* background-color: var(--my-dawn-sky, #004C5C); */
    background-color: var(--my-barrier-reef, #0084A1);
    border: 1px solid var(--my-gray3, #424242);
    color: var(--my-neutral, #ffffff);

    padding-left: 1em;
    justify-content: space-between;
    margin: 0.25em 0;
}

details summary::after {
    font-family: var(--font-my);
    content: '';
    margin-right: 1em;
    margin-top: 0.25em;
    width: 24px;
    height: 24px;
    background-position: center;
    background-size: cover;
    background: url(../pics/chevron-down-24px.svg) no-repeat;
    transition: transform 0.3s;
}

details summary:hover{
    background-color: var(--my-dawn-sky, #004C5C);
    border: 1px solid var(--my-gray5, #b1b1b1);
}

@media (forced-colors: active) {
    @media (prefers-color-scheme: light) {
        details summary:after {
            filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(288deg) brightness(102%) contrast(102%);
            forced-color-adjust: none;
        }       
    }
}

details[open] > summary::after {
    transform: rotate(180deg);
    width: 24px;
}

details div {
    width: auto;

    padding: 0.5em 1em;
    border-radius: 0.625rem;
    /* background-color: var(--my-barrier-reef, #0084A1); */
    /* color: var(--my-neutral, #ffffff); */
    transition: max-height 0.3s ease;
}




.styled-meter {
    width: 300px;
    height: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.styled-meter::-webkit-meter-bar {
    background: transparent; /* Use custom background */
}

#divQ {
  display: flex; 
  flex-direction: row; 
  justify-content: space-between;
  margin-bottom: 10px;
}
#divLeft {
  display: flex; 
  flex-direction: column; 
  width: 300px; 
  align-items: center; 
}
#divRight {
  display: flex; 
  flex-direction: column; 
  width: 300px; 
  align-items: center;
  margin-right: 30px;
  margin-top: 50px;
}
#divRight img {
  width: 250px;
  height: auto;
  border-radius: 50%;
}

#divLeft audio {
  max-width: 300px;
  margin: 20px;
}

/* for squared images */
#divLeft[data-var="m00"] img {
  max-height: 200px;
  max-width: 200px;
  border: solid 1px var(--my-gray3, #424242);
  border-radius: 15px;
  margin-bottom: 20px;
  box-shadow: 0 0 5px var(--my-gray3, #424242);
  transition: transform 0.3s;
  cursor: pointer;
}

#divLeft img {
  width: 100%;
  max-height: 200px;
  max-width: 300px;
  border: solid 1px var(--my-gray3, #250f0f);
  border-radius: 15px;
  margin-bottom: 20px;
  box-shadow: 0 0 5px var(--my-gray3, #424242);
  transition: transform 0.3s;
  cursor: pointer;
}

