@import url("https://fonts.googleapis.com/css2?family=Alata&family=Comfortaa&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Alata&family=Comfortaa&display=swap');


/* font-family: 'Alata', sans-serif; */
/* font-family: 'Comfortaa', cursive; */

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: inherit;
}

/* //circle animations */

/*----------------------
Animation Keyframes
------------------------*/
@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes zoomInOut {

  0%,
  100% {
    transform: scale(0.5);
  }

  50% {
    transform: scale(1);
  }
}

@keyframes bounceTop {

  0%,
  100% {
    transform: translateY(-50%);
  }

  50% {
    transform: translateY(0px);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

body {
  /* background-image: url("../images/Interview/content-bg.png"); */
  background-color: black;
  background-position: center;
}

/*----------------------
  Background Circles
  -----------------------*/
.bg-circles {
  position: fixed;
  top: 0;
  height: 100%;
  max-width: 1200px;
  width: calc(100% - 30px);
  left: 50%;
  transform: translateX(-50%);
}

.bg-circles div {
  position: absolute;
  border-radius: 50%;
}

.bg-circles .circle-1 {
  height: 30px;
  width: 30px;
  background-color: rgb(175, 117, 247);
  left: 5%;
  top: 10%;
  opacity: 0.3;
  animation: zoomInOut 4s linear infinite;
}

.bg-circles .circle-2 {
  height: 40px;
  width: 40px;
  background-color: rgb(175, 117, 247);
  left: 30%;
  top: 50%;
  opacity: 0.4;
  animation: bounceTop 2s ease-in-out infinite;
}

.bg-circles .circle-3 {
  height: 60px;
  width: 60px;
  background-color: rgb(175, 117, 247);
  top: 30rem;
  right: -60px;
  opacity: 0.3;
  animation: bounceTop 2s ease-in-out infinite;
}

.bg-circles .circle-4 {
  height: 25px;
  width: 25px;
  background-color: rgb(175, 117, 247);
  top: 80%;
  left: -30px;
  opacity: 0.6;
  animation: zoomInOut 4s linear infinite;
}

.bg-circles .circle-5 {
  height: 35px;
  width: 35px;
  background-color: rgb(175, 117, 247);
  left: 80%;
  top: 80.5%;
  opacity: 0.2;
  animation: bounceTop 2s ease-in-out infinite;
}

.bg-circles .circle-6 {
  height: 25px;
  width: 25px;
  background-color: rgb(175, 117, 247);
  left: 60%;
  top: 91%;
  opacity: 0.2;
  animation: zoomInOut 2s ease-in-out infinite;
}

.resources {
  display: flex;
  flex-direction: column;
  /* background-image: url("../images/Interview/white-bg.jpg"); */
  background-color: black;
  color: #fff;
  background-size: cover;
  margin-top: 70px;
}

/* navbar part */
.navbar {
  display: flex;
  justify-content: space-between;
  height: 4.375rem;
  align-items: center;
  color: rgb(255, 255, 255);
  font-family: "Alata", sans-serif;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0.313rem 1.25rem;
  background-color: rgba(0, 0, 0, .6);
  z-index: 210;
}

.logo {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo img {
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(90, 123, 128, 0.3);
}

.logo span {
  font-weight: 600;
  margin-left: 0.313rem;
  font-family: "Comfortaa", cursive;
}

.nav-content {
  gap: 3rem;
  list-style-type: none;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
}

.nav-icon {
  display: flex;
  align-items: center;
  margin-right: 4.6rem;
}

/* Navbar ends */
.content {
  flex-shrink: 0;
  background-size: cover;
  /* Scale the background image to cover the entire .content div */
  border-radius: 2.0625rem;
  margin: 6.375rem 4rem 4rem;
  align-items: start;
  display: flex;
  justify-content: center;
}

.main li {
  font-family: 'Roboto', sans-serif;
  margin: 0 2rem;
  /* Adjust the space between li elements */
}

.second-nav {
  display: flex;
  /* color: #000000; */
  color: #fff;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  /* margin-top: 73px; */
  letter-spacing: 2px;
  position: relative;
  top: 173px;
  width: 100%;
  /* top: 13%; */
  z-index: 1;
}

.second-nav ul {
  display: flex;
  gap: 111px;
  flex-direction: row;
  list-style-type: none;
  margin-bottom: 23px;
}

.second-nav ul li {
  gap: 23px;
  padding: 20px 40px;
}

.second-nav ul li:hover {
  background-color: #111010;
  color: rgb(255, 255, 255);
  transition: .3s;
  cursor: pointer;
}

.main ul {
  margin: 2rem 0 3rem;
  list-style: none;
  display: flex;
  background-color: rgb(243, 175, 255);
  justify-content: center;
}

.yt-grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* Creates 4 equal-width columns */
  gap: 50px;
}

.yt {
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  width: 320px;
  height: 180px;
  cursor: pointer;
  margin-bottom: 1rem;
  box-shadow: 6px 5px 7px 0px rgba(90, 24, 174, 0.22);
}

.yt img {
  width: 100%;

  /* height: 190px;  */
  object-fit: cover;
}
/* modal starts */
.yt-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
  background-color: rgba(0, 0, 0, 0.7);

}

.modal-container {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 800px;
  width: 90%;
  overflow: hidden;
  background-color: #fff;
  padding: 10px;
  margin-top: 10px;
}

/* .modal-container.active {
  transform: translate(-50%, -50%) scale(1);
} */
.btn-close {
  position: absolute;
  right: 20px;
  font-size: 1.6rem;
  cursor: pointer;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.2s ease-in;
  font-weight: 500;
  border: none;
}

.btn-close:hover {
  opacity: 0.9;
  background-color: rgb(175, 117, 247);
  color: #fff;
}

.iframe-container {
  margin-top: 50px;
  position: relative;
  padding-top: 56.25%;
  /* 16:9 aspect ratio (9/16 * 100 = 56.25) */
  overflow: hidden;
  /* Hide any overflow content from the iframe */
}

.yt-modal .modal-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
/* modal ends */

/* #overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  transition: 200ms ease-in-out;
  background-color: rgba(0, 0, 0, 0.7);
  pointer-events: none;
}
#overlay.active {
  pointer-events: all;
  opacity: 1;
} */

.suggestion {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80%;
  margin-top: 1rem;
  margin-bottom: 3rem;
  z-index: 100;
  gap: 10px;
}

.suggestion input {
  text-align: center;
  width: 80%;
  margin-left: 18rem;
  padding: 12px 16px;
  border-radius: 7px;
  box-shadow: 0px 0px 10px rgb(153, 152, 152);
  border: none;
}

#search {
  width: 10%;
  padding: 12px 16px;
  border-radius: 7px;
  box-shadow: 7px 6px 28px 1px rgba(0, 0, 0, 0.24);
  cursor: pointer;
  outline: none;
  transition: 0.2s all;
  transition: 0.2s all;
}

#search:hover {
  background-color: rgb(193, 152, 242);
  box-shadow: 7px 6px 28px 1px rgba(0, 0, 0, 0.24);
  color: white;
  letter-spacing: 1px;
}

#search:active {
  transform: scale(0.98);
  /* Scaling button to 0.98 to its original size */
  box-shadow: 3px 2px 22px 1px rgba(192, 189, 189, 0.24);
  /* Lowering the shadow */
}

.section {
  margin: 20px;
  z-index: 100;
}
.subtopic {
  cursor: pointer;
  font-weight: bold;
}
.projects-list {
  list-style: none;
  padding: 0;
}
.projects {
  display: block;
  margin-top: 10px;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.project {
  border: none;
  display: flex;
  flex-direction: column;
  gap: 52px;
  box-shadow: 0px 0px 10px grey;
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 7rem;
  background-color: transparent;
  backdrop-filter: blur(12px);
}
.project h3{
  font-family: 'Alata', sans-serif;
font-size: 33px;
  
}
.project p{
  font-family: 'Comfortaa', cursive;
  font-size: 10px;
}
.project .left {
  padding-right: 10px;
}
.right{
  display: flex;
  justify-content: center;
  align-items: center;
}
.left{
  display: flex;
    flex-direction: column;
    gap: 17px;
   
}
.pic {
  max-width: 100%;
  height: 111px
}

.icons {
  width: 20px;
  height: 20px;
  margin-right: 5px;
  margin-top: 2px;
}

.git{
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2px 14px;
  background-color: grey;
  border-radius: 11px;
  gap: 8px;

}
.youtube{
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2px 14px;
  border-radius: 11px;
  gap: 8px;
  box-shadow: rgb(250 250 255 / 16%) 0px 1px 6px 0px inset, rgb(38 37 37 / 24%) 4px 6px 11px 1px inset;
}

.subtopic{
  background-color: rgb(29, 28, 28);
  font-family: 'Alata', sans-serif;
  font-size: 13px;
  padding: 14px 18px;
  color: rgb(205, 195, 242);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.gradient-text {
  font-family: 'Comfortaa', cursive;
  background: linear-gradient(to right, #ffff, #6d3bd0), #777eed;
  /* Replace with your desired gradient colors */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.heading{
  text-align: center;
  margin-top: 100px;
  font-size: 45px;
  line-height: 125px;
  letter-spacing: 1px;
  font-weight: 700;
}