/* --Foundation-- */
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    position: relative;
    font-style: normal;
    font-size: 16px;
    color: #ff2a2a;
    box-sizing: border-box;
    background-color: #000000;
    box-sizing: border-box;
    font-family: Helvetica;
}

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.gugi-regular {
  font-family: "Gugi", sans-serif;
  font-weight: 400;
  font-style: normal;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
}

h1 {
    font-weight: 600;
    min-height: 50px;
    display: flex;
    align-items: center;
    font-family: "Gugi", sans-serif;
    
}

h2 {
    font-size: 1.5em;
    font-weight: 700;
    padding-bottom: 30px;
    font-family: "Gugi", sans-serif;
}

h3 {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1;
    font-family: "Gugi", sans-serif;
}

p {
    line-height: 1.5;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
}

a {
    font-family: "Gugi", sans-serif;
    text-decoration: none;
    color: inherit;
    transition: color .3s, transform .3s;
    font-weight: 400;
    color: #ffffff;
}

a span {
    display: inline-block;
    transition: transform .3s;
}

a:hover {
    color: #969ca0;
}

a:hover span {
    transform: translateX(5px);
}

.nav-link {
    font-size: 1.25rem; /* or px if you prefer */
    font-weight: 500;   /* optional: makes it look better */
}




/* Typography Media Queries */
@media only screen and (min-width: 800px) {
    body {
        font-size: 16px;
    }

    h2 {
        font-size: 3vw;
    }
}

@media only screen and (min-width: 1500px) {
    body {
        font-size: 18px;
    }

    h2 {
        font-size: 3.75vw;
    }
}


/* Layout */
section {
    box-sizing: border-box;
    position: relative;
    padding: 75px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    overflow: hidden;
}

.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    margin-bottom: 50px;
    
}

.col-left {
    margin: auto;
    margin-bottom: 35px;
}

.col-right {
    margin: auto;
    margin-bottom: 35px;
}

.auto-width {
    width: 80%;
}

.col-30,
.col-40,
.col-50,
.col-60,
.col-80 {
    width: 80%;
}

.full-width {
    width: 100%;
}

.margin-auto {
    margin: auto;
}

.center-text {
    text-align: center;
}

/* BUTTONS */
    /* CONTACT BUTTON */
        .contact-button{
            padding: 10px 22px;
            background-color: #FF1F37;
            border-radius: 8px;
            font-weight: 600;
            display: inline-block; /* makes spacing consistent */
            transition: background .3s, color .3s, transform .3s;
            color: #ffffff;
        }

        .contact-button:hover {
            background: #ff2a2a;
            color: #000;
            transform: translateY(-1px); /* optional micro-animation */
            transform: scale(1.05);
        }
    /* 3D SECTION BUTTON*/
    /* 2D SECTION BUTTON */
    /* MOTION GRAPHICS SECTION BUTTON */

/* Layout Media Queries */
@media only screen and (min-width: 800px) {
    section {
        flex-direction: row;
    }

    section.flex-reverse {
        flex-direction: row-reverse;
    }

    .col-left {
        margin: auto;
        margin-left: 10%;
        margin-right: 5%;
    }

    .col-right {
        margin: auto;
        margin-right: 10%;
        margin-left: 5%;
    }

    .auto-width {
        width: auto;
    }

    .col-30 {
        width: 30%;
        
    }

    .col-40 {
        width: 40%;
    }

    .col-50 {
        width: 50%;
    }

    .col-60 {
        width: 60%;
    }

}

@media screen and (min-width: 1025px) {
    section.full-height {
        min-height: 100vh;
        padding: 100px 0;
    }
}




/* Header & Navigation */
header {
    box-sizing: border-box;
    position: fixed;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
    z-index: 998;
    font-size: 1.1em;
    background-color: #1C1C1C;
    transition: all .3s;
}

/*Mobile Menu & Button Animation*/
.mobile-nav-input {
    display: none;
}

.menu--1 label {
    display: block;
    cursor: pointer;
    position: fixed;
    width: 25vw;
    height: 25vw;
    max-width: 80px;
    max-height: 80px;
    top: -5px;
    right: 0;
    z-index: 998;
    padding: 0 10px;
}

.menu--1 path {
    fill: none;
    stroke: #ffffff;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    --length: 24;
    --offset: -38;
    stroke-dasharray: var(--length) var(--total-length);
    stroke-dashoffset: var(--offset);
    transition: all .8s cubic-bezier(.645, .045, .355, 1);
}

.menu--1 circle {
    fill: #fff3;
    opacity: 0;
}

.menu--1 label:hover circle {
    opacity: 1;
}

.cross input:checked+svg .line--1,
.cross input:checked+svg .line--3 {
    --length: 22.627416998;
}

.cross input:checked+svg .line--2 {
    --length: 0;
}

.back input:checked+svg .line--1,
.back input:checked+svg .line--3 {
    --length: 8.602325267;
}


.menu--1 .line--1,
.menu--1 .line--3 {
    --total-length: 126.64183044433594;
}

.menu--1 .line--2 {
    --total-length: 70;
}

.menu--1 input:checked+svg .line--1,
.menu--1 input:checked+svg .line--3 {
    --offset: -94.1149185097;
}

.menu--1 input:checked+svg .line--2 {
    --offset: -50;
}

nav a {
    margin-right: 0;
    margin-bottom: 35px;
}

nav a:last-of-type {
    margin-right: 0;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    right: -110%;
    flex-direction: column;
    z-index: 997;
    height: 100vh;
    width: 100vw;
    background-color: #1C1C1C;
    transition: right 1s;
    font-size: 2em;
    opacity: 1;
    font-weight: 600;
}

.show-nav-mob {
    right: 0;
}

.overflow-mob {
    width: 110%;
}

/* Mobile Menu Media Queries */
@media screen and (min-width: 800px) {
    .menu--1 {
        display: none;
    }

    nav {
        float: right;
        position: fixed;
        right: 0;
        top: 15px;
        width: 50%;
        padding: 10px 30px;
        background-color: transparent;
        z-index: 999;
        height: auto;
        width: auto;
        flex-direction: row;
        font-size: 1em;
    }

    nav a {
        margin-right: 35px;
        margin-bottom: 0;
    }

    nav a:last-of-type {
        margin-right: 0;
    }

    .overflow-mob {
        width: 40%;
    }
}

/* INTRO SECTION*/

#section-1{
    h3{
        text-decoration: underline solid red 6px;
    }
}
/* SKILLS SECTION*/
.skills-card-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);  /* 3 equal columns */
    gap: 30px;
    max-width: 2000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.card {
    background: #111;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    color: white;
    box-shadow: 0 0 0 3px #B256FF;
    display: flex;
    flex-direction: column;
    gap: 15px;
}


/* Makes all iframes equal height & responsive */
.card iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 10px;
}


#threed-animate-card{
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 0 0 3px #B256FF; /* creates a colored outline */
        h3{
        color: #B256FF;
    }
}

#twod-animate-card{
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 0 0 3px #FFD84A; /* creates a colored outline */
    h3{
        color: #FFD84A;
    }

}

#video-card{
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 0 0 3px #FD30FF; /* creates a colored outline */
        h3{
        color: #FD30FF;
    }

}
@media (max-width: 800px) {
    .skills-card-container {
        grid-template-columns: 1fr;
    }
}
/* END OF SKILLS SECTION*/


/* ABOUT PAGE*/
#about-section {
    flex-direction: column;  
    gap: 40px;
}

#about-section.col-left,
#about-section .col-right {
    margin: 0 !important; /* override the template safely */
}

#about-section .col-right img {
    border-radius: 15px;
    border: 5px solid red;
    width: 100%;
    height: auto;
    display: block;
}
@media only screen and (min-width: 800px) {
#about-section, #hire-and-software-lists {
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
    }

#about-section .col-left {
        width: 40%;
    }

#about-section .col-right {
        width: 30%;
    }
}
/* END OF ABOUT PAGE*/

/* Contact page layout */
#contact-section {
    text-align: center;
    padding-top: 150px; /* avoids overlap with fixed header */
    gap: 50px;
}

#contact-section h3 {
    margin-bottom: 15px;
    font-family: "Gugi", sans-serif;
}

#contact-section a.contact-button {
    display: inline-block;
    margin-top: 10px;
}

/* Footer */
footer {
    display: flex;
    align-items: center;
    padding: 30px;
    margin-top: 100px;
    background-color: #191A1E;
    color: #fff;
}

.linkedin-btn {
    position: relative;
    width: 35px !important;
    height: 35px;
    z-index: 20;
    background: url("../img/ico-linkedin-light.svg") no-repeat;
    transition: all .25s ease-in-out;
    margin-right: 30px;
}

.twitter-btn {
    position: relative;
    width: 35px !important;
    height: 35px;
    z-index: 20;
    background: url("../img/ico-twitter-light.svg") no-repeat;
    transition: all .25s ease-in-out;
}

#copyright {
    margin-left: auto;
    margin-bottom: 0;
    font-size: .85em;
}