@import url('link href="https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap');

:root {
  --card-height: 350px;
  --card-width: calc(var(--card-height) / 1.5);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

}
p{
  font-family:  "Cormorant Garamond", serif;

}
::-webkit-scrollbar {
  width: 10px;

}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: rgb(0, 0, 0);
  border-radius: 10px;
}

@font-face {
  font-family: harryFont;
  src: url(../fonts/harry.ttf);
}

.home-body {
  overflow: hidden;
  cursor: none !important;
}

h1 {
  font-family: harryFont;
}



.home_banner {
  background-image: url(../images/home2.jpg);
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100vh;
  width: 100%;
}

.home-text {
  display: flex;
  align-items: center;
  justify-content: center; /* Center the content horizontally */
  height: 100%;
  z-index: 888;
}

.home-content-left {
  flex: 0 0 auto;
  width: 40%; /* Adjust the width as needed */
  margin-right: -120px; /* Adjust the space between the elements */
  position: relative;
}

.home-content-right {
  flex: 0 0 auto;
  width: 50%; /* Adjust the width as needed */
  margin-left: -100px; /* Adjust the space between the elements */
  position: relative;
}
.home-content-right .title h1 {
  font-size: 90px;
  margin-bottom: 20px;
  color: rgb(119, 255, 241); /* Set the text color to white */
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.4); /* Add a subtle glow effect */
}

.home-content-right h2 {
  font-size: 45px;
  margin-bottom: 5px;
  color: #ffffff; /* Set the text color to white */
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3); /* Add a subtle glow effect */
}
.home-content-right p {
  font-size:40px;
  line-height: 1.6;
  color: #ffffff; /* Set the text color to white */
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.3); /* Add a subtle glow effect */
}

.about-section {
  padding: 80px 0;
  background-color: #f8f8f8;
  padding-top: 120px; /* Add some top padding */
}

.about-section h2 {
  font-size: 36px;
  margin-bottom: 30px;
}

.about-section p {
  font-size: 18px;
  line-height: 1.6;
}



#flashlight {
  position: fixed;
  left: -100%;
  top: -100%;

  height: 300%;
  width: 300%;

  background: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0) 2%, rgba(0, 0, 0, 0.699) 4%);
  filter: blur(20px);

  transition:
    left .5s ease-in-out,
    top .5s ease-in-out,
    height .5s ease-in-out,
    width .5s ease-in-out;
}

#cursor {
  position: absolute;
  z-index: 9999;
  transform: rotate(-12deg);
  top: 0px;
  pointer-events: none;
}

.name_home {
  color: transparent;
  font-size: 120px;

  text-shadow: 0 1px #000000, -1px 0 #c0cbff, -1px 2px #092B35, -2px 1px #c0cbff,
    -2px 3px #000000, -3px 2px #c0cbff, -3px 4px #313131, -4px 3px #c0cbff,
    -4px 5px #000000, -5px 4px #c0cbff, -5px 6px #313131, -6px 5px #c0cbff,
    -6px 7px #030303, -7px 6px #c0cbff, -7px 8px #313131, -8px 7px #c0cbff;
}



.home-text img {
  height: 400px;
  width: 300px;
  object-fit: contain
}

#canvas {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
}

.navbar {
  background: rgba(255, 255, 255, 0.2); /* Change the background to a semi-transparent white */
  backdrop-filter: blur(5px); /* Add a blur effect for the glass-like appearance */
  width: 40%; /* Increase the width if needed */
  border-radius: 35px; /* Adjust the border-radius for a smoother curved shape */
  font-family:  "Cormorant Garamond", serif;
  z-index: 9998;
  padding: 10px 20px; /* Add some padding for spacing */
}

.home-nav {
  left: 30%;
}

nav li a {
  cursor: none;
  color: #ffff !important ; /* Set the text color to white */
 /* Add a subtle glow effect */
  transition: text-shadow 0.3s ease; /* Add a transition for the glow effect */
}

nav li a:hover {
  text-shadow: 0 0 10px rgb(0, 255, 229); /* Increase the glow effect on hover */
}


.card {

  height: var(--card-height);
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 0;
  perspective: 2500px;
  background-color: transparent;
  margin: 60px;
}

.cover-image {
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.wrapper {
  transition: all 0.5s;
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.card:hover .wrapper {
  transform: perspective(900px) translateY(-5%) rotateX(25deg) translateZ(0);
  box-shadow: 2px 35px 32px -8px rgba(0, 0, 0, 0.75);
  -webkit-box-shadow: 2px 35px 32px -8px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 2px 35px 32px -8px rgba(0, 0, 0, 0.75);
}

.wrapper::before,
.wrapper::after {
  content: "";
  opacity: 0;
  width: 100%;
  height: 100%;
  transition: all 0.5s;
  position: absolute;
  left: 0;
}

.wrapper::before {
  top: 0;
  height: 100%;
  background-image: linear-gradient(to top,
      transparent 46%,
      rgba(12, 13, 19, 0.5) 68%,
      rgba(12, 13, 19) 97%);
}

.wrapper::after {
  bottom: 0;
  opacity: 1;
  background-image: linear-gradient(to bottom,
      transparent 46%,
      rgba(12, 13, 19, 0.5) 68%,
      rgba(12, 13, 19) 97%);
}

.card:hover .wrapper::before,
.wrapper::after {
  opacity: 1;
}

.card:hover .wrapper::after {
  height: 120px;
}

.title {
  width: 100%;
  text-align: center;
  font-size: 50px;
  transition: transform 0.5s;
  color: #fff;
  margin-bottom: 2px;
  font-family: harryFont;

}

.title_container {
  margin-top: 80px;
  text-align: center;
}

.title-sub {
  color: #fff;
  text-align: center;
}

/* .card:hover .title_container {
  transform: translate3d(0%, -50px, 100px);
} */


.character {
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: all 0.5s;
  position: absolute;
  z-index: -1;
}

.card:hover .character {
  opacity: 1;
  transform: translate3d(0%, -30%, 100px);
}

.container-card {
  width: 100%;
  height: 100vh;
  margin-top: 80px;
  display: grid;


}

.character-container {
  background: url(../images/team-background.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  cursor: none;
  font-family:  "Cormorant Garamond", serif;
}

.magical-container {
  background: url(../images/back4.jpg);
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  cursor: none;
  overflow-x: hidden;
  font-family:  "Cormorant Garamond", serif;
}

.magical_objects_txt {
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10.5px);
  -webkit-backdrop-filter: blur(10.5px);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 50px;

  margin-top: auto;
  margin-bottom: auto;
  color: #ffffff;
}

.magical_objects_txt h1 {
  font-size: 45px;
  font-family: harryFont;
  margin-bottom: 20px;
}

.underline {
  background: #fff;
  height: 2px;
  width: 50%;
  display: block;
  margin-bottom: 10px;
  border-radius: 10px;
}

.img-center {
  margin-top: auto;
  margin-bottom: auto;
  margin-left: auto;
}

.logo-nav {
  width: 150px;
  position: fixed;
  margin-left: 10px;
  z-index: 10000;
  top: 10px;
}

.title_magical_object {
  font-family: harryFont;

}

.copyright {
  color: #fff;
}

.loader {
  width: 48px;
  height: 48px;
  border: 3px dotted #FFF;
  border-style: solid solid dotted dotted;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  box-sizing: border-box;
  animation: rotation 2s linear infinite;
}

.loader::after {
  content: '';
  box-sizing: border-box;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  border: 3px dotted #52566d;
  border-style: solid solid dotted;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  animation: rotationBack 1s linear infinite;
  transform-origin: center center;
}

.magical_container {
  overflow-x: hidden;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes rotationBack {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(-360deg);
  }
}

#pre-loader {
  background: #000000;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100000;
  position: fixed;
  top: 0;

}

.active a{
  color: rgb(8, 246, 174) !important;
  border-radius: 15px;
  
}

a{
  text-decoration: none;
  color:  rgb(8, 246, 174);

}

.copyright a{
  text-decoration: none;
}

.mobile_nav {
  position: fixed;
  bottom: 20px;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  width: 80%;
  height: 60px; /* Increased height for better spacing */
  z-index: 10000;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  border-radius: 50px;
  display: flex;
  justify-content: space-around; /* Distribute items evenly */
  align-items: center;
  padding: 0 10px; /* Add some padding for spacing */
}

.mobile_nav-item {
  flex: 1; /* Allow items to grow and distribute evenly */
  text-align: center; /* Center the content within each item */
}

.mobile_nav-item a {
  display: inline-flex; /* Make the link an inline-flex container */
  align-items: center; /* Center the icon and text vertically */
  color: #ffffff;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
  transition: text-shadow 0.3s ease;
  padding: 10px; /* Add some padding for better spacing */
}

.mobile_nav-item a:hover {
  text-shadow: 0 0 10px rgba(255, 255, 255, 1);
}

.mobile_nav-item a svg {
  width: 20px;
  height: 20px;
  margin-right: 8px; /* Increase the spacing between icon and text */
  fill: currentColor;
}


.mobile_nav-item.active a {
  background: rgba(75, 75, 75, 0.5);
}

.mobile_nav-item.active a svg {
  color: #fff;
  fill: #fff;
}

.mobile_nav-item.active a {
  padding: 10px;
  display: flex;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
}

.mobile_nav-item.active a svg {
  width: 20px;
  height: 20px;
}




@media only screen and (max-width: 600px) {
  #cursor {
    display: none;
  }

  .open_title_img {
    width: 360px !important;
  }

  .navbar {
    display: none; /* Hide the desktop navigation */
  }

  

  .magical_row {
    padding: 10px;
  }

  .mobile_nav {
    display: flex; /* Show the mobile navigation */
    justify-content: space-around;
    align-items: center;
    padding: 0 8px;
  }

  .home-text {
    flex-direction: column; /* Stack the content vertically */
    padding: 70px;
  }
  

  .home-content-left,
  .home-content-right {
    width: 100%; /* Make the content take up full width */
    padding: 0; /* Remove any padding */
  }

  .home-content-left {
    margin-bottom: -350px; /* Add some spacing between the logo and text */
    margin-left: -100px;
    position: static;
  }

  .home-content-right { /* Add some spacing between the text and the image */
    margin-top: -100px;
    margin-left: -20px;
    position: relative;
  }

  .home-content-right .title h1 {
    font-size: 55px; /* Adjust the font size for better readability */
  }

  .home-content-right h2 {
    font-size: 35px; /* Adjust the font size for better readability */
    padding-top: 3px;/* Add some padding for better spacing */

  }
  .home-content-right p {
    font-size: 30px; /* Adjust the font size for better readability */
     /* Add some padding for better spacing */
  }
}

/* Hide the mobile navigation bar on desktop screens */
@media only screen and (min-width: 601px) {
  .mobile_nav {
    display: none;
  }
}