/* GENERAL */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
}
@font-face {
  font-family: AmsiPro;
  src: url(FontsFree-Net-AmsiPro-Ultra.ttf);
}
body{
    font-family: AmsiPro,sans-serif;
    background-color: rgb(255, 255, 255); /* Change the background color to light blue */
    
}
html{
    scroll-behavior: smooth;
    
}
p, h1, h2, h3, h4, a, li { 
  color: black; /* Ensure all text elements inherit the black color */
}

/* Transition */
.btn {
    transition: all 300ms ease;
}

/* Desktop NAV */
nav,
.nav-links{
    display: flex;
}
nav{
  display: flex;
  justify-content: space-around; /* Ensure space between left and right sections */
  align-items: center;
  height: 10vh;
  padding: 0 2rem;
  margin: 0 25%;
    
}
.left-nav {
  display: flex;
  align-items: center;
  gap: 3rem; /* Create a gap between the Home icon and About link */
}
.left-nav,.fa-home{
  font-size: 2rem; /* Adjust this size as needed to make the icon bigger */
  color: rgb(23, 20, 212);
}
.nav-links{
  list-style: none;
  display: flex;
  gap: 2rem;
}
.nav-links ul {
  display: flex;
}
.nav-links li {
  display: inline; /* Ensure each list item is displayed inline */
}
.nav-links a:hover {
  color: grey;
  text-decoration: none;
  text-underline-offset: 0.5rem;
}
.nav-links a {
  font-size: 1.5rem;
  color:rgb(37, 150, 190); /* Link color */
  text-decoration: none;
}
a{
  color:rgb(97, 95, 209);
    text-decoration: none;
    text-decoration-color: white;
}
a:hover{
    color:grey;
    text-decoration: underline;
    text-underline-offset: 1rem;
}
.icon2{
  cursor: pointer;
  max-height: 9vh;
  max-width: 9vh;
}

.logo-container {
  display: flex;
  justify-content: center;
  flex-grow: 1; /* Allow the logo container to take up available space */
  align-items: center;
}
.logo{
  display: flex;
  align-items: center;
  gap: 0.5rem; /* Adjust spacing between home icon and logo text */
  font-size: 2rem;
  color: rgb(0, 0, 0);
}
.logo i {
  font-size: 1.5rem; /* Adjust the size of the home icon */
  color: rgb(23, 20, 212); /* Icon color, adjust as needed */
}
.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-around;
    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: rgb(255, 255, 255);
    width: fit-content;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3 ease-in-out;
    z-index:1;
}
.menu-links a{
    display: block;
    padding: 10px;
    text-align: center;
    font-size: 1rem;
    color:rgb(23, 20, 212);
    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 {
    
    height: 96vh;
    
    box-sizing: border-box;
    min-height: fit-content;
  }
  
  .section-container {
    display: flex;
  }
  
  /* PROFILE SECTION */

  .top-left-text {
    position: absolute;
    top: 2%; /* Adjust to your preference */
    left: 1%; /* Adjust to your preference */
    color: white; /* Ensure text is visible on the background */
    font-size: 4rem; /* Adjust the font size as needed */
    max-width: 700px; /* Limit the width to force text wrapping into two lines */
    line-height: 1.2; /* Adjust line height for readability */
    text-align: left; /* Align text to the left */
  }
  .top-left-subtext {
    position: absolute;
    top: 25%; /* Adjust to your preference */
    left: 1%;
    font-size: 1rem; /* Slightly smaller than the main text */
    color: rgb(201, 201, 201); /* Same color as the existing text */
    margin-top: 1rem; /* Add some space between the two texts */
    max-width: 600px; /* Keep the width similar to the main text */
    line-height: 1.4; /* Adjust line height for readability */
    text-align: left;
  }
  
  #profile {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 96vh;
    background-image: url('./assets/background.PNG'); /* Use the correct path to your image */
    background-size: cover; /* Make sure the image covers the entire section */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Ensure the image doesn't repeat */
    position: relative; /* Allows positioning of the overlaying elements */
    color: white; /* Ensure the text is visible on the background */
    margin-bottom: 0; /* Remove bottom margin */
    
  }
  #profile .section__text {
    position: relative;
    z-index: 1; /* Ensure the text appears above the background */
    color: white; /* Set text color to white for visibility */
  }

  #profile::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Add a slight dark overlay to make the text more readable */
    z-index: 0; /* Keep this behind the text */
  }
  
  .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__p2 {
    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: 4rem;
}

/* 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(255, 255, 255) 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;
    color: lightblue;
    height: 70vh;
    background: linear-gradient(to bottom, rgb(140, 176, 231), white); /* Blue fades to white from top to bottom */
    padding: 4rem 20%; /* Add some padding to give space around the text */
    margin-top: 0; /* Remove top margin */
  }
  #about .title{
    color:rgb(23, 20, 212);
  }
  
  .about-containers {
    gap: 2rem;
    margin-bottom: 2rem;
    margin-top: 2rem;
    padding: 4rem 0; /* Add some padding to give space around the text */
  }
  
  .about-details-container {
    justify-content: center;
    flex-direction: column;
  }
  
  .about-containers,
  .about-details-container {
    display: flex;
  }
  
  .about-pic {
    border-radius: 2rem;
  }
  
  .arrow {
    position: absolute;
    right: -5rem;
    bottom: 2.5rem;
  }
  
  .details-container {
    padding: 1.5rem;
    flex: 1;
    background: white;
    border-radius: 2rem;
    border: rgb(53, 53, 53) 0.1rem solid;
    border-color: rgb(163, 163, 163);
    text-align: center;
  }

  .text-container{
    padding: 4rem 0; /* Add some padding to give space around the text */
  }

  .about-text{
    color:rgb(0, 0, 0);
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 18px;;
  }
  
  .section-container {
    gap: 4rem;
    height: 80%;
  }
  
  .section__pic-container {
    height: 400px;
    width: 400px;
    margin: auto 0;
  }
  .descri{
    color: rgb(124, 171, 214);
  }

/* EXPERIENCE SECTION */

  #experience {
    position: relative;
    padding: 0 5%;
    background: radial-gradient(circle, lightblue, rgb(0, 0, 95));
  }
  #experience .title{
    color:rgb(255, 255, 255);
  }
  
  .experience-sub-title {
    color: rgb(116, 114, 226);
    font-weight: 600;
    font-size: 1.75rem;
    margin-bottom: 2rem;
  }
  
  .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: 15rem;
    justify-content: space-around;
    gap: 0.5rem;
  }

  .job_text{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  
  article .icon {
    cursor: default;
  }
  
  .lvl{
    color: black;
  }
  
  /* 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);
  }
/* CONTACT */

#contact {
    display: flex;
    justify-content: center;
    flex-direction: column;
    height: 70vh;
    background: rgb(37, 150, 190);
  }
  #contact .title{
    color:rgb(3, 0, 189);
  }
  
  .contact-info-upper-container-container{
    display: inline-block;
    justify-content: start;
    align-items: start;
  }
  .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: (250, 250, 250);
    margin: 2rem 30%;
    padding: 0.5rem;
    background-color:white;
  }
  
  .contact-info-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem 0;
    
  }
  
  .contact-info-container p {
    font-size: larger;
    color:rgb(23, 20, 212);
    
  }
  
  .contact-icon {
    cursor: default;
  }
  
  .email-icon {
    height: 2.5rem;
  }
  
  .nim-img{
    height: 370px;
  }
  /* FOOTER SECTION */
  
  footer {
    height: 15vh;
    
  }
  
  footer p {
    text-align: center;
    color:rgb(23, 20, 212);
    font-weight: 500;
    font: bold;
  }
