html {
    background: black;
    overflow-x: hidden;
    height: 100%;
}

body {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: black;
    line-height: 1.6;
    height: 100vh;
}

h1 {
    font-size: 2rem;
    line-height: 2.3rem;
    letter-spacing: 0.5px;
    color: white;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    height: fit-content;
    margin: 0px
}

h2 {
    font-size: 1.8rem;
    line-height: 2.1rem;
    letter-spacing: 0.7px;
    color: white;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    height: fit-content;
    margin: 0px
}

h3 {
    font-size: 1.4rem;
    line-height: 1.8rem;
    letter-spacing: 0.5px;
    color: white;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    height: fit-content;
    margin: 0px
}

h4 {
    font-size: 1rem;
    line-height: 1.6rem;
    letter-spacing: 0.5px;
    color: white;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    height: fit-content;
    margin: 0px
}

p {
    font-size: 1rem;
    line-height: 1.3rem;
    height:fit-content;
    letter-spacing: 0.5px;
    color: white;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0px;
    max-width: 100%;
}

i {
    font-size: 1rem;
    line-height: 1.3rem;
    height:fit-content;
    letter-spacing: 0.5px;
    color: #006300;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0px;
}

a {
    text-decoration: none;
    color: inherit;
}

.giant_txt {
    font-size: 2.5rem;
    line-height: 3rem;
    height:fit-content;
    letter-spacing: 0.5px;
    color: white;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bold;
    margin: 0px;
    max-width: 100%;
}

.text-wrapper {
    text-align: left;
    width: auto;
    max-width: 1000px;
    display: flex;
    flex-flow: column;
    justify-content: flex-start;
    grid-row-gap: 1rem;
    height: fit-content;
}

.text-wrapper-center {
    text-align: center;
    width: auto;
    max-width: 1000px;
    display: flex;
    flex-flow: column;
    grid-row-gap: 1rem;
    height: fit-content;
}

.hero-social-link {
    color: white;
    transition: color 0.3s ease;
}

.hero-social-link svg {
    transition: transform 0.3s ease;
}

.hero-social-link:hover svg {
    transform: scale(1.1); /* optional subtle zoom */
}


.centered-section {
    position:relative;
    display: flex;
    flex-flow: column;
    grid-row-gap: 2rem;
    margin-top:auto;
    margin-left: 2rem;
    margin-right: 2rem;
    z-index: 5;
    padding: 2rem;
    width: auto;
    max-width: 1000px;
    background-color: rgba(0%, 0%, 0%, .5);
    align-items: left;
    border-radius: 1rem;
    border-color: #006300;
    border-width: 20px;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}
/* glow border */
.centered-section::after {
    content: "";
    position: absolute;
    inset: -3px;                 /* controls glow size */
    border-radius: inherit;
    border: 2px solid #006300;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* hover effect */
.centered-section:hover::after {
    opacity: 1;
}

.centered-section:hover {
    transform: translateY(-6px);
}

.copyright-section {
    position:relative;
    display: flex;
    flex-flow: column;
    margin-top:auto;
    margin-left: auto;
    margin-right: auto;
    z-index: 5;
    padding: 1rem;
    width: 90svw;
    max-width: 1000px;
    background-color: rgba(0%, 0%, 0%, .5);
    align-items: center;
    border-radius: 1rem;
    margin-bottom: 2rem;
}

.centered-section-header {
    position:relative;
    display: flex;
    flex-flow: column;
    grid-row-gap: 1rem;
    margin-top:auto;
    margin-left: 2rem;
    margin-right: 2rem;
    z-index: 5;
    padding: 2rem;
    width: auto;
    max-width: 1000px;
    border-color: #006300;
    border-width: 20px;
    background-color: rgba(0%, 0%, 0%, .5);
    align-items: center;
    border-radius: 1rem;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

/* glow border */
.centered-section-header::after {
    content: "";
    position: absolute;
    inset: -3px;                 /* controls glow size */
    border-radius: inherit;
    border: 2px solid #006300;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* hover effect */
.centered-section-header:hover::after {
    opacity: 1; 
}

.centered-section-header:hover {
    transform: translateY(-6px);
}

.experience-wrapper {
    text-align: left;
    width: auto;
    max-width: 1000px;
    display: flex;
    flex-flow: column;
    justify-content: flex-start;
    grid-row-gap: 0.5rem;
    height: fit-content;
    margin-bottom: 1.5rem;
}

.separator {
    background-color: gray;
    padding-top: 2px;
    width: 100%;
}

.social-wrapper {
    display:flex;
    flex-flow:row;
    align-items: center;
    grid-row-gap: 2rem;
    gap: 2rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    width:auto;

}

.navbar {
    position: absolute;
    top: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 1rem 0;
    z-index: 10;
}

#Matrix {
    position: fixed;
    top: 0px;
    width: 100vw;
    height: 100vh;
    z-index: 0;
}

.me-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1rem;
}

.section_bg_github {
    height: auto;
    min-height: 200px;
    width: auto;
    max-width: 1000px;
    display: flex;
    align-items: center;
    justify-content: center;

    background-image: url("images/github_code3.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.section_bg_medium {
    height: auto;
    min-height: 200px;
    width: auto;
    max-width: 1000px;
    display: flex;
    align-items: center;
    justify-content: center;

    background-image: url("images/medium_cover.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.header-desc {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.2rem;
}