* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

::-webkit-scrollbar {
  display: none;
}

@import url('https://fonts.googleapis.com/css2?family=Bad+Script&display=swap');

body {
  /* background-color: black; */
  background: url(bg2.jpg);
  background-size: cover;
  backdrop-filter: blur(8px);
  color: white;

  font-family: "Bad Script", 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

  display: grid;
  grid-template-columns: 1fr 2fr;

  /* padding: 20px; */
  min-height: 100vh;
  /* max-height: 100vh; */
  overflow-y: auto;
  justify-content: center;
  align-content: center;
  width: 100%;
}


#main-loading{
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.993);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}


/* From Uiverse.io by anand_4957 */ 
.loader {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -50px;
  animation: speeder 0.4s linear infinite;
}

.loader > span {
  height: 5px;
  width: 35px;
  background: #f51313;
  position: absolute;
  top: -19px;
  left: 60px;
  border-radius: 2px 10px 1px 0;
}

.base span {
  position: absolute;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-right: 100px solid #f3cfcf;
  border-bottom: 6px solid transparent;
}

.base span:before {
  content: "";
  height: 22px;
  width: 22px;
  border-radius: 50%;
  background: #f3cfcf;
  position: absolute;
  right: -110px;
  top: -16px;
}

.base span:after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-top: 0 solid transparent;
  border-right: 55px solid #f3cfcf;
  border-bottom: 16px solid transparent;
  top: -16px;
  right: -98px;
}

.face {
  position: absolute;
  height: 12px;
  width: 20px;
  background: #f3cfcf;
  border-radius: 20px 20px 0 0;
  transform: rotate(-40deg);
  right: -125px;
  top: -15px;
}

.face:after {
  content: "";
  height: 12px;
  width: 12px;
  background: #f51313;
  right: 4px;
  top: 7px;
  position: absolute;
  transform: rotate(40deg);
  transform-origin: 50% 50%;
  border-radius: 0 0 2px 2px;
}

.loader > span > span {
  width: 30px;
  height: 1px;
  background: #ffffff;
  position: absolute;
}

.loader > span > span:nth-child(1) {
  animation: fazer1 0.2s linear infinite;
}

.loader > span > span:nth-child(2) {
  top: 3px;
  animation: fazer2 0.4s linear infinite;
}

.loader > span > span:nth-child(3) {
  top: 1px;
  animation: fazer3 0.4s linear infinite;
  animation-delay: -1s;
}

.loader > span > span:nth-child(4) {
  top: 4px;
  animation: fazer4 1s linear infinite;
  animation-delay: -1s;
}

@keyframes fazer1 {
  0% {
    left: 0;
  }
  100% {
    left: -80px;
    opacity: 0;
  }
}

@keyframes fazer2 {
  0% {
    left: 0;
  }
  100% {
    left: -100px;
    opacity: 0;
  }
}

@keyframes fazer3 {
  0% {
    left: 0;
  }
  100% {
    left: -50px;
    opacity: 0;
  }
}

@keyframes fazer4 {
  0% {
    left: 0;
  }
  100% {
    left: -150px;
    opacity: 0;
  }
}

@keyframes speeder {
  0% {
    transform: translate(2px, 1px) rotate(0deg);
  }
  10% {
    transform: translate(-1px, -3px) rotate(-1deg);
  }
  20% {
    transform: translate(-2px, 0px) rotate(1deg);
  }
  30% {
    transform: translate(1px, 2px) rotate(0deg);
  }
  40% {
    transform: translate(1px, -1px) rotate(1deg);
  }
  50% {
    transform: translate(-1px, 3px) rotate(-1deg);
  }
  60% {
    transform: translate(-1px, 1px) rotate(0deg);
  }
  70% {
    transform: translate(3px, 1px) rotate(-1deg);
  }
  80% {
    transform: translate(-2px, -1px) rotate(1deg);
  }
  90% {
    transform: translate(2px, 1px) rotate(0deg);
  }
  100% {
    transform: translate(1px, -2px) rotate(-1deg);
  }
}

.longfazers {
  position: absolute;
  width: 100%;
  height: 100%;
}

.longfazers span {
  position: absolute;
  height: 2px;
  width: 20%;
  background: #ffffff;
}

.longfazers span:nth-child(1) {
  top: 20%;
  animation: lf 0.6s linear infinite;
  animation-delay: -5s;
}

.longfazers span:nth-child(2) {
  top: 40%;
  animation: lf2 0.8s linear infinite;
  animation-delay: -1s;
}

.longfazers span:nth-child(3) {
  top: 60%;
  animation: lf3 0.6s linear infinite;
}

.longfazers span:nth-child(4) {
  top: 80%;
  animation: lf4 0.5s linear infinite;
  animation-delay: -3s;
}

@keyframes lf {
  0% {
    left: 200%;
  }
  100% {
    left: -200%;
    opacity: 0;
  }
}

@keyframes lf2 {
  0% {
    left: 200%;
  }
  100% {
    left: -200%;
    opacity: 0;
  }
}

@keyframes lf3 {
  0% {
    left: 200%;
  }
  100% {
    left: -100%;
    opacity: 0;
  }
}

@keyframes lf4 {
  0% {
    left: 200%;
  }
  100% {
    left: -100%;
    opacity: 0;
  }
}



/* ✅ CLOUDS - moving right to left with px values */
.clouds {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.cloud {
  position: absolute;
  background: #fff;
  border-radius: 50%;
  opacity: 0.35;
  animation: moveClouds linear infinite;
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  background: #fff;
  border-radius: 50%;
}

.cloud::before {
  width: 60%;
  height: 60%;
  top: -30%;
  left: 10%;
}

.cloud::after {
  width: 40%;
  height: 40%;
  top: -20%;
  left: 50%;
}

/* Clouds start off-screen (right) and move left */
.cloud1 {
  width: 100px;
  height: 60px;
  top: 15%;
  left: 1400px; /* off-screen to the right */
  animation-duration: 2s;
}

.cloud2 {
  width: 150px;
  height: 80px;
  top: 35%;
  left: 1600px;
  animation-duration: 3s;
}

.cloud3 {
  width: 80px;
  height: 50px;
  top: 20%;
  left: 2000px;
  animation-duration: 4s;
}
.cloud4 {
  width: 100px;
  height: 80px;
  top: 70%;
  left: 1100px;
  animation-duration: 3s;
}
.cloud5 {
  width: 170px;
  height: 50px;
  top: 80%;
  left: 1500px;
  animation-duration: 2s;
}

@keyframes moveClouds {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-2000px);
  }
}












/* HERO */
.hero {
  margin: 20px;
  border-radius: 10px;
  border: 1px solid white;
  padding: 20px;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;

}

.pfp {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background-color: gray;
  margin-bottom: 15px;
}

.subtext {
  color: #cccccc;
  margin-bottom: 15px;
}

.pfp img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}









/* INFO */
.info {
  border-radius: 10px;
  border: 1px solid white;
  padding: 20px;
  margin: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.section {
  border: 1px solid #444;
  padding: 15px;
  border-radius: 8px;
}

.section h2 {
  margin-bottom: 10px;
}









/* INFO CONTAINER */
.info {
  height: 80vh;
  border-radius: 10px;
  border: 1px solid white;
  overflow: hidden;

  display: flex;
  flex-direction: column;
}

/* NAVBAR */
.nav {
  display: flex;
  justify-content: space-around;
  /* border-bottom: 1px solid #ffffff23; */
  z-index: 10;
}

.nav button {
  flex: 1;
  padding: 10px;
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
  transition: 0.3s;
}

.nav button:hover {
  background: #111;
}

/* SLIDER WRAPPER */
.slider {
  display: flex;
  flex-direction: column;
  width: 100%;
  /* 4 slides */
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

/* EACH SLIDE */
.slide {

  width: 100%;
  height: 100%;
  flex-shrink: 0;
  padding: 20px;

  display: flex;
  flex-direction: column;
  /* justify-content: center; */
}












/* From Uiverse.io by vinodjangid07 */
.card {
  width: fit-content;
  height: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px 25px;
  gap: 20px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.055);
}

/* for all social containers*/
.socialContainer {
  width: 52px;
  height: 52px;
  background-color: rgb(44, 44, 44);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition-duration: .3s;
  border-radius: 8px;
}

/* instagram*/
.containerOne:hover {
  background-color: #d62976;
  transition-duration: .3s;
}

/* twitter*/
.containerTwo:hover {
  background-color: #090031;
  transition-duration: .3s;
}

/* linkdin*/
.containerThree:hover {
  background-color: #0072b1;
  transition-duration: .3s;
}

/* Whatsapp*/
.containerFour:hover {
  background-color: #0099ff;
  transition-duration: .3s;
}

.socialContainer:active {
  transform: scale(0.9);
  transition-duration: .3s;
}

.socialSvg {
  width: 17px;
}

.socialSvg path {
  fill: rgb(255, 255, 255);
}

.socialContainer:hover .socialSvg {
  animation: slide-in-top 0.3s both;
}

@keyframes slide-in-top {
  0% {
    transform: translateY(-50px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}



.projects {
  display: flex;
  flex-direction: column;
  /* align-items: center; */
  gap: 20px;
}

.projects h2 {
  font-size: 35px;
}

.projects p {
  color: #cccccc;
  font-size: large;
}

.projects ul {
  list-style-type: disc;
  margin-left: 20px;
  color: #cccccc;
}

.projects li {
  margin-bottom: 10px;
}

.projects a {
  text-decoration: none;
  color: white;
  margin-top: 15px;
  padding: 10px;
  font-size: x-large;
  /* border: 1px solid #444; */
}

.projects a:hover {
  transition-duration: .3s;
  transform: scale(1.2);
}






.skills {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.skills h2 {
  font-size: 35px;
}

.skills p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: larger;
}

.skills .last {
  align-items: flex-start;
}

.skills svg {
  width: 20px;
  fill: white;
}




.navbar {
  display: flex;
  justify-content: space-evenly;
}

label {
  /* border: 1px solid blue; */
  padding: 5px 10px;
}

input[type=radio] {
  display: none;
}

#r1:checked~.nav .r1,
#r2:checked~.nav .r2,
#r3:checked~.nav .r3,
#r4:checked~.nav .r4 {
  /* background-color: aqua; */
  border-bottom: 2px solid rgb(255, 255, 255);
}

#s1,
#s2,
#s3,
#s4 {
  display: none;
}

#r1:checked~.slider #s1,
#r2:checked~.slider #s2,
#r3:checked~.slider #s3,
#r4:checked~.slider #s4 {
  display: flex;
  transform: translateY(0);
}




.socials {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.socials h2 {
  font-size: 35px;
}

.socials ul {
  list-style-type: none;
  /* margin-left: 20px; */
  color: #cccccc;
}

.socials li {
  margin-bottom: 25px;


}

.socials a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: white;
  font-size: large;
}

.socials svg {
  width: 20px;
  fill: white;
}




.bio {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bio h2 {
  font-size: 35px;
} 



/* 📱 MOBILE RESPONSIVE */
@media (max-width: 768px) {
  body {
    grid-template-columns: 1fr;
    /* stack instead of columns */

    /* margin-bottom: 80px; */
  }

  .info {
    grid-template-columns: 1fr;
    height: max-content;
    margin-bottom: 50px;

  }
}