@charset "utf-8";


body {
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', 'Arial', 'sans-serif';
/*   background-color: hsl(196, 61%, 88%);
 */  
  background-color: hsl(16deg, 60%, 94%);
  background-color: hsl(196deg, 60%, 94%);
  font-weight: normal;
}

a, button {
  color: hsla(0, 50%, 40%, 1);
  border: none;
} 


/* FLEX */
#main {
  display: flex;
  flex-direction: column;
  /* justify-content:; */
  align-items: center;  
}



/* BG */
 #main .cover {
  flex-grow: 1;
  padding: 1rem;
  background-color: white;
 } 

#main .introtext {
  padding: 1rem;
  background-color: white;
}




/* discreet cred */

/* show conver cred at vertical-bottom-right */
/* .illustator-cred-container {
  display: flex;
  flex-direction: row;
}

.illustrator-cred {
  font-size: 0.6rem;
  opacity: 33%;
  writing-mode: vertical-rl; 
  text-orientation: mixed;
  padding: 0.66rem 0 0.66rem 0;

  text-align: right;
}
 */


/* show cover cred at horizontal-bottom-right */

.illustator-cred-container {
  display: flex;
  flex-direction: column;
}

.illustrator-cred {
  font-size: 0.6rem;
  opacity: 33%;
  padding-right: 0.66rem;
  text-align: right;
}


dt {
  font-weight: bold;
  background-color: hsl(34, 71%, 86%);
  padding: 0.5rem 2rem;
  color: hsl(16, 55%, 12%);
}

dd {
  padding: 0.5rem 1.5rem 1rem 4rem;
}

.name {
  font-style: italic;
  color: hsla(0, 50%, 40%, 1);
}

 #main .cover img {
  max-height: 80vh;
  width: auto;
 } 



#main .menu {
  display: flex;
  flex-direction: row; 
  flex-wrap: wrap;
  justify-content: center; 
  align-self: stretch;  
  flex-grow: 0;

  gap: 4vw;
  padding: 0.8rem;
}


/* ITEM SPECIFIC LAYOUT */




.box
, .psalm { 
  box-shadow: 0px 0px 15px hsla(0, 0%, 0%, .27);
  background: white;
}

#main {
  margin: 0 auto;
  padding: 0;
  max-width: 760px;
  font-size: 1rem;
  /* background-color: white; *//*  hsl(228, 31%, 90%); */
 
}

#main .song-materials a.nice-button div.nice-button {
  margin:0;
}



@media (min-width: 760px) {

  .rounded-deep > *:first-child, .rounded-deep > * > dt:first-child {
    border-top-left-radius: 0.66rem;
    border-top-right-radius: 0.66rem;
  }


  .rounded-deep > :last-child {
    border-bottom-right-radius: 0.66rem;  
    border-bottom-left-radius: 0.66rem;  
  }

  .rounded {
    border-radius: 0.66rem;
  }

}

/* mobile */
@media (max-width: 760px) {
  .cred {
    width: 100%;
  }
}


 */
/* ------ MAIN-MENU ------ */
#main .menu {
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', 'Arial', 'sans-serif'; 
  background-color: hsla(0, 33%, 40%, 0);
  
}



/* Desktop / Large Screens (60rem+ / 960px+) */
@media (min-width: 40rem) { 
}

 
.signature {
  text-align: right;
  color: hsla(0, 50%, 40%, 1);
  padding: 1rem 4rem;
}





.ingress {
  font-style: italic;
  padding: 0.2rem calc(100vw/30) 0 1rem;
  border-left: solid 0.5rem hsla(0, 67%, 67%, 0.65) !important; /* hsla(0, 50%, 40%, 0.16); */
}



/* ------ MAIN ------ */
#main {

  margin: auto;
  padding: 0;/* calc(100vw/20); */
  padding-bottom: 2rem;
  max-width: 760px;

}

.section {
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', 'Arial', 'sans-serif';
  padding: 0.5rem 0 2.5rem 0;
  /*   margin: 4rem 0 4rem 0; */
}

p, ul, ol, h3, .search-container, .song  {
  margin: 0.5rem calc(100vw/20) 0.7rem calc(100vw/20);
}
.cat .song {
  margin-left: 0.9rem; 
}

#main h2 {
/*   background-color: hsla( 0, 0%, 100% ); */  
  margin: 0.8rem 0 0.8rem 0;
  padding: 0.4rem 0.4rem 0.6rem 0.8rem;

  text-align: center;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', 'Arial', 'sans-serif';

  font-size: calc(4vw + 17px);/* 1.8rem; */
  font-weight: normal;
  font-style: italic;
  color: hsla(0, 50%, 40%, 1);

}

.psalm {
background-color: hsl(34, 71%, 86%); /* hsl(44deg 100% 86%); */
 padding: 0;
 margin:0 0 3rem 0;
}

.psalm .description {
  background-color: white; /* hsl(44deg 100% 97%); */
  padding: 1rem 0 1rem 0;
}

h3 {
  margin: 1rem 0rem 0 0;
  padding: 0.5rem 1.2rem 0.4rem 1.2rem;
  font-size: 1.2em;
  font-weight: lighter;
  color: #833;

}

.psalm .titlebar {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  vertical-align: bottom;
  align-items: baseline;

  padding: 0.8rem 1rem 0.6rem 1rem;
}

.psalm .titlebar h3 {
  margin: 0;
  margin-right: 2rem; /* trigger wrap when visually too close, e g mobile units   */
  padding: 0;
}
.psalm .titlebar .authors {
  font-size: small;
  margin-left: 1rem;
}



.psalm .song-materials {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
/*   align-items: center;  
 */  justify-content: center;
  gap: 4vw;
  padding: 0.8rem;
}




.psalm .song-materials-title {
  font-size: smaller;
  text-align: center;
  background-color: hsla(0, 50%, 40%, 0.25);
  padding: 0.5rem;
}

#buy-right-to-copy--info {
  z-index:1000;
  position: relative; 
  background-color: white;
  font-size:medium;
  text-align: left;
  max-width: 760px;
}

.buy-right-to-copy--info .close {
  position:absolute;
  top:0;
  right:0;
  padding: 0.5rem 1rem;
  opacity: 50%;
  cursor: pointer; 
}

#modal-bg {
  height: 100vh;
  width: 100vw;
  position: fixed;
  top: 0;
  left: 0;
  
  z-index: 100;
  
  backdrop-filter: blur(2px);
  
  display: flex;
  align-items: center;
  justify-content: center;

  background-color: hsla(196deg, 50%, 50%, 0.42);
  
}

body[data-show-buy-right-to-copy="no"] #modal-bg {
  display: none;
}

body[data-show-buy-right-to-copy="yes"] #modal-bg {
  display: flex;
}




.nice-button {
  display: inline-flex;
  flex-direction: row;
  align-items: center;;
  background-color: white; /* hsla(0, 0%, 100%, 0.8); */
  margin: 0.6rem;
  padding: 0.5rem 0.8rem;
  text-align: center;
  text-decoration: none;
  border-radius: 1rem;
  border-radius: 0.5rem;
  border-top: none; 
  border-right: solid 0.3rem hsla(0, 67%, 67%, 0.65); /* hsla(0, 50%, 40%, 0.25); */
  border-bottom: none;
  border-left: solid 0.3rem hsla(0, 67%, 67%, 0.65); /* hsla(0, 50%, 40%, 0.25); */
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2); 
  color: hsla(0, 50%, 40%, 1);

}

.nice-button:hover {
  border-color: red; /* hsla(0, 100%, 50%, .66) !important;  */
  background-color: white !important;
}

.icon{ 
  height: 1.7rem;
  width: auto;
}
