html {
    scroll-behavior: smooth;
}

body{
    background-image: linear-gradient(180deg, rgb(173, 198, 244, 1), rgb(150, 141, 211, 1));
    /* font-size: 20px; */
    margin: 80px 60px 80px 60px;
    transition: background-color 0.3s ease, color 0.3s ease;
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: inherit;
    filter: blur(20px);
    z-index: -1;
}
body.dark-mode {
    background-image: linear-gradient(135deg, rgb(195, 101, 138, 1), rgb(133, 97, 155, 1));
    font-size: 20px;
    margin: 80px 60px 80px 60px;
    padding: 0px;
    color: #f5f5f5;
}
/* @import url('https://cdn.jsdelivr.net/gh/vercel/geist-font/GeistMono/stylesheet.css'); */

h1 {
    /* font-family: Inconsolata , ui-monospace, SFMono-Regular, Menlo, Monaco, monospace; */
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    letter-spacing: .10em;
    /* font-weight: 400; */
    font-weight: 750;
}
h2, h3{
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    /* font-family: Inconsolata , ui-monospace, SFMono-Regular, Menlo, Monaco, monospace; */
    letter-spacing: .10em;
    font-weight: 750;
    color: white;
}
h4{
    font-family: 'JetBrains Mono', monospace;
    font-weight: lighter;
    font-size: small;
    color: #dcd8d8;
}
p{
    font-size: medium;
    font-family: 'JetBrains Mono', monospace;
    color: #e9e7e7;
    font-weight: lighter;
    line-height: 1.8;
}
.circle {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background-color: rgba(188, 157, 238, 0.6);
    position: absolute;
    top: -150px;
    left: -100px;
    filter: blur(60px);
    z-index: 2;
}
body.dark-mode .circle {
    background-color: rgb(143, 51, 92, 0.5);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    position: absolute;
    top: -150px;
    left: -100px;
    filter: blur(60px);
    z-index: 2;
}
#nav-bar{
    padding-top: 20px;
    right: 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box; 
    z-index: 2;
    position: relative;
    font-family: 'JetBrains Mono', monospace;
    /* font-size: large; */
    font-size: medium;
}
#name-title{
    color: white;
}
#nav-bar ul {
    margin: 0;
    overflow: hidden;
    list-style-type: none;
} 

#nav-bar li {
    border: black;
    display: inline-block;
    margin-left: 30px;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 40px;
}

#mode {
  height: 50px;
  width: 50px;
  border-radius: 50%;        
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #a6b7dc;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
}
#mode:hover {
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
    background-color: #a6b7dc;
    border: 2px solid #f7f7fa;
}
body.dark-mode #mode {
    border: 2px solid #f7f7fa;
    /* border: 2px solid rgba(216, 119, 139, 0.7); */
}
body.dark-mode #mode:hover {
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
    /* box-shadow: 0 0 8px 2px rgba(255, 182, 193, 0.8), 0 0 16px 3px rgba(228, 62, 137, 0.6); */
    background: rgba(215, 95, 120, 0.7);
    border: 2px solid #f7f7fa;
}
#mode img{
    height: 40px;
    width: 40px;
}
body.dark-mode #mode img {
    height: 35px;
    width: 35px;
}
#res-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 280px;
    height: 60px;
    /* background-image: linear-gradient(180deg, #a8bbee, rgba(123, 129, 206, 0.55)); */
    background-image: linear-gradient(180deg, #9bafe6, rgba(176, 141, 240, 0.55));
    font-family: 'JetBrains Mono', monospace;
    font-weight: 500;
    border: 2px solid rgb(173, 198, 245);
    color: white;
    font-size: large;
    border-radius: 50px;
    text-align: center;
    margin-bottom: 20px;
}
#res-button a {
    display: flex;
    align-items: center; 
    gap: 8px;
    color: inherit;
    text-decoration: none;
}
#res-button img {
    width: 24px;
    height: 25px;
    filter: invert(1) brightness(2);
}
#res-button:hover {
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5)) drop-shadow(0 0 10px rgba(255, 255, 255, 0.4)); 
    filter: none;
    box-shadow: 0 0 8px 2px rgba(255, 255, 255, 0.698);
    border: 2px solid rgba(255, 255, 255, 0.7);
    color: white;
}

body.dark-mode #res-button {
    border: 2px solid rgba(215, 95, 120, 0.7);
    background: linear-gradient(180deg, rgba(215, 95, 120, 0.45), rgba(136, 73, 116, 0.55));
    color: white;
}
body.dark-mode #res-button:hover {
    background: linear-gradient(180deg, rgba(215, 95, 119, 0.678), rgba(136, 73, 116, 0.65));
    filter: none;
    box-shadow: 0 0 8px 2px rgba(255, 182, 193, 0.8), 0 0 16px 3px rgba(228, 62, 137, 0.6);
} 
a{
    text-decoration: none;
    color: #fff;
    font-size: medium;
}
a:hover {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    cursor: pointer;
}

.glass{
    /* background-color: rgba(69, 81, 167, 0.4); */
    background-color: rgba(126, 138, 205, 0.8);
    border: 2px solid #B0A6DC;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.25), 
                0 0 10px rgba(255, 255, 255, 0.4 ), 
                0 0 15px rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    padding-top: 50px;
    z-index: 1;
    position: relative;
}
.glass.dark-mode {
    background-color: rgb(22, 27, 65, 0.8);
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.25), 
                0 0 10px rgba(255, 255, 255, 0.4 ), 
                0 0 15px rgba(255, 255, 255, 0.4);
    border-radius: 30px;
    /* padding-top: 50px; */
}
#home{
    height: 800px;
    color: #fff;
    /* padding: 0px 120px; */
}
#container{
    display: flex;
    width: 100%;
}
#home .left{
    padding-top: 150px;
    width: 50%; 
    /* color: #fff; */
    box-sizing: border-box;
}

.title{
    width: 70%;
    z-index: 2;
    position: relative;
}
.title h1{
    font-weight: 600;
    margin: 0;
}
.title h1 + h1 { 
    margin-top: 5px;   
}
@media screen and (min-width: 1024px) {
    .title h1 {
        font-size: 50px;
        line-height: 4rem;
    }
}

canvas {
    width: 380px;
    height: 50px;
    /* padding: 10px; */
    padding-top: 15px;
    background: transparent;
    display: none;
}

.name-pronunce{
    display: flex;
    align-items: center;
    justify-items: center;
    gap: 10px;
}
.name-pronunce h1 {
  position: relative; /* don't use absolute unless necessary */
  z-index: 3;         /* above circle + video */
}

.name-pronunce img{
    width: 50px;
    height: 50px;
    transform: translateY(8px);
    cursor: pointer;
}
.name-pronunce img:hover{
    /* transform: translateY(-4px); */
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5)) drop-shadow(0 0 10px rgba(255, 255, 255, 0.2)); 
}
.video-wrapper {
  width: 300px;          /* visible width area */
  height: 60px;          /* how tall it appears (controls visible height) */
  overflow: hidden;      /* hide the cropped part */
  position: relative;
}

.video-wrapper video {
  width: 100%;
  height: auto;
  object-fit: cover;
  transform: scale(1.2) translateY(-41px); /* 👈 zoom in and move up slightly */
  transform-origin: center; /* keeps zoom centered */
  transition: transform 0.3s ease-in-out;
}

.contacts-container{
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}
.contacts{
    color: white;
    display: flex;
    align-items: center; 
}
.contacts img{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    display: inline-block;
}


/* terminal animation */
#terminal {
    border-right: 2px solid rgb(255, 255, 255);
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
    animation: blink 0.7s steps(1) infinite;
    color: rgb(206, 181, 252);
}
body.dark-mode #terminal {
    color: #E884C1;
}
@keyframes blink {
  50% { border-color: transparent; }
}

/* Mobile Phone  */
@media (max-width: 767px){

}
/* Tablet */
@media (min-width: 768px) and (max-width: 1023px){

}

/* Laptop (1024–1439) */
@media (min-width: 1024px) and (max-width: 1439px) {
  /* slightly smaller padding for typical laptops */
  /* .glass.dark-mode{ background-color:  rgb(229, 255, 0);} */
  #home, #about, #background, #skills, #project { padding: 0 120px; }
  .name-pronunce {width: 500px;}
  .skill { width: 140px; }
  .skills_container { gap: 20px; }
  .contact-shift { padding-left: 120px; }
  .containers { gap: 10px; }
  .container { padding-top: 100px; width: 220px; height: 320px; font-size: 15px; }
  .spinner-svg, .spinner-image {top: 80%; left: 50%;}
}

/* Desktop (1440–1919) */
@media (min-width: 1440px) and (max-width: 1919px) {
  /* .glass.dark-mode{ background-color:  rgb(255, 153, 0);} */
  #res-button{ width: 280px; height: 60px; }
  #home, #about, #background, #skills, #project { padding: 0px 120px; }
  .name-pronunce {width: 500px;}
  .skill { width: 150px; }
  .skills_container { gap: 10px; }
  #project .skills_container{ gap: 40px; }
  .contact-shift { padding-left: 120px; }
  .containers { gap: 5px; padding: 0; }
  .container { width: 210px; height: 310px; font-size: small; }
  .spinner-svg, .spinner-image {top: 60%; left: 50%;}
  /* .spinner-image { width: 280px; height: 280px; } */
}

/* Large desktop / 4k (>=1920) */
@media (min-width: 1920px) { 
  /* .glass.dark-mode{ background-color: rgb(255, 0, 0);} */
  #res-button{width: 280px; height: 60px;}
  #home, #about, #background, #skills, #project { padding: 0 180px; }
  .skill { width: 160px; }
  .skills_container { gap: 60px; }
  .contact-shift { padding-left: 200px; }
  .containers { gap: 60px; padding: 0; }
  .container { width: 250px; height: 350px; font-size: medium; }
  .spinner-svg, .spinner-image {top: 60%; left: 80%;}
  /* .spinner-image { width: 300px; height: 300px; } */
}


/* ---------------------ABOUT ---------------------*/

#about {
    display: flex;
    align-items: center;
    min-height: 800px;
    max-height: 1400px;
    flex-wrap: wrap;
    padding-bottom: 50px;
    background-color: rgba(126, 138, 205);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px); 
}
body.dark-mode #about {
    background-color: rgb(22, 27, 65, 0.25);
}
#about .left{
    padding-top: 100px;
    width: 50%; 
    /* color: #fff; */
    box-sizing: border-box;
}
.right{
    height: auto;
    width: 50%;
    padding: 80px 120px;
    box-sizing: border-box;
}
 :root {
  /* --spinner-start: #ffffff; */
  --spinner-start: #cba6dc;
  /* --spinner-end: #99a4dc; */
  --spinner-end: #adc6f5;
}

/* dark mode overrides */
body.dark-mode {
  /* --spinner-start: #df99ad; */
  --spinner-start: #e298ad;
  --spinner-end: rgba(229, 141, 159, 0.45);
  /* --spinner-end: rgba(215, 95, 120, 0.45); */
}

/* connect vars to the SVG gradient stops */
.spinner-svg stop[offset="0%"]   { stop-color: var(--spinner-start); }
.spinner-svg stop[offset="100%"] { stop-color: var(--spinner-end); }

.bio-container {
  position: relative;
  width: 450px;
  height: 450px;
  margin: auto;
}

.spinner-svg {
  position: absolute;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
}

.spinner {
  transform-origin: 50% 50%;
  animation: spin 30s linear infinite;
}

.spinner-image {
  position: absolute;
  width: 400px; 
  height: 400px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  object-fit: cover;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.Mask-Center-Out {
  animation: mask-center-out 0.5s forwards;
}
.Mask-Center-In {
  animation: mask-center-in 0.5s forwards;
}
@keyframes mask-center-out {
  from {
    clip-path: inset(50% 0 50% 0); /* thin line at center */
  }
  to {
    clip-path: inset(0 0 0 0); /* fully revealed */
  }
}
@keyframes mask-center-in {
  from {
    clip-path: inset(0 0 0 0); /* fully revealed */
  }
  to {
    clip-path: inset(50% 0 50% 0); /* thin line at center */
  }
}


#pageOverlay  {
    position: fixed; 
    top: 0;
    left: 0;
    width: 50%;     
    height: 50%;
    background-color: rgba(4, 3, 22, 0.9);
    border: 1px solid rgb(206, 213, 243);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(50%, 50%);
    z-index: 1000;
    border-radius: 10px;
    padding: 20px;
} 
body.dark-mode #pageOverlay{
    border: 1px solid rgb(117, 117, 186);
}
.overlay-content{
    padding: 10px 50px;
    width: 100%;
    /* position: relative;
    align-items: center;
    justify-content: center; */
}
.close-btn {
    /* background-color: #9bafe6; */
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 20px;
    /* font-size: 30px; */
    color: white;
    cursor: pointer;
}
#about-me {
    margin-top: 40px;
   
}
#about-me button{
    border: 2px solid rgba(173, 198, 245, 0.7);
    background: linear-gradient(180deg, rgba(155, 175, 230, 0.35), rgba(176, 141, 240, 0.45));
    font-family: 'JetBrains Mono', monospace;
    font-size: medium;
    color: white;
    border-radius: 25px;
    padding: 10px;
    width: 220px;
    height: 50px;
}
#about-me button:hover {
    background: linear-gradient(180deg, rgba(155, 175, 230, 0.55), rgba(176, 141, 240, 0.65));
    border: 2px solid rgb(173, 198, 245);
}
body.dark-mode #about-me button {
    border: 2px solid rgba(215, 95, 120, 0.7);
    background: linear-gradient(180deg, rgba(215, 95, 120, 0.45), rgba(136, 73, 116, 0.55));
}
body.dark-mode #about-me button:hover {
    background: linear-gradient(180deg, rgba(215, 95, 119, 0.678), rgba(136, 73, 116, 0.65));
    filter: none;
    box-shadow: 0 0 8px 2px rgba(255, 182, 193, 0.8), 0 0 16px 3px rgba(228, 62, 137, 0.6);
} 


.about-stats {
    display: flex;
    justify-content: center;
    gap: 10rem;
    text-align: center;
  }
  .stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  .stat h3 {
    font-size: 3.5rem;
    margin: 0;
    font-weight: 600;
  }
  .stat p {
    color: #c9c4d2;
    margin: 0;
    font-size: 1rem;
  }
  
/*--------------------- BACKGROUND -------------------------*/

#background {
    min-height: 300px;
    max-height: 1200px;
    padding-top: 50px;
    padding-bottom: 40px;
    color: white;
    /* padding: 0 120px; */
}
#background h3{
    font-family: 'JetBrains Mono', monospace;
    font-weight: lighter;
    font-size: large;
    line-height: 1.8;
}

.header-shift{
    padding-top: 50px;
    /* padding: 40px 0px 10px 150px; */
}
.header-shift p{
    width: 100%;
}
.containers {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 40px; 
    text-align: center;
}

.container {
    display: flex;
    flex-direction: column; 
    justify-content: center;
    align-items: center;
    padding: 20px;
    font-family: 'JetBrains Mono', monospace;
    font-weight: lighter;
    line-height: 1.5;
}
.container-text{
    width: 120%;
    /* background-color: #a6b7dc; */
}
#container-1 {
    border: 3px solid #df99ad;
    background: linear-gradient(180deg, rgba(215, 95, 120, 0.6), rgba(136, 73, 116, 0.55));
    border-radius: 16px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), inset 0 0 8px rgba(255, 255, 255, 0.05);
}

#container-2 {
    border: 3px solid rgba(206, 187, 235, 0.4);
    background: linear-gradient(180deg, rgba(131, 97, 184, 0.6), rgba(50, 94, 159, 0.65));
    border-radius: 16px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), inset 0 0 8px rgba(255, 255, 255, 0.05);
}

#container-3 {
    border: 3px solid rgba(223, 177, 250, 0.4);
    background: linear-gradient(180deg, rgba(155, 96, 188, 0.6), rgba(80, 87, 160, 0.65));
    border-radius: 16px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), inset 0 0 8px rgba(255, 255, 255, 0.05);
}

#container-4 {
    border: 3px solid rgba(190, 198, 241, 0.4);
    background: linear-gradient(180deg, rgba(107, 114, 156, 0.6), rgba(37, 102, 144, 0.65));
    border-radius: 16px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), inset 0 0 8px rgba(255, 255, 255, 0.05);
}

body.dark-mode #container-1 {
    border: 3px solid rgba(215, 95, 120, 0.7);
    background: linear-gradient(180deg, rgba(215, 95, 120, 0.45), rgba(136, 73, 116, 0.55));
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), 0 0 12px rgba(215, 95, 120, 0.4);
}

body.dark-mode #container-2 {
    border: 3px solid rgba(131, 97, 184, 0.7);
    background: linear-gradient(180deg, rgba(131, 97, 184, 0.45), rgba(50, 94, 159, 0.55));
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), 0 0 12px rgba(131, 97, 184, 0.4);
}

body.dark-mode #container-3 {
    border: 3px solid rgba(155, 96, 188, 0.7);
    background: linear-gradient(180deg, rgba(155, 96, 188, 0.45), rgba(80, 87, 160, 0.55));
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), 0 0 12px rgba(155, 96, 188, 0.4);
}

body.dark-mode #container-4 {
    border: 3px solid rgba(135, 141, 175, 0.7);
    background: linear-gradient(180deg, rgba(107, 114, 156, 0.45), rgba(37, 102, 144, 0.55));
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), 0 0 12px rgba(107, 114, 156, 0.4);
}

.container img {
    width: auto;
    height: 80px;
    max-width: 100%;
    object-fit: cover;
    margin-bottom: 15px;
}

.container ul {
    list-style-type: none;
    text-align: center;
    transform: translateX(-12px);
}

.icon {
    filter: invert(1) brightness(2); 
}

.greentob {
    filter: hue-rotate(180deg) brightness(3); 
}

.container:hover {
    background-color: rgba(189, 209, 227, 0.4);
    transition: background-color 0.3s ease; 
}
/*--------------------- SKILLS -------------------------*/

#skills{
    min-height: 400px;
    max-height: 1400px;
    color: white;
}

.skills_container {
    display: flex;
    justify-content: left;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    padding-top: 20px; 
    margin: 0 auto; 
}

.skill {
   background-color: rgba(210, 198, 238, 0.2);
   border: 1px solid rgba(228, 221, 244, 0.4);
   border-radius: 10px;
   padding: 9px;
   height: 40px;
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 20px;  
}
body.dark-mode .skill {
   background-color: rgba(110, 105, 128, 0.3);
}
.skill img {
    width: 40px;
    height: auto;
    margin-bottom: 10px;
    position: relative;
    top: 5px;
}
.skill:hover {
    transform: translateY(-4px);
    transition: background-color 0.3s ease; 
    cursor: pointer; 
}
.python img{
    width: 35px;
    height: auto;
}
.c img{
    width: 30px;
    height: auto;
}
.js img{
    width: 30px;
    height: auto;
}
.react img{
    width: 30px;
    height: auto;
}
.html img{
    width: 30px;
    height: auto;
}
.css img{
    width: 30px;
    height: auto;
}
.html img{
    width: 30px;
    height: auto;
}
.mysql img{
    width: 30px;
    height: auto;
}
.sqlite img{
    width: 40px;
    height: auto;
}
.git img{
    width: 35px;
    height: auto;
}
.docker img{
    width: 45px;
    height: auto;
}
.figma img{
    width: 30px;
    height: auto;
}
.flask img{
    width: 35px;
    height: auto;
}
/* Project Skills  */

.skill.react img{
    width: 30px;
    height: auto;
}
.skill.html img{
    width: 30px;
    height: auto;
}
.skill.sqlite img{
    width: 40px;
    height: auto;
}
.skill.css img{
    width: 30px;
    height: auto;
}
.skill.flask img{
    width: 35px;
    height: auto;
}
/*--------------------- PROJECT -------------------------*/
#project{
    min-height: 800px;
    max-height: 2600px;
    color: white;
    background-color: rgba(126, 138, 205);
    /* background-color: rgba(200, 181, 236, 0.2); */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px); 
    padding-top: 50px;
    padding-bottom: 50px;
}
body.dark-mode #project {
    background-color: rgb(22, 27, 65, 0.25);
}
.grid-container {
    display: grid;
    grid-template-columns: 1fr; 
    width: 100%;
    gap: 40px;
    padding-bottom: 50px;
}
.grid-item {
    width: 100%;
    /* height: 80%;       */
}
.grid-item img {
    width: 100%;       
    height: 800px;      
    border-radius: 20px;
    object-fit: cover;
    display: block;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.more-skills{
    color: #fff;
    margin-top: 40px;
    text-align: center;
    font-size: medium;
    font-family: 'JetBrains Mono', monospace;
}

/* ---------------------CONTACT ---------------------*/
.contact{
    height: 780px;
    color: white;
    display: flex;
    padding-top: 100px;
    flex-direction: column;
    align-items: center; 
}
.contact-shift p{
    width: 90%;
}
#contact-form button {
    align-self: flex-end; 
    padding: 12px 24px;
    font-size: 16px;
    background-color: #c2bcc8;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}
#contact-form button:hover {
    background-color: #b9b3be;
}

body.dark-mode #contact-form button {
    background-color: #99959f;
}
body.dark-mode #contact-form button:hover {
    background-color: #7c7a85;
   
}
.icon-container {
    display: flex;
    gap: 150px;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}
.icon-container a:hover {
    text-decoration: none;
}
.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0px;
}
.icon-item img {
    width: 60px;
    height: auto;
}
#icon-3 img {
    width: 70px;
    height: auto;
}
#contact-form{
    background-color: rgba(210, 198, 238, 0.2);
    /* background-color: rgb(217, 217, 217, 0.14); */
    border: 2px solid rgba(228, 221, 244, 0.4);
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    letter-spacing: .10em;
    border-radius: 20px;
    padding: 60px 100px 60px 100px;
    width: 66%;            
    min-width: 300px;
    height: 340px;
    margin-top: 20px;
}
body.dark-mode #contact-form{
    background-color: rgba(110, 105, 128, 0.3);
    border: 1px solid rgba(228, 221, 244, 0.4);
}
#contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
#contact-form label {
    font-weight: bold;
    margin-bottom: 15px;
}
#contact-form input,
#contact-form textarea {
    background-color: #D9D9D9;
    border: 1px solid white;
    border-radius: 8px;
    padding: 20px;
    resize: none;
}
#contact-form input::placeholder,
#contact-form textarea::placeholder {
    font-family: 'JetBrains Mono', monospace;;
    color: #838080;
}
.input-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.input-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.input-group {
    flex: 1;
    min-width: 250px;
}
.contact button {
    width: 150px;
    height: 50px;
    font-size: medium;
    border-radius: 10px;
    background-color: white;
    color: black;
    border: none;
    cursor: pointer;
}
.hoover-g {
    transition: all 0.3s ease;
}

.hoover-g:hover {
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5)) drop-shadow(0 0 10px rgba(255, 255, 255, 0.2)); /* Glow effect */
    transform: scale(1.05);
}

/* ---------------------FOOTER ---------------------*/

footer {
    height: 50px;
    text-align: center;
    padding: 50px;
    color: white;
    bottom: 0;
    line-height: 60px;
    font-family: 'JetBrains Mono', monospace;
    font-weight: lighter;
    font-size: medium;
}
