/* Default (Light Mode) Theme */
:root {
    --primary: #FCA311;
    --accent: #14213D;
    --secondary-accent: #3D4A73;
    --bg: #FFFFFF;
    --secondary-bg: #E5E5E5;
    --text: #14213D;
    --secondary-text: #E5E5E5;
    --tertiary-text: #FCA311;
    --secondary-buttons: #1F1F1F
}

/* Dark Mode Theme */
[data-theme="dark"] {
    --primary: #FCA311;
    --accent: #14213D;
    --secondary-accent: #3D4A73;
    --bg: #000000;
    --secondary-bg: #1F1F1F;
    --text: #FFFFFF;
    --secondary-text: #E5E5E5;
    --tertiary-text: #FCA311;
    --secondary-buttons: #1F1F1F;
}

/*********************************************************************************************/

/* Hero Section Sidebar */

.navigation-bar {
    display: flex;
    align-content: center;
    justify-content: left;
    background-color: var(--accent);
    box-sizing: border-box;
    z-index: 10;
}

.navigation-bar .nav-bar-item {
    color: var(--primary);
    padding: 1em;
    font-size: 1.3em;
    font-weight: bold;
    width: 11.66rem;
    text-align: center;
}


body {
    background-color: var(--accent);
    color: var(--text);
    font-family: Arial, sans-serif;
    margin: 0;
    overflow: hidden;
}

.hero-page-container{
    display: grid;
    grid-template-columns: 560px 2fr;
    height: 100vh;
}

.hero-section-sidebar {
    background-color: var(--accent);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 1em;
    height: 100%;
    box-sizing: border-box;

    h3 {
        font-weight: bolder;
        color: var(--primary);
    }

    i {
        width: 160px;
        text-align: left;
    }
}

.hero-section-sidebar-main-content i{
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: white;
}

.hero-section-sidebar .social-media-icons {
    display: flex;
    gap: 20px;
    align-items: center;

    [class*="bi "] {
        width: 30px;
        height: 33px;
    }

    .bi-youtube {
        width: 40px;
        height: 35px;
    }
}

.profile-picture {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--primary);
    margin-top: -25px;
}

.profile-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.key-skills-svgs-container {
    display: flex;
    justify-content: center;
    width: 55%;
}

.key-skills-svgs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-items: auto;
    row-gap: 3rem;
    column-gap: 3rem;
}

.key-skills-svgs-item{
    border-radius: 10px;
}

.key-skills-svgs img {
    transition: 0.2s ease, font-size 0.1s ease;
}

.key-skills-svgs img:hover {
    transform: scale(1.05); /* Slightly increase the size */
    box-shadow: 0 4px 8px var(--primary);
    border-radius: 10px;
}

/***********************************************************************************/

/* Hero Section Main Content */
.hero-section-main-content-container {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section-item {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-section-item .hero-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-section-item .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    transition: filter 0.3s ease;
}

.hero-text{
    position: absolute;
    top: 50%;
    left: 40%;
    transform: translate(-50%, -50%);
    transition: 0.3s ease, font-size 0.3s ease;
    row-gap: 3rem;
}

.hero-text .hero-cta-items h1{
    color: black;
    font-size: 3rem;
    font-weight: 900;
    text-shadow: 3px 2px 4px black;
    max-width: 950px;
}

.hero-text .hero-cta-items h2{
    color: black;
    margin-top: 0;
    max-width: 1024px;
}

.hero-section-item:hover .hero-text {
    transform: translate(-50%, -50%) scale(1.02);
}

.hero-section-item:hover .hero-image {
    filter: blur(1.2px);
}

.hero-cta-items {
    display: flex;
    flex-direction: column;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    max-width: 1024px;
}

.cta-buttons-links {
    height: 100%;
    width: 100%;
}

.cta-buttons .cta-buttons-links button {
    cursor: pointer;
    background-color: var(--accent);
    color: var(--primary);
    border: none;
    padding: 0.5em 1em;
    width: 90%;
    height: 50px;
    border-radius: 5px;
    font-weight: bold;
    letter-spacing: 0.05em;
    transition: 0.3s ease, font-size 0.1s ease;
}

.cta-buttons button:hover {
    transform: scale(1.05); /* Slightly increase the size */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add a shadow */
    background: var(--primary);
    color: var(--accent)
}

.cta-buttons button:active {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    transform: translateY(1px);
}

@media (max-width: 1075px){
    body {
        overflow: auto;
        -webkit-overflow-scrolling: touch;
        background-color: var(--accent);
    }

    .hero-page-container {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: auto;
    }

    .hero-section-sidebar {
        height: auto;
        width: 100%;
        padding: 1em;
        align-items: center;
    }

    .profile-picture{
        width: 150px;
        height: 150px;
    }

    .hero-section-main-content-container {
        width: 100%;
    }

    .hero-section-item{
        height: auto;
    }

    .hero-section-item .hero-image img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .hero-section-item:hover .hero-image {
        filter: none;
    }

    .hero-section-item:hover .hero-text {
        transform: none;
    }

    .hero-text {
        position: static;
        transform: none;
        transition: none;
        margin-top: 1em;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2rem;
        color: var(--tertiary-text);
    }

    .hero-text h2 {
        font-size: 1rem;
        color: var(--secondary-text);
    }
    .about-section-hero-image {
        object-fit: scale-down;
    }

    .navigation-bar {
        flex-wrap: wrap;
        justify-content: center;
    }

    .navigation-bar .nav-bar-item {
        font-size: 1rem;
        padding: 0.5em;
    }

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

    .hero-text .hero-cta-items h1 {
        color: var(--primary);
    }

    .hero-text .hero-cta-items h2 {
        color: white;
    }

    .cta-buttons .cta-buttons-links button {
        background-color: var(--secondary-buttons);
    }

    .cta-buttons button:hover {
        transform: scale(1.05); /* Slightly increase the size */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add a shadow */
        background: var(--bg);
        color: var(--accent)
    }
}

.navigation-bar a {
    color: var(--accent);
    text-decoration: none;
    transition: box-shadow 0.3s;
}

.navigation-bar a:hover {
    box-shadow: inset 0 -5px 0 #FCA311;
}

a svg {
    transition: fill 0.3s ease;
}

a svg:hover.bi-linkedin {
    fill: #0e76a8;
}

a svg:hover.bi-youtube {
    fill: #FF0000;
}

a svg:hover.bi-github{
    fill: black;
}

h1 {
    color: var(--text);
    font-size: 1.9rem;
}

h2 {
    color: var(--text);
    font-size: 1.4rem;
    font-weight: bolder;
}

h3 {
    color: var(--text);
    font-size: 1.2rem;
    font-weight: lighter;
    max-height: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

i {
    font-weight: lighter;
    font-size: small;
}


/* To make something proportional, thing/the whole media * 100 is the percent it should take up */
