:root {
    --color-spash: rgb(60, 110, 210);
    --color-section-bg: #F9F9F9;
};

/*FONTS*/

@font-face {
    font-family: mesveda-bold;
    src: url(fonts/Mesveda-Bold.otf)
}

@font-face {
    font-family: mesveda-light;
    src: url(fonts/Mesveda-Light.otf);
}

@font-face {
    font-family: mesveda-medium;
    src: url(fonts/Mesveda-Medium.otf);
}

/*RESET*/
*, *::before, *::after{
    margin: 0;
    padding: 0;
    list-style: none;
}

.link-style,
.link-style:visited{
    text-decoration: none;
    color: white;
    font-family: mesveda-light;
}

.link-style-page,
link-style-page:visited{
    text-decoration: none;
    color: var(--color-spash);
}

/*HERO SECTION*/

.hero-section{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(img/hero_a3.jpg);
    background-size: cover;
}

/*NAVIGATION*/

.nav-bar{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    background-color: rgba(0, 0, 0, .6);
    justify-content: center;
    overflow: hidden;
    width: 100%;
    z-index: 1000;
    overflow: visible;
    height: 3.5rem;
}

.nav-container{
    display: flex;
    gap: 4rem;
    margin: 0rem 2rem;
    font-size: 1.3rem;
    color: white;
}

.hero-content{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 80px;
    text-align: center;
}

.avatar-img{
    height: 250px;
    margin: 20px;
}

.quote-container{
    padding: 200px;
    margin: 0px 200px;
}

.quote{
    justify-items: center;
    color: white;
    font-size: 1.6rem;
    font-family: mesveda-light;
    width: 100%;
}

#name{
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.icon_container{
    padding: 10px;
}

.social-media-icon{
    width: 40px;
    margin: 3px;
}

.nav-item{
    flex-grow: 1;
}

/*SECTION*/

.section{
    padding: 3rem 0;
    text-align: center;
}

.section-title{
    display: inline-block;
    position: relative;
    font-size: 3rem;
    font-family: mesveda-medium;
    margin-top: .3rem;
}

.section-icons{
    height: 120px;
}

.section-odd{
    background-color: var(--color-section-bg);
}

.color-splash{
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: black;
    z-index:1;
}

.section-main-text{
    font-size: 1.2rem;
    font-family: mesveda-light;
    line-height: 1.8;
    padding: .8rem 3rem;
    margin: 0 8rem;
}

.section-subtitle{
    font-family: mesveda-medium;
}

.sub-title-box{
    margin-top: 1.3rem;
}

.about-section-grid-container{
    width: 75%;
    display: grid;
    grid-template-columns: 25% 25% 25%;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    column-gap: 80px;
}

.main-text{
    text-align: left;
}

.grid-item{
    padding: 30px;
}

.overview-text{
    font-family: mesveda-light;
    font-size: 1.3rem;
}

.overview-data{
    font-family: mesveda-medium;
    font-size: 2.8rem;
    font-weight: 800;
    padding-top:8px;
}

.education-section-grid-container{
    display: grid;
    width: 90%;
    margin: 0 auto;
    justify-content: center;
    grid-template-columns: 25% 25% 25% 25%;
}


.university-logo{
    width: 100%;
}

.university-name{
    font-size: 1.2rem;
    font-family: mesveda-medium;
    font-weight: 500;
    padding: 5px;
}

.degree-type, .degree-name{
    font-size: 99%;
    font-family: mesveda-light;
    padding: 2px;
}

.degree-year{
    font-family: mesveda-light;
    font-size: .8rem;
}

.course-list{
    padding-top: 10px;
}

.skills-section-grid-container{
    display: grid;
    grid-template-columns: 30% 30%;
    justify-content: center;
    align-items: start;
    column-gap: 4%;
}

.skill-icon-container{
    margin:0;
    text-align: center; 
    margin-top: 50px;
}

.skill-icon{
    width: 100px;
}

.skill-title{
    font-size: 1.2rem;
    font-family: mesveda-light;
}

.skill-list{
    display: flex;
    font-family: mesveda-light;
    font-size: 1.2rem;
    line-height: 2.2rem;
    text-align: left;
    justify-content: center;
    margin-top: 10px;
    margin: 10px auto;
}

.footer{
    display: flex;
    justify-content: center;
    padding: 2rem;
    border-top: 1px solid black;
    font-family: mesveda-light;
    
}

.big-grid{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.skill-list-2{
    display: grid; /* Use CSS Grid for the list layout */
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Create responsive columns for lists */
    gap: 20px; /* Space between grid items */
    justify-content: center; /* Center grid items horizontally */
    width: 100%; /* Ensure the grid takes up the full width of its container */
}

.left-column{
    margin-right: 50px;
}

.left-column-b{
    margin-right: 150px;
}

.language-level{
    
    font-size: 1rem;
    line-height: 1.1rem;
    text-indent: 1.2rem;
}


.center{
    text-align: center;
}

.timeline-container{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
    width: 80%;
    margin: 50px auto;
}

.line{
    width: 2px;
    height: 100%;    
    background-color: gainsboro;
    position: absolute;
    top: 0;
}

.box{
    width: 50%;
    position: relative;
    line-height: 1.8rem;
}

.inner-container-right{
    width: 30%;
    margin-left: auto;
}


.inner-container-left{
    width: 30%;
    margin-right: auto;
    
}

.box-right{
    margin-left: auto;
}

.box-left{
    margin-right: auto;
}

.award-year{
    font-size: 1.5rem;
}

.award-organization{
    font-family: mesveda-light;
}

.award-title{
    font-family: mesveda-light;
}

.horizontal-line-right{
    width: 65%;
    height: 2px;
    background-color: gainsboro;
    position:absolute;
    top: 50%;
    bottom: 50%;
    left: 0;
    transform: translateY(-50%);
    stroke-linecap: round;
}

.horizontal-line-left{
    width: 65%;
    height: 2px;
    background-color: gainsboro;
    position:absolute;
    top: 50%;
    bottom: 50%;
    right: 0;
    transform: translateY(-50%);
    stroke-linecap: round;
}

.inner-list{
    margin-left: 10px;
}

#row-title{
    font-family: mesveda-light;
    font-size:2rem;
}

.title-box{
    z-index: -5;
}

.project-section-grid-container{
    padding-top: 1.5rem;
    display: grid;
    grid-template-columns: 18% 18% 18% 18% 18%;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    column-gap: 0px;
    row-gap: 1rem;
}

.project-btn{
    width: 90%;
    background-color: #FFFFFF;
    outline: 1px solid black;
    height: 2.5rem;
    line-height: 2.7rem;
    border-radius: 6px;
    font-family: mesveda-light;
}

.project-btn:hover{
    background-color: black;
    color: white;
    cursor: pointer;
}

.selected-project{
    background-color: pink;
}

.artifact{
    margin-top: 40px;
}

.video-frame{
    margin-top: 15px;
    width: 50%;
    height: 500px;
}

.video-text{
    margin-top: 15px;
    font-family: mesveda-light;
    font-size: 1.4rem;
    text-align: center;
    margin-left: 20px;
    margin-right: 20px;
}

.ed-logo{
    width: 400px;
}
 /* ANIMATIONS */

.link-style:hover{
    color: var(--color-spash);
    transition: color .3s
}

/*Hamburger Menu */
.hamburger-menu {
    display: none; /* Hidden by default */
    font-size: 30px; /* Size of the hamburger icon */
    color: white; /* Icon color */
    background: none;
    background-color: rgba(0, 0, 0, 0.425);
    padding: .3rem 1rem .8rem  1rem;
    border: none;
    cursor: pointer;
}

.menu-items {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin: 1rem 2rem;
    padding: 1rem;
    font-size: 1.3rem;
    color: white;
}

.project-container {
    padding-top: 3rem;
    width: 80%;
    height: 100%;
    margin: 0 auto;   
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-video {
    display: block; 
    max-width: 100%; 
    height: auto; 
    margin: auto;
}

.learn-more-btn{
    width: 6rem;
    margin: 0 auto;
}

.contact-me-section{
    display: flex; 
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.contact-me-form-container{
    display: flex;
    flex-direction: column;
    gap: 2rem;
    font-family: 'mesveda-light';
}

.contact-me{
    display: block;
    width: 400px;
    height: 150px;
    font-family: 'mesveda-medium';
    padding: .8rem;
    color:rgb(42, 42, 42);
}

.submit-btn{
    padding: .5rem 1rem;
    border: none;
}

.submit-btn:hover{
    background-color: black;
    color: white;
    border: none;
    cursor: pointer;
}

.feedback-message{
    margin-top: 1.5rem;
}

.stop-collapse{
    color:rgba(0, 0, 0, 0);
    cursor:default;
}


/* media queries */

@media screen and (max-width: 1200px){
    .project-section-grid-container{
        grid-template-columns: 24% 24% 24% 24%;
    }
}

/* General styles for smaller screens */
@media screen and (max-width: 768px) {

    #player{
       width: 100%;
    }

    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .section-main-text{
        padding: 1rem;
        margin: 1.5rem;
    }
    
    .hero-content, .quote-container {
        padding: 20px;
        margin: 0;
    }
    
    .avatar-img {
        height: 150px;
    }
    
    .section-main-text, .main-text, .skill-list, .project-btn {
        font-size: 1rem;
    }

    .about-section-grid-container, .education-section-grid-container, .skills-section-grid-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .project-section-grid-container {
        grid-template-columns: 1fr 1fr;
        column-gap: 20px;
    }


    .big-grid{
        display: grid;
    }

    .skill-list-big{
        display: grid;
        grid-template-columns: 1fr;
    }

    .timeline-container{
        width: 100%;
    }

    .award-year{
        font-size: 1rem;
    }

    .award-title{
        font-size: 1rem;
    }

    .award-organization{
        font-size: .7rem;
    }

    .box{
        width: 100%;
        padding-bottom: 2rem;
    }

    .inner-container-left{
        width: 100%;
        margin: 0px;
    }

    .inner-container-right{
        width: 100%;
        margin: 0px;
    }

    .box-left{
        margin: 0;
    }

    .box-right{
        margin: 0;
    }

    .horizontal-line-left{
        display: none;
    }

    .horizontal-line-right{
        display: none;
    }

    .line{
        display: none;
    }

/* Specific adjustments for very small screens */
@media screen and (max-width: 480px) {
    .nav-container {
        gap: 0.5rem;
    }
    
    .hero-content, .quote-container {
        padding: 10px;
    }

    .quote {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }
    
   .section-icons {
        width: 80px;
        height: 80px;
    }

    .project-btn {
        width: 100%;
        font-size: 0.9rem;
    }

    
}

@media screen and (max-width: 768px) {
    .quote{
        font-size: 1rem;
    }


    .hamburger-menu {
        display: block; /* Show the hamburger icon */
        z-index: 1001;
        position: absolute;
        right: 10px;
    }

    .nav-bar{
        background-color: #ffffff00;
    }


    .menu-items {
        display: none; /* Hide the menu items */
        flex-direction: column; /* Stack them vertically */
        gap: 0;
        width: 100%; /* Full width */
        position: absolute;
        top: 100px; /* Adjust based on your header's height */
        left: 0;
        background-color: rgba(0, 0, 0, .9); /* Semi-transparent background */
    }

    .menu-items .nav-item {
        margin: 10px; /* Space between menu items */
    }

    .menu-items.active {
            display: flex;
            flex-direction: column;
            position: absolute; /* or 'fixed' depending on layout */
            top: 0px; /* Adjust based on your header's height */
            left: 0;
            right: 0; /* Ensure it spans the full width */
            z-index: 100; /* Ensure it's on top of other content */
            background-color: rgba(0, 0, 0, .9);        
            overflow-y: auto;
    }
}}
