:root {
  overflow-x: hidden;
  --clr-primary: #70c9d5;
  --clr-secondary: rgb(186, 95, 122);
  --clr-text: rgb(44, 43, 43);
  --clr-white: #fff;
  --clr-black: #222;
  --ff-primary: "Roboto", sans-serif;
  --ff-secondary: "Open Sans", sans-serif;
  --transition: all 0.3s linear;
  --spacing: 0.25rem;
  --radius: 0.5rem;
  scroll-behavior: smooth;
}

@font-face {
  font-family: "Shrikhand";
  font-style: normal;
  font-weight: 100;
  font-display: swap;
  src: local("Shrikhand Regular"), local("Shrikhand-Regular"),
    url(https://fonts.gstatic.com/s/shrikhand/v5/a8IbNovtLWfR7T7bMJwrA4KR.woff2)
      format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

@import url("https://fonts.googleapis.com/css2?family=Open+Sans&family=Roboto:wght@400;700&display=swap");

body {
  background: linear-gradient(to bottom, #fff, #fff, rgb(255, 251, 224));
}

ul {
  list-style-type: none;
}
a {
  text-decoration: none;
  color: var(--clr-primary);
  transition: var(--transition);
}

a:active {
  color: var(--clr-primary);
}

a:visited {
  color: var(--clr-primary);
}

a:hover {
  color: var(--clr-secondary);
}

/* BACKGROUND MASK */

.background__mask {
  display: none;
}

.darken {
  position: fixed;
  display: block;
  background: rgba(0, 0, 0, 0.8);
  z-index: 100;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

/* TITLE */

.title {
  width: auto;
  display: flex;
  flex-direction: column;
  place-content: center;
  margin: 0;
  padding: 0;
  text-align: center;
}

.title h1 {
  color: var(--clr-primary);
  font-family: "Shrikhand";
  text-align: center;
  font-size: 4rem;
  line-height: 1;
  transition: var(--transition);
}

.title h2 {
  font-size: 2rem;
  font-family: "Roboto", sans-serif;
  margin-top: -1rem;
  margin-bottom: 3rem;
  color: var(--clr-primary);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: var(--spacing);
}

h1:hover {
  color: var(--clr-secondary);
}

h1:active {
  color: #222;
}

.title__bottom {
  width: 5%;
  margin-bottom: 4rem;
  margin-top: -1rem;
  margin-left: auto;
  margin-right: auto;
  border-bottom: 3px solid rgb(73, 206, 213);
}

/* VIDEO */

video {
  width: 80%;
  max-width: 1500px;
  margin: 3rem auto;
  display: flex;
  flex-direction: column;
}

/* FULL WIDTH CONTENT */

.full {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  top: 5%;
  width: 60%;
  z-index: 200;
  margin: 0 auto;
}
.full .content {
  width: 100%;
  display: grid;
}
.full .content img {
  height: 100%;
  width: 100%;
  margin: 0 auto;
}

/* GALLERY */

/* .gallery {
  margin: 0 auto;
  width: 80%;
  display: grid;
  grid-column-gap: 8px;
  grid-row-gap: 8px;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  grid-auto-rows: 8px;
  place-content: center;
} */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  /* grid-template-rows: repeat(8, 5vw); */
  grid-gap: 15px;
}

.gallery img {
  cursor: pointer;
  max-width: 100%;
  border-radius: 10%;
  transition: all 1.5s ease;
}
.gallery .content {
  padding: 4px;
}

.gallery .gallery-item {
  transition: grid-row-start 300ms linear;
  transition: transform 300ms ease;
  transition: all 0.5s ease;
  cursor: pointer;
}

/* MEDIA QUERIES */

@media (max-width: 900px) {
  .full {
    width: 95%;
    top: 5%;
  }
}

@media (max-width: 600px) {
  .full {
    top: 30%;
  }

  video {
    width: 100%;
  }

  .title h1 {
    font-size: 3rem;
  }

  .title h2 {
    font-size: 1.5rem;
  }

  .background__mask {
    display: none !important;
  }
  .gallery__img {
    cursor: default;
  }

  .gallery .gallery__item {
    cursor: default;
  }
}
@media (max-width: 400px) {
  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(50%, 1fr));
  }

  .title h1 {
    font-size: 2.5rem;
  }

  .title h2 {
    font-size: 1rem;
  }

  .title__bottom {
    display: none;
  }
}
