@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
margin: 0;
padding: 0;
}

body{
        font-family: "Poppins", sans-serif;
        font-weight: 300;
        font-style: normal;

}

html {
    scroll-behavior : smooth;
}

p{
    color: rgb(85, 85, 85);
}

/* Transition */

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

/* Desktop Nav */

nav, 
.nav-links {
    display: flex;
}

nav {
justify-content: space-around;
align-items: center;
height: 17vh;
}

.nav-links{
    gap: 2rem;
    list-style: none;
    font-size: 1.5rem;
}

a{
    color: black;
    text-decoration: none;
    text-decoration-color: white;
}

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

.logo {
    font-size: 1.5rem;
}

.logo:hover{
    cursor: default;
}

#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.3 ease-in-out;
    
}

.menu-links{
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    width: fit-content;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3 ease-in-out;
}

.menu-links a {
    display: block;
    padding: 10px;
    text-align: center;
    font-size: 1.5rem;
    color: black;
    text-decoration: none;
    transition: all 0.3 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{
    opacity: 1;
}
.hamburger-icon span:first-child{
    transform: none;
}


/*sections*/

section{
    padding-top: 4vh;
    margin: 0 10rem;
    box-sizing: border-box;
    min-height: fit-content;
}

.section-container {
    display: flex;
}

/* Profile Section */

#profile {
    display: flex;
    justify-content: center;
    gap: 5rem;
    height: 80vh;
}

.section__pic-container{
    display: flex;
    height: 400px;
    width: 400px;
    margin: auto 0;
}

.section__text {
    align-self: center;
    text-align: center;
}

.section__text p {
    font-weight: 600;
}

.section__text__p1 {
    text-align: center;
}

.section__text__p1 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.section__text__p2{
    margin-bottom: .5rem;
}
.title {
    font-size: 3rem;
    text-align: center;
}

#socials-container {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    gap: 1rem;
}
 
/* icons */

.icon {
    cursor: pointer;
    height: 2rem;
}

/* buttons */ 

.btn-container {
    padding-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn {
    font-weight: 600;
    transition: all 300ms ease;
    padding: 1rem;
    width: 8rem;
    border-radius: 2rem;
}

.btn-color-1,
.btn-color-2{
    border: rgb(53, 53, 53) 0.1rem solid;
}

.btn-color-1 :hover,
.btn-color-2 :hover{
    cursor: pointer;
}

.btn-color-1,
.btn-color-2 :hover{
   background: rgb(53, 53, 53);
   color: white;
}

.btn-color-1 :hover{
    background: rgb(0, 0, 0);
}

.btn-color-2{
    background: none;
}

.btn-color-2 :hover{
    border: rgb(255,255,255) 0.1rem solid;
}

.btn-container{
    gap: 1rem;
}

/* about */
#about{
    position: relative;
}

.about-containers{
    gap: 2rem;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.about-details-container{
    justify-content: center;
    flex-direction: column;
}

.about-containers, .about-details-container {
    display: flex;
}

.about-pic {
    border-radius: 0.5rem
}

.arrow {
    position: absolute;
    right: -5rem;
    bottom: 2.5rem;
}

.details-container{
    padding: 1.5rem;
    flex: 1;
    background: white;
    border-radius: 2rem;
    border: 1px solid rgb(163, 163, 163);
    text-align: center;
}

.section-container{
    gap: 4rem;
    height: 80%;
}

.section__pic-container{
    height: 400px;
    width: 400px;
    margin: auto 0;
    padding-right: 2rem;
}

/* experience section*/ 

#experience {
    position: relative;
}

.experience-sub-title{
    color: rgb(85, 85, 85);
    font-weight: 600;
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

.experience-details-container {
    display: flex;
    justify-content: center;
    flex-direction: row;
}

.article-container {
    display: flex;
    text-align: initial;
    flex-direction:row;
    flex-wrap: wrap;
    gap: 2.5rem;
    justify-content: space-around;
}

article{
    display: flex;
    width: 10rem;
    justify-content: space-around;
}

article .icon{
    cursor: default;
}

/* contact */

#contact {
    display: flex;
    justify-content: center;
    flex-direction: column;
    height: 70vh;
}

.contact-info-upper-container{
    display: flex;
    border-radius: 2rem;
    justify-content: center;
    border: rgb(53, 53, 53) 0.1rem solid;
    border-color: rgb(163, 163, 163);
    background: (250, 250, 250);
    margin: 2rem auto;
    padding: 0.5rem;
}

.contact-info-container{
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
    margin: 1rem;
}

.contact-info-container p {
    font-size: larger;
}

.contact-icon {
    cursor: default;
}

.email-icon {
    height: 2.5rem;
}

/* footer */

footer{
    height: 26vh;
    margin: 0 1rem;
}

footer p{
    text-align: center;
}

/* projects */

#projects {
    position: relative;
    padding: 4vh 5vw;
    min-height: fit-content;
}

#projects h2 {
    text-align: center;
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
    font-size: 3rem;
    font-weight: 600;
}

.project-columns {
    display: flex;
    gap: 3rem;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    flex-direction: row;
}

/* Each column */
.column {
    flex: 1;
    min-width: 300px;
}

/* Section titles in columns */
.project-column-title {
    padding-top: 3rem;
    font-size: 2rem;
    font-weight: 600;
    color: black;
    margin-bottom: 1rem;
    text-align: center;
}

.project {
    padding: 1.5rem;
    border: 1px solid blue;
    border-radius: 2rem;
    background-color: #fff;
}

.internship-project h3, .project h3 {
    color: black;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.internship-project p, .project p {
    color: rgb(85, 85, 85);
    line-height: 1.6;
    font-size: 1rem;
}

.internship-project, .project {
    margin-bottom: 2rem;
}

#personal-projects h2 {
    text-align: center;
    font-size: 2.5rem;
    color: black;
    margin: 3rem 0 1.5rem;
    font-weight: 600;
}

/* Education Section */
#education {
    padding: 4vh 10rem;
    min-height: fit-content;
    background-color: #f9f9f9;
}

.education-section {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}
.education-subheading {
    margin-top: 1rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
    color: black;
  }

.education-block {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    background-color: white;
    padding: 2rem;
    border-radius: 2rem;
    border: 1px solid rgb(163, 163, 163);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    flex-wrap: wrap;
    margin: 0 3rem;
}

.education-details {
    flex: 1;
    font-size: 1rem;
    color: rgb(85, 85, 85);
}

.education-details h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: black;
}

.education-details ul {
    padding-left: 1.5rem;
    margin-top: 0.5rem;
}

.education-details li {
    margin-bottom: 0.5rem;
}
.education-image img {
    width: 100%;
    max-width: 300px;
    border-radius: 1rem;
    object-fit: cover;
}

.education-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-gallery {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 6rem;
    flex-wrap: wrap; /* for responsiveness */
  }
  
  .gallery-item {
    flex: 1;
    text-align: center;
  }
  
.gallery-item img {
    width: 100%;
    max-width: 300px; /* Increased size */
    height: auto;
    border-radius: 0.5rem; /* Reduced border radius for less carved effect */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
  
  .caption {
    margin-top: 0.5rem;
    font-size: 1rem;
    color: rgb(85, 85, 85);
    font-weight: 500;
  }

  .certifications {
    margin-top: 2rem;
    padding-top: 1rem;
  }
  
  .certifications h2 {
    font-size: 1.75rem;
    color: rgb(85, 85, 85);
    margin-bottom: 1rem;
    text-align: center;
  }
  
  .cert-list {
    list-style-type: none;
    padding: 0;
    text-align: center;
  }
  
  .cert-list li {
    margin: 0.75rem 0;
  }
  
  .cert-list a {
    color: #0073e6;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
  }
  
  .cert-list a:hover {
    text-decoration: underline;
    color: #004eab;
  }
  
  .cert-list img {
    height: 20px;
    width: 20px;
    vertical-align: middle;
  }


  #experience h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: black;
    margin-bottom: 1rem;
    text-align: center;
}

#experience li {
    font-size: 1rem;
    color: rgb(85, 85, 85);
    line-height: 1.6;
    margin-bottom: 0.5rem;
    text-align: justify;
}

.relevant-courses {
    padding: 2rem;
  }

  .courses-list li:hover {
    font-weight: bold;
  }
  
  .experience-sub-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
  }
  
  .courses-columns {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap; /* allows stacking on smaller screens */
  }
  
  .course-column {
    flex: 1 1 300px; /* flexible width, minimum 300px */
    max-width: 500px;
  }
  
  .course-column h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #444;
    border-bottom: 2px solid #ccc;
    padding-bottom: 0.3rem;
  }
  
  .courses-list {
    list-style-type: disc;
    padding-left: 1.5rem;
    font-size: 1rem;
    color: #333;
  }
  
  .courses-list li {
    margin-bottom: 0.5rem;
  }
  

  .outside-learning-section {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 3rem;
    padding: 3rem 2rem;
    flex-wrap: wrap; 
    margin-top: 2rem;
  }
  
  .outside-learning-left {
    flex: 1 1 300px;
    max-width: 500px;
  }
  
  .outside-learning-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #444;
    border-bottom: 2px solid #ccc;
    padding-bottom: 0.3rem;
  }
  
  .outside-learning-list {
    list-style-type: disc;
    padding-left: 1.5rem;
    color: #333;
  }
  
  .outside-learning-list li {
    margin-bottom: 0.6rem;
    transition: font-weight 0.2s ease;
  }
  
  .outside-learning-list li:hover {
    font-weight: bold;
  }
  
  .outside-learning-right {
    flex: 1 1 300px;
    max-width: 500px;
    text-align: center;
  }
  
  .learning-image {
    width: 100%;
    max-width: 80%;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
  }
  
  figure {
    margin: 0;
    text-align: center;
    padding-bottom: 1.5rem; 
  }
  
  figcaption {
    margin-top: 0rem;     
    font-size: 0.95rem;
    color: #666;
  }
  #family {
    padding: 3rem 2rem;
  }
  
  .family-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    align-items: flex-start;
  }
  
  .family-left, .family-right {
    flex: 1 1 300px;
    max-width: 500px;
  }
  
  .family-left img {
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }
  
  .family-left p {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
  }
  
  .family-right img {
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }
  
  .dog-button {
    display: inline-block;
    font-size: 2.5rem;
    text-decoration: none;
    background-color: #ffefd5; /* soft dog-like color (papaya whip) */
    padding: 0.5rem 1rem;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, background-color 0.3s ease;
    margin-bottom: 1rem;
  }
  
  .dog-button:hover {
    background-color: #ffe4b5;
    transform: scale(1.1);
    cursor: pointer;
  }
  
  

@media screen and (max-width: 1400px) {
    #profile{
        height: 83vh;
        margin-bottom: 6rem;
    }
    .about-containers{
        flex-wrap: wrap;
    }
} 
@media screen and (max-width: 1200px) {
    #desktop-nav{
        display: none;
    }
    #hamburger-nav {
        display: flex;
    }
    #experience, .experience-details-container{
        margin-top: 2rem;
    }
    #profile, .section-container{
        display: block;
    }
    section, .section-container{
        height: fit-content;
    }
    section{
        margin: 0 5%;
    }
    .section__pic-container{
        width: 275px;
        height: 275px;
        margin: 0 auto 2rem;
    }
    .about-containers{
        margin-top: 0;
    }
} 

@media screen and (max-width: 768px) {
    .education-block {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
  
    .education-image img {
      max-width: 80%;
    }
  }

@media screen and (max-width: 600px) {
    #contact, footer{
        height: 40vh;
    }

    #profile{
        height: 83vh;
        margin-bottom: 0;
    }
    article{
        font-size: 1rem;
    }
    footer nav{
        height; fit-content;
        margin-bottom: 2rem;
    }
    .about-containers, .contact-info-upper-container, .btn-container{
        flex-wrap: wrap;
    }
    .contact-info-container{
        margin: 0;
    }
    .contact-info-container p, .nav-links li a {
        font-size: 1rem;
    }
    .experience-sub-title{
        font-size: 1.25rem;
    }
    .logo{
        font-size: 1.5rem;
    }
    .nav-links{
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    .section__pic-container{
        width: auto;
        height: 46vw;
        justify-content: center;
    }
    .section__text__p2{
        font-size: 1.25rem;
    }
    .title{
        font-size: 2rem;
    }

    .text-container{
        text-align: justify;
    }
}

