@import url("https://fonts.googleapis.com/css2?family=Roboto+Mono&family=Ubuntu+Mono&display=swap");
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
}

::-webkit-scrollbar {
  width: 12px;
}
::-webkit-scrollbar-track {
  border-radius: 100vh;
  background: #1f2937;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(
    rgb(134, 239, 172),
    rgb(59, 130, 246),
    rgb(147, 51, 234)
  );
}
/* NAvbar */
body {
  height: 800px;
  background: #000;
  font-family: "Roboto Mono", monospace;
}
.clip {
  position: fixed;
  right: 0;
  bottom: 0;
  height: 100%;
  width: 100%;
  z-index: -2;
  object-fit: cover;
}
.nav-container {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  position: fixed;
  top: 0;
  width: 100vw;
  height: 108px;
  backdrop-filter: blur(3px);
  z-index: 5;
}

.nav-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 108px;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: -1;
  opacity: 0.8;
}

nav {
  display: flex;
  padding: 2% 6%;
  justify-content: space-around;
  align-items: center;
  margin-left: 54%;
}
.nav-container nav .logo {
  position: absolute;
  top: 0px;
  left: 0px;
  background: #fff;
  border: 2px solid #fff;
}
nav #logo {
  width: 130px;
  /* margin-right: 20%; */
  position: absolute;
  left: 20px;
  top: 9px;
  padding: 10px 6px;
}

.nav-links {
  flex: 1;
  text-align: center;
}
.nav-links ul {
  margin-top: 15px;
  margin-right: 100px;
  width: 600px;
}
.nav-links ul li {
  list-style: none;
  display: inline-block;
  padding: 8px 10px;
  position: relative;
}

.nav-links ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 600;
}

.nav-links ul li::after {
  content: "";
  width: 0%;
  height: 2px;
  background: #fff;
  display: block;
  margin: auto;
}

.nav-links ul li:hover::after {
  width: 100%;
  transition: 0.5s;
}

nav .fa {
  width: 12px;
  height: 12px;
  display: none;
}
svg {
  color: #fff;
  display: none;
}

@media (max-width: 1150px) {
  .nav-links ul li {
    display: block;
  }

  .nav-links {
    position: absolute;
    background: #000;
    height: 100vh;
    width: 250px;
    top: 0;
    right: -250px;
    text-align: left;
    z-index: 2;
    transition: 0.7s;
    opacity: 0.7;
  }

  svg {
    display: block;
    cursor: pointer;
    position: absolute;
    top: 32px;
    right: 50px;
    width: 40px;
    height: 60px;
    margin-right: 25px;
  }

  svg:nth-child(1) {
    display: block;
    margin-bottom: 50px;
    position: absolute;
    top: 12px;
    left: 11px;
    width: 40px;
    height: 40px;
  }

  .nav-links ul {
    padding: 40px;
  }

  .fa-bars {
    position: absolute;
    top: 28px;
    right: 22px;
    background: transparent;
  }

  .fa-close {
    /* background: #fff; */
    border-radius: 50%;
  }

  .nav-links ul li a {
    color: #fff;
  }

  .nav-links ul li:hover::after {
    width: 0%;
  }

  .nav-links ul li:hover {
    background-color: #fff;
    border-radius: 12px;
  }

  .nav-links ul li:hover a {
    color: #000;
    font-weight: 500;
  }

  .nav-container {
    backdrop-filter: blur(3px);
    /* height: 20%; */
  }
  .main {
    overflow: hidden;
  }
}

/* Cards */
.row {
  padding: 4rem;
  position: relative;
  display: flex;
  flex-direction: row;
  width: 85vw;
  justify-content: space-evenly;
  align-items: center;
  overflow: hidden;
  flex-wrap: wrap;
  margin: auto;
  margin: 1rem;
  /* z-index: 100; */
}

.main {
  padding: 7rem 0.5rem 0.5rem 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
}

.main video {
  position: fixed;
  min-width: 100%;
  min-height: 100%;
  top: 0;
  left: 0;
}

.row .show img {
  width: 100%;
  height: 100%;
}

.show {
  position: relative;
  width: 285px;
  height: 310px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.301);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 3rem;
}

.show .data {
  position: absolute;
  bottom: -160px;
  width: 100%;
  height: 35%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  backdrop-filter: blur(18px);
  background-color: whitesmoke;
  opacity: 0.8;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: bottom 0.4s ease-out;
  transition-delay: 0.2s;
}

.row .show:hover .data {
  bottom: 0px;
}

.row .show .data p {
  /* font-family: "Montserrat", sans-serif; */
  color: black;
  text-transform: capitalize;
  letter-spacing: 2px;
  font-weight: 800;
  font-size: 1rem;
  transition: 0.3s;
  opacity: 0;
  transform: translateY(-20px);
  transition-delay: 0, 6s;
}

.row .show:hover .data p {
  opacity: 1;
  transform: translateY(0);
}

.row .title {
  position: absolute;
  top: -5px;
  text-transform: uppercase;
  font-weight: 400;
}

.title p {
  color: whitesmoke;
  font-weight: 800;
  letter-spacing: 2.1px;
}
.row .show .data p {
  font-weight: 700;
}

.active {
  transition: font-size 600ms ease-out;
  font-size: x-large;
  font-weight: bolder;
}

.hidden {
  display: none;
}
