/* @font-face {
  font-family: 'font-name';
  src: url('/fonts/font-name-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'font-name';
  src: url('/fonts/font-name-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'font-name';
  src: url('/fonts/font-name-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
} */

* {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  line-height: 1.55;
  font-family: "font-name", "Trebuchet MS", Arial;
  scroll-behavior: smooth;
  box-sizing: border-box;
}

h1,
h2,
h3 {
  text-wrap: balance;
  margin-bottom: 1em;
  font-weight: normal;
}

a,
summary {
  cursor: pointer;
}

/* COMPOSITION */
.c-screen-height {
    min-height: 100vh;
}
.c-full-width {
    width:100%;
}

.c-margin-center {
    margin-inline: auto;
}

.c-max-content {
    padding: 0 5vw;
}

.c-flex {
    display: flex;
    &.c-wrap {
        flex-wrap: wrap;
    }
    &.c-flex-column{
        flex-direction: column;
        justify-content: space-between;
    }
    &.c-flex-center {
        align-items: center;
    }
}

/* UTILITIES */
p, ul, ol , a, span, details, label, input, textarea {
  font-size: clamp(1.5rem, 1rem + 2vw, 1.8rem);
}

.u-font-small {
  font-size: clamp(1rem, 1rem + 1vw, 1.5rem);
}

h2, h3, .u-font-big {
  font-size: clamp(1.8rem, 1rem + 4vw, 2.2rem);
}

h1, .font-huge {
  font-size: clamp(2rem, 2rem + 4vw, 6.2rem);
}

.round-image {
  border-radius: 50%;
  width: 100%;
  height: auto;
}

:root {
  --primary: oklch(0.9813 0.0652 104.07);
  --primary--dark: oklch(0.5322 0.1371 174.11);
  --primary--black: oklch(0.2658 0.0821 160.09);
  --red: oklch(0.6383 0.2911 24.85);
}

body {
      background: var(--primary);
}

.inprogress {
    color: var(--red);
    
}



.top-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background-color: #00BAF0;
  background: linear-gradient(to left, #f46b45, #eea849);
  /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  color: #FFF;
  height: 50px;
  padding: 1em;
}

.menu {
  display: flex;
  flex-direction: row;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.menu > li {
  margin: 0 1rem;
  overflow: hidden;
}

.menu-button-container {
  display: none;
  height: 100%;
  width: 30px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#menu-toggle {
  display: none;
}

.menu-button,
.menu-button::before,
.menu-button::after {
  display: block;
  background-color: #fff;
  position: absolute;
  height: 4px;
  width: 30px;
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 2px;
}

.menu-button::before {
  content: '';
  margin-top: -8px;
}

.menu-button::after {
  content: '';
  margin-top: 8px;
}

#menu-toggle:checked + .menu-button-container .menu-button::before {
  margin-top: 0px;
  transform: rotate(405deg);
}

#menu-toggle:checked + .menu-button-container .menu-button {
  background: rgba(255, 255, 255, 0);
}

#menu-toggle:checked + .menu-button-container .menu-button::after {
  margin-top: 0px;
  transform: rotate(-405deg);
}

@media (max-width: 700px) {
  .menu-button-container {
    display: flex;
  }
  .menu {
    position: absolute;
    top: 0;
    margin-top: 50px;
    left: 0;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
  }
  #menu-toggle ~ .menu li {
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }
  #menu-toggle:checked ~ .menu li {
    border: 1px solid #333;
    height: 2.5em;
    padding: 0.5em;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }
  .menu > li {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0.5em 0;
    width: 100%;
    color: white;
    background-color: #222;
  }
  .menu > li:not(:last-child) {
    border-bottom: 1px solid #444;
  }
}

.test-block {
    min-height: 11rem;
    width: 50%;
    background-color: var(--primary);
    img {
        width: 100%;
    }
}
.gallery-test {
  
  gap: 1ch;
  display: flex;
  position: relative;

  details {
    summary {
      display: flex;
      cursor: pointer;
    }
    min-height: 50vh; /* Prevents content shift */
      
    &[open] summary,
    &[open]::details-content {
    }

    &[open]::details-content {
      left: 0;
      position: absolute;
    }
    
  }
  
}