/* This is the code which is responsible for all the styling, colors, layout etc */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* Below is the font family */
  font-family: "Poppins", sans-serif;
}

body,
html {
  /* To Avoid the user from scrolling  */
  overflow-y: hidden;
}

/* Setting the Slide Container */
.swiper-container {
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: 2000;
}

/* Styles for our Slide */
.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-size: cover;
  cursor: pointer;
}

.project-card {
  width: 300px;
  height: 370px;
  background-color: #000;
  border-radius: 0.2em;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card:hover {
  filter: brightness(0.5);
}

/* Background Video Styling */
.bg-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: fixed;
  background-color: #000;
  top: 0;
  bottom: 0;
  opacity: 0;
  visibility: hidden;
  transition: 0.5s ease-in-out all;
}

.swiper-slide-shadow-coverflow {
  display: none;
}

.overlay {
  position: fixed;
  background-color: rgba(0, 0, 0, 0.55);
  width: 100%;
  height: 100%;
  inset: 0;
  z-index: 98;
}

.content-div {
  position: absolute;
  width: 100%;
  z-index: 1000;
  text-align: center;
  top: 1.5em;
}

.fa-gear {
  font-size: 3rem;
  color: #fff;
}

.fa-house {
  font-size: 2.5rem;
  color: #fff;
}

.sections-menu .fa-gear {
  position: absolute;
  transform: translateX(-50%);
  left: 50%;
  top: 0.5em;
}

.sections-menu img {
  position: absolute;
  transform: translateX(-50%);
  left: 50%;
  top: 2em;
}

.text-div {
  margin: 1em;
}

.content-div span {
  color: #fff;
  display: block;
  text-transform: uppercase;
}

.content-div p {
  font-size: 1.8rem;
  color: #fff;
  text-transform: uppercase;
}

.menu-div {
  position: absolute;
  bottom: 2em;
  text-align: center;
  width: 100%;
  z-index: 99999;
}

.button-div {
  background-color: transparent;
  border-radius: 50%;
  border: 1px solid #fff;
  cursor: pointer;
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  transition: 0.2s ease-in-out all;
  position: relative;
}

.button-div {
  transition: 0.2s ease-in-out all;
}

.button-div .buttons {
  position: absolute;
  transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
  scale: 0;
  transform-origin: 0 0;
}

.button-open {
  transition: 0.2s ease-in-out all;
}

.button-div:hover .button-open {
  font-size: 2.5rem;
  transition: 0.2s ease-in-out all;
}

.button-div:hover {
  transition: 0.2s ease-in-out all;
  background-color: rgba(255, 255, 255, 0.15);
}

.show {
  visibility: visible !important;
  opacity: 1 !important;
  transition: 0.5s ease-in-out all !important;
  scale: 1 !important;
  transform-origin: 0 0;
}

.scale {
  transition: 0.2 ease-in-out all;
}

.sections-menu {
  top: 0;
  position: absolute;
  z-index: 9999;
  bottom: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  visibility: hidden;
  opacity: 0;
  transition: 0.5s ease-in-out all;
}

.section-buttons-div {
  display: inline-block;
  position: relative;
  transform: translate(-50%, -50%);
  left: 50%;
  top: 400%;
  transition: 0.5s ease-in-out all;
}

.section-btn {
  display: block;
  background-color: hsla(0, 0%, 85%, 0.04);
  border: 1px solid hsla(0, 0%, 100%, 0.3);
  min-width: 204px;
  color: #fff;
  text-transform: uppercase;
  padding: 0.9em;
  border-radius: 30px;
  backdrop-filter: blur(2px);
  cursor: pointer;
}

.section-btn:hover {
  background-color: hsla(0, 0%, 85%, 0.15);
}

.section-btn + .section-btn {
  margin-top: 6em;
}

.top {
  top: 50%;
  transition: 0.5s ease-in-out all;
}

/* Here is the code for our sections, it contains backgroud color and things like that */
.sections {
  position: absolute;
  top: 0;
  bottom: 0;
  background-color: #181818;
  width: 100%;
  z-index: 9999999999;
  color: #fff;
  padding: 2em 8em;
  overflow-y: scroll;
  display: flex;
  flex-direction: column;
  visibility: hidden;
  opacity: 0;
  transition: 0.5s ease-in-out all;
}

.video-text-section {
  display: flex;
  gap: 2em;
  align-items: center;
}

/* Video size in work and Idea section */
.video-text-section video {
  width: 50%;
}

.video-text-section p {
  width: 100%;
}

.cross-icon {
  text-align: right;
  font-size: 2rem;
  cursor: pointer;
}

.show-section {
  visibility: visible !important;
  opacity: 1 !important;
  transition: 0.5s ease-in-out all !important;
  scale: 1 !important;
  transform-origin: 0 0;
  z-index: 9999999999;
}

.video-text-container {
  display: flex;
  flex-direction: column;
  gap: 6em;
  margin-top: 2em;
}

/* Form Fields */
.input-field {
  display: block;
  width: 100%;
  border: none;
  background-color: hsla(0, 0%, 85%, 0.04);
  border: 1px solid hsla(0, 0%, 100%, 0.3);
  color: #fff;
  border-radius: 30px;
  padding: 0.9rem;
  font-size: 1rem;
  margin-top: 2em;
  resize: vertical;
}

.submit-btn {
  cursor: pointer;
  width: 100%;
  display: inline-block;
  border: none;
  background-color: hsla(0, 0%, 85%, 0.04);
  border: 1px solid hsla(0, 0%, 100%, 0.3);
  color: #fff;
  border-radius: 30px;
  padding: 0.9rem;
  font-size: 1rem;
  margin-top: 2em;
}

.submit-btn:hover {
  background-color: hsla(0, 0%, 85%, 0.15);
}

.typewrite {
  color: #fff;
  text-decoration: none;
}

.slide-text {
  color: #fff;
  position: absolute;
  top: -2em;
  width: 100%;
}

/* Animation Text Styling */
.animation-text {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 0.5em;
}

.about-wrapper {
  width: 60%;
  margin: 0 auto;
}

/* THat purple background styling */
.about-content {
  background-image: url(../assets/gifs/purple\ nether\ portal.gif);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2em;
  padding: 1em;
}

/* Box styling */
.box {
  background-color: #000;
  color: #fff;
  padding: 1em;
  border-radius: 5px;
  transition: 0.4s ease-in-out all;
}

.box p {
  font-size: 1.1rem;
}

.box:hover {
  scale: 1.05;
  transition: 0.4s ease-in-out all;
}

/* Meadia Queries to make our site work on smaller devices as well */
@media (max-width: 1200px) {
  .about-wrapper {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .video-text-section {
    flex-direction: column;
  }

  .video-text-section video {
    width: 100%;
  }
  .video-text-section img {
    width: 100%;
  }

  .order {
    flex-direction: column-reverse;
  }

  .about-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .sections {
    padding: 2em;
  }

  .project-card {
    width: 200px;
    height: 270px;
  }

  .about-wrapper {
    width: 100%;
  }
}

.hide-field {
  display: none;
}

.social-icons-div {
  position: absolute;
  left: 3em;
  top: 3em;
}

.social-icons-div a {
  text-decoration: none;
}

.social-icons-div i {
  margin-right: 1em;
  color: #fff;
  font-size: 3.5rem;
}

.video-text-section img{
max-width:50%;
width:50%;
}