@import url('https://fonts.googleapis.com/css2?family=Karantina:wght@300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@200..800&display=swap');

html,body{
  font-family: Assistant, Arial, Sans-Serif;
  font-size: 16pt;
}

a{
  color: inherit;
}


.content-box{
  font-size: max(1.4dvw,.8rem);
  display: flex;
  flex-direction: column;
  padding: 1em;
}
.content-title{
  flex-direction: row;
  font-family: Karantina, Arial, Sans-Serif;
  margin: 1em 0;
}
.content-title h2{
  font-size: 4.2em;
  display: inline-block;
  vertical-align: baseline;
}
.content-title address{
  display: inline-block;
  font-size: 2em;
  font-style: normal;
  font-weight: 300;
  vertical-align: baseline;
}
.content-title address:before{
  content: '/';
  margin: 0 .2em 0 .4em;
}
.content-body{
  columns: 2;
  font-size: .9em;
}
.content-body p{
  line-height: 1.5;
  margin: 0 0 1em;
  break-inside: avoid;
}
.content-body p:last-child{
  margin: 0;
}


header{
  position: sticky;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
}

header,footer{
  text-align: center;
  padding: .8rem;
  background: rgba(245,245,245,0.5);
  -webkit-backdrop-filter: saturate(180%) blur(1rem);
  backdrop-filter: saturate(180%) blur(1rem);
}

header h1,footer span{
  font-size: 1.4rem;
  font-family: Karantina, Arial, Sans-Serif;
  font-weight: 400;
  margin: 0;
  padding: 0;
  line-height: 1;
}

.song{
  min-height: 110dvh;
  padding-bottom: 25dvh;
  display: flex;
  align-items: center;
}
.song:after{
  content: '';
  position: fixed;
  z-index: -1;
  top: 6rem;
  transform: translateY( calc( min( calc(  ( var(--scroll,0) * -.45 ) ), 0 ) * 1px ) );
  transition: transform 0.2s ease-out;
  left: 0;
  right: 0;
  opacity: min( calc( 4 - ( var(--scroll,0) / 150 ) ), 1);
  height: 100vh;
  background: url(maor.jpg) left center no-repeat;
  background-size: auto 100%;
}

.song .content-box{
  margin-right: 10%;
  width: max(40%,22rem);
  max-width: 100%;
}


.about{
  padding: 2rem 1rem;
  background: rgba(0,0,0,.1);
  text-align: center;
}
.about .content-body{
  columns: 1;
}

.hill{
  text-align: center;
}
.hill img{
  display: block;
  width: 100%;
  min-height: 15rem;
  object-fit: cover;
}
.hill h2{
  font-size: 2.4em;
}
.hill .content-title{
  margin: .2rem 0;
}
.hill .content-body{
  columns: 1;
  padding-bottom: .6rem;
}

.eulogy{
  background: rgba(0,0,0,.05);
  /*-webkit-backdrop-filter: saturate(180%) blur(.5rem);
  backdrop-filter: saturate(180%) blur(.5rem);*/
}
.eulogy .content-box{
  width: max(50%,22rem);
  max-width: 100%;
  margin: auto;
  padding-bottom: 4rem;
}


@media only screen and (max-width: 720px) {
  .content-box{
    padding: 2rem;
  }
  .content-body{
    columns: 1;
  }
  .song{
    padding-bottom: 2rem;
  }
  .song:after{
    top: 8rem;
    background-size: auto 80%;
  }
  .song .content-title address:before{
    display: none;
  }
  .song .content-box{
    margin-right: 0;
  }
}