/* ===== CSS VARIABLES ===== */
:root {
  /* Colors */
  --primary-color: #fd4766;
  --secondary-color: #1C99FE;
  --accent-color: #7644FF;
  --text-primary: #aaa8a8;
  --text-secondary: #8d8c8c;
  --text-muted: #717171;
  --bg-dark: rgba(10, 10, 10, 0.985);
  --bg-section: #202020;
  --bg-projects: rgb(50, 50, 50);
  --bg-contact: rgb(76, 76, 76);
  --nav-bg: black;
  --nav-text: rgb(105, 105, 105);
  
  /* Spacing */
  --nav-height: 6rem;
  --nav-height-mobile: 4.3rem;
  --section-padding: 2rem;
  --border-radius: 10px;
  
  /* Transitions */
  --transition-fast: 0.5s;
  --transition-medium: 1s;
  --transition-slow: 2s;
}

/* ===== FONTS ===== */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Marko+One&display=swap');

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    scroll-behavior: smooth;
}

/* ===== SCROLLBAR STYLES ===== */
::-webkit-scrollbar {
    width: 15px;
}

::-webkit-scrollbar-track {
    background: white;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: rgb(131, 131, 131);
    border-radius: 50px;
}

/* ===== NAVIGATION ===== */
#home {
    width: 100%;
    height: 100vh;
}
.navcontainer {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


a {
    text-decoration: none;
    color: var(--nav-text);
}


nav {
    background-color: var(--nav-bg);
    position: fixed;
    z-index: 99;
    color: aliceblue;
    box-shadow: -0px 20px 20px rgb(99, 99, 98);
    width: 100%;
    height: var(--nav-height);
}


nav .logo {
    max-height: 4rem;
    filter: invert(1);
}

nav .logo:hover {
    transform: rotateY(360deg);
    transition: var(--transition-medium);
}


.navcontainer h1 {
    display: none;
    color: var(--nav-text);
    font-size: 25px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}



.hamburger {
    display: block;
    position: relative;
    z-index: 1;
    margin-right: 25px;
    user-select: none;
    appearance: none;
    border: none;
    outline: none;
    background: none;
    cursor: pointer;
}


.hamburger span {
    display: flex;
    width: 33px;
    height: 4px;
    margin-bottom: 5px;
    position: relative;
    background-color: var(--nav-text);
    border-radius: 6px;
    z-index: 1;
    transform-origin: 0 0;
    transition: var(--transition-fast);
}


.hamburger:hover span:nth-child(2) {
    transform: translateX(10px);
    background-color: purple;
}


.hamburger.is-active span:nth-child(1) {
    transform: translate(0px, -2px) rotate(45deg);
}

.hamburger.is-active span:nth-child(3) {
    transform: translate(-3px, 3px) rotate(-45deg);
}

.hamburger.is-active span:nth-child(2) {
    opacity: 0;
    transform: translateX(15px);
}

.hamburger.is-active:hover span {
    background-color: purple;
}


nav a {
    color: var(--nav-text);
    font-size: 1.1rem;
    position: relative;
    padding: 3px;
}


nav a:hover {
    color: rgba(255, 255, 255, 0.918);
    transition: var(--transition-fast);
}


nav a:not([download]):after {
    content: "";
    position: absolute;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition-fast);
    bottom: 0;
}

nav a:not([download]):hover:after {
    width: 100%;
}


/* ===== BUTTONS ===== */
.btn {
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 16px 40px;
    border-radius: 500px;
    display: inline-block;
    font-weight: 500;
    transition: all 0.4s ease-in-out;
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    cursor: pointer;
}

.btn:hover {
    background: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}


/* ===== RESPONSIVE NAVIGATION ===== */
@media (min-width: 821px) {
    nav {
        padding: 1.2rem 8rem;
    }

    .hamburger {
        display: none;
    }
    
    .menu {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

@media (max-width: 821px) {
    nav {
        height: var(--nav-height-mobile);
        transform: 2s;
    }
    
    .menu {
        display: none;
    }
    
    .menu.is-active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: var(--nav-height-mobile);
        left: 0;
        right: 0;
        background: var(--nav-bg);
        padding: 1rem 1.5rem;
        gap: 0.6rem;
        border-top: 1px solid #333333;
    }
    
    .menu.is-active a, 
    .menu.is-active .btn {
        font-size: 1.05rem;
        padding: 0.6rem 0.4rem;
    }

    nav .logo {
        display: none;
    }

    .navcontainer h1 {
        display: flex;
        margin: 20px;
    }
}


/* ===== HOMEPAGE CONTENT ===== */
.content {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: row;
    background-color: var(--bg-dark);
    color: rgb(163, 162, 162);
}


.content .intro {
    width: 62%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 8rem 0 6rem;
}


.intro .title {
    color: #0a0a0a;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 20px;
    background: radial-gradient(circle farthest-corner at center center, var(--secondary-color) 0%, var(--accent-color) 65%, var(--primary-color) 95%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


.intro h1 {
    color: var(--text-primary);
    font-size: 69px;
    font-weight: 900;
    line-height: 90px;
    text-transform: inherit;
}


.name {
    color: var(--primary-color);
    background: linear-gradient(
        110deg,
        #e7ffaff3 20.69%,
        #fbff27 50.19%,
        #ff8a3c 79.69%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


.intro h2 {
    color: var(--text-secondary);
    font-size: 45px;
    font-weight: 600;
    line-height: 70px;
    text-transform: inherit;
}


.intro p {
    color: var(--text-muted);
    margin: 2rem 0 30px;
}


.rotate-words {
    display: inline;
    margin-left: 10px;
    color: var(--primary-color);
}


.rotate-words span {
    width: max-content;
    position: absolute;
    padding-inline: 10px;
    opacity: 0;
    transform-origin: 10% 75%;
    animation: rotateWords 12s var(--d) linear infinite;
}

@keyframes rotateWords {
    5% { opacity: 1; }
    10%, 20% {
        opacity: 1;
        transform: rotate(3deg);
    }
    15% { transform: rotate(-1deg); }
    25% {
        opacity: 0;
        transform: translateY(90px) rotate(10deg);
    }
}

.intro .btn {
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 12px 30px;
    border-radius: 500px;
    display: inline-block;
    font-weight: 500;
    transition: all 0.4s ease-in-out;
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    cursor: pointer;
}

.intro .btn:hover {
    background: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.intro a {
    text-decoration: none;
}


.myimage {
    width: 38%;
    padding-top: 8%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.myimage img {
    width: 55%;
    transform: perspective(800px) rotate3D(0, 20, 0, -15deg);
    border-radius: 25px;
    box-shadow: 15px -15px 70px rgb(83, 85, 79);
    mix-blend-mode: difference;
}

.myimage img:hover {
    scale: 1.1;
    transition: var(--transition-medium) ease-in;
}


/* ===== ABOUT SECTION ===== */
#about {
    width: 100%;
    height: 100vh;
    background-color: var(--bg-section);
    padding: var(--section-padding);
    display: flex;
    flex-direction: row-reverse;
}


#about .content2 {
    width: 60%;
    height: 100%;
    padding: 4rem 8% 0 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    list-style-position: inside;
}

#about .content2 h2 {
    width: 54%;
    border-bottom: 3px solid rgb(94, 97, 34);
    border-radius: var(--border-radius);
    padding: 3px 15px;
    font-family: 'Marko One', serif;
    text-decoration: underline;
    font-size: 38px;
    background: linear-gradient(to right, #FCFCFC -8%, #B8B8B8 23%, #8d8d8d 92%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#about .content2 h2:hover {
    transform: rotateX(360deg);
    transition: var(--transition-slow);
}

.skills {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
}


.skillbox {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 2% 3%;
    width: 80px;
    color: rgb(187, 186, 186);
    font-family: 'Marko One', serif;
    background: radial-gradient(circle at 100% 100%, var(--bg-section) 0, var(--bg-section) 5px, transparent 5px) 0% 0%/8px 8px no-repeat,
            radial-gradient(circle at 0 100%, var(--bg-section) 0, var(--bg-section) 5px, transparent 5px) 100% 0%/8px 8px no-repeat,
            radial-gradient(circle at 100% 0, var(--bg-section) 0, var(--bg-section) 5px, transparent 5px) 0% 100%/8px 8px no-repeat,
            radial-gradient(circle at 0 0, var(--bg-section) 0, var(--bg-section) 5px, transparent 5px) 100% 100%/8px 8px no-repeat,
            linear-gradient(var(--bg-section), var(--bg-section)) 50% 50%/calc(100% - 6px) calc(100% - 16px) no-repeat,
            linear-gradient(var(--bg-section), var(--bg-section)) 50% 50%/calc(100% - 16px) calc(100% - 6px) no-repeat,
            linear-gradient(0deg, var(--bg-section) 10%, #6bb5e5 95%, #aa7af6 100%);
    border-radius: 8px;
    padding: 11px;
    box-sizing: content-box;
}

.skillbox img {
    margin-bottom: 2px;
}
.hobbies li {
    list-style: none;
    margin-bottom: 2px;
}

.hobbies li i {
    color: white;
    font-size: 17px;
    margin-right: 7px;
}

/* ===== GUITAR EFFECT ===== */
.guitar {
    padding: 2em;
    width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
}


.box {
    position: relative;
    width: 70%;
    height: 75%;
}

.box-contents {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url('../assets/images/guitar.jpg');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    box-shadow: rgba(127, 101, 49, 0.886) 20px 20px 50px;
    transition: var(--transition-fast) ease;
    border-radius: 60px;
    border: none;
}


.hover-point {
    position: absolute;
    z-index: 2;
    width: calc(100% / 3);
    height: calc(100% / 3);
}

.hover-point:nth-child(1) { top: 0; left: 0; }
.hover-point:nth-child(2) { top: 0; left: calc(100% / 3); }
.hover-point:nth-child(3) { top: 0; right: 0; }
.hover-point:nth-child(4) { top: calc(100% / 3); left: 0; }
.hover-point:nth-child(5) { top: calc(100% / 3); right: 0; }
.hover-point:nth-child(6) { bottom: 0; left: 0; }
.hover-point:nth-child(7) { bottom: 0; left: calc(100% / 3); }
.hover-point:nth-child(8) { bottom: 0; right: 0; }

/* Simplified guitar hover effects */
.hover-point:nth-child(1):hover ~ .box-contents {
    box-shadow: 15px 15px 50px rgba(161, 128, 63, 0.886);
    transform: perspective(1000px) rotateX(10deg) rotateY(-10deg) rotateZ(2deg);
}
.hover-point:nth-child(2):hover ~ .box-contents {
    box-shadow: 0 15px 50px rgba(161, 128, 63, 0.886);
    transform: perspective(1000px) rotateX(10deg);
}
.hover-point:nth-child(3):hover ~ .box-contents {
    box-shadow: -15px 15px 50px rgba(161, 128, 63, 0.886);
    transform: perspective(1000px) rotateX(10deg) rotateY(10deg) rotateZ(-2deg);
}
.hover-point:nth-child(4):hover ~ .box-contents {
    box-shadow: 15px 5px 50px rgba(161, 128, 63, 0.886);
    transform: perspective(1000px) rotateY(-10deg);
}
.hover-point:nth-child(5):hover ~ .box-contents {
    box-shadow: -15px 5px 50px rgba(161, 128, 63, 0.886);
    transform: perspective(1000px) rotateY(10deg);
}
.hover-point:nth-child(6):hover ~ .box-contents {
    box-shadow: 15px -15px 50px rgba(161, 128, 63, 0.886);
    transform: perspective(1000px) rotateX(-10deg) rotateY(-10deg) rotateZ(-2deg);
}
.hover-point:nth-child(7):hover ~ .box-contents {
    box-shadow: 0 -15px 50px rgba(161, 128, 63, 0.886);
    transform: perspective(1000px) rotateX(-10deg);
}
.hover-point:nth-child(8):hover ~ .box-contents {
    box-shadow: -15px -15px 50px rgba(161, 128, 63, 0.886);
    transform: perspective(1000px) rotateX(-10deg) rotateY(10deg) rotateZ(2deg);
}


#about h2 u {
    font-family: 'Marko One', serif;
    background: linear-gradient(
        130deg,
        #c2c2c2f3 20.69%,
        #868686 50.19%,
        #535353 79.69%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: underline white;
    font-size: 2.5rem;
}


.content2 p {
    color: rgb(161, 161, 161);
    font-family: 'Marko One', serif;
    font-size: 1.1rem;
}

.content2 h3 {
    color: rgb(168, 168, 168);
    font-family: 'Marko One', serif;
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

.content2 li {
    color: rgb(161, 161, 161);
    line-height: 1.5rem;
}


/* ===== PROJECTS SECTION ===== */
#projects {
    background-color: var(--bg-projects);
    width: 100%;
    height: 200vh;
    padding: 7rem 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#projects .projectheading h2 {
    text-align: center;
    width: 100%;
    border-bottom: 3px solid rgb(94, 97, 34);
    border-radius: var(--border-radius);
    padding: 3px 15px;
    font-family: 'Marko One', serif;
    text-decoration: underline;
    font-size: 42px;
    background: linear-gradient(to right, #FCFCFC -8%, #B8B8B8 23%, #8d8d8d 92%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 5rem;
}

#projects .projectheading h2:hover {
    transform: rotateX(360deg);
    transition: var(--transition-slow);
}

#projects .projectbox {
    width: 100%;
    height: 100%;
}

/* ===== PROJECT BOX STYLES ===== */
.project-box {
    width: 100%;
    height: 27%;
    margin-bottom: 6rem;
    display: flex;
    flex-direction: row;
}

#projects .projectbox .projectbox1 {
    width: 100%;
    height: 27%;
    margin-bottom: 6rem;
    display: flex;
    flex-direction: row;
}


.project-box-lhs {
    width: 60%;
    height: 100%;
    padding: 1rem 2rem;
    display: grid;
    grid-auto-flow: column;
    scroll-behavior: auto;
    gap: 1.2rem;
    overflow-y: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: mandatory;
    scrollbar-width: none;
    border-right: 3px solid white;
    border-radius: 20px;
    box-shadow: 0px 0px 20px 0px rgba(181,181,181,0.75) inset;
}

#projects .projectbox .projectbox1 .projectbox1lhs {
    width: 60%;
    height: 100%;
    padding: 1rem 2rem;
    display: grid;
    grid-auto-flow: column;
    scroll-behavior: auto;
    gap: 1.2rem;
    overflow-y: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: mandatory;
    scrollbar-width: none;
    border-right: 3px solid white;
    border-radius: 20px;
    box-shadow: 0px 0px 20px 0px rgba(181,181,181,0.75) inset;
}

.project-card {
    width: 580px;
    height: 100%;
    border-radius: var(--border-radius);
}

.projectbox1lhs .projectcard1, 
.projectbox1lhs .projectcard2, 
.projectbox1lhs .projectcard3 {
    width: 580px;
    height: 100%;
    border-radius: var(--border-radius);
}
/* project2 */

/* project 2 end */

.projectbox1lhs .projectcard1 {
    background: url('../assets/images/Screenshot\ \(63\).png');
    background-size: cover;
    background-repeat: no-repeat;
}
.projectbox1lhs .projectcard2 {
    background: url('../assets/images/Screenshot\ \(64\).png');
    background-size: cover;
    background-repeat: no-repeat;
}
.projectbox1lhs .projectcard3 {
    background: url('../assets/images/Screenshot\ \(65\).png');
    background-size: cover;
    background-repeat: no-repeat;
}

.project-box-lhs::-webkit-scrollbar {
    height: 15px;
    width: 90%;
    z-index: -1;
    opacity: 0;
}

.project-box-lhs::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 5px;
}

.project-box-lhs::-webkit-scrollbar-thumb {
    background: rgb(157, 157, 157);
    border-radius: 50px;
}

.projectbox1lhs::-webkit-scrollbar {
    height: 15px;
    width: 90%;
    z-index: -1;
    opacity: 0;
}

.projectbox1lhs::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 5px;
}

.projectbox1lhs::-webkit-scrollbar-thumb {
    background: rgb(157, 157, 157);
    border-radius: 50px;
}

.project-box-rhs {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 40%;
}

.projectbox1 .projectbox1rhs {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 40%;
}

.project-box h2 {
    color: rgb(196, 196, 196);
    font-family: 'Marko One', serif;
    font-weight: 300;
    text-decoration: underline;
    text-align: center;
}

.project-box h2:hover {
    scale: 1.1;
    transition: var(--transition-fast);
}

.projectbox1 h2 {
    color: rgb(196, 196, 196);
    font-family: 'Marko One', serif;
    font-weight: 300;
    text-decoration: underline;
    text-align: center;
}

.projectbox1 h2:hover {
    scale: 1.1;
    transition: var(--transition-fast);
}

.project-box-reading {
    margin-bottom: 20px;
}

.project-box-about p {
    text-align: center;
    color: rgb(175, 175, 175);
}

.projectbox1rhsreading {
    margin-bottom: 20px;
}

.projectbox1rhsabout p {
    text-align: center;
    color: rgb(175, 175, 175);
}

#projects .projectbox .projectbox2 {
    width: 100%;
    height: 27%;
    margin-bottom: 6rem;
    display: flex;
    flex-direction: row;
}

.projectbox2lhs {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 40%;
}

.projectbox2lhsreading {
    margin-bottom: 20px;
}

.projectbox2lhsreading h2 {
    color: rgb(196, 196, 196);
    font-family: 'Marko One', serif;
    font-weight: 300;
    text-decoration: underline;
    text-align: center;
}

.projectbox2lhsreading h2:hover {
    scale: 1.1;
    transition: var(--transition-fast);
}

.projectbox2lhsabout p {
    text-align: center;
    color: rgb(175, 175, 175);
}

#projects .projectbox .projectbox2 .projectbox2rhs{
    width: 60%;
    height: 100%;
    padding: 2rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    display: grid;
    grid-auto-flow: column;
    scroll-behavior: auto;
    gap: 1.2rem;
    overflow-y: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: mandatory;
    scrollbar-width: none;
    border-left: 3px solid white;
    border-radius: 20px;
    box-shadow: 0px 0px 20px 0px rgba(181,181,181,0.75) inset;
}

.projectbox2rhs .projectcard21, .projectcard22, .projectcard23{
    width: 580px;
    height: 100%;
    border-radius: 10px;
}


.projectbox2rhs .projectcard21{
    background: url('../assets/images/Screenshot\ \(61\).png');
    background-size: cover;
    background-repeat: no-repeat;
    
}
.projectbox2rhs .projectcard22{
    background: url('../assets/images/Screenshot\ \(59\).png');
    background-size: cover;
    background-repeat: no-repeat;
}
.projectbox2rhs .projectcard23{
    background: url('../assets/images/Screenshot\ \(62\).png');
    background-size: cover;
    background-repeat: no-repeat;
}

.projectbox2rhs::-webkit-scrollbar{
    height: 15px;
    width: 90%;
}

.projectbox2rhs::-webkit-scrollbar-track{
    background: rgb(73, 73, 73);
    background: transparent;
    border-radius: 5px;
}

.projectbox2rhs::-webkit-scrollbar-thumb{
    background: rgb(157, 157, 157);
    border-radius: 50px;
}


/* Project3 */
#projects .projectbox .projectbox3{
    width: 100%;
    height: 27%;
    display: flex;
    flex-direction: row;
}


#projects .projectbox .projectbox3 .projectbox3lhs{
    width: 60%;
    height: 100%;
    padding: 2rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    display: grid;
    grid-auto-flow: column;
    scroll-behavior: auto;
    gap: 1.2rem;
    overflow-y: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: mandatory;
    scrollbar-width: none;
    border-right: 3px solid white;
    border-radius: 20px;
    box-shadow: 0px 0px 20px 0px rgba(181,181,181,0.75) inset;
}

.projectbox3lhs .projectcard31, .projectcard32, .projectcard33{
    width: 580px;
    height: 100%;
    border-radius: 10px;
}
/* project2 */

/* project 2 end */

.projectbox3lhs .projectcard31{
    background: url('../assets/images/Screenshot\ \(67\).png');
    background-size: cover;
    background-repeat: no-repeat;
    
}
.projectbox3lhs .projectcard32{
    background: url('../assets/images/Screenshot\ \(68\).png');
    background-size: cover;
    background-repeat: no-repeat;
}
.projectbox3lhs .projectcard33{
    background: url('../assets/images/Screenshot\ \(69\).png');
    background-size: cover;
    background-repeat: no-repeat;
}

.projectbox3lhs::-webkit-scrollbar{
    height: 15px;
    width: 90%;
    z-index: -1;
    opacity: 0;
}

.projectbox3lhs::-webkit-scrollbar-track{
    background: rgb(73, 73, 73);
    background: transparent;
    border-radius: 5px;
}

.projectbox3lhs::-webkit-scrollbar-thumb{
    background: rgb(157, 157, 157);
    border-radius: 50px;
}

.projectbox3 .projectbox3rhs{
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center ;
    width: 40%;
}

.projectbox3 h2{
    color: rgb(196, 196, 196);
    font-family: 'Marko One', serif;
    font-weight: 300;
    text-decoration: underline;
    text-align: center;
}

.projectbox3 h2:hover{
    scale: 1.1;
    transition: .5s;
}

.projectbox3rhsreading{
    margin-bottom: 20px;
}

.projectbox3rhsabout p{
    text-align: center;
    color: rgb(175, 175, 175);
}

/* ===== CONTACT SECTION ===== */
#contactme {
    display: flex;
    flex-direction: row;
    height: 64vh;
    padding: 20px;
    width: 100%;
    background-color: var(--bg-contact);
}


#contactme .contacthandles {
    width: 50%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}


.socialmedia {
    width: 50%;
    height: 80%;
    padding: 4%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 1rem;
    border-right: 2px solid white;
    border-radius: 20px;
}


.socialmedia i {
    margin: 1%;
    color: rgb(216, 199, 165);
    font-size: 2rem;
    cursor: pointer;
}

.socialmedia i:hover {
    scale: 1.1;
    transition: 0.3s ease-in-out;
}

.socialmedia a {
    font-size: 1rem;
    color: rgb(255, 240, 240);
}


.physical {
    width: 50%;
    height: 80%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4% 9%;
    border-left: 2px solid white;
    border-radius: 20px;
}


.physical i {
    margin: 3% 1%;
    color: rgb(216, 199, 165);
    cursor: pointer;
}

.physical i:hover {
    scale: 1.1;
    transition: 0.3s ease-in-out;
}

.physical a {
    font-size: 1rem;
    color: rgb(255, 240, 240);
}


.contactform {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}


.container5 {
    position: relative;
    z-index: 1000;
    width: 63%;
    height: 95%;
    padding: 15px 25px;
    background: rgba(210, 210, 210, 0.2);
    color: black;
    border-radius: 30px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
}


form {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    justify-content: center;
}

/* Animated gradient border effect */
.container5 {
    --borderWidth: 7px;
    background: #1D1F20;
    position: relative;
    border-radius: 5px 40px 5px 40px;
}

.container5:after {
    content: '';
    position: absolute;
    top: calc(-1 * var(--borderWidth));
    height: calc(100% + var(--borderWidth) * 2);
    width: calc(100% + var(--borderWidth) * 2);
    background: linear-gradient(50deg, rgb(234, 234, 234), #d5d5d5, #a7a7a7, #626262, #444444, #3b3b3b, #191919, #000000);
    border-radius: calc(2 * var(--borderWidth));
    z-index: -1;
    animation: animatedgradient 4s ease alternate infinite;
    background-size: 300% 300%;
}

@keyframes animatedgradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}



.container5 h2 {
    text-align: center;
    font-family: 'Marko One', serif;
    color: wheat;
    font-size: 28px;
    margin-bottom: 25px;
}


.container5 .row100 {
    position: relative;
    width: 85%;
}

.container5 .row100 .col {
    position: relative;
    width: 100%;
    padding: 0 10px;
    margin: 13px 0 30px;
}


.container5 .row100 .col .inputBox {
    position: relative;
    width: 100%;
    height: 40px;
    color: rgb(44, 44, 44);
    font-size: 1.2rem;
    font-weight: 500;
}


.container5 .row100 .col .inputBox input,
.container5 .row100 .col .inputBox textarea {
    position: absolute;
    width: 100%;
    height: 100%;
    background: transparent;
    box-shadow: none;
    border: none;
    outline: none;
    font-size: 15px;
    padding: 0 10px;
    z-index: 1;
    color: rgb(0, 0, 0);
}


.container5 .row100 .col .inputBox .text {
    position: absolute;
    top: 0;
    left: 0;
    line-height: 40px;
    font-size: 18px;
    padding: 0 10px;
    display: block;
    transition: var(--transition-fast);
    pointer-events: none;
    color: #000000;
}


.container5 .row100 .col .inputBox input:focus + .text,
.container5 .row100 .col .inputBox input:valid + .text,
.container5 .row100 .col .inputBox textarea:focus + .text,
.container5 .row100 .col .inputBox textarea:valid + .text {
    top: -35px;
    left: -10px;
}


.container5 .row100 .col .inputBox .line {
    position: absolute;
    bottom: 0;
    display: block;
    width: 100%;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.5);
    transition: var(--transition-fast);
    border-radius: 7px;
    pointer-events: none;
}


.container5 .row100 .col .inputBox input:focus ~ .line,
.container5 .row100 .col .inputBox input:valid ~ .line {
    height: 100%;
}


.container5 .row100 .col .inputBox .textarea {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 10px 0;
}

.container5 .row100 .col .inputBox textarea:focus ~ .line,
.container5 .row100 .col .inputBox textarea:valid ~ .line {
    height: 100%;
}


form .btn1 {
    width: 30%;
    margin-top: -2%;
    color: black;
    font-size: 18px;
    text-transform: uppercase;
    border-radius: 0px 0px 30px 30px;
    display: inline-block;
    background: wheat;
    border: none;
    cursor: pointer;
    font-family: 'Marko One', serif;
    padding: 2px 5px;
}

form .btn1:hover {
    scale: 1.1;
    transition: var(--transition-fast) linear;
}


@media (max-width: 767px){                  /* Responsive Contact form*/

    #contactme::before{
        transform: translate(-200px,-180px);
    }
    #contactme::after{
        transform: translate(220px,180px);
    }

    .container5{
        padding: 20px;

    }

    .container5 h2{
        font-size: 28px;
    }
}
