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

body {
  font-family: "Montserrat";
  background-color: #e3e3db;
  overflow: hidden;
}

p {
  position: relative;
  font-size: 20px;
  font-weight: 500;
  text-transform: uppercase;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hero {
  position: relative;
  width: 100vw;
  height: 100svh;
  background-color: #15161b;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  clip-path: polygon(0% 45%, 0% 45%, 0% 55%, 0% 55%);
  will-change: clip-path;
}

.progress-bar {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 25vw;
  padding: 2em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #ffbb00;
}

.video-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 100svh;
  background-color: #000;
  clip-path: polygon(20% 20%, 80% 20%, 80% 80%, 20% 80%);
  will-change: transform, clip-path;
  overflow: hidden;
}

.video-container video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  height: auto;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  opacity: 1;
}

nav,
footer {
  width: 100vw;
  padding: 1.5em;
  display: flex;
  justify-content: space-between;
  color: #fff;
  mix-blend-mode: difference;
  z-index: 2;
}

footer {
  justify-content: flex-end;
  gap: 1em;
}

.header {
  position: absolute;
  top: 85%;
  left: 50%;
  width: 100%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.header h1 {
  width: 100%;
  text-align: center;

  font-size: 2.6vw;
  line-height: 1.1;
  color: #fff;
}

.index-btn {
  width: 180px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #000;
  margin-top: 20px;
  border-radius: 8px;
}

.header p {
  color: #ffffff;
  font-weight: bolder;
  background-color: #000;
  border-radius: 20px;
}

.coordinates {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100vw;
  padding: 1.5em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #ffbb00;
}

.logo {
  position: absolute;
  bottom: 0;
  padding: 1.5em;
  left: 50%;
  display: flex;
  transform: translateX(-50%);
  will-change: transform;
  color: #fff;
  mix-blend-mode: difference;
  z-index: 2;
}

.char.anim-out h1 {
  position: relative;
  will-change: transform;
}

.header h1,
.header p,
.coordinates p,
.char.anim-out {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.header span,
.coordinates p span {
  position: relative;
  display: block;
  transform: translateY(100%);
  will-change: transform;
}

.flip {
  transform: scaleX(-1);
  display: inline-block;
  /* important for transform to work properly */
}

a.btn-link {
  display: block;         /* Make the link act like a block */
  text-decoration: none;  /* Remove underline */
  font-weight: bold;      /* Keep bold style */
}

.index-btn {
  cursor: pointer; 
  text-align: center;
}


@media (max-width: 900px) {
  p {
    font-size: 18px;
  }

  .progress-bar {
    justify-content: flex-end;
  }

  .progress-bar p:nth-child(1) {
    display: none;
  }

  .header h1 {
    font-size: 6vw;
  }

  .coordinates {
    top: 65%;
    justify-content: center;
    gap: 1em;
    color: #fff;
    opacity: 0.5;
  }
}
