* {
  /* overflow: hidden; */
  margin: 0%;
  border: 0%;
  box-sizing: border-box;
  font-family: sans-serif;
  --vidWidth:978px;
  --left:7%;
}

html{
  scroll-behavior: smooth;
}

.slide-in{
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.5s ease;
}

.fade-in{
  opacity: 0;
  transition: opacity 1s 0.3s ease;
}

.appear{
  opacity: 1;
}

.appear.slide-in{
  transform: translateY(0);
}

body {
  overflow-x: hidden;
  position: relative;
  z-index: 1;
  margin: 0%;
  background-color: #16171a;
}

.banner {
  position: flex;
  flex-direction: column;
  background: radial-gradient(
      circle at 0 0,
      rgba(22, 23, 26, 0.58) 0,
      #16171a 60%
    ),
    url("../Assets/Navigation Bar and Banner/Top Poster.webp");
  /* background:linear-gradient(to right,rgba(0,0,0,0.4) 0, #16171a 70%), url("Assets/Top Poster.webp"); */
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  z-index: 1;
  display: flex;

  /* border: 2px solid red; */
  
  height: 70vw;
}



.textVidContainer {

  position: relative;
  z-index: 1;
  /* border: 2px solid hotpink; */
  top: 25%;
  left: var(--left);
  width: var(--vidWidth);
  height: 280px;

  transition: all 0.3s ease;
}

.textVidContainer video {
  z-index: 1;
  position: relative;
  width: 100%;
  -webkit-clip-path: url(#text-overlay);
  clip-path: url(#text-overlay);
  /* height: 100%; */
}

svg{
  /* border: 4px solid yellowgreen; */

  position: absolute;
  /* display: block; */
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#text-overlay{
  z-index: 1;
  position: relative;
  height: 100%;
  width: 100%;
}

#title {
  z-index: 1;
  position: relative;
  border: 2px solid slateblue;
  font-family: sans-serif;
  font-weight: bold;
  font-size: 250px;
}

/* .textOnVid{
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  top : 0;
  left: 0;
  background-color: white;
  color: black;
  font-size: 80px;
  mix-blend-mode: screen;
} */

.underTextContainer{
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  /* border: 2px solid gold; */
  width: var(--vidWidth);
  left: var(--left);
  top: 27%;
  height: 172px;
}

.underText{
  z-index: 1;
  color: white;
  font-size: 70px;
}

.linkUp{
  z-index: 10;

  height: 70px;
  width: 70px;

  border: 2px solid rgb(180, 227, 0);
  border-radius: 50%;

  background-color: rgb(180, 227, 0);

  position: fixed;

  bottom: 3%;
  right: 3%;
}

.linkUp:hover{
  background-color: transparent;

  border: none;
}

.linkUp .upImage{
  width: 100%;
  height: 100%;

  background: url("../Assets/Navigation Bar and Banner/dropDown.svg");
  background-repeat: no-repeat;
  background-position: 50% 60%;
  background-size: 30px 30px;

  filter: invert(1);

  transform: rotate(180deg);
}

.linkUp:hover .upImage{
  filter: invert(0);
}

@media (max-width:1160px) and (min-width:730px) {

  #title{
    font-size: 20vw;
  }

  .textVidContainer{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 85%;
  }

  .underTextContainer{
    width: 85%;
  }
  
  .underText{
    font-size: 5vw;
  }
}

@media (max-width:730px) {

  .banner{
    height: 60vh;
  }

  #title{
    font-size: 15vw;
    top: 50%;
  }

  .textVidContainer{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 85%;
    height: 150px;

  }

  .underTextContainer{
    width: 85%;
  }
  
  .underText{
    font-size: 8vw;
  }
}

@media (max-width:400px) {

  .banner{
    height: 50vh;
  }

  .textVidContainer{
    height: 100px;
  }
}

