* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  border: none;
  outline: none;
  scroll-behavior: smooth;
  
  font-family: "Dancing Script", cursive; 
}
:root {
  --bg-color: #fff0f9; /* Light Peach */
  --second-bg-color: #708090;
  --text-color: #cd497c;
  --main-color: #ee84a6;
  --accent-color: #f8b5cf; /* Soft Coral mm for header bg */
}
.darkmode {
  --bg-color: #2C2C54; /* Soft Deep Lavender */
  --second-bg-color: #3A3A69; /* Slightly lighter Lavender */
  --text-color: #FFDFDC; /* Light Peach Pink */
  --accent-color: #FF69B4; /* Hot Pink */
}
html {
  font-size: 62.5%;
  overflow-x: hidden;
}
body {
  background: var(--bg-color);
  color: var(--text-color);
}
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 3rem 9%;
  background: #F1B5B6; /* Soft Coral */
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}
.logo {
  font-size: 3rem;
  color: var(--main-color);
  font-weight: 800;
  cursor: pointer;
  transition: 0.3s ease;
}
.logo:hover {
  transform: scale(1.1);
}
.logo span {
  text-shadow: 0 0 2px var(--main-color);
}
.navbar a {
  font-size: 1.8rem;
  color: var(--main-color);
  margin-left: 4rem;
  font-weight: 500;
  transition: 0.3s ease;
  border-bottom: 3px solid transparent;
}
.navbar a:hover,
.navbar a:active {
  color: var(--main-color);
  border-bottom: 3px solid var(--main-color);
}
#menu-icon {
  font-size: 3.6rem;
  color: var(--main-color);
  display: none;
}
section {
  min-height: 100vh;
  padding: 10rem 9% 10rem;
}
.home {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
}
.home-content {
  display: flex;
  flex-direction: column;
  align-items: center; 
  text-align: center;
  justify-content: center;
  margin-top: 3rem;
}
span {
  color: var(--text-color);
}
.logo span {
  color:white;
}
.home-img {
  border-radius: 50%;
}
.home-img img {
  position: relative;
  top: 5rem;
  width: 25vw; /* Increased size */
  border-radius: 50%;
  box-shadow: 0 0 25px var(--text-color),
              0 0 50px var(--text-color); /* Shadow effect */
  cursor: pointer;
  transition: 0.4s ease;
}
.home-img img:hover {
  box-shadow: 0 0 50px var(--main-color),
              0 0 100px var(--main-color); 
}
.home-content h3 {
  margin-bottom: 2rem;
  margin-top: 1rem;
  font-size: 3.5rem;
}
.home-content h1 {
  font-size: 7rem;
  font-weight: 700;
  margin-top: 1.5rem;
  line-height: 1;
  margin-top: 5rem;
}
.social-icons a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 4.5rem;
  height: 4.5rem;
  background: transparent;
  border: 0.2rem solid var(--main-color);
  font-size: 2.5rem;
  border-radius: 50%;
  color: var(--main-color);
  margin: 3rem 1.5rem 3rem;
  transition: 0.3s ease-in-out;
  transform: scale(1);
  box-shadow: 0 0 25px var(--main-color);
  background-color: var(--main-color);
  color: white;
}
.social-icons a:hover {
  transform: scale(1.2) translateY(-5px);
  box-shadow: 0 0 50px var(--main-color), 0 0 100px var(--main-color);
}
.home-content p {
  font-size: 1.5rem;
  font-weight: 500;
  max-width: 100;
}
.btn {
  display: inline-block;
  padding: 1rem 2.8rem;
  background: var(--main-color);
  box-shadow: 0 0 25px var(--main-color);
  border-radius: 4rem;
  font-size: 1.6rem;
  color: white;
  border: 2px solid transparent;
  letter-spacing: 0.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.4s ease-in-out;
  position: relative;
  overflow: hidden;
}
.btn:hover {
  background-color: white;
  color: var(--main-color);
  transform: scale(1.05);
  box-shadow: 0 0 50px var(--main-color);
}
.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  background-color: var(--text-color);
  transition: all 0.6s ease-in-out;
  transform: translate(-50%, -50%) rotate(45deg);
  z-index: 0;
  opacity: 0;
}
.btn:hover::before {
  width: 150%;
  height: 150%;
  opacity: 0.2; /* Glow effect */
}
.btn span {
  position: relative;
  z-index: 1;
}
.text-animation {
  font-size: 34px;
  font-weight: 600;
  min-width: 280px;
}
.text-animation span {
  position: relative;
}
.text-animation span::before {
  content: 'Web developer';
  color: var(--main-color);
  animation: words 20s infinite;
}
.text-animation span::after {
  content: '';
  background-color: var(--bg-color);
  position: absolute;
  width: calc(100% + 8px);
  height: 100%;
  border-left: 3px solid var(--bg-color);
  right: -8px;   
  animation: cursor 0.6s infinite, typing 20s steps(14) infinite;
}
@keyframes cursor {
  to {
    border-left: 2px solid var(--main-color);
  }
}
@keyframes words {
  0%, 20% {
    content: 'Gamers';
  }
  21%, 40% {
    content: 'Readers';
  }
  41%, 60% {
    content: 'Cookers';
  }
  61%, 80% {
    content: 'Artists';
  }
  81%, 100% {
    content: 'Beauty & Makeup Enthusiasts';
  }
}
@keyframes typing {
  10%, 15%, 30%, 35%, 50%, 55%, 70%, 75%, 90%, 95% {
    width: 0;
  }
  5%, 20%, 25%, 40%, 45%, 60%, 65%, 80%, 85% {
    width: calc(100% + 8px);
  }
}
.about {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10rem;
  background: var(--second-bg-color);
  color: white;
}
.about h2 span {
  color: var(--main-color);
  text-shadow: 0 0 50px var(--main-color);
}
.about-img {
  border-radius: 50%;
}
.about-img img {
  position: relative;
  width: 32vw;
  border-radius: 50%;
  box-shadow: 0 0 25px var(--main-color),
              0 0 50px var(--main-color);
  top: 1rem;
  cursor: pointer;
  transition: 0.4s ease-in-out;
}
.about-img img:hover {
  box-shadow: 0 0 50px var(--main-color),
              0 0 100px var(--main-color);
}
.heading {
  text-align: center;
  font-size: 8rem;
}
.about-content h2 {
  text-align: left; 
  font-size: 5rem;
  line-height: 1.2; 
}
.about-content h3 {
  font-size: 3rem; 
}
.about-content p {
  font-size: 1.6rem;
  margin: 2rem 0 3rem;
}
.discord {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5rem;
  padding: 10rem 9%;
  background: var(--main-color);
  color: white;
}
.discord-content {
  text-align: center;
}
.discord-content h2 {
  font-size: 5rem;
  line-height: 1.2;
}
.discord-content h2 span {
  color: var(--text-color);
  text-shadow: 0 0 10px var(--text-color);
}
.discord-content p {
  font-size: 1.6rem;
  margin: 2rem 0;
}
.discord-btn {
  display: inline-block;
  padding: 1rem 2.8rem;
  background: var(--text-color);
  border-radius: 4rem;
  font-size: 1.6rem;
  color: var(--bg-color);
  box-shadow: 0 0 25px var(--text-color);
  transition: 0.3s ease;
  margin-top: 2rem;
}
.discord-img {
  border-radius: 10px;
  overflow: hidden; 
}
.discord-img img {
  width: 100%; 
  max-width: 500px; 
  height: auto; 
  box-shadow: 0 0 25px var(--text-color), 0 0 50px var(--text-color);
  transition: transform 0.3s ease; 
}
.discord-img img:hover {
  transform: scale(1.05); 
  .btn {
  display: inline-block;
  padding: 1rem 2.8rem;
  background: var(--main-color);
  border-radius: 4rem;
  font-size: 1.6rem;
  color: white;
  border: 2px solid transparent;
  letter-spacing: 0.1rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 0.4s ease;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  background: var(--text-color);
  transition: all 0.6s ease;
  transform: translate(-50%, -50%) rotate(45deg);
  z-index: 0;
  opacity: 0;
}

.btn:hover::before {
  width: 150%;
  height: 150%;
  opacity: 0.2; 
}

.btn:hover {
  color: var(--main-color);
}

.btn:hover span {
  transform: translateY(-5px);
}

.btn span {
  position: relative;
  z-index: 1;
  transition: transform 0.4s ease;
}

}
@media (min-width: 1285px) {
  html{
    font-size: 55%;
  }
  .services-container{
    padding-bottom: 7rem;
    grid-template-columns: repeat(2,1fr);
    margin: 0 5rem;
  }
}
@media(max-width:991px){
  header{
    padding: 2rem 3%;
  }
  section{
    padding: 10rem 3% 2rem;
  }
  .services{
    padding-bottom: 7rem;
  }
  .footer{
    padding: 2rem 3%;
  }
}
@media(max-width:895px){
  #menu-icon {
    display: block;
    padding: 2rem;
}
.navbar{
  position: absolute;
  top: 100%;
  right: 0;
  width: 50%;
  padding: 1rem 3%;
  background: rgba(0, 0, 0, 0.9);
  border-bottom-left-radius: 2rem;
  border-left: 2px solid var(--main-color);
  border-bottom: 2px solid var(--main-color);
  display: none;
}
.navbar.active{
  display: block;
}
.navbar a{
  display: block;
  font-size: 2rem;
  margin: 3rem 0;
  color: white;
}
.home{
  flex-direction: column;
  margin: 5rem 4rem;
}
.home-content h3{
  font-size: 2.6rem;
}
.home-content h1{
  font-size: 8rem;
  margin-top: 3rem;
}
.home-content p{
  max-width: 600px;
  margin: 0 auto;
}
.home-img img{
  width: 56vw;
  margin-top: -2rem;
}
.about{
  flex-direction: column-reverse;
}
.about-content{
  margin: 0 2rem 4rem;
}
.about img{
  width: 52vw;
  margin-top: 1rem;
  margin-bottom: 3rem;
}
#theme-switch {
  height: 60px;  
  width: 60px;  
  border-radius: 50%;  
  background-color: #ffffff;  
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;  
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);  
  transition: background-color 0.3s ease, transform 0.3s ease;  
}

#theme-switch {
  height: 60px; 
  width: 60px;
  border-radius: 50%; 
  background-color: pink;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  cursor: pointer;
  transition: transform 0.3s ease; 
}


#theme-switch:hover {
  transform: scale(1.1); 
}

#theme-switch svg {
  fill: white; 
}

.darkmode #theme-switch svg:first-child {
  display: none;
}

.darkmode #theme-switch svg:last-child {
  display: block; 
}

#theme-switch svg:last-child {
  display: none;
}

@media (min-width: 768px) {
  #theme-switch {
      height: 80px; 
      width: 80px;  
  }

  #theme-switch:hover {
      transform: scale(1.15); 
  }

}
footer {
  background-color: #f1f1f1; /* Light background color */
  padding: 20px 0; /* Vertical padding */
  text-align: center; /* Center the footer content */
}

.footer-content {
  max-width: 1200px; /* Maximum width of footer content */
  margin: 0 auto; /* Center the footer content */
}

.social-icons {
  display: flex; /* Use flexbox for alignment */
  justify-content: center; /* Center items horizontally */
  gap: 20px; /* Space between icons */
}

.social-icons a {
  text-decoration: none; /* Remove underline from links */
  color: #D1457D; /* Girly color for icons */
  font-size: 24px; /* Size of the icons */
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #B86F94; /* Change color on hover */
}

}