@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "DM Sans", sans-serif;
    background-color: #f8f9fa;
    color: #393e46;
    overflow-x: hidden;
}

.color-helper {
    color: #00adb5;
}
.color-helper-2 {
    color: #00adb5;
    margin-right: 0.5rem;
    font-weight: 700;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo img {
    height: 50px;
    width: 50px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    margin-bottom: 5rem;
    padding: 0 2.5rem;
    border-bottom: 5px solid #393e46;
}

 .navbar ul {
    display: flex;
    list-style-type: none;
}

.navbar ul li a {
    text-decoration: none;
    color: #393e46;
   margin: 0 10px;
    font-size: 1.1rem;
    padding: 15px 30px;
  display: block;
      border-radius: 15px;
    transition: background-color 0.4s, color 0.4s;
}


.navbar ul li a:hover {
    color: #eeeeee;
    background-color: #222831;
  
    cursor: pointer;
    
}

.hamburger {
    display: none;
}

.hero-img-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    flex-direction: column;
}

@media only screen and (max-width: 970px) {
    .hamburger {
        display: block;
    }

    .hamburger .lines {
        height: 5px;
        width: 30px;
        background: #222831;
        margin: 5px 0;
        border-radius: 20px;
    }

    .navbar {
        position: absolute;
        top: 100px;
        height: 0;
        background-color: #222831;
        width: 100vw;
        left: 0;
        right: 0;
        overflow: hidden;
    }

    .navbar ul {
        display: block;
        margin: 45px auto;
        text-align: center;
        max-width: fit-content;
        opacity: 0;
    }

    .navbar ul li a {
      margin-bottom: 10px;
      color: #eeeeee;
    }
    .navbar ul li a:hover {
     background-color: #eeeeee;
      color: #222831;
    }

    .navbar.active {
        height: 300px;
    }

    .navbar.active ul {
        opacity: 1;
    }


}

.hero-img {
    height: 13.3rem;
    width: 13.3rem;
 border-radius: 50%;
    object-fit: cover;
   /* animation: spin 5s linear infinite; */
  
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.hero-img-suitcase {
    height: 6.3rem;
    width: 6.3rem;
    
    object-fit: cover;
   
}

.hero-description-text {
    margin: 0 auto;
    font-size: 2rem;
    text-align: center;
    max-width: 1200px;
    padding: 1rem;
    margin-bottom: 3rem;
}
.hero-description-text h1 {
    margin-bottom: 5rem;
}
.hero-description-text p {
   line-height: 1.6;
}

.skills-section {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
max-width: 1200px;
margin: 5rem auto;
text-align: center;
}

.skills-section ul li {
    list-style-type: none;
    margin: 1rem 0;
}



.work-experience-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
max-width: 1200px;
margin: 0 auto;
justify-content: center;
align-items: center;
padding: 2rem;
}

.work-experience-container-image {
    max-width: 400px;
    height: 400px;
    border: 3ps solid black;

}
.work-experience-container-image img {
    height: 100%;
    width: 100%;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    border-radius: 20px;
}

.work-experience-container-text {
    padding: 2rem;

}
.work-experience-container-text h3 {
    margin-bottom: 1rem;
}
.work-experience-container-text p {
    margin: 1rem;
}
.work-experience-container-text ul li {
    margin-bottom: 0.5rem;
}

.cta {
 
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: #eeeeee;
    padding: 2rem;
    margin-bottom: 3rem;
}

.cta:last-of-type {
    font-size: 1.3rem;
}

.cta-card {
background-color: #222831;

    padding: 1rem 7rem 3rem 7rem;
    max-width: 1200px;
   

    border-radius: 15px;
}

.cta-btn {
    display: flex;
    font-size: 1rem;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.cta-card ul {
    margin: 2rem 0;
}

.cta-card ul li {
    list-style-type: none;
    font-size: 1.3rem;
}

i {
    font-size: 30px;
}

h1 {
    text-align: center;
    margin: 5rem 0;
}

.education-section {
    margin-top: 5rem;
    text-align: center;
}

.education-section h3 {
    margin-bottom: 3rem;
    font-size: 2rem;
}

.education-section h4 {
    margin-bottom: 1rem;
}

.education-section ul li {
    margin-bottom: 2rem;
}

.hobbies {
  padding: 60px 20px;
  background: #f8f8f8;
}

.hobbies-title {
  text-align: center;
  font-size: 2.4rem;
  margin-bottom: 40px;
  color: #222;
}

.hobbies-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.hobby-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hobby-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.hobby-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.hobby-card h3 {
  margin: 15px 0 10px;
  font-size: 1.4rem;
  color: #333;
}

.hobby-card p {
  font-size: 0.95rem;
  color: #555;
  padding: 0 15px;
}



.footer {
    padding: 2.5rem;
    border-top: 3px solid #393e46;
}

.footer h1 {
    margin-bottom: 2rem;
}

.footer nav ul {
    margin-bottom: 2rem;
}

.footer-nav ul li {
    list-style-type: none;
    margin: 10px 0;
    
}

.footer nav ul li a {
    text-decoration: none;
    color: #393e46;
}

.footer-contact {
    margin-bottom: 2rem;
}

.portfolio-box-grid {
    display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
    max-width: 1200px;
 
    
    margin: 0 auto;
    gap: 1rem;
   
    border-radius: 15px;
}

.portfolio-cards {
   margin: 20px;
   color: #eeeeee;
   box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
.portfolio-cards h3 {
   margin: 20px;
   color: #eeeeee;
}
.portfolio-cards p {
   margin: 50px;
   color: #eeeeee;
}

.portfolio-cards img {
  
    width: 100%;
    height: 100%;
  
}

.grid-container-portfolio {
    display: grid;
  
    grid-template-columns: 400px 500px;
    grid-template-rows:400px 400px;
   max-width: 100rem;
    margin: 100px auto;
    justify-content: center;
    column-gap: 1rem;
    row-gap: 1rem;
}

.grid-card {
  
}

.grid-card-portfolio ul {
    list-style-type: none;
}

.grid-card-portfolio ul li {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.card-info {
background-color: #222831;
color: white;
padding: 1rem;

}

.card-info h3 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.grid-card-portfolio img {
    width: 100%;
    height: 100%;

}

.card-summary {
   display: flex;
   flex-direction: column;
   justify-content: space-around;
   align-items: center;
    padding: 1.9rem 1.3rem;
    font-size: 1.4rem;
    line-height: 1.4;
    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
}

.card-summary button {
    padding: 1rem 2rem;
    background-color: #222831;
    color: white;
   box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
    border-radius: 8px;
    font-size: 1.6rem;
    cursor: pointer;
}

.card-summary button a {
    color: white;
    text-decoration: none;
    font-family: sans-serif;
}


@media only screen and (max-width:650px) {
    .cta-btn {
    display: flex;
    flex-direction: column;
    font-size: 1rem;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}
.number-box {
    margin-top: 1rem;
}
}

@media only screen and (max-width:950px) {
 .grid-container-portfolio {
    display: grid;
  
    grid-template-columns: 500px;
    
   max-width: 100rem;
    margin: 100px auto;
    justify-content: center;
    column-gap: 1rem;
    row-gap: 1rem;
}

.card-summary button {
    padding: 1rem 2rem;
    background-color: #222831;
    color: white;
   box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
    border-radius: 8px;
    font-size: 1.2rem;
    cursor: pointer;
    margin-bottom: 1rem;
}

.work-experience-container {
    display: grid;
    grid-template-columns:  1fr;
    grid-template-rows: auto;
    gap: 5rem;
max-width: 1200px;
margin: 0 auto;
justify-content: center;
align-items: center;
}
.work-experience-container-image {
    width: 400px;
    height: 400px;
    margin: 0 auto;

}
.work-experience-container .pos-1 {
    order: 1;

}
.work-experience-container .pos-2 {
    order: 2;

}
.work-experience-container .pos-3 {
    order: 3;

}
.work-experience-container .pos-4 {
    order: 4;

}
.work-experience-container .pos-5 {
    order: 5;

}
.work-experience-container .pos-6 {
    order: 6;

}
.work-experience-container .pos-7 {
    order: 7;

}
.work-experience-container .pos-8 {
    order: 8;

}


}