body {
    overflow-x: hidden;
}

header {
    height: 100vh;
}

.quote {
    top: 40%;
    width: 50%;
    text-align: left;
}

.quote h2{
    font-size: 2.5em;
}
.quote h2 span{
    color: black;
}

.quote p {
    margin-bottom: 10px;
}

hr.first {
    float: right;
}

hr {
    width: 1%;
    height: 1px;
    outline: none;
    border: none;
    background-color: #308482;
}

.background {
    position: absolute;
    top: 100px;
    right: 0;
    bottom: 0px;
    height: 100vh;
    width: 50%;
    overflow-x: hidden;
    background: url(Animebg.png) no-repeat center;
    background-size: cover;
    transition-delay: .1s;
    transition-timing-function: ease-in-out;
    transition-duration: .7s;
    transition-property: all;
}

hr.animate-hr {
    width: 100%;
    transition: 1s ease-in-out;
}

.show {
    transition-delay: .1s;
    transition-timing-function: ease-in-out;
    transition-duration: .7s;
    transition-property: all;
    animation-duration: 1500ms;
    animation-delay: 0ms;
    animation-name: fadeIn;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translate(50%);
    }

    100% {
        opacity: 1;
        transform: translate(0%);
    }
}

.Team-con {
    margin-top: 20vh;
    height: auto;
    width: 100%;
    padding: 15px;
    display: flex;
    flex-wrap: wrap;
    /* background-color: rgb(251, 251, 251); */
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.Team-con .card {
    position: relative; /* Ensure the parent has a non-static position */
    height: 80vh;
    width: 28vw;
    background-color: white;
    display: flex;
    overflow: hidden;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1);
}

.Team-con .card img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.Team-con .card:hover img {
    transform: scale(1.1);
}

.Team-con .card .social-links {
    position: absolute; /* Position it absolutely within the relative parent */
    height: 100%; /* Set height to 100% so it stays within its parent */
    width: 100%; /* Set width to 100% so it stays within its parent */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 5;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.Team-con .card:hover>.social-links {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.Team-con .card .social-links i {
    color: var(--bg-color);
    height: 1.8em;
    width: 1.8em;
    text-align: center;
    border-radius: 100px;
    font-size: 1.5em;
    border-radius: 100px;
    background-color: white;
    padding: 10px;
}

.detail {
    position: absolute;
    width: 100%;
    height: 15%;
    background: white;
    color: black;
    padding: 10px;
    gap: 10px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    z-index: 10;
    transition: .5s ease;
}
.detail .name{
    font-size: 1.5em;
    color: var(--bg-color);
    font-family: sans-serif;
    font-weight: 600;
    transition: .5s ease;
}
.detail .desig{
    font-size: 1em;
    color: rgba(0, 0, 0, 0.350);
    font-family: sans-serif;
    font-weight: lighter;
    transition: .5s ease;
}
.Team-con .card:hover> .detail{
    background-color: transparent;
}
.Team-con .card:hover> .detail .name{
    color: white;
}
.Team-con .card:hover> .detail .desig{
    color: white;
}
.footer-distributed{
    margin-top: 0;
}
@media screen and (max-width: 480px){
    .Team-con .card{
        height: 60vh;
        width: 100%;
    }
    .detail{
        height: 20%;
    }
    .background{
        width: 100%;
        height: 45vh;
    }
    .quote {
        padding: 10px;
        top: 60%;
        width: 100%;
    }
    .detail .desig {
        color: rgba(0, 0, 0, 0.5);
        font-weight: 400;
    }
}
