/* Custom Properties */
:root {
    --clr-primary: #333;
    --clr-background: #ffffff;
    --clr-background-second: #f7f7f7;
    --clr-background-footer: #333;
    --clr-text: #2c2c2c;
    --clr-text-second: #ededed;
    --clr-dominant: #F24405;
    --clr-btn-highlight: rgba(120, 120, 120, 0.279);
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --header-height: 10vh;
    --footer-height: 20vh;
    --container-width: 1000px;
    --page-padding-sm: 1.5rem;
    --page-padding: 2.5rem;
    --page-padding-lg: 5rem;
    --container-spacing: 5rem;

    --base-size: 1rem;
    --type-scale: 1.20;
    
    --text-sm: calc(var(--base-size) / var(--type-scale));
    --text-base: var(--base-size);
    --text-md: calc(var(--base-size) * var(--type-scale));
    --text-lg: calc(var(--text-md) * var(--type-scale));
    --text-xl: calc(var(--text-lg) * var(--type-scale));
    --text-2xl: calc(var(--text-xl) * var(--type-scale));
    --text-3xl: calc(var(--text-2xl) * var(--type-scale));
    --text-4xl: calc(var(--text-3xl) * var(--type-scale));
    --text-5xl: calc(var(--text-4xl) * var(--type-scale));
    --text-6xl: calc(var(--text-5xl) * var(--type-scale));
    --text-7xl: calc(var(--text-6xl) * var(--type-scale));
    --text-8xl: calc(var(--text-7xl) * var(--type-scale));
}

* {
    margin: 0;
    padding: 0;
}

/* Heading styles with adjusted viewport scaling */
h1 {
    font-size: clamp(var(--text-3xl), 4.5vw + 2rem, var(--text-7xl));
    line-height: 1.1;
}

h2 {
    font-size: clamp(var(--text-lg), 4vw + 0.6rem, var(--text-2xl));
    line-height: 1.2;
}

h3 {
    font-size: clamp(var(--text-base), 1.8vw + 0.5rem, var(--text-md));
    line-height: 1.3;
}

h4 {
    font-size: clamp(var(--text-sm), 1.1vw + 0.2rem, var(--text-base));
    line-height: 1.3;
}

p {
    font-size: clamp(var(--text-sm), 1.0vw, var(--text-base) - 1px);
    line-height: 1.6;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-image: url(../img/background_stone.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    scroll-behavior: smooth;
    z-index: -10;
}

body {
    font-family: 'Consolas',
                 'Monaco',
                 'Lucida Console',
                 'Liberation Mono',
                 'DejaVu Sans Mono',
                 'Bitstream Vera Sans Mono',
                 'Courier New',
                 monospace;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-display: swap;
    line-height: 1.2;
    color: var(--clr-text);
    background-color: var(--clr-background);
}

li{
    list-style: none;
}

@keyframes fadeInDown {
    to {
        transform: translateY(20px);
        opacity: 0;
    }
}

@keyframes extend {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

@keyframes squish {
    0% {
        height: 100%;
        transform: translate(-50%, -50%) scaleY(1);
    }
    100% {
        height: 0;
        transform: translate(-50%, -50%) scaleY(0);
    }
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: black }
}

@keyframes appear {
    to { opacity: 1; }
}

#splash-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    background-color: var(--clr-background);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s;
}

#splash-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.typing-container {
    max-width: 80%;
    overflow: hidden;
}

.typing-text {
    font-size: clamp(10px, 2.0vw, 20px);
    display: block;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid transparent;
    max-width: 100%;
    margin: 0 auto;
    letter-spacing: 2px;
    
    animation: 
        typing 2s steps(35, end),
        blink-caret 0.75s step-end infinite,
        fadeInDown 1s forwards 3.0s;
}

.loading-container {
    width: 60%;
    height: 10px;
    position: relative;
    overflow: hidden;
}

.loading-bar {
    position: absolute;
    width: 0;
    height: 100%;
    background-color: var(--clr-primary);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: 
        appear 0.1s forwards 3s,
        extend 1s cubic-bezier(0.4, 0, 0.2, 1) 3s forwards,
        squish 0.5s cubic-bezier(0.4, 0, 0.2, 1) 4s forwards;
}

.dot-nav {
    position: fixed;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin: 0;
    padding: 0;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    opacity: 1;
}

.dot-nav.hidden{
    transform: translateX(20px);
    opacity: 0;
    visibility: hidden;
}

.dot-item{
    display: flex;
    align-items: center;
    gap: 10px;
}

.dot-text {
    color: var(--clr-text);
    font-weight: 500;
    white-space: nowrap;
    position: absolute;
    right: 24px;
    transform: translateX(10px);
    font-size: 0;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: #ccc;
    border-radius: 50%;
    margin: 30px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
}

.dot:hover ,
.dot.active{
    background-color: var(--clr-primary);
    transform: scale(1.3);
}

.dot:hover ~ .dot-text,
.dot:hover + .dot-text,
.dot-text.active {
    font-size: var(--text-sm);
    font-weight: 600;
    opacity: 1;
    transform: translateX(0);
    transition: all 0.3s ease;
}

.flex-container {
    display: flex;
    flex-wrap: wrap;
}

.flex-item {
    display: flex;
    margin: 0 10px;
    padding: 5px 10px;
    background-color: rgb(252, 228, 183); 
    border: 2px dashed black;
}

.container-wrapper {
    position: relative;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.container-wrapper.visible {
    opacity: 1;
}

/* Container */
.container {
    width: min(var(--container-width), calc(100% - var(--page-padding-lg) * 2));
    margin-inline: auto;
    padding: 0 var(--page-padding);
}


.container-left-right {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    gap: var(--spacing-lg);
    width: min(var(--container-width), calc(100% - var(--page-padding) * 2));
}

.container-center {
    height: var(--header-height);
    padding: var(--spacing-lg) 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    position: relative;
    width: min(var(--container-width), calc(100% - var(--page-padding) * 2));
}

.container-center img, 
.container-left-right img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(1px);
}

.container-left-right .items{
    background-color: #d1e7dd; /* Light green for visibility */
    gap: var(--container-spacing);
    padding: 10px;
    box-sizing: border-box; /* Ensures padding is included in width */
}

header {
    color: var(--clr-text);
    height: var(--header-height);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

/* Hamburger  */
.hamburger {
    display: none;
    width: 30px;
    cursor: pointer;
    position: relative;
}

.hamburger:before,
.hamburger:after,
.hamburger div {
    background: #fff;
    content: "";
    display: block;
    height: 3px;
    border-radius: 2px;
    margin: 6px 0;
    transition: 0.5s;
}

.hamburger.active:before {
    transform: translateY(9px) rotate(135deg);
}

.hamburger.active:after {
    transform: translateY(-9px) rotate(-135deg);
}

.hamburger.active div {
    transform: scale(0);
}

.overlay-menu {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6); 
    backdrop-filter: blur(8px);
    z-index: 10;
    cursor: pointer;
    text-align: center;
}

.overlay-menu.active{
    display: block;
}

.overlay-menu-nav {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: var(--spacing-sm);
    transform: translate(-50%,-50%);
    width: 60%;
}

.overlay-menu-nav .overlay-nav-item:not(:last-child){
    border-bottom: rgba(255, 255, 255, 0.4) 0.2px solid;
}

.overlay-nav-item{
    padding: 25px 0;
    opacity: 0; 
    transform: translateY(20px);
    animation: pop-up 0.3s ease forwards;
}

.overlay-nav-item:nth-child(1) {
    animation-delay: 0.2s;
}

.overlay-nav-item:nth-child(2) {
    animation-delay: 0.4s;
}

.overlay-nav-item:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes pop-up {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

#topNav{
    transform: translateY(0);
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    opacity: 1;
}

#topNav.hidden{
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
}

@keyframes slideIn {
    0% {
        top: -100px; /* Start position */
        opacity: 0; /* Start invisible */
    }
    100% {
        top: 0; /* End position */
        opacity: 1; /* Fully visible */
    }
}

@keyframes slideIn {
    0% {
        top: -100px; /* Start position */
        opacity: 0; /* Start invisible */
    }
    100% {
        top: 0; /* End position */
        opacity: 1; /* Fully visible */
    }
}

footer {
    background-color: var(--clr-background-footer);
    width: 100%;
    padding: var(--page-padding) 0;
    color: var(--clr-text-second);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    position: relative;
}

footer > .social-links {
    margin-top: 0;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--page-padding);
}

.logo {
    max-width: 10%;
    display: flex;
}

.logo img{
    display: flex;
    width: 100%;
    height: 100%;
    object-fit:cover;
}

.nav-list {
    display: flex;
    gap: var(--spacing-md);
    list-style: none;
    margin: 0;
    padding: 0; 
}

.nav-list > a,
.nav-list > li{
    transition: all 0.3s ease;
}

.nav-list > a:hover,
.nav-list > li:hover { 
    color: black;
    transform: scale(1.05); 
}

.nav-link {
    color: var(--clr-text-second);
    text-decoration: none;
    padding: 0.5rem;
}

.snap-section {
    min-height: 100vh;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--page-padding-lg) var(--page-padding-lg);
    box-sizing: border-box;
    position: relative;
    background-color: var(--clr-background);
}

.snap-section-sub {
    background-color: var(--clr-background-second);
}

.snap-section .snap-cont{
    width: min(var(--container-width), calc(100% - var(--page-padding) * 1));
    max-height: 100%;
}

.main-section {
    overflow-x: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    background-color: rgba(10, 10, 10, 0.806);
}

.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--page-padding-lg);
    color: var(--clr-text-second);
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.title-position-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
}

.hero-title {
    margin: 0;
}

.hero-position {
    margin: 0;
}

.hero-description {
    margin: var(--spacing-md) 0;
    color: rgb(183, 182, 182);
    text-align: center;
}

.hero-scroll {
    position:absolute;
    left:0;
    right:0;
    margin-left:auto;
    margin-right:auto;
    bottom: 0;
    padding-bottom: 2rem;
}

.hero-scroll > * {
    width: 100%;
    text-align: center;
    color: #ccccccba;
}

@keyframes scrollDownHint {
    0% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(5px);
    }
    100% {
      transform: translateY(0);
    }
  }
  
.scroll-down-hint {
    animation: scrollDownHint 2s infinite ease-in-out;
    animation-fill-mode: both;
}

/* Buttons */
.button-group {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: flex-start;
    max-width: 400px;
    font-size: 13px;
}

.button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.0rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    flex: 1;
    white-space:nowrap;
    min-width: 100px;
}


.button-primary {
    background-color: var(--clr-primary);
    color: white;
    border: 2px solid var(--clr-primary);
}

.button-primary:hover {
    background-color:var(--clr-dominant);
    color: var(--clr-primary);
}

.button-secondary {
    border: 2px solid var(--clr-primary);
    color: var(--clr-primary);
}

.button-secondary:hover {
    background-color: var(--clr-primary);
    color: white;
}

.button-transparent {
    border: 2px solid var(--clr-background-second);
    color: var(--clr-text-second);
    background-color: transparent;
    overflow: hidden;
}

.button-transparent:hover {
    background-color: var(--clr-btn-highlight);
    box-shadow: 0 0 40px 40px rgba(255, 255, 255, 0.946) inset, 0 0 0 0 rgba(255, 255, 255, 0.946);;
    color: var(--clr-primary);
}

.button-transparent.active {
    animation: glow-animation 0.4s ease forwards;
}

@keyframes glow-animation {
    0% {
        box-shadow: 0 0 10px 0 rgba(255, 255, 255, 0.4) inset, 0 0 5px 2px rgba(255, 255, 255, 0.4);
    }
    50% {
        box-shadow: 0 0 30px 20px rgba(255, 255, 255, 0.86) inset, 0 0 15px 5px rgba(255, 255, 255, 0.6);
    }
    100% {
        box-shadow: 0 0 10px 0 rgba(255, 255, 255, 0.4) inset, 0 0 5px 2px rgba(255, 255, 255, 0.4);
    }
}

/* Social Links */
.social-links {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}


.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.social-link:hover{
    transform: translateY(-10px);
}

/* Profile Image */
.hero-image {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    justify-content: center;
    align-items: center;
}

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

/* About Me */
.intro {
    justify-content: center;
    align-items: center;
}

.intro > .section-title{
    text-align: center;
}

.intro-section{
    display: flex;
    gap: var(--page-padding-lg);
    padding-bottom: var(--page-padding-lg);
}

.intro-left {
    flex: 0 0 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.intro-left img{
    width: 200px;
}

.intro-right {
    flex: 1;
}


.info-sections {
    display: grid;
    grid-template-columns: 4fr 5fr;
    width: 100%;
    gap: 20px;
    align-items: stretch;
    padding-bottom: var(--page-padding);
}

.info-left ,
.info-right{
    display: flex;
    flex-direction: column;
}
  
.info-left > div ,
.info-right > div {
    height: 100%;
    padding: 20px;
    background-color: #f7f7f7;
    border-radius: 8px;
}

.info-list{
    list-style-type: none; 
    padding-left: 0;
}

.info-list li::before{
    content: "-";
    margin-right: 0.5em;
    display: inline-block;
}

.info-list li {
    text-indent: -0.5em;
    padding-left: 2em;
    font-size: clamp(var(--text-sm), 1.0vw, var(--text-base) - 1px);
    line-height: 1.6;
}

.tech-category{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 2fr));
    grid-gap: 20px;
}

.tech-category > .tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    aspect-ratio: 1 / 1;
    padding: 20px;
    border-radius: 8px;
    background-color: #f7f7f7;
}

.tech-category i {
    color: var(--clr-text);
    font-size: 50px;
}

#hireMe {
    background-color: rgba(10, 10, 10, 0.806);
    backdrop-filter: blur(2px);
    min-height: 300px;
    padding: var(--page-padding) var(--page-padding);
}


.hireMe-content {
    display: flex;
    flex-direction: row;
    width: min(var(--container-width), calc(100% - var(--page-padding) * 2));
    justify-content: center;
    align-items: center;
}

.hireMe-content > div {
    flex: auto;
}

/* .flex-container {
    display: flex;
    flex-wrap: wrap;
    background-color: var(--clr-primary);
}

.flex-container > div {
    background-color: var(--clr-background);
    width: 200px;
    margin: 10px;
    text-align: center;
    line-height: 75px;
} */

.project {
    justify-content: center;
    text-align: center;
    align-items: center;
}

.section-title {
    padding-bottom: 80px;
}

.project > p {
    padding-bottom: 20px;
}
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(calc(33.333% - 1rem), 1fr));
    gap: 1.2rem;
    padding: var(--page-padding) 0;
}

.project-card {
    overflow: hidden;
    position: relative;
    aspect-ratio: 13/10;
    transition: transform 0.3s ease;
    border-radius: 10px;
    border: 3px outset #60606021;
    cursor: pointer;
}

.project-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-width: 100%;
    max-height: 100%;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color 0.5s ease;
    color: white;
}

.text1 {
    position:absolute;
    left: 20px;
    bottom: 20px;
    font-weight: bold;
    text-align: left;
    transform: translateY(20px); 
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.text2 {
    position:absolute;
    right: 20px;
    bottom: 20px;
    text-align: right;
    transform: translateY(20px);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.project-overlay i {
    position:absolute;
    top: 40%;
    left: 42%;
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    font-size: 40px;
}


.project-card:hover .text1,
.project-card:hover .text2,
.project-card:hover .arrow-icon {
    opacity: 1;
    transform: translateY(0); 
}

.project-title {
    font-weight: bold;
    margin-bottom: 0.1rem;
    transform: translateY(20px);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.project-description {
    text-align: center;
    padding: 0 1rem;
    transform: translateY(20px); 
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.project-card:hover .project-overlay {
    background-color: rgba(0, 0, 0, 0.552);
    opacity: 1;
}

.project-card:hover .project-title,
.project-card:hover .project-description {
    opacity: 1;
    transform: translateY(0); 
}

.project-underlay {
    margin: 20px 10px;
    text-align: start;

}

.project-view {
    justify-content: center;
    align-items: center;
    color:#949494;
    font-size: var(--text-sm);
}

.project-view > a,
.project-view > i{
    justify-content: center;
    align-items: center;
    color:#949494;
    text-decoration: none;
    transition: all 0.3s ease;
}

.project-view > a:hover {
    color:var(--clr-text);
    font-weight: bold;
}

.contact {
    justify-content: center;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.contact-content form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: var(--page-padding);
    border: 1px solid lightgrey;
    border-radius: 15px;
    font-size: clamp(var(--text-sm), 1.0vw, var(--text-base));
    line-height: 1.6;
}

.form-row {
    display: flex;
    gap: var(--spacing-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 5px;
    color: lightgrey;
    text-align: left;
    transform: translateX(0);
    transition: all 0.5s ease;
}

.form-group input,
.form-group textarea {
    border: none;
    padding: 10px;
    border-bottom: 1px solid var(--clr-text);
    border-radius: 4px;
    background-color: transparent;
    font-family: monospace, monospace;
    font-size: clamp(var(--text-sm), 1.0vw, var(--text-base));
    line-height: 1.6;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    opacity: 0.8;
  }

.form-group textarea {
    resize: none;
}

.form-group input:focus,
.form-group textarea:focus{
    outline: none;
}

.form-group input:focus ~ label,
.form-group input:focus + label,
.form-group:focus-within label {
    color: var(--clr-text);
    transform: translateX(5px);
    transition: color 0.5 ease;
}

.submit-btn {
    width: auto;
    background-color: white;
    align-items: center;
    text-align: center;
    min-width: 200px;
    cursor: pointer;
    font-family: monospace, monospace;
}

.elem > *{
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.0s, transform 0.7s;
}

.elem.visible > *{
    opacity: 1;
    transform: translateY(0);
}

.icon-color {
    color: var(--clr-text-second);
    font-size: 25px;
    text-decoration: none;
}

.icon-color-alt {
    color: var(--clr-text-second);
    font-size: 25px;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --page-padding: 2rem;  /* Smaller padding on mobile */
        --header-height: 12vh;
        --base-size: 0.8rem;
        --type-scale: 1.20;
    }

    header {
        color: var(--clr-text);
        height: var(--header-height);
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1000;
    }

    nav{
        backdrop-filter: blur(1px);
    }

    .nav {
        padding: var(--spacing-sm) var(--page-padding);
        height: 100%;
    }

    .logo {
        min-width: 30%;
        max-width: 40%;
        display: flex;
    }
    
    .logo img{
        display: flex;
        width: 100%;
        height: 100%;
        object-fit:cover;
    }
    
    .nav-list{
        display: none;
    }

    .hamburger {
        display: block;
    }

    .dot-nav {
        display: none;
    }

    .fa-mouse{
        display: none;
    }

    .snap-section{
        padding: var(--page-padding-lg) var(--page-padding-sm);
    }
    
    .section-title{
        padding-bottom: 30px;
    }

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: var(--page-padding) 0;
    }

    .hero-title{
        white-space: nowrap;
    }

    .button-group {
        max-width: 400px;
    }

    .button-group > .button{
        min-width: 80px;
        white-space: wrap;
        padding: 0.25rem 0.5rem;
        font-size: var(--text-sm);
    }



    .social-links {
        justify-content: center;
    }

    .icon-color {
        font-size: 22px;
    }

    .project-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* 2 columns */
    }

    .intro-section{
        gap: 10px;
        flex-direction: column;
        padding-bottom: 40px;
    }

    .info-sections {
        grid-template-columns: 1fr;
    }

    .tech-category{
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
        grid-gap: 15px;
    }

    .tech-category > .tech-item {
        aspect-ratio: 1 / 1;
        padding: 10px;
        border-radius: 8px;
    }

    .tech-category i {
        color: var(--clr-text);
        font-size: clamp(var(--text-lg), 2.2vw + 1rem, var(--text-3xl))
    }

    #hireMe{
        min-height: 200px;
    }

    #hireMe h3{
        font-size: var(--text-base);
    }

    .hireMe-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .hireMe-content .button {
        white-space: wrap;
        padding: 0.7rem 0.4rem;
        font-size: var(--text-sm);
    }

    .contact-content form {
        gap: 1.5rem;
        padding: var(--page-padding);
        border: 1px solid lightgrey;
        border-radius: 15px;
    }

    .form-row {
        display: flex;
        gap: var(--spacing-md);
        flex-direction: column;
    }
    
    .form-group {
        display: flex;
        flex-direction: column;
        flex: 1;
    }
    
}