@font-face {
  font-family: 'WorkSans';
  src: url('./assets/fonts/WorkSans-Regular.woff2') format('woff');
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'WorkSans', 'Arial', sans-serif;
    background-color: #EAF4FF;
    color: #354C91;
    font-size: 17px;
    line-height: 1.5;
}

body {
    padding: 0;
    margin: 0;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

a {
    color: inherit;
}

button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

h1 {
    font-family: 'WorkSans', 'Arial', sans-serif;
    font-size: 60px;
    line-height: 1;
}

h2 {
    font-family: 'WorkSans', 'Arial', sans-serif;
    font-size: 26px;
}

h3 {
    font-family: 'WorkSans', 'Arial', sans-serif;
    font-size: 18px;
}

/* 

/* img {
  height: 100vh;
  object-fit: cover; 
  display: block; 
} 
 */

img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

figcaption {
    display: block;
}

/* .gallery {
    display: flex;
} */

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.gallery > div {
    position: relative;
}

@media screen and (max-width: 768px) {
    .gallery {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .gallery > div {
        width: 100%;
    }

    .gallery img {
        height: auto;
        width: 100%;
    }
}

.action-bar {
    position: absolute;
    bottom: 1rem;
    right: 1em;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.circle-button {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 2.2);
}

.circle-button::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    inset: 0;
    display: block;
    border-radius: 50%;
    box-shadow: 0 6px 6px rgba(0, 0, 0, 0.2), 0 0 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 2.2);
}

.circle-button::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    inset: 0;
    overflow: hidden;
    border-radius: 50%;
    box-shadow: inset 1px 1px 1px 0 rgba(255, 255, 255, 0.5), inset -1px -1px 1px 1px rgba(255, 255, 255, 0.5);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 2.2);
}

.circle-button:hover::before,
.circle-button:focus-within::before,
.circle-button:hover::after,
.circle-button:focus-within::after {
    transform: scale(1.1);
}

.circle-button--filter {
    position: absolute;
    width: 100%;
    height: 100%;
    inset: 0;
    z-index: -1;
    border-radius: 50%;
    backdrop-filter: blur(1px);
    filter: url(#glass-distortion);
    isolation: isolate;
}

.circle-button svg {
    color: #00000091;
    z-index: 1;
}

.circle-button:hover svg,
.circle-button:focus-visible svg {
    color: #000000df;
}

.audio-button:not(:hover):not(:focus-visible):not(.audio-button--active) [data-pause],
.audio-button:not(.audio-button--active) .progress-ring {
    display: none;
}

.audio-button:hover [data-play],
.audio-button:focus-visible [data-play],
.audio-button--active [data-play] {
    display: none;
}

.progress-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.progress-ring__circle {
  transition: 0.35s stroke-dashoffset;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
}

.visually-hidden,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.story {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    gap: 20px;
}