/**
* CONTENTS
*
* SETUP
*
* BODY
*
* LAYOUT
*
* VARIABLES
*
*/




/*------------------------------------*\
  #SETUP
\*------------------------------------*/

html {
  background: var(--color-beige);
  box-sizing: border-box;
  font-size: 10px;
  height: 100%;
}

body {
  color: var(--color-black);
  display: flex;
  flex-direction: column;
  font-family: var(--font-franklin);
  font-size: 1em;
  /*justify-content: center;*/
  line-height: 1.6;
  margin: 0;
  min-height: 100vh;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}


/*------------------------------------*\
  #BODY
\*------------------------------------*/

h1 {
  font-size: clamp(3.6rem, 4vw, 4.8rem);
  font-weight: 600;
  line-height: 1.45;
  margin: 0;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.1rem);
  font-weight: 400;
  line-height: 1.45;
}

img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

p {
  font-size: clamp(1.6rem, 2.5vw, 1.8rem);
}

a {
  color: var(--color-black);
  text-decoration-color: var(--color-blue);
  text-decoration-thickness: .2rem;
  text-underline-offset: .4rem;
}

a:hover {
  color: var(--color-blue);
  text-decoration-thickness: .25rem;
  text-underline-offset: .35rem;
}

a:focus {
  background: var(--color-blue);
  border-bottom: .2rem solid var(--color-blue);
  border-radius: .3rem;
  box-shadow: -.3rem 0 0 0 var(--color-blue),
              .3rem 0 0 0 var(--color-blue);
  color: var(--color-white);
  outline: 0;
  text-decoration: none;
}

.button {
  border: .2rem solid var(--color-black);
  border-radius: .5rem;
  display: inline-block;
  font-size: 92%;
  margin-top: 1em;
  padding: .75rem 1rem;
  text-decoration: none;
}

.button:focus,
.button:hover {
  background: var(--color-black);
  border-color: var(--color-black);
  box-shadow: none;
  color: var(--color-white);
  text-decoration-color: var(--color-black);
}

.download {
  font-weight: 700;
}

.download small {
  font-size: 88.88%;
  font-weight: 400;
}

.download small::before {
  content: "[";
  padding-left: .1em;
  padding-right: .2em;
}

.download small::after {
  content: "]";
  padding-left: .2em;
  padding-right: 0;
}




/*------------------------------------*\
  #LAYOUT
\*------------------------------------*/

.page-frame {
  background: var(--color-beige);
  padding: 1.5em 1.5em 0;
}

.about {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  max-width: 116em;
  min-height: calc( 100vh - 1.5em );
}

.about__wave {
  margin-right: 1rem;
  transform: translate(.4rem, .4rem);
}

.about__text {
  text-wrap: pretty;
}

.about__image {
  aspect-ratio: 1 / 1;
  flex-grow: 1;
  flex-shrink: 0;
  overflow: hidden;
}

.about__image img {
  width: 100%;
  object-fit: cover;
  object-position: top;
}

@media screen and (min-width: 40em) { 
  
  .page-frame {
    padding: 2em 3em 0;
  }
  
}

@media screen and (max-width: 59.999em) {
  
   .about__image {
     margin: 3em auto 0;
     max-width: 40em;
   }
  
}

@media screen and (min-width: 60em) {
  
  html {
    background: var(--color-black);
    padding: 2em;
  }
  
  body {
    min-height: calc( 100vh - 4em );
  }
  
  .page-frame {
    border-radius: 3.25rem;
    box-shadow: 0 0 2em var(--color-black);
    overflow: hidden;
    padding: 2em 2em 0;
  }
  
  .about {
    align-items: center;
    flex-direction: row;
    gap: 2em;
    min-height: calc( 100vh - 6em );
  }
  
  .about__text {
    width: 58%;
  }
  
  .about__image {
    aspect-ratio: 1 / 2;
    flex-grow: 0;
    flex-shrink: 1;
    max-height: calc( 100vh - 6em );
    width: 42%;
  }
  
  .about__image img {
    height: 100%;
    object-fit: contain;
    object-position: top;
  }
  
}

@media screen and ( min-width: 60em ) and (min-height: 38em ) {
  
  .about__image {
    aspect-ratio: auto;
    flex-grow: 0;
    flex-shrink: 1;
    max-height: calc( 100vh - 6em );
    width: 42%;
  }
  
  .about__image img {
    object-fit: contain;
    object-position: center;
  }
  
}

@media screen and ( min-width: 60em ) and ( max-width: 75em ) {
  
  .about {
    gap: 0;
  }
  
  .about__text {
    width: 60%;
  }
  
  .about__image {
    width: 50%;
    transform: translateX( 10% );
  }
  
}


/*------------------------------------*\
  #VARIABLES
\*------------------------------------*/

:root {
  --font-franklin: 'Libre Franklin', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
  'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans',
  'Helvetica Neue', sans-serif;
  --color-beige: #fff6ee;
  --color-black: black;
  --color-blue: #306680;
  --color-blue: blue;
  --color-brown: #b03b00;
  --color-purple: purple;
  --color-white: white;
}