@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");

:root {
  --first-color: #727272;
}

* {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
}

.video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
  transition: background-color 1s ease;
  background-color: transparent;
}

#background-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 1s ease;
  opacity: 1;
}

.video-hidden #background-video {
  opacity: 0;
}

body.video-hidden {
  background-color: black;
  transition: background-color 1s ease;
}

html {
  scroll-behavior: smooth;
}
body {
  background: #000000;
}
body::-webkit-scrollbar {
  display: none;
}
.firstbody {
  height: 70vh;
  margin-top: 15rem;
  margin-left: 9.5rem;
  width: 45vw;
  animation: slide-in 0.5s ease-in-out;
}

.title {
  color: white;
  font-size: 3rem;
  font-weight: bold;
  padding: 0;
  margin-bottom: 0.1rem;
}

.subtitle {
  color: var(--first-color);
  font-size: 1.3rem;
  font-weight: bold;
  padding: 0;
  margin-bottom: 1rem;
}
.subtitle-br {
  display: none;
}
.title {
  line-height: 1;
}

.subtitle {
  line-height: 1;
}

.description {
  color: white;
  font-size: 1.1rem;
  padding: 0;
  margin-bottom: 1.6rem;
}

.btn {
  display: flex;
  flex-direction: row;
}
.btn .btn1 {
  opacity: 0.5;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.4em 2.7em;
  font-size: 1em;
  font-weight: 500;
  font-family: inherit;
  background-color: #ffffff;
  cursor: pointer;
  transition: opacity 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
  display: block;
  margin-right: 4rem;
}

.btn .btn2 {
  opacity: 0.5;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.4em 2.7em;
  font-size: 1em;
  font-weight: 500;
  font-family: inherit;
  background-color: transparent;
  cursor: pointer;
  display: block;
  color: #ffffff;
  border: 2px solid #ffffff;
  transition: opacity 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
}

.btn .btn1:hover {
  opacity: 1;
  transition: 0.2s ease-in-out;
  box-shadow: 0 0 15px #ffffff;
}

.btn .btn2:hover {
  opacity: 1;
  transition: 0.2s ease-in-out;
  box-shadow: 0 0 15px #ffffff;
}

.secondbody {
  padding: 80px 0;
  height: 70vh;
}

.about-color {
  position: relative;
  overflow: hidden;
  /* background: #ff0000; */
  margin-top: 6rem;
}
.about-video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  opacity: 0.7;
  /* filter: blur(1px); */
}

.about-video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about {
  position: relative;
  z-index: 1; /* margin: 7rem 0; */
  /* height: 50vh; */
  /* background: #000ced; */
  padding: 5rem 0;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  display: none;
}
.about-animation {
  display: flex;
  animation: opacity-in 1s ease-in-out;
}
.about h1 {
  text-align: center;
  margin-bottom: 2rem;
  color: white;
}
.image img {
  margin: 0 auto;
  display: block;
  width: 21vw;
  height: auto;
  border-radius: 50%;
}
.about-text {
  /* padding: 2rem 0; */
  text-align: center;
  /* margin-top: 2rem; */
  color: white;
  /* background: #000000; */
  border-radius: 3px;
  width: 70vw;
  text-align: end;
}
a {
  text-decoration: none;
  color: inherit;
}
.project-link {
  text-decoration: none;
  color: inherit;
}

.about-btn {
  margin: 0 auto;
  color: black;
  /* margin: 0 auto; */
  opacity: 0.5;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.4em 2.3em;
  /* font-size: 1em; */
  font-weight: 500;
  font-family: inherit;
  background-color: #ffffff;
  cursor: pointer;
  transition: opacity 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
  display: block;
  transition: opacity 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
}

.about-btn:hover {
  opacity: 1;
  transition: 0.2s ease-in-out;
  box-shadow: 0 0 15px #ffffff;
}
.about-subtitle {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}
.about-description {
  font-size: 1.5rem;
  line-height: 1.5;
  margin-bottom: 2rem;
}
.about-description span {
  font-weight: bold;
  color: var(--first-color);
}
.about-description a {
  color: var(--first-color);
  text-decoration: underline;
}
.about-description a:hover {
  text-decoration: none;
}

.thirdbody {
  padding: 90px 10px;
  height: 100%;
}

.thirdbody h1 {
  text-align: center;
  margin-bottom: 2rem;
  color: white;
}
.features {
  margin-bottom: 2rem;

  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.feature {
  border-radius: 10px;
  width: 540px;
  height: 220px;
  margin: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  opacity: 0.8;
}

.feature-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  transition: filter 0.3s ease;
}

.feature-btn {
  position: absolute;
  bottom: 10px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.feature-btn .btn1 {
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.4em 3.7em;
  font-size: 1em;
  font-weight: 500;
  font-family: inherit;
  background-color: #ffffff;
  cursor: pointer;
  transition: opacity 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
  display: block;
  margin-right: 4rem;
}

.feature-btn .btn1:hover {
  opacity: 1;
  transition: 0.2s ease-in-out;
  box-shadow: 0 0 15px #ffffff;
}

.feature-btn .btn2:hover {
  opacity: 1;
  transition: 0.2s ease-in-out;
  box-shadow: 0 0 15px #ffffff;
}

.feature-btn .btn2 {
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.4em 2.7em;
  font-size: 1em;
  font-weight: 500;
  font-family: inherit;
  background-color: #00000090;
  cursor: pointer;
  display: block;
  color: #ffffff;
  border: 2px solid #ffffff;
  transition: opacity 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
}

.feature-menu {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: white;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
  animation: grrpaw 0.4s ease-in-out;
}

.feature-menu h2 {
  animation: grrpaw-delay 0.4s ease-in-out 0.2s;
  animation-fill-mode: both;
}
.blur {
  filter: blur(5px);
  opacity: 0.4;
  transition: filter 0.3s ease, opacity 0.3s ease;
}
#contact-btn {
  display: inline-block;
}
.opacity {
  animation: opacity 0.4s ease-in-out;
}
#features-btn {
  display: inline-block;
}

.feature-menu-active #contact-btn {
  display: none;
}

.feature-menu-active #features-btn {
  display: none;
}

.feature-menu h2 {
  margin-top: 0;
}

.feature-menu button {
  margin-top: 20px;
  padding: 10px 20px;
  background: #16b5ff;
  border: none;
  color: white;
  cursor: pointer;
}

.feature-menu button:hover {
  background: #0f8dbd;
}

.fouthbody {
  padding: 90px;
  height: 70vh;
  margin-bottom: 3rem;
}
.disabled {
  opacity: 0.5;
  cursor: not-allowed !important;
}
.fouthbody h1 {
  text-align: center;
  margin-bottom: 2rem;
  color: white;
}

.project {
  -webkit-backdrop-filter: blur(5px);
  color: white;
  backdrop-filter: blur(10px);
  border: 2px solid var(--first-color);
  margin: 0 3rem;
  width: 350px;
  height: 500px;
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.project-title {
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
}

.project-year {
  line-height: 1;
  font-size: 1.4rem;
  font-weight: bold;
  /* margin-top: 1.5rem; */
}
.project-text {
  font-size: 1.2rem;
  line-height: 1;
  /* margin-bottom: 2rem; */
}
.project-year span {
  font-size: 1.1rem;
  font-weight: normal;
}
.project-subtitle {
  font-size: 1.1rem;
  /* text-align: center; */
}

.project-icon {
  display: flex;
  align-items: center;
  height: 100%;
  font-size: 0.8rem;
  margin-bottom: 0.8rem;
  margin-top: 0.2rem;
}

.project-btn-ctn {
  display: flex;
  flex-direction: row;
  border-left: 2px solid var(--first-color);
  border-right: 2px solid var(--first-color);
  border-top: 2px solid var(--first-color);
  padding: 0;
  margin-top: 5rem;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}
.project-btn-ctn button {
  color: white;
  border: 1px solid var(--first-color);
  line-height: 1.2;
  margin: 10px;
  border-radius: 6px;
  /* padding: 0.4em 2.7em; */
  width: 6rem;
  height: 3rem;
  background: transparent;
  font-size: 1em;
  font-family: inherit;
  cursor: pointer;
  transition: opacity 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
  display: block;
  transition: font-weight 0.1s, box-shadow 0.3s;
}

.contact {
  border: 1px solid transparent;
  color: rgb(0, 0, 0);
  width: 100%;
  height: 10%;
  border-radius: 0 0 8px 8px;
  background: white;
  cursor: pointer;
  transition: 0.3s ease-in-out;

  font-size: 1em;
  font-weight: bold;
  font-family: inherit;
}
.project-pic img {
  margin: 0 auto;
  display: block;
  width: 80%;
  height: auto;
}

.active {
  border: 2px solid var(--first-color);
  box-shadow: 0 0 30px var(--first-color);
  font-weight: bold;
  transition: font-weight 0.1s, box-shadow 0.3s;
}

.contact:hover {
  background: var(--first-color);
  color: white;
  transition: 0.3s ease-in-out;
}

.fifthbody {
  padding: 90px 40px;
  height: 70vh;
}

.fifthbody h1 {
  text-align: center;
  margin-bottom: 2rem;
  color: white;
}
.contact-ctn {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}
.fifthbody .discord {
  -webkit-backdrop-filter: blur(5px);
  color: white;
  border: 2px solid var(--first-color);
  margin: auto;
  width: 340px;
  height: 490px;
  border-radius: 10px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  backdrop-filter: blur(10px);
}
.discord:hover {
  transform: scale(1);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  box-shadow: 0 8px 16px var(--first-color);
}

.discord:hover {
  transform: scale(1.02);
}
.discord img {
  margin: 0 auto;
  display: block;
  width: 50%;
  padding: 30px 0;
}
.discord .discord-text {
  text-align: center;
  margin-top: 3rem;
  font-style: bold;
  font-size: 1rem;
}

.discord-hr {
  height: 4px;
  width: 50%;
  margin: 3rem auto;
  border-radius: 50%;
  background: var(--first-color);
}

.discord .discord-title {
  text-align: center;
  margin-bottom: 1rem;
  padding: 10px;
  border-radius: 10px 10px 0 0;
}

.discord .discord-btn {
  margin: 0 auto;
  margin-top: 2.1rem;
  margin-left: 0.5rem;
  margin-right: 0.5rem;
  /* margin-bottom: 10px; */
  background: white;
  text-align: center;
  padding: 15px;
  border-radius: 10px;
  color: black;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s ease-in-out;
  /* margin: 1px; */
}

.discord .discord-btn:hover {
  background: var(--first-color);
  color: white;
  transition: 0.3s ease-in-out;
}

.info-panel {
  position: absolute;
  top: 0;
  left: 0;
  /* width: 100%; */
  height: 60%;
  background: #000000;
  color: white;
  z-index: 100;
  display: none;
  animation: fade-in2 0.3s ease;
  padding: 2rem;
  border-radius: 10px;
}

.info-panel-active {
  display: block !important;
}

.opacity {
  animation: fade-out2 0.3s ease;
}

.info-content {
  max-width: 600px;
  margin: auto;
  position: relative;
  font-size: 1rem;
}

.close-btn {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 1.5rem;
  cursor: pointer;
}
