.hero-container {
    flex-direction: column; /* Stack rows vertically */
    height: 225vh;
}

.row {
    display: flex;  /* Updated to flex */
    align-items: center; /* Align items to center vertically */
    justify-content: space-evenly;
    width: 100%;
    height: auto; /* Allow rows to adjust based on content */
    max-height: 25%;
    margin: 0;  /* Remove any margin */
    padding-top: 3.5vh;

}
.row2 {
    display: flex;  /* Updated to flex */
    align-items: center; /* Align items to center vertically */
    justify-content: right;
    width: 70%;
    height: auto; /* Allow rows to adjust based on content */
    max-height: 40%;
    margin: 0;  /* Remove any margin */
    padding-top: 3.5vh;

}
.row2 p{
    font-size: 3rem;
    width: 40%;
    margin: 0; /* Reset margin */
    color: white;
    -webkit-text-stroke: 1.5px black;
    text-shadow: -2px 4px rgb(0, 0, 0, .25);
}

h1{
    font-size: 5rem;
    margin: 0; /* Reset margin */
    color: white;
    text-decoration: underline white;
    -webkit-text-stroke: 1.5px black;
    text-shadow: -2px 4px rgb(0, 0, 0, .25);
}

p {
    font-size: 1.75rem;
    width: 40%;
    margin: 0; /* Reset margin */
    color: white;
    -webkit-text-stroke: 1.5px black;
    text-shadow: -2px 4px rgb(0, 0, 0, .25);
}

img {
    height: auto; /* Set height to auto */
    max-height: 70%; /* Limit height while maintaining aspect ratio */
    width: auto; /* Allow width to adjust */
}

#rimg{
    height:auto;
    max-height: 100%;
    width: auto;
}
#html{
    height:auto;
    max-height: 100%;
    width: auto;
}
#css{
    height:auto;
    max-height: 100%;
    width: auto;
    padding-right: 4vh;
}

.container {
    position: relative;
    width: auto;
    height: 50%;
  }

.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    background-color: #FFF;
  }
  
  .container:hover .overlay {
    opacity: 1;
  }
  .text {
    color: #000;
    font-size: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
  }