.container {
    position: fixed;
    overflow: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    scroll-behavior: smooth;
    height: 100%;
   
  }

  .header-row {
    background-color: grey;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    background-image: linear-gradient(45deg,white,grey, black);
    top: 0px;
   /* color: white; rgb(118, 203, 224), rgb(214, 44, 72) ,*/
  
  }

  .header-row .box {
    padding: 10px;
  }

  .header-row li {
    display: inline;
    padding: 5px;
    font-size: larger;
    color: white;
  }

  .header-row a {
    text-decoration: none;
    color: white;
    font-size: larger;
  }

  .header-row a:hover {
    text-decoration: underline;
    color: lightgray;

  }

  .row {
    padding: 100px;
    height: 75%;
   
    background-image: url('../images/b6.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }

  .row .box {
    padding: 20px;
    margin: 10px;
    color: white;

  }
.row .box h1 {
    color: white;
   
    font-size: 4em;
    
    text-shadow: 1px 1px 2px black, 0 0 25px white, 0 0 5px rgb(19, 180, 192);
    overflow: hidden; /* Hide overflowing text */
    white-space: nowrap; /* Prevent text wrapping */
    border-right: 2px solid white; /* Add a cursor effect */
    animation: typing 5s steps(70, end), blink 0.7s step-end infinite alternate; /* Adjusted speed */
}
.box .box1{
    background-color: rgba(0, 0, 0, 0.5); /* Default semi-transparent background */
    padding: 30px;
    transition: background-color 0.3s ease; 
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* Shadow effect */
    
    border: 2px solid transparent;
}

.box .box1:hover {
    background-color:grey; /* Lighter background on hover */;
    border-color: white; /* Lighter background on hover */
    color: black;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3); /* Enhanced shadow on hover */
    transform: scale(1.05); /* Slightly enlarge on hover */
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease; /* Smooth transition */
      
}

@keyframes typing {
    from {
        width: 0; /* Start with no text visible */
    }
    to {
        width: 100%; /* Reveal the full text */
    }
}

@keyframes blink {
    from {
        border-color: transparent;
    }
    to {
        border-color: white;
    }
}

  .footer {
    padding: 20px;
    margin: 0px;
    background-color: black;
    color: white;
    font-size: large;
  }

  button {
    background-color: teal;
    padding: 10px;
    color: white;
    border: none;
    border-radius: 10%;
  }
/* Half-half flex layout for About and Skills */
.about-skills-flex {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: stretch;
  margin-top: 20px;
}

.about-box, .skills-box {
  flex: 1 1 0;
  min-width: 0;
  background: rgba(0,0,0,0.3);
  padding: 32px 24px;
  border-radius: 12px;
  color: white;
  box-sizing: border-box;
}

.skills-box .icon-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.skills-box .icon-container img {
  height: 48px;
  width: 48px;
  object-fit: contain;
  background: #fff2;
  border-radius: 8px;
  padding: 4px;
  transition: transform 0.2s;
}

.skills-box .icon-container img:hover {
  transform: scale(1.1) rotate(-5deg);
  background: #fff5;
}

/* Responsive: Stack on small screens */
@media (max-width: 900px) {
  .about-skills-flex {
    flex-direction: column;
    gap: 20px;
  }
}
.skills-box ul,
.skills-box li {
    color: white;
    font-size: 1.1em;
}
.skills-box ul {
    list-style: disc;
    margin-left: 20px;
}

