@import url("https://fonts.googleapis.com/css2?family=Roboto+Mono&family=Ubuntu+Mono&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.clip {
  position: fixed;
  right: 0;
  bottom: 0;
  height: 100%;
  width: 100%;
  z-index: -2;
  object-fit: cover;
}
/* Navbar */
body {
  height: 800px;
  background: #000;
  font-family: "Roboto Mono", monospace;
}

.nav-container {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  position: fixed;
  top: 0;
  width: 100vw;
  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: 22%; */
  }

  .nav-container::before {
    height: 111px;
  }
}
/* Cards */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap");

.main-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin-top: 150px;
}

.container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  flex-wrap: wrap;
  z-index: 1;
}

.container .card {
  /* position: relative; */
  width: 280px;
  height: 400px;
  margin: 30px;
  box-shadow: 20px 20px 50px rgba(255, 255, 255, 0.7);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  border-left: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
  cursor: pointer;
}

.container .card {
  /* position: relative; */
  /* background: url("./Kaun\ Banega\ Chemist.png") center center/cover; */
  background-color: #fff;
  opacity: 0.8;
  background-size: 250px 300px;
  background-repeat: no-repeat;
}
/* Modal Window */
.close-modal {
  position: absolute;
  top: 4px;
  right: 13px;
  font-size: 2.5rem;
  color: #333;
  cursor: pointer;
  border: none;
  background: none;
}

.hidden {
  display: none;
}

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  background-color: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 3rem 5rem rgba(0, 0, 0, 0.3);
  z-index: 10;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
  z-index: 5;
}

.main-container .container .card .img {
  width: 100%;
  height: 70%;
  z-index: 10;
}

.main-container .container .card img {
  width: 141%;
  height: 67%;
  position: absolute;
  top: 35px;
  left: -55px;
  /* border-radius: 50%; */
}

.main-container .container .card .name {
  text-align: center;
  position: absolute;
  bottom: 100px;
}

.main-container .container .card .name h3 {
  /* position: absolute; */
  bottom: 100px;
  /* right: 49px; */
  font-size: 1.4rem;
}

.container .card .content {
  padding: 20px;
  text-align: center;
  transform: translateY(100px);
  opacity: 0;
  transition: 0.2s ease-in-out;
}

.container .card:hover .content {
  transform: translateY(40px);
  opacity: 1;
  height: 100%;
  background: linear-gradient(rgba(255, 255, 255, 0), rgba(0, 0, 0, 3));
  color: #000;
}

.container .card .content h2 {
  position: absolute;
  top: -80px;
  right: 30px;
  font-size: 8em;
  color: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.container .card .content h3 {
  font-size: 1.8em;
  color: #fff;
  z-index: 1;
  margin-top: 25px;
  margin-bottom: 15px;
}

.container .card .content p {
  font-size: 1em;
  color: #fff;
  font-weight: 300;
}

.container .card .content a {
  position: relative;
  display: inline-block;
  padding: 8px 20px;
  margin-top: 15px;
  background: #fff;
  color: #000;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 500;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2);
}

.container .card .content a:hover {
  transform: scale(0.9);
}
