


@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&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;
}

html{
    scroll-behavior: smooth;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}


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


/* TRANSITION */
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 {
    position: relative;
    display: inline-block;
    color: black;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1rem; 
    width: 0;
    height: 2px;
    background-color: rgb(181, 181, 181);
    transition: width 0.3s ease;
}

a:hover {
    color: grey;
    transform: translateY(-2px);
}

a:hover::after {
    width: 100%;
}

.logo{
    font-size: 2rem;
}

.logo:hover{
    cursor: default;
}

/* HAMBURGER MENU */

#hamburger-nav{
    display: none;
}

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

.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 .3s 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.3s 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.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);
}


/* SECTIONS */

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

.section-container{
    display: flex;
    height: 100vh;
}

/* PROFILE SECTION */

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

.section__pic-container{
    display: flex;
    height: 400px;
    width: 400px;
    margin: auto 0;
}
.section__pic-container > .profile-pic {
    border-radius: 50%;
    width: 96%;
    height: 96%;
}

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

.section__text p {
    font-weight: 600;
}

.section__text__p1{
    text-align: center;
    font-size: 15px;
}

.section__text__p2{
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.title{
    font-size: 3.5rem;
    text-align: center;
}

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

/* ICONS */

.icon {
    cursor: pointer;
    width: 3.5rem;
    height: 3.5rem;
    background-color: white;
    border-radius: 50%;
}

.personal-logo{
    width: 2.5rem;
    margin-top: 20px;
    border: 5px solid black;
    border-radius: 10%;
}

.codepen{
    height: 51px;
    width: 51px;
    padding-top: 5px;
}

.email{
    width: 63px;
    height: 63px;
}

/* ARROWS UP AND DOWN */

/* UP ARROW */
.top {
    position: fixed;
    bottom: 3rem;
    right: 1rem;
    z-index: 9999;
    /* display: inline-flex; */
    /* align-items: center; */
    /* justify-content: center; */
}

.top i{
    color: whitesmoke;
    background: #000;
    border-radius: 0.5rem;
    font-size: 30px;
}

.arrow {
  position: absolute;
  right: -.5rem;
  bottom: 2rem;
  border: 1px solid black;
 cursor: pointer;
}

.next{
 position: absolute;
 right: -4.5rem;
 bottom: 1rem;
 cursor: pointer;
}

.arrow_about{
    position: absolute;
    border: 1px solid black;
    right: -1rem;
    bottom: -1rem;
}

.arrow_experience{
    position: absolute;
    border: 1px solid black;
    right: -1rem;
    bottom: -1rem;
}

.arrow_projects{
    position: absolute;
    border: 1px solid black;
    right: -1rem;
    bottom: 3em;
}

.middle{
    position: absolute;
    border: 2px solid black;
    right: -1.5%;
    bottom: 71%;
}




/* BUTTONS */

.btn-container{
    display: flex;
    justify-content: center;
    gap: .5rem;
    
}

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

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

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

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

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

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

.bty-container{
    gap: 1rem;
}


/* ABOUT SECTION */

#about {
  position: relative;
}

.about-containers {
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

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

.about-containers,
.about-details-container {
  display: flex;
}
.about-details-container h3{
    font-size: 1.2rem;
}

.about-pic {
  border-radius: 2rem;
  max-width: 60vw;
  max-height: 60vh;
}


.details-container {
  margin: 0;
  padding: .75rem;
  flex: 1;
  background: white;
  border-radius: 2rem;
  border: rgb(53, 53, 53) 0.1rem solid;
  border-color: rgb(163, 163, 163);
  text-align: center;
  font-size: 1rem;
}

.section-container {
  gap: 4rem;
  height: 90%;
  font-size: 1rem;
}

.section__pic-container {
  height: 450px;
  width: 450px;
  margin: auto 0;
}

.text-container{
    line-height: 1.5rem;
}

/* EXPERIENCE SECTION */

#experience{
    position: relative;
    margin-top: 4rem;
}

.experience-sub-title{
    color: rgb(85,85,85);
    font-size: 1.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    margin-top: 1rem;
    padding: 20px 30px;
}

.experience-details-container{
    display: flex;
    justify-content:center ;
    /* flex-direction: column; */
    gap: 20px;
    flex-wrap: wrap;
}

.article-container{
    display: flex;
    text-align: initial;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 1rem;
    justify-content: space-around;
    border: 6px soid yellow
}

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

article .icon{
    cursor: default;
    width: 1.5rem;
    height: 1.5rem;
    background-color: white;
    border-radius: 50%;
}


/* PROJECTS SECTION */

#projects{
    position: relative;
    height: auto;
    margin: 2rem 4rem;
}

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

.project-img {
    border-radius: 2rem;
    width: 50%;        /* Fills the card width cleanly (or keep 75% if you prefer extra margin) */
    height: 90px;      /* Forces all 3 images to the exact same height */
    object-fit: cover;  /* Crops edges cleanly without stretching or squishing the picture */
    padding: 15px;
    border: 1px solid rgb(163,163,163);
    background-color: #000;
    /* border: 5px solid yellow; */

}

.project-btn{
    color: black;
    border-color: hsl(0, 0%, 64%);
}

.details-container.color-container{
    border-color: rgb(163,163,163);
    background: rgb(250,250,250);
    flex: 0 1 250px;
    max-width: 100%;
}

#projects .details-container.color-container {
    flex: 1 0 200px; /* 0 grow, 0 shrink, exact 220px width (adjust to 200px–240px as desired) */
    width: 200px;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0.75rem;
    
}
.project-tools{
    padding-bottom: 10px;
    color: rgb(101, 101, 101);
}
.project-description{
    padding-bottom: 15px;
    font-size: 13px;
    min-height: 75px;
}


.project-title{
    min-height: 55px;
    min-width: 40px;
    font-size: 20px;
    padding: 0;
    margin-bottom: 9px;
}



/* CONTACTS SECTION */


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

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

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

.contact-icon {
    cursor: default; 
}

.email-icon{
    height: 3.6rem;
    width: 3.6rem;
}

.contacts {
    font-size: 19px;
}

/* FOOTER SECTION */
footer{
    height: 26vh;
    margin: 0.5rem 1rem;
}
footer p {
    text-align: center;
    font-size: .9rem;

}
.nav-links2{
    display: flex;
    gap: 2rem;
    list-style: none;
    font-size: 1.5rem;
}
.footer-nav{
    height: 8vh;
    padding-bottom: 10px;
}


