/*GENERAL STYLE*/

@import url('https://fonts.googleapis.com/css2?family=Libre+Bodoni:wght@400..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Ballet:opsz@16..72&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,opsz,wght@0,8..60,200..900;1,8..60,200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap'); /*Inter*/

*{
    margin: 0;
    padding: 0;
}

.logo,
.logo:hover,
.logo:focus,
.logo:active,
.logo:visited{
    text-decoration: none;
    color: inherit;
}

.logo{
    font-family: "Libre Bodoni", serif;
    font-size: 2rem;
    font-optical-sizing: auto;
    font-style: normal;

    text-align: center;
    position: relative;
    display: block;
    padding-left: 1rem;
    padding-bottom: 0;
    margin-bottom: 0;

    text-decoration: none;   /* remove underline */
    color: inherit;          /* keep text color */
    cursor: pointer; 

}

.logo:hover{
    opacity: 0.7;
}

.logo2{
    font-family: "Ballet", cursive;
    font-size: 1.5rem;
    font-optical-sizing:auto;
    font-weight: 400;
    font-style: normal;
    text-align: center;
    position: relative;
    margin-bottom: 5px;
    color:#0b4f3c;

}

.logo2:hover{
    cursor: default;
}

body{
    background-color: #F3F1EB;
    font-family: "Inter", serif;
    font-weight: 500;
    font-optical-sizing: auto;
    font-style: normal;
}

html{
    scroll-behavior: smooth;
}

/*Horizontal Line*/

.horizontal-line{
    width: 65%;
    height: 1.5px;
    border: 0 none;
    margin: 0.7rem auto;
    background-color: #0b4f3c;
}

/*TRANSITIONS*/
a, 
.btn{
    transition: all 300ms ease;
}

/*TOP NAV*/
.nav{
    position: relative;
}
.nav-links{
    list-style: none;
    text-align: center;
    padding: 0;
    margin: 0;
}

.nav-links li{
    display: inline-block;
    margin: 0 auto;
}

nav a{
    text-decoration: none;
    width: 100%;
    display:flex;
    color: #0b4f3c;
    text-align: center;
    padding: 2rem;
}

a:hover{
    color: #A37E2C;
    text-decoration:underline;
    text-underline-offset: 1rem;
}

.btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0.6rem 1.4rem;
    border-radius: 6px;

    text-decoration: none;
    color:#0b4f3c;
}

/* Override ALL anchor states for buttons */
.btn,
.btn:hover,
.btn:focus,
.btn:active,
.btn:visited{
    text-decoration: none;
    color: inherit;
}


/*HAMBURGER MENU*/

#hamburger-nav{
    display: none;
}

.hamburger-menu{
    position: relative;
    display: inline-block;
}

.hamburger-icon{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    width: 30px;
    cursor: pointer;
}

.hamburger-icon span{
    width: 100%;
    height: 2px;
    background-color: black;
    transition: all 0.3s ease-in-out;
}

.menu-links{
    position: absolute;
    top: 100%;
    right: 0%;
    background-color: transparent;
    width: fit-content;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.menu-links a{
    display: block;
    padding: 10px;
    text-align: center;
    font-size: 1rem;
    color: #0b4f3c;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.menu-links li{
    list-style: none;
}

.menu-links.open{
    max-height: 300px;
}

.hamburger-icon.open span:first-child{
    transform: rotate(45deg) translate(10px, 5px);
}

.hamburger-icon.open span:nth-child(2){
    opacity: 0;
}

.hamburger-icon.open span:last-child{
    transform: rotate(-45deg) translate(10px, -5px);
}

.hamburger-icon span:first-child{
    transform: none;
}

.hamburger-icon span:first-child{
    opacity: 1;
}

.hamburger-icon span:first-child{
    transform: none;
}

.greet_change{
    font-family: "Playfair Display", serif;
    height: 40px;
    padding-top: 1rem;
    
    text-align: center;
   justify-content: center;
    border-radius: 8px;
    display: flex;

    font-weight: 700;
    font-size: 25px;
    box-sizing: content-box;
}

.roles-container{
    overflow: hidden;
    position: relative;
}

.role{
    display: block;
    height: 100%;
    padding-left: 6px;
    animation: role-change 9s infinite
}

@keyframes role-change {
    0%, 8%   { transform: translateY(0%); }
    12%, 20% { transform: translateY(-100%); }
    24%, 32% { transform: translateY(-200%); }
    36%, 44% { transform: translateY(-300%); }
    48%, 56% { transform: translateY(-400%); }
    60%, 68% { transform: translateY(-500%); }
    72%, 80% { transform: translateY(-600%); }
    84%, 92% { transform: translateY(-700%); }
    96%, 100%{ transform: translateY(-800%); }
  }
  .greet_wrap{
    display: flex;
    flex-direction: column;   /* stack greet + intro */
    align-items: center;      /* center the intro under it */
  }
  
  .short_intro{
    padding: 3rem;
    text-align:center;
    font-weight: 100;
    font-size: 18px;
    font-family: "Playfair Display", serif;
  }

.hackathons{
    max-width: 59.8rem;  
    margin: 0 auto; 
}

.hackathons-title{
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: #0b4f3c;
    opacity: 0.8;

    margin: 0;
    padding-bottom: 2rem;
    white-space: nowrap;
}

.hackathons-img{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1050px;
    margin: 0 auto;
    align-items: start;
}

.hackathon-card img:hover{
    animation: float 2.5s ease-in-out infinite;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.hackathon-card{
    display: flex;
    flex-direction: column;
}

.hackathon-card:nth-child(2){
    margin-top: 5rem;
    margin-left: 2.5rem;
}

.hackathon-card img{
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
}

.hackathon-tag{
    font-family: "Inter";
    color: #0b4f3c;
    font-weight: 500;
    margin-top: 0.75rem;
    font-size: 0.8rem;
    line-height: 1.5;
    opacity: 0.6;
    text-align: center;
    padding-bottom: 2.5rem;
}

.btn-color-1,
.btn-color-1:visited,
.btn-color-1:hover,
.btn-color-1:focus,
.btn-color-1:active{
    color:#cea64d;
    text-decoration: none;
}


.btn-color-1{
    border: 1px solid #0b4f3c;
    background:#0b4f3c;
    color: #cea64d;
    font-family: "Playfair Display", serif;

}

.btn-color-1:hover{
    background:#0b4f3c;
    color: white;
}

.btn-cont1{
    display: flex;
    justify-content: center;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

.acad-research{
    max-width: 59.8rem;  
    margin: 0 auto; 
    text-align: left;
  }

  .research-title{
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: #0b4f3c;
    opacity: 0.8;
    margin: 0;
    padding-bottom: 1.5rem;
  }
  
  .research-img{
    max-width: 500px;
    margin: 2rem auto;
  }
  
  .research-img img{
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
  }

  .research-tag{

    font-family: "Inter";
    color: #0b4f3c;
    font-weight: 500;
    margin-top: 0.75rem;
    font-size: 0.8rem;
    line-height: 1.5;
    opacity: 0.6;
    text-align: center;
    padding-bottom: 1rem;

  }

.research-img img:hover{
    animation: float 2.5s ease-in-out infinite;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

.btn-color-2,
.btn-color-2:visited,
.btn-color-2:hover,
.btn-color-2:focus,
.btn-color-2:active{
    color:#cea64d;
    text-decoration: none;
}


.btn-color-2{
    border: 1px solid #0b4f3c;
    background:#0b4f3c;
    color: #cea64d;
    font-family: "Playfair Display", serif;

}

.btn-color-2:hover{
    background:#0b4f3c;
    color: white;
}

.btn-cont2{
    display: flex;
    justify-content: center;
    margin-bottom: 4rem;
}

/*About Me*/

.about-me{
    max-width: 100%;
    margin: 0 auto; 
    text-align: left;
}

.about-layout{
    display: flex;
    gap: 4rem;
    align-items: center;
    max-width: 100%;
    width: 65%;
    margin: 0 auto;
  }

  .about-images{
    flex: 0 0 45%;   /* images take LESS width */
  }

  .about-image-card{
    display: flex;
    flex-direction: column;
  }
  
  /* cascade effect */
  .about-image-card:nth-child(2){
    margin-left: 3.5rem;
  }
  
  .about-image-card img{
    width: 200px;
    height: 250px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .about-image-card img:hover{
    animation: float 2.5s ease-in-out infinite;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  }

  @keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

.about-copy{
    flex: 1;
    max-width: 50%;
    text-align:left;
    font-weight: 100;
    font-size: 18px;
    font-family: "Playfair Display", serif;
    
}

.about-copy p{
    margin-bottom: 1.5rem;  
    line-height: 1.6;
}
  

.image-tag{
    font-family: "Inter";
    color: #0b4f3c;
    font-weight: 500;
    font-size: 0.8rem;
    line-height: 1.5;
    opacity: 0.6;
    text-align:initial;
    padding-bottom: 2rem;
}

.about-layout-1{
    display: flex;
    gap: 4rem;
    align-items: center;
    max-width: 100%;
    width: 65%;
    margin: 0 auto;
    padding-top: 2rem;
}

.about-title{
    
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: #0b4f3c;
    opacity: 0.8;
    
    max-width: 59.8rem;
    margin: 0 auto;
    padding-bottom: 2rem;
}

.passage-section{
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 5rem ;
    margin: 3rem 0;
}
  
.passage-container{
    background-color: #0b4f3c;
    color: #ffffff;

    max-width: 42rem;
    width: 90%;

    padding: 1.7rem 2.5rem;
    border-radius: 14px;

    border: 1px solid rgba(255,255,255,0.25);
    box-shadow: none;
}
  
.passage{
    text-align: center;
    line-height: 1.8;
    font-family: "Playfair Display", serif;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
}

.passage-title{
    color:#cea64d
}
  

.hackathon-showcase{
    max-width: 100%;
}

.hackathon-layout{
    max-width: 60rem;  
    margin: 0 auto; 
    text-align: left;
}

.showcase-title{
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: #0b4f3c;
    opacity: 0.8;
    margin: 0;
    padding-bottom: 1.5rem;
}

.hackathon-images{
    max-width: 700px;
    margin: 2rem auto;
  }
  
  .hackathon-images img{
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.hackathon-images img:hover{
    animation: float 2.5s ease-in-out infinite;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  }

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

.hackathon-descrip{
    max-width: 75%;
    margin: 1rem auto;
    padding-bottom: 2rem;
    text-align:center;
    font-weight: 100;
    font-size: 18px;
    font-family: "Playfair Display", serif;
}

.hackathon-layout-1{
    max-width: 60rem;  
    margin: 0 auto; 
    text-align: left;
}

.paper-descrip{
    max-width: 70%;
    margin: 1rem auto;
    text-align:center;
    font-weight: 100;
    font-size: 18px;
    font-family: "Playfair Display", serif;
}

.paper-descrip p{
    margin-bottom: 1.5rem;  
    line-height: 1.6;
}

.contact-showcase{
    max-width: 100%;
}

.contact-layout{
    max-width: 60rem;  
    margin: 0 auto; 
    text-align: left;
}


.contact-images{
    max-width: 250px;
    margin: 2rem auto;
}
  
  .contact-images img{
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.contact-images img:hover{
    animation: float 2.5s ease-in-out infinite;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  }

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

.contact-tag{
    text-align: center;
    font-weight: 300;
    font-size: 18px;
    font-family: "Playfair Display", serif;
}

.contact-tag-1{
    text-align: center;
    font-weight: 700;
    font-size: 20px;
    font-family: "Playfair Display", serif;
}

.contact-tag-2{
    text-align: center;
    font-weight: 300;
    font-size: 18px;
    font-family: "Playfair Display", serif;
    padding-top: 2rem;
}

#socials-container{
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    gap: 3rem;
}

.icon{
    cursor: pointer;
    height: 5rem;
    border-radius: 10px;
}

#experience {
    display: flex;
    justify-content: center;
    padding: 4rem 1rem;
}

.experience-details-container {
    width: 100%;
    max-width: 150px;
}

.article-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 3rem;

    justify-content: center;
}

.about-container {
    display: flex;
    justify-content: center;
  }

article {
    display: flex;
    align-items: center;
    gap: 1rem;
}

article h1 {
    font-family: "Playfair Display", serif; ;
    font-size: 1.1rem;
    margin: 0;
  }
  
article p {
    font-family: "Playfair Display", serif; ;
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.75;
}

.footer {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    background-color: #0b4f3c;
    text-align: center;
    position: static;
  }
  
  .footer-container {
    max-width: 1000px;
    margin: auto 2rem;
    margin: 0 auto;
    padding: 2rem;

    display: grid;
    grid-template-columns: 1fr auto 1fr; /* left | center | right */
    align-items: center;
    gap: 2rem;
  }
  
  .footer .reminder {
    font-size: 1rem;
    opacity: 0.8;
    color: white;
    font-family: "Playfair Display", serif;
    justify-self: start;
    text-align: left;
  }
  
  .footer .copyright {
    font-size: 1rem;
    opacity: 0.8;
    color: white;
    font-family: "Playfair Display", serif;
    justify-self: center;
    text-align: center;
  }

  .footer .design{
    font-size: 1rem;
    opacity: 0.8;
    color: white;
    font-family: "Playfair Display", serif;
    justify-self: end;
    text-align: right;
  }
  
  
  
  
  
  
  

  
  


  

  





  






