/*General */


@import url('https://fonts.googleapis.com/css2?family=Nanum+Myeongjo&display=swap');


* { /*targets everything */
    margin: 0;
    padding: 0;
    background-color: rgb(0, 0, 0);
 }

body{
    font-family:"Nanum Myeongjo", serif;
    
}


html {
    scroll-behavior: smooth;
}

p{
    color:rgb(255, 255, 255);

}

/*transition
a is link
.btn is button 
 */

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

 /* desktop navigation*/

 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:rgb(255, 255, 255);
    text-decoration: none;
    text-decoration-color: rgb(255, 255, 255);
 }

 a:hover{
    color: lightgrey;
    text-decoration: underline;
    text-underline-offset: 1rem;
    text-decoration-color: white;

 }
 .logo {
    color: rgb(255, 255, 255); /* Change text color */
    font-size: 2rem;
}
.logo:hover{
    cursor:default;
}
/*hamburger menu
this is for mobile */

#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: rgb(255, 255, 255);
    transition:all 0.3 ease-in-out;

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

}

/* 3 lines*/
.menu-links a{
    display: block;
    padding: 10px;
    text-align: center;
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
    transition: all 0.3 ease-in-out;

}

.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;
}

 
/* Sections*/
.title{
    color:rgb(147, 232, 143)
}

.purdue_section, .section_text_p2 {
    display: inline-block; /* Place both elements on the same line */
    margin: 0; /* Remove default margin */
}
.purdue_section{
    color:rgb(255,215,0)
}


.resume a{
    color:lightblue
}


.btn{
    
    color:beige
}

/* SECTIONS PROFILE*/
section{
    padding-top: 4vh;
    min-height: 96vh; /*note*/
    height: auto;   /*note*/
    margin: 0 10rem;
    box-sizing: border-box;
    min-height:fit-content;

}

.section-container{
    display:flexl
}

/*profile section*/
#profile{
    display: flex;
    justify-content: center;
    gap: 5reml;
    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;
}

.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{
    display:flex;
    justify-content: center;
    gap: 1rem
}

.btn{
    font-weight: 600;
    transition: all 300ms ease;
    padding: 1rem;
    width: 5rem;
    border-radius: 2rem;
    color: rgb(105, 105, 239);
}

.btn-color-1{
    border:rgb(179, 48, 48) 0.1rem solid;
    color: red
}

.btn-color-1:hover{
    cursor: pointer;
}
.btn-color-1:hover{
    background: rgb(105, 105, 239);
    color:white
}

.btn-color-1:hover{
    background: wheat;
}

.btn-container{
    gap: 1rem;
}




/*about*/

.section-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    gap: 2rem;
}

.section_pic-container-alt {
    flex: 1;
}

.about-details-container {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.about-containers {
    display: flex;
    gap: 2rem;
}

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

.icon {
    width: 60px; /* Adjust size as needed */
    height: auto;
}

h3 {
    color: wheat;
}



#about {
    position: relative;
    padding: 2rem;
}

.about-pic {
    border-radius: 2rem;
    max-width: 100%;
    height: auto;
}

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

.text-container p{
    color:lightgray
}

/* I'm a Pakistani-Punjabi American Muslim born in Milwaukee.*/

/* Experience*/

h2{
    color:whitesmoke
}

#experience{
    position: relative;
}

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

/* Keep Experience checkmarks a fixed size */
#experience .article-container .icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
}


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

}

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

}

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

article .icon{
    cursor:default;
}


/*projects */

/*
#iupuipic{
    width: 25%;
    height: 25%;

}
    */
    

#projects{
    position: relative;
}

.color-container{
    border-color: rgb(163,163,163);
    background: rgb(0, 0, 0);

}

.project-img{
    width: 90%;
    height: 500px;        /* Make all images the same height */
    object-fit: cover;     /* Prevent stretching — crop instead */
    border-radius: 2rem;
}

.project-title{
    margin:1rem;
    color:wheat;
}

.project-btn{
    color:yellow;
    border-color: rgb(163,163,163);
}




/*contact*/
#contact {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    height: 70vh;
    text-align: center;
}

.contact-info-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem auto;
    border: rgb(196, 136, 136);
    border-color:rgb(163,163,163);
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 2rem;
    background: rgb(0, 0, 0);
    padding: 0.5rem;
    color:lightgray;
    
}

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

.contact-icon {
    height: 2.5rem;
    cursor: default;
}


/* footer*/

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

footer p{
    text-align: center;
}
