@import url('https://fonts.googleapis.com/css2?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');


/* General CSS */
*{
  margin: 0;
  padding: 0;
}
body {
  font-family: "Poppins", sans-serif;
  background-color:#90ee900e;
}
html {
  scroll-behavior: smooth;
}

p{
  color:#50C878;
}

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

/* Header and Nav Css */

#profile {
  scroll-margin-top: 140px;
}

nav, .nav-links {
  display: flex;
}

  nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 17vh;
  background: #F9FEF9;
  top: 0;
  z-index: 100;
}


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

a {
  color: #50C878;
  text-decoration:none;
  text-decoration-color:white;
  transition: transform 0.2s ease, color 0.2s ease;
  display:inline-block; 
}

a:hover{
  color: #009c4a;
  text-decoration:underline;
  text-underline-offset:0.6rem;
  transform:scale(0.97) translate(5px, -5px);
}

.logo{
  font-size:2rem;
  display:flex;
  align-items:center;
  gap:1rem;
}

.logo:hover{
  cursor:default;
}

/* Hamburger Menu styles */
.hamburger-nav{
 display:none;
}

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

.hamburger-icon{
 display:flex;
 flex-direction:column;
 justify-content:space-between;
 height:24px;
 width:30px;
 cursor:pointer;
}

.hamburger-icon span{
  width:100%;
  height:2px;
  transition: all 0.3 ease-in-out;
  background-color:#50C878;
}

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

.menu-links a{
  display:block;
  padding:10px;
  font-size:1.5rem;
  text-decoration:none;
  transition: all 0.3 ease-in-out;
  color:#50C878;
  text-align:center;
}

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

/* Sections */
section {
 padding-top:4vh;
 height:96vh;
 margin:0 10rem;
 box-sizing:border-box;
 min-height:fit-content;
}

.section-container{
  display:flex;
}

/* Profile Section */
.my-pp{
  border-radius:50%;
  width:350px;
  height:400px;
}

#profile{
  position:relative;
  display:flex;
  justify-content: center;
  align-items:center;
  gap:5rem;
  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-p2{
  font-size:1.8rem;
  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:8rem;
  border-radius:2rem;
}

.btn-color-1{
   color:white;
   font-weight:400;
   font-size:0.9rem;
   border:none;
   background-color:#50C878;
}

.btn-color-1:hover{
  background-color: #00a94f;
}

.btn-color-2:hover{
  cursor:pointer;
  background-color: #50C878;
  color:white;
  font-weight:400;
}

.btn-color-2{
  color:#009c4a;
  font-weight:400;
  font-size:0.9rem;
  border:2px solid #50C878;
  background-color:white;
}

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

.btn-container{
  gap:1rem;
}

/* About Section  */
#about{
  position:relative;
}

.about-containers{
  gap:2rem;
  margin:2rem 0;
}

.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: 4rem;
  bottom: 1rem;
}

.details-container{
  padding:1.5rem;
  flex:1;
  background-color:white;
  border-radius:2rem;
  border:2px solid black;
  text-align:center;
}

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

.section-pic-container{
  height:400px;
  width:400px;
  margin:auto 0;
}

.experience-details-container{
  display:flex;
  gap:2rem;
  align-items:top;
  justify-content:space-around;
  align-items:start;
  flex-direction:column;
  padding-top:3rem;
}

.article-container{
  padding:1rem;
  display:flex;
  gap:4rem;
  justify-content: center;
  align-items: center;
}

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

article .icon{
  cursor:default;
}

/* Skills Section  */
#experience{
  position:relative;
}

.experience-sub-title{
  font-weight:500;
  font-size:1.8rem;
  margin-bottom:2rem;
  color:rgba(0, 0, 0, 0.699);
}
.article-container article {
  transition:all 300ms ease;
}

.article-container article:hover {
  transform:translate(2px,-2px);
}


/* Projects Section  */
#projects{
  position:relative;
}

.project-img{
   border-radius:2rem;
   width:90%;
   height:200px;
}

.color-container{
  border:1px solid #50C878;
}

.project-title{
  margin:1rem;
  color:#50C878;
}

/* Contact Section  */
#contact{
  display:flex;
  justify-content: center;
  flex-direction:column;
  height:70vh;
  position:relative;
}

.contact-info-upper-container{
  display:flex;
  justify-content: center;
  border-radius: 2rem;
  border: 2px solid #50C878;
  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 a{
  font-size:larger;
  color:#50C878;
}

.contact-info-container p a:hover{
  text-decoration:none;
  cursor:default;
  transform:translate(1px , -1px);
}

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

/* Footer Section  */
footer{
  height:26vh;
  margin:0 1rem;
}

footer p{
  text-align:center;
}

footer a:hover{
  transform:translate(2px , -2px);
  /* transform:none; */
  text-decoration:none;
}


section {
  margin: 0 auto;
  padding: 2rem 5%;
  width: 100%;
}

.about-containers,
.experience-details-containers,
.contact-info-upper-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.btn {
  width: auto;
  min-width: 7rem;
  padding: 0.8rem 1.2rem;
}

