* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

html{
    scroll-behavior: smooth;
}

body{
    position: relative;
    background: transparent;
    font-family: Arial, sans-serif;
    font-size: 1rem;
    overflow-x: hidden;
}

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

a,
.btn{
    transition: all 0.2s ease;
}

/* Reusable Code */
.flex{
    display: flex;
    /* align-items: center; */
}

.flex-grow{
    flex:.5;
}

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

.flex-column {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.t-center{
    text-align: center;
}

.t-left{
    text-align: left;
}

.mt-2{
    margin-top: 2rem;
}

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

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

a{
    color: rgb(0, 0, 0);
    text-decoration: none;
    text-decoration-color: rgb(255, 255, 255);
    transition: text-decoration-color 1s ease-in-out ;
}

a:hover{
    color:rgb(94, 93, 93);
    text-decoration: underline;
    text-underline-offset: .5rem;
}

.logo{
    font-size: 2rem;
    font-weight: bold;
    cursor: default;
}

/* HAMBURGERMENU */

#hamburger-nav{
    display: none;
}

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

.hamburger-icon{
    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{
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    width: fit-content;
    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{
    display: block;
    z-index: 99;
}

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

/* SECTION */

section{
    text-align: center;
    padding-top: 2rem;
    height: 96vh;
    margin: 0 2%;
    box-sizing: border-box;
    min-height: fit-content;
}

/* Profile section */

#profile{
    height: 80vh;
    min-height: fit-content;
    gap:5rem;
}

.section_pic-container {
    display: flex;
    justify-content: center;
    height: 400px;
    width: 400px;
    margin: auto 0;
}

.profile-pic{
    width: 100%;
    border-radius: 50%;
    object-fit:cover;
    object-position: center;
}

.section_text p{
    font-weight: 600;
}

.section_text_p1{
    font-size: 1.75rem;
    margin-bottom: .5rem;
}

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

.title{
    font-size: 3rem;
    margin-bottom: .25rem;
}

#socials-container{
    margin-top: 1rem;
    gap: 1rem;
}

#socials-container svg{
    height: 50px;
}

/* ICONS */
 .icon{
    height: 60px;
    width: 60px;
}

/* Buttons */

.btn-container{
    gap: 1rem;
}

.btn{
    font-weight: 600;
    transition: all .3s ease;
    padding: 1rem;
    width:8rem;
    border-radius: 50px;
    cursor: pointer;
    border:rgb(163, 163, 163) .1rem solid;
}

.btn-color-2{
    color: rgb(255, 255, 255);
    background-color: rgb(53, 53, 53);
}

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

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

/* ABOUT */

#about{
    position: relative;
}

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

.about-pic{
    object-fit: cover;
    border-radius: 2em;
}

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

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

.text-container{
    text-align: justify;

    padding: 1rem;
}

.text-container p{
    font-size: calc(10px + 2vmin);
    color: rgb(73, 73, 73);
}

.arrow{
    position: absolute;
    right: .5rem;
    bottom: 2.5rem;
    font-size: 1.5rem;
    color: rgb(234, 138, 35);
}

/* Experience  / Skill*/

#skills {
    position: relative;
    height: fit-content;
    margin-bottom: 12vh;
}

.experience-sub-title {
    font-weight: 600;
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

article {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: fit-content;
    border: 1px solid rgb(201, 201, 201);
    border-radius: 5px;
    background-color: rgba(245, 245, 245, 0.665);
    padding: 1%;
    gap: .5rem;
    cursor: default;
}

.article-container {
    flex-wrap: wrap;
    gap: 2.5rem;
    justify-content: space-around;
}

/* Projects */

#projects {
    position: relative;
}

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

.project-img {
    border-radius: 2rem;
    width: 250px;
    height: auto ;
    aspect-ratio: 9/16;
    object-fit: contain;
}

.project-title {
    margin-top: .5rem;
    color: rgb(0, 128, 128);
}

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

/* Contact Section */
#contact {
    height: 60vh;
}

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

.contact-info-container {
    gap: 0.5rem;
    margin: 1rem;
}

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

.contact-info-container svg{
    width: 2rem;
    height: 1.5rem;
}

.contact-icon {
    cursor: default;
}

.email-icon {
    height: 2.5rem;
}

/* Footer section */
footer {
    background-color: rgb(33, 33, 33);
    color:white;
    width: 100%;
    height: max-content;
}
footer a{
    color: white;
}

footer p {
    padding:.5rem;
    color: rgb(200, 200, 200);
    text-align: center;
}

/* 429  390 */


.title svg{
    width: 3rem;
    height: 2rem;
}

.text{
    color: rgb(0, 128, 128);
}

/* BACK TO TOP
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: none;
    color: white;
    background-color:rgb(0, 128, 128);
    padding: 10px 15px;
    border-radius: 100%;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.back-to-top:hover {
    background-color: rgb(0, 128, 128);
} */
