/* GENERAL */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

*{
    margin:0;
    padding:0;
}

body{
    font-family:'Poppins', sans-serif;
}

img{
    border-radius: 0;
}

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;
    text-decoration-color: rgb(181,181,181);
}

.logo{
    font-size:2rem;
}

.logo:hover{
    cursor:default;
}

/* 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.3 ease-in-out;
}

.menu-links{
    position: absolute;
    top:100%;
    right:0;
    background-color: white;
    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{
    transform:none;
}

.hamburger-icon span:first-child{
    opacity:1;
}

.hamburger-icon span:first-child{
    transform:none;
}

/* SECTION */
section {
    padding-top: 4vh;
    min-height: fit-content;
    box-sizing: border-box;
}

section:not(#about):not(#experience):not(#skills) {
    height: 96vh;
    margin: 0 10rem;
}

/* SECTION CONTAINER */
.section-container {
    display: flex;
    gap: 3rem;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* PROFILE SECTION */
#profile{
    display:flex;
    justify-content: center;
    gap:5rem;
    height:80vh;
}

#profile .section__pic-container{
    display: flex;
    height:400px;
    width:400px;
    margin:auto 0;
    border-radius: 50%;
}

#profile .section__pic-container img{
    border-radius: 50%;
}

/* BUTTONS */
.btn-container{
    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;
}

/* ABOUT SECTION */
#about {
    position: relative;
    padding: 5rem 1rem;
    margin: 0 auto;
    max-width: 1400px;
}

#about .section-container {
    display: flex !important;
    gap: 3rem !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

#about .section__pic-container {
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    height: auto !important;
    width: auto !important;
    margin: 0 !important;
    border-radius: 0 !important;
}

#about .about-pic {
    height: 380px !important;
    width: 380px !important;
    object-fit: cover !important;
    border-radius: 1.5rem !important;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1) !important;
    margin: 0 !important;
    margin-top: -2rem !important;
    flex-shrink: 0 !important;
}

#about .about-details-container {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 2.5rem !important;
    min-width: 0 !important;
}

#about .text-container {
    line-height: 1.75 !important;
    font-size: 1.05rem !important;
    max-width: 550px !important;
    margin: 0 !important;
}

#about .text-container p {
    color: rgb(85, 85, 85) !important;
    margin: 0 !important;
    word-spacing: 0.05em !important;
}

#about .about-containers {
    display: flex !important;
    gap: 2rem !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
}

#about .details-container {
    flex: 1 !important;
    min-width: 220px !important;
    max-width: 280px !important;
    padding: 2rem 1.5rem !important;
    background: rgb(250, 250, 250) !important;
    border-radius: 1rem !important;
    border: 1px solid rgb(240, 240, 240) !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    transition: all 300ms ease !important;
}

#about .details-container:hover {
    background: rgb(245, 245, 245) !important;
    border-color: rgb(230, 230, 230) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

#about .details-container h3 {
    font-size: 1.3rem !important;
    font-weight: 600 !important;
    color: rgb(53, 53, 53) !important;
    margin: 0.5rem 0 1rem 0 !important;
}

#about .details-container p {
    font-size: 0.95rem !important;
    color: rgb(85, 85, 85) !important;
    line-height: 1.7 !important;
    margin: 0 !important;
}

#about .experience-keywords {
    display: block !important;
    font-size: 0.85rem !important;
    color: rgb(120, 120, 120) !important;
    font-style: italic !important;
    margin-top: 0.75rem !important;
}

/* EXPERIENCE SECTION */
#experience {
    position: relative;
    padding: 5rem 1rem;
}

#experience .experience-details-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    max-width: 1000px;
    margin: 0 auto;
}

#experience .about-containers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    justify-content: center;
}

#experience .about-containers > .experience-card:nth-child(3) {
    grid-column: 1 / -1;
    max-width: 400px;
    margin: 0 auto;
}

#experience .experience-card {
    flex: none !important;
    min-width: auto !important;
    max-width: 100% !important;
    min-height: 320px !important;
    padding: 2.5rem !important;
    background: rgb(250, 250, 250) !important;
    border-radius: 1rem !important;
    border: 1px solid rgb(240, 240, 240) !important;
    text-align: left !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    transition: all 300ms ease !important;
}

#experience .experience-card:hover {
    background: rgb(245, 245, 245) !important;
    border-color: rgb(230, 230, 230) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-4px) !important;
}

#experience .experience-header {
    margin-bottom: 1.5rem;
}

#experience .experience-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: rgb(53, 53, 53);
    margin: 0 0 0.75rem 0;
    line-height: 1.4;
}

#experience .experience-org {
    font-size: 0.9rem;
    color: rgb(100, 100, 100);
    margin: 0.25rem 0;
    font-weight: 500;
}

#experience .experience-date {
    font-size: 0.8rem;
    color: rgb(150, 150, 150);
    margin: 0.5rem 0 0 0;
}

#experience .experience-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

#experience .experience-bullets li {
    padding-left: 1.25rem;
    position: relative;
    font-size: 0.9rem;
    color: rgb(85, 85, 85);
    line-height: 1.5;
}

#experience .experience-bullets li:before {
    content: "▪";
    position: absolute;
    left: 0;
    color: rgb(53, 53, 53);
}

/* PROJECTS SECTION */
#projects{
    position:relative;
}

.color-container{
    border-color:rgb(163,163,163);
    background: rgb(250,250,250);
}

.project-img{
    border-radius:2rem;
    width:90%;
    height:90%;
}

.project-title{
    margin:1rem;
    color:black;
}

.project-btn{
    color:black;
    border-color:rgb(163,163,163);
}

.project-description{
    margin: 0.5rem 1rem 1rem 1rem;
    color: rgb(85,85,85);
    font-size: 0.9rem;
    line-height: 1.4;
    text-align: left;
}

/* CONTACT 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:2rem auto;
    padding:0.5rem;
}

.contact-info-container{
    display:flex;
    align-items: center;
    justify-content: center;
    gap:0.5rem;
    margin:1rem;
}

.contact-info-container p{
    font-size:larger;
}

.contact-icon{
    cursor:default;
    margin-bottom: 1rem;
}

.email-icon{
    height:2.5rem;
}

/* FOOTER SECTION */
footer{
    height:26vh;
    margin:0 1rem;
}

footer p{
    text-align: center;
}