* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* Global Styles */
  body {
    font-family: Arial, sans-serif;
    background-color: #F8F9FA;
  }
  
  .container-2 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
    
  .container-1 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  header {
    background-color: #20262c;
    color: #fff;
    padding: 10px 0px;
  }
  
  .logo {
    text-decoration: none;
    color: #fff;
    font-size: 24px;
  }
  
  nav ul {
    list-style: none;
    display: flex;
  }
  
  nav ul li {
    margin-right: 20px;
  }
  
  nav ul li:last-child {
    margin-right: 0px;
    padding-right: 10px ;
  }
  
  nav ul li a {
    text-decoration: none;
    color: #fff;
    position: relative;
  }
  
  /* Add transition to underline effect using ::after */
  nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #fff; /* Color of underline */
    transition: width 0.3s ease; /* Transition for width change */
  }
  
  nav ul li a:hover::after {
    width: 100%; /* Expand underline on hover */
  }
  

  .content {
    padding: 50px 0;
  }

  
  .text {
   
   padding-top: 25vh;
   padding-right: 5vw;

  }
  
  .text h2 {
    font-size: 24px;
    margin-bottom: 20px;
  }
  
  .text p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
  }
  
  .btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    
  }
  
  .btn:hover {
    background-color: #0056b3;
  }
  
  #img-home {
    max-width: 70%;
    border-radius: 20px;
    color: white;
    padding: 5%;
    box-shadow: 0px 0px 20px grey;
  }
  
  #img-about {
    max-width: 70%;
    border-radius: 20px;
    color: white;
    padding: 5%;
    margin-top: 10vh;
    margin-bottom: 10vh;
    box-shadow: 0px 0px 20px grey;
  }
  #abt{
    margin-top: 30vh;
   
  }
  .abt-header{
    font-family: text2;
    font-size: 24px; /* Set the font size */
    font-weight: bold; /* Set the font weight to bold */
    color: #333; /* Set the color */
    margin-bottom: 20px; /* Add spacing at the bottom */
    border-bottom: 2px solid #0e4d91; /* Add an underline effect */
    padding-bottom: 10px; 
    /* position: relative; */
    cursor: pointer;
  /* transition: color 0.3s ease-in-out */
  }


  .container-fluid {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  #skills{
    font-family: text2;
    font-size: 24px; /* Set the font size */
    font-weight: bold; 
    position: relative;
    margin-top: 5%;
    cursor: pointer;
    margin-bottom: 20px; /* Add spacing at the bottom */
    border-bottom: 2px solid #0e4d91; /* Add an underline effect */
    padding-bottom: 10px; 
    /* position: relative; */
    text-align: center;
  }
  

  .skill-section {
    padding: 50px 0;
  }
  
  .skill {
    text-align: center;
    margin: 20px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    width: calc(50% - 40px);
  }
  
  .skill:hover {
    transform: translateY(-5px);
  }
  
  .skill i {
    font-size: 48px;
    color: #007bff;
  }
  
  .skill h2 {
    font-family: 'Arial Black', sans-serif;
    margin: 10px 0;
    font-size: 24px;
    color: #333;
  }
  
  .skill p {
    font-size: 16px;
    color: #666;
  }
  

  .container-project {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .project-section {
    padding: 50px 0;
  }
  
  .project {
    margin: 20px;
    padding: 20px;
    /* position: relative; */
    overflow: hidden;
    background-color:white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    width: calc(40% - 4px);
  }
  .project .project-image {
    /* position: absolute; */
    top: 0;
    left: 0;
    /* width: 100%;
    height: 100%; */
    opacity: 0.9;
    transition: opacity 0.3s ease;
  }
  
  .project:hover .project-image {
    opacity: 1;
  }

  .project:hover {
    transform: translateY(-5px);
  }
  
  .project img {
    width: 100%;
    border-radius: 10px;
  }
  
  .project-info {
    padding: 20px;
    position: relative;
  }

  .btn-project {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    font-size: 10px;
    text-decoration: none;
    border-radius: 5px;
    transition: opacity 0.3s ease-in-out;
    opacity: 0; /* Initially hide the button */
  }
  
  .project:hover .btn-project {
    opacity: 1; /* Show the button on hover */
  }
  
  
  .project h2 {
    font-size: 24px;
    color: #333;
    margin: 10px 0;
  }
  
  .project p {
    color: #666;
  }

  .container-contact {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .contact-section {
    padding: 50px 0;
  }
  
  .form-group {
    margin-bottom: 20px;
  }
  
  label {
    display: block;
    margin-bottom: 5px;
  }
  input[type="text"],
  input[type="email"]{
    border-top: none;
    border-right: none;
    border-left: none;
  }
  
  input[type="text"],
  input[type="email"],
  textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
  }
  
  textarea {
    resize: vertical;
  }
  
  .btn-contact {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    border: 0;
    width: 100%;
    transition: background-color 0.3s ease-in-out;
  }
  
  .btn-contact:hover {
    background-color: #0056b3;
  }
  
  .btn-project {
    display: inline-block;
    padding: 10px 20px;
    background-color: #02270c;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out;
  }
  
  .btn-project:hover {
    background-color: #020a13;
    color: white;
  }
  footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
  }
  
  .social-icons {
    margin-bottom: 10px;
  }
  
  .icon-link {
    color: #fff;
    font-size: 24px;
    margin: 0 10px;
    text-decoration: none;
  }
  
  .icon-link:hover {
    color: #007bff;
  }

  .social-icons-home{
    margin-bottom: 10px;
    margin-top: 20px;
   
  }
  
  .icon-link-home {
    color: #221414;
    font-size: 34px;
    margin: 0 25px;
    position: relative;
    text-decoration: none;
  }
  
  .icon-link-home:hover {
    color: #007bff;
  }
  .icon-text {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.8);
    color: #e41414;
    padding: 5px;
    border-radius: 5px;
    font-size: 20px;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
  }
  .carousel-item img{
    opacity: 0.7;
  }
  .carousel-item p{
    height: 45px;
     font-size: 9px; margin-bottom: 15px;
  }
  .carousel-item img:hover{
    opacity: 1;
  }
  #learn{
    background-image: url("../image/kelly-sikkema-tk9RQCq5eQo-unsplash.jpg");
    background-size: cover;
    color: #F8F9FA;
  }
  .icon-link-home:hover .icon-text {
    opacity: 1;
    transform: translateX(30%);
    z-index: 1;
  }



  







  .abt-header::first-letter{
    color: chocolate;
    font-family: text;
  }
  @font-face {
    font-family: text2;
    src: url(../FONT/FontsFree-Net-FPTypewriterDEMO-Bold\ \(1\).ttf);
  }
  
#animated-text{
  overflow: hidden; /* Hide overflowing content */
  white-space: nowrap; /* Prevent line breaks */
  border-right: 1px solid white; /* Add a blinking cursor */
  animation: typing 3s steps(20) forwards;
  width: 100%;
  font-size: 2vw;
  font-family: text2;
}
@keyframes typing {
  from {
    width: 0;
    color: chocolate;
  }
  to {
    width: 100%;
    color: black;
  }
}
@font-face{
  font-family: myhome;
  src: url(../FONT/AverBoldItalic-01yG.ttf);
}
  
@font-face {
  font-family: text;
  src: url(../FONT/OregonLdoBlackOblique-L3G4.ttf);
}
  
  /* Media queries for responsiveness */
  @media (max-width: 960px) {
    .container {
      flex-direction: column;
      align-items: flex-start;
    }
    nav {
      margin-top: 10px;
    }
     
  .skill {
    text-align: center;
    margin: 20px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    width: calc(60% - 4px);
  }
  #animated-text{
    overflow: hidden; /* Hide overflowing content */
    white-space: nowrap; /* Prevent line breaks */
    border-right: 1px solid white; /* Add a blinking cursor */
    animation: typing 3s steps(20) forwards;
    width: 100%;
    font-size: 4vw;
    font-family: text2;
  }
  @keyframes typing {
    from {
      width: 0;
      color: chocolate;
     
    
    }
    to {
      width: 100%;
     
    }
  }
  .project {
    margin: 20px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    width: calc(60% - 4px);
  }
  
    #img-home {
      max-width: 100%;
      border-radius: 20px;
      color: white;
     padding: 5%;
      box-shadow: 0px 0px 20px grey;
    }
    #img-about {
      max-width: 100%;
      border-radius: 20px;
      color: white;
     padding: 5%;
     margin-top: 5vh;
      box-shadow: 0px 0px 20px grey;
    }
    .text {
   
      padding-top: 5vh;
      padding-right: 0vw;
   
     }
     #abt{
      margin-top: 0vh;
     
    }
    
  .social-icons-home{
    margin-bottom: 10px;
    margin-top: 20px;
   
  }
  
  .icon-link-home {
    color: #221414;
    font-size: 34px;
    margin: 0 15px;
    position: relative;
    text-decoration: none;
  }
  
  .icon-link-home:hover {
    color: #007bff;
  }
  .icon-text {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    font-size: 16px;
    padding: 5px;
    border-radius: 5px;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
  }
  
  .icon-link-home:hover .icon-text {
    opacity: 1;
    transform: translateX(30%);
    z-index: 1;
  }


  }