#intro::before,
#intro::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 45%;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: -2;
    height: 100%;
}

#intro::before {
    left: 0;
    background-color: #FFF2D7; /* Replace with the URL of the blurred left-side image */
    width: 56%; /* Adjust the blur intensity as needed */
    z-index: -1;
    opacity: 0.95;
    box-shadow: 5px 0px 7px 15px #FFF2D7;
}

#intro::after {
    right: 0;
    background-image: url('../img/normanpd.png'); /* Replace with the URL of the right-side image */
}

#intro {
    position: relative;
    width: 100%;
    height: 100%; /* You can adjust the height as needed */
    z-index: 50;
}
/* Media query for smaller screens */
.intro_container {
    display: flex;
    flex-direction: column;
    width: 60%;
    height: 100%;
    align-items: center;
    justify-content: center;
}
@media (max-width: 850px) {
    #intro::before {
        width: 100%; /* Full width on smaller screens */
    }

    #intro::after {
        width: 0%; /* Hide on smaller screens */
    }
    .intro_container{
        width: 100%;
    }
}

.btn {
    font-size: 1.2em;
    padding: 10px 20px;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin: 20px;
}

#git {
    background-color: #898989;
}

#use {
    background-color: black;
}

#git:hover {
    background-color: blue;
    opacity: .6;
}

#use:hover {
    background-color: blue;
    opacity: .6;
}

#head {
    display: inline-block;
    padding: 12px 20px 12px 20px;
    margin: 20px 5px 10px 5px;
    text-align: center;
    
}

#punch {
    display: inline-block;
    width: 80%;
    padding: 10px;
    margin: 5px;
    text-align: center;
}

#punch > h1 {
    color: black;
    font-size: 1.7em;
    padding: 5px;
}
#punch > p {
    line-height: 1.6;
    font-size: 1.2em;
    text-align: justify;
    padding: 5px 10px;
}
#punch p a:link{
    color: blue;
}
#punch p a:visited{
    color: purple;
}
#punch p a:hover{
    text-decoration: none
}
#gallery {
    padding: 50px;
    margin-top: 30px;
    text-align: center;
}

#gallery > h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
}

.Featuresgal {
    display: grid;
    grid-gap: 0.5rem;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    grid-template-rows: auto;
    justify-content: space-between;
    align-content: space-between;
    justify-items: center;
    padding-bottom: 70px;
}

.Feature {
    display: inline-block;
    text-align: center;
    max-width: 300;
    margin: 20px;
    padding: 10px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid #f5f5f5;
    position: relative;
    height: 300px; /* Initial height */
    overflow: hidden; /* Hide the overflowing content */
}

.Feature img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-top: 15px;
}

.Feature h3 {
    font-size: 1.5em;
    color: #203129;
    margin-top: 15px;
}

.Feature p {
    color: #203129;
    margin: 10px;
}

.Feature .details {
    display: none;
    color: #203129;
    font-size: 0.9em;
    margin-top: 10px;
    position: absolute;
    left: 0;
    width: 100%;
    padding: 10px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: justify;
    /* transition: display 1s ease; */
}

.Feature:hover {
    transform: scale(1.05); 
    height: auto; 
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    height: auto; /* Allow height to adjust based on content */
    max-height: 500px; /* Maximum height to prevent overflow */
    padding-bottom: 20px;
}

.Feature:hover .details {
    display: block;
    position: static; /* Ensure it stays within the expanded feature */
    padding-top: 10px;
}
