@import url("https://fonts.googleapis.com/css2?family=Montserrat&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Kanit&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Kaushan+Script&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Hind+Siliguri&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Nunito&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Rubik&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Prompt&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Mulish&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  outline: none;
  border: none;
}

body {
  background-image: url("assets/images/bg-2.jpg");
  min-height: 100vh;
  z-index: -1;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  overflow-x: hidden;
}

.slide {
  position: relative;
  padding: 3%;
  min-height: 100vh;
  width: 100vw;
  box-sizing: border-box;
  transform-style: inherit;
  box-shadow: 0 -1px 10px rgba(0, 0, 0, 0.7);
}

::-webkit-scrollbar {
  height: 0;
  width: 0.5rem;
}

/* ::-webkit-scrollbar-track {
  background-color: #0a0a0a;
}

::-webkit-scrollbar-thumb {

}

@keyframes scroll {
  0% {
    scrollbar-color: pink;
  }
  25% {
    scrollbar-color: rgb(0, 174, 255);
  }
  50% {
    scrollbar-color: yellow;
  }
  75% {
    scrollbar-color: rgb(48, 255, 48);
  }
  100% {
    scrollbar-color: bisque;
  }
} */

/* Navbar Section Designing */
#header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  padding: 20px 100px;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(10px);
  border-bottom: 0.1em solid rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

#header::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: 0.45s;
}

#header:hover::before {
  left: 100%;
}

.logo {
  color: #fff;
  font-size: 1.6rem;
  text-decoration: none;
  font-family: "Poppins";
  font-weight: 600;
  cursor: default;
}

.logo span {
  color: greenyellow;
}

.navbar a {
  color: #fff;
  font-size: 1rem;
  text-decoration: none;
  font-family: "Poppins";
  margin-left: 2.3rem;
  transition: 0.3s;
}

.navbar a:hover,
.navbar a.active {
  color: greenyellow;
  font-weight: bold;
}

#menu-icon,
#close {
  font-size: 1.5rem;
  color: greenyellow;
  display: none;
}

/* Home Section Designing */
#home {
  z-index: 1;
}

#home .container {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-top: 2.3rem;
}

#home .container img {
  width: 25vw;
  height: 50%;
  position: absolute;
  top: 10%;
  right: 5%;
  border-radius: 69% 31% 66% 34% / 21% 30% 70% 79%;
  filter: drop-shadow(0 0.4rem 0.3rem rgba(0, 0, 0, 0.4));
  margin-top: 8rem;
  animation: floatImage 12s ease-in-out infinite;
}

@keyframes floatImage {
  0% {
    transform: translateY(0);
    border-radius: 40% 60% 70% 30% / 40% 40% 60% 50%;
  }
  50% {
    transform: translateY(-2rem);
    border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%;
  }
  100% {
    transform: translateY(0);
    border-radius: 69% 31% 66% 34% / 21% 30% 70% 79%;
  }
}

.header-text {
  /* margin-top: 4%; */
  font-family: "Kanit";
  /* font-size: 1.5rem; */
  color: #fff;
  position: absolute;
  left: 7%;
  top: 32%;
  float: left;
  /* padding: 2rem; */
}

.header-text h1 {
  font-size: 3.3rem;
  margin-top: 0.2rem;
  background: -webkit-linear-gradient(#fff2bd, #ebb58a);
  background-clip: content-box;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: "Kaushan Script";
}

.header-text p {
  font-size: 2rem;
}

.content {
  /* width: 50%; */
  padding: 3%;
  border-radius: 1.5rem;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.7);
  /* min-height: 50vh; */
}

/* About Section Designing */
#about {
  padding: 5rem 10%;
  background-image: url("assets/images/bg-3.jpg");
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  overflow-x: hidden;
  min-height: 100vh;
}

.row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 5rem;
}

.about-col-1 {
  flex-basis: 35%;
  position: absolute;
}

.about-col-1 img {
  width: 50%;
  margin-top: 20rem;
  border-radius: 69% 31% 66% 34% / 21% 30% 70% 79%;
  filter: drop-shadow(0 0.4rem 0.3rem rgba(0, 0, 0, 0.4));
  animation: morph 10s linear infinite;
}

@keyframes morph {
  0%,
  100% {
    border-radius: 40% 60% 70% 30% / 40% 40% 60% 50%;
    transform: scale(1.2);
  }
  30% {
    border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
    transform: scale(1.15);
  }
  60% {
    border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%;
    transform: scale(1.1);
  }
  80% {
    border-radius: 69% 31% 66% 34% / 21% 30% 70% 79%;
    transform: scale(1.15);
  }
}

.about-col-2 {
  flex-basis: 60%;
  font-family: "Montserrat";
  font-size: 1.3rem;
  color: whitesmoke;
  position: absolute;
  left: 45%;
  top: 30%;
  line-height: 2rem;
  font-weight: bolder;
}

.about-col-2 .content {
  background-color: rgba(255, 62, 165, 0.8);
  font-size: 1.3rem;
  line-height: 2rem;
  padding-left: 1.5rem;
  width: 90%;
}

.about-col-2 h1 {
  font-size: 4rem;
  color: white;
  text-shadow: 1px 1px 2px white, 0 0 25px pink, 0 0 5px red;
  margin-bottom: 3rem;
  margin-left: 1rem;
}

/* Skills Section Designing */
#skills {
  padding: 5rem 10%;
  background-image: url("assets/images/bg-4.jpg");
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  overflow-x: hidden;
  min-height: 100vh;
}

.skills-main {
  max-width: 1350px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin: 20px 5px 0 5px;
}

.skills-main div {
  height: 210px; /* Fixed height */
  width: 210px; /* Fixed width */
  gap: 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  background-color: rgb(62, 56, 63);
  transition: none;
  border: 2px solid transparent;
  box-shadow: 0 0 10px 0 transparent;
}

.skills-main div p {
  color: #ffffd5;
  font-family: "Montserrat";
  font-weight: bold;
}

.skills-main div:hover {
  border-color: #ffff6a;
  box-shadow: 0 0 10px 0 #ffff6a;
}

#skills {
  padding: 50px 0;
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

div img {
  width: 85px;
  object-fit: cover;
}

/* opacity: 1;
  transform: translateZ(0) scale(1); */

#skills .container {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 1.5rem;
  padding: 1rem;
  font-family: "Montserrat";
  color: rgb(89, 213, 225);
  text-shadow: 0px 0px 2px rgb(89, 213, 225), 0 0 5px blue, 0 0 5px lightblue;
}

/* Portfolio Section Designing */
#portfolio {
  padding: 5rem 10%;
  background-image: url("assets/images/bg-5.jpg");
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  overflow-x: hidden;
  max-height: 100vh;
}

#portfolio h2 {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 1.5rem;
  padding: 0.5rem;
  font-family: "Montserrat";
  color: rgb(132, 255, 140);
  text-shadow: 0px 0px 2px rgb(132, 255, 140), 0 0 5px green, 0 0 5px darkgreen;
}

.portfolio-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 3rem;
  width: 80vw;
}

.portfolio-container .portfolio-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  height: 14rem;
  width: 24rem;
  border-radius: 10px;
  cursor: pointer;
  transition: 400ms;
  padding: 1rem;
  transition: 400ms;
  background-color: #f5f5dc;
}

.portfolio-container .portfolio-content .title {
  font-size: 1.1rem;
  color: #083358;
  font-weight: 700;
  font-family: "Poppins";
  margin-bottom: 0.5rem;
}

.portfolio-container .portfolio-content .desc {
  margin: 0.625rem 0.3125rem 3.625rem;
  font-size: 0.9rem;
  line-height: 1;
  font-family: "Mulish";
  color: #2a3d55;
}

.portfolio-container .portfolio-content:hover {
  transform: scale(1.1, 1.1);
}

.portfolio-container:hover > .portfolio-content:not(:hover) {
  filter: blur(10px);
  transform: scale(0.9, 0.9);
}

.buttons {
  display: inline-flex;
  align-items: center;
  justify-content: space-evenly;
  position: absolute;
  margin-top: 9rem;
  margin-left: 2.5rem;
}

.button {
  padding: 0.7rem;
  display: inline-block;
  background-color: #40e0d0;
  font-weight: 500;
  border-radius: 1.5rem;
  color: #005454;
  text-decoration: none;
  font-weight: 700;
  font-family: "Nunito";
  cursor: pointer;
  font-size: 0.8rem;
  border: 2px solid black;
  margin-right: 2rem;
}

/* Contact Section Designing */
#contact {
  padding: 5rem 10%;
  background-image: url("assets/images/bg-6.jpg");
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  overflow-x: hidden;
  min-height: 100vh;
}

#contact .row {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 3rem;
  margin-top: 2rem;
}

.contact-left {
  margin-top: -2rem;
}

.contact-right {
  margin-top: -2rem;
}

.contact-left .title {
  font-family: "Montserrat";
  font-weight: 600;
  padding: 1.5rem;
  font-size: 4rem;
  text-shadow: 1px 1px 2px white, 0 0 25px lightblue, 0 0 5px blue;
  color: lightskyblue;
  margin-bottom: 2rem;
}

.contact-left p {
  padding-bottom: 2rem;
  font-family: "Nunito";
  font-weight: 600;
  color: white;
  font-size: 1.2rem;
}

.contact-left p i {
  color: aqua;
  margin-right: 0.7rem;
  font-size: 1.5rem;
}

.social-icons {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

.social-icons a {
  text-decoration: none;
  color: aqua;
  font-size: 2rem;
  transition: transform 0.4s;
}

.social-icons a:hover {
  color: white;
  transform: translateY(-5px);
}

.contact-left .content {
  background-color: rgba(250, 250, 210, 0.4);
  margin-left: 1rem;
  padding: 1rem;
}

.contact-left .btn {
  display: inline-block;
  background-color: lightgreen;
  padding: 1rem 3rem;
  margin-top: 4rem;
  font-weight: 650;
  border-radius: 1rem;
  margin-left: 4.7rem;
  color: purple;
  text-decoration: none;
  font-family: "Nunito";
  cursor: pointer;
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}

.contact-left .btn:hover {
  box-shadow: 0 0 7px rgba(209, 0, 209, 0.7);
  transform: scale(1.05);
}

.contact-left .btn i {
  margin-right: 1rem;
}

.contact-right form {
  margin-top: 4rem;
  width: 100%;
}

form input,
form textarea {
  width: 100%;
  border: 0;
  outline: none;
  padding: 1rem;
  margin: 1.2rem 0;
  font-size: 1rem;
  border-radius: 0.5rem;
  font-family: "Nunito";
  box-shadow: 0 0 10px rgba(0, 0, 255, 0.7);
  background-color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
  color: #000;
}

form textarea {
  resize: none;
}

form .btn {
  cursor: pointer;
  padding: 1rem 3rem;
  font-size: 1.2rem;
  font-weight: 650;
  margin-top: 2rem;
  border-radius: 1rem;
  margin-left: 15rem;
  font-family: "Nunito";
  background-color: lightgreen;
  color: purple;
  transition: transform 0.2s ease;
}

form .btn:hover {
  box-shadow: 0 0 7px rgba(209, 0, 209, 0.7);
  transform: scale(1.05);
}

form .btn i {
  margin-right: 1rem;
}

#msg {
  color: rgb(255, 251, 0);
  margin-top: 2rem;
  justify-items: center;
  display: block;
  font-size: 1.2rem;
  font-family: "Nunito";
  margin-left: 14rem;
}

/* Footer Section Designing */
#footer .copyright {
  position: absolute;
  width: 100vw;
  align-items: center;
  display: flex;
  padding: 1rem 10%;
  font-weight: 500;
  background-color: rgb(35, 35, 35);
  color: white;
  justify-content: space-between;
  flex-wrap: wrap;
  font-family: "Rubik";
}

.copyright a {
  display: inline-flex;
  justify-content: center;
  background-color: white;
  align-items: center;
  border-radius: 10%;
  padding: 0.6rem;
  transition: 0.25s ease;
  text-decoration: none;
  width: 2.2rem;
}

.copyright a:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px rgb(164, 255, 28);
}

.copyright a i {
  font-size: 1.2rem;
  color: rgb(255, 30, 139);
}
