* {
  box-sizing: border-box;
}

::-webkit-scrollbar {
  width: 20px;
  height: 40px;
}

::-webkit-scrollbar-thumb {
  background-color: #95a6a8;
  border-radius: 30px;
}

::-webkit-scrollbar-track {
  background-color: #cbcbcb;
}

:root {
  --background-black: #1c1c1c;
}

body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
  margin: 0;
  padding: 0;
  background-color: var(--background-black);
}


#header1 {
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--background-black);
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 1.5em;
  z-index: 99;
  font-size: max(7vw, 2rem);
}

h2 {
  display: inline-block;
  background-image: linear-gradient(to right bottom, #f00 40%, #FFF);
  text-transform: uppercase;
  background-size: 100%;
  /* color: transparent; */
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 900;
  line-height: 100%;
  overflow: hidden;
  margin: 0;
  font-family: 'Anton', sans-serif;
}

input,
label {
  display: none;
}


i {
  height: max-content;
  width: max-content;
  font-size: max(5vw, 4rem);
  border: 0;
  background-color: transparent;
}

#nav-C {
  position: relative;
  display: flex;
  flex-direction: row-reverse;
  align-content: center;
  justify-content: space-between;
  top: 0;
  left: 0px;
  bottom: 0;
  font-size: clamp(1rem, 2.5vw, 5rem);
  flex: .7 0 15em;
}

label {
  display: none;
}


.nav-links {
  color: #fff;
  font-family: 'Changa', sans-serif;
  padding: 4% 4%;
}

a {
  text-decoration: none;
}

.BI {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

#BI4 {
  height: 100vh;
}

.BI h3 {
  color: #fff;
  text-shadow: 0px 0px 3px black, 0px 0px 6px black, 0px 0px 9px black;
  font-size: clamp(1.7rem, 8vw, 30rem);
}

#BI1 {
  background: url(img/photo_5769657133720255730_y.jpg) no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: center 70%;
  overflow: hidden;

}

#BI2 {
  background: url(img/faraz.skate.club-20220919-0009.jpg) no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: center top;
}

#BI3 {
  background: url(img/faraz.skate.club-20220919-0011.jpg) no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: center 35%;
  height: calc(100vh + 15rem);

}

#BI4 {
  background: url(img/faraz.skate.club-20220919-0012.jpg) no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: center 40%;

}

h1,
h3,
h4 {
  font-size: clamp(1.6rem, 12vw, 30rem);
  font-weight: 200;
  text-align: center;
  text-shadow: 0px 0px 3px #fff, 0px 0px 6px #fff, 0px 0px 7px #fff;
}

.content {
  position: relative;
  background-image: linear-gradient(to right bottom, #333, skyblue);
  color: #fff;
  padding: 40vh 2em;
  text-align: center;
}

.content p {
  margin-top: 4em;
  font-size: clamp(1rem, 5vw, 9rem);
  font-weight: 900;
}

#C-bouncing {
  text-align: center;
  font-size: clamp(1.5rem, 8vw, 7rem);
  font-weight: 900;
  -webkit-box-reflect: below -12px linear-gradient(transparent, rgba(0, 0, 0, .3));
}

.bouncing {
  display: inline-block;
  animation: bounce 1s infinite calc(var(--i) * .1s);
  animation-timing-function: ease-in-out;

}

@keyframes bounce {
  0% {
    transform: translateY(0px);
  }

  30% {
    transform: translateY(-30px);
  }

  60%,
  100% {
    transform: translateY(0px);
  }
}


footer {
  position: relative;
  display: block;
  width: 100%;
  /* height: 10rem; */
}

footer #nav-C {
  position: relative;
  display: flex;
  flex-direction: row-reverse;
  align-content: flex-end;
  align-items: flex-end;
  justify-content: center;
  background-color: var(--background-black);
  margin-bottom: 1.5em;
  font-size: clamp(1rem, 3vw, 5rem);
  flex: .7 0 5em;
}

footer #nav-C a {
  padding: .5em 1em;
}

#me p {
  font-size: clamp(.5rem, 4vw, 10rem);
  font-weight: 900;
  text-align: center;
  background-color: #FA8BFF;
  background-image: repeating-linear-gradient(45deg, #33209d 1%, #FA8BFF 2%, #2BD2FF 3%, #2BFF88 4%, #33209d 5%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: ME 20s infinite linear;
  background-size: 600%;
  position: relative;
  display: block;
  margin: auto;
  font-family: 'Silkscreen',
    cursive;
}

#me:hover p {
  animation: ME 10s infinite linear;
}

#me:hover p::after,
#me:hover p::before {
  /* animation: ME .8s alternate infinite ease-in; */
  animation: brd-ani 3s infinite linear;
}

#me {
  text-align: center;
  width: 50%;
  background-color: var(--background-black);
  margin: 0 auto;
  /* margin-bottom: 2rem; */
}

#me p::before,
#me p::after {
  content: "";
  position: absolute;
  animation: brd-ani 6.5s infinite linear;
  top: -10px;
  right: -10px;
  left: -10px;
  bottom: -10px;
  border: 3px solid #fff;
  border-radius: .1em;
}

#me p::after {
  animation-delay: 3.25s;
}

#me:hover p::after {
  animation-delay: 1.5s;
}

@keyframes brd-ani {

  0%,
  100% {
    clip-path: inset(0 0 99% 0);
  }

  25% {
    clip-path: inset(0 99% 0 0);
  }

  50% {
    clip-path: inset(99% 0 0 0);
  }

  75% {
    clip-path: inset(0 0 0 99%);
  }
}

@keyframes ME {
  from {
    background-position: 0%;
  }

  to {
    background-position: 93%;
  }
}

@media screen and (max-width:700px) {

  label {
    float: right;
    display: flex;
    align-items: center;
    color: #fff;
  }

  #nav-C {
    display: grid;
    position: absolute;
    top: 100%;
    width: 100%;
    height: 0rem;
    transition: .8s;
    background-color: orangered;
    color: #fff;
    grid-template-columns: repeat(1, 1fr);
    justify-items: center;
    align-items: center;
    align-content: stretch;
    font-size: clamp(1rem, 5vw, 2rem);
    overflow: hidden;
  }

  #btn:checked~#nav-C {
    height: clamp(12rem, 20vh, 50rem);
  }

  #btn~label i.ri-close-circle-fill {
    display: none;
  }

  #btn:checked~label i.ri-menu-3-fill {
    display: none;
  }

  #btn:checked~label i.ri-close-circle-fill {
    display: block;
  }

  a.nav-links {
    padding: .4em;
    line-height: .2em;
  }

  #BI1 {
    background: url(img/faraz.skate.club-20220919-0013.jpg) no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: top;
  }

  #BI2 {
    background: url(img/maryam.gh.samani-20220919-0003.jpg) no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center 70%;
  }

  #BI3 {
    background: url(img/IMG_20230914_092010_920.jpg) no-repeat;
    background-attachment: fixed;
    background-position: 60% center;
    /* background-size: clamp(40vh, 250%, 90vh); */
    background-size: 90vh;

  }

  #BI4 {
    background: url(img/faraz.skate.club-20220919-0014.jpg) no-repeat;
    background-attachment: fixed;
    background-position: 35% top;
    background-size: 90vh;

  }

  footer #nav-C {
    display: flex;
    flex-direction: row-reverse;
    align-content: flex-end;
    align-items: flex-end;
    justify-content: center;
    background-color: var(--background-black);
    font-size: clamp(.7rem, 4vw, 1.7rem);
    flex: .7 0 5em;
    height: max-content;
    margin-bottom: 1.7em;
  }

  footer #nav-C a {
    padding: 1.2em 1.2em;
  }
}