*{
    margin: 0;
    padding: 0;
}
body{
    background-image: url('../img/aboutbg.jpg');
    background-repeat : no-repeat;
    background-position : center;
    background-size : cover;

}
/* Navbar */
nav{
    position : fixed;
    top : 0;
    left : 0;
    display : flex;
    align-items : center;
    justify-content : space-around;
    width : 100%;
    padding : 20px 0;
    font-family: "Poppins";
    background-color: #000000;
    z-index : 100;
}
.logo{
    display : flex;
    align-items : center;
    justify-content : center;
    flex-direction: column;
    gap : 7px;
    letter-spacing: 2px;
}
.logo img{
    height : 25px;
    width : 25px;
}
.logo div{
    color : #fff;
}
.logo div span{
    color : orange;
}
.navbar-items ul li{
    display : inline-block;
    margin-right: 30px;
}
nav a{
    text-decoration : none;
    color : #eee;
    position : relative;
    font-weight : bold;
}
nav a:focus{
    color : orange;
}
nav a::after{
    content : '';
    position : absolute;
    bottom : -10px;
    left : 0px;
    height : 2px;
    width : 0;
    background-color : orange;
    transition : 0.5s ease;
}
nav a:hover::after{
    width : 105%;
}
#hamburger{
    display : none;
    height : 30px;
    width : 30px;
    padding : 4px;
    transition : 0.5s ease;
    cursor : pointer;
}
#hamburger img{
    height : 17px;
    width : 17px;
    filter : invert(100%);
    cursor : pointer;
    transition : 0.5s ease;
}
#hamburger img:hover{
    filter : invert(60%);
}
.active{
    /* background : hsla(0, 100%, 100%, .8); */
    background : #121212;
}

img{
    width: 334px;
    height: 334px;
}

/*Dropdown for year */
/*.team-selection{
    display: flex;

}

#team-container-2024 {
    display: block;
  }*/

/* Teams card styling */
/*.team-container-2024{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 150px;
}*/

.team-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 150px;
}
.team-head h1{
    font-size: 2.2rem;
    color: #fcc419;
    margin-bottom: 50px;
    font-family: 'Raleway';
}
.container-row{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    margin-bottom: 75px;
    flex-wrap: wrap;
}


.card-container{
    padding: 15px;
    background-color: rgb(37, 37, 37);
    border-radius: 10px;
    position: relative;
    transition: transform 1s ease-in-out;
    overflow: hidden;

    /* z-index: -5; */
}
.card-container:hover {
    transform: translateY(-15px);
    box-shadow: 0px 3px 10px 3px rgb(170 170 173 / 0.5);
    transition: transform 1s ease-in-out;
}
.card-container:before {
    content: "";
    width: 50%;
    height: 50%;
    position: absolute;
    right: 0;
    top: 0;
    background : #ccc;

    /* background: -webkit-linear-gradient(#ffbf00, #ffa000); */
    border-top-right-radius: 10px;
    transition: width 1s ease-in-out;
}
.card-container:after {
    content: "";
    width: 50%;
    height: 50%;
    position: absolute;
    left: 0;
    bottom: 0;
    /* background: -webkit-linear-gradient(#0052cc, #005fec); */
    /* background : #ccc; */
    background: -webkit-linear-gradient(#ffbf00, #ffa000);
    border-bottom-left-radius: 10px;
    transition: all 1s ease-in-out;
}
.card-container:hover::before, .card-container:hover::after {
    width: 100%;
    transition: width 1s ease-in-out;
}

/* .card-container:hover .hover-before{
    background-color: #121212;
} */

.card{
    display: flex;
    color: white;
    font-family: 'Poppins';
    /* border: 2px solid red; */
    width: 334px;
    height: 334px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 50;
    position: relative;
    background-color: #121212;
}

.hover-before{
    height: inherit;
    width: inherit;
    /* position: absolute; */
    transition: 0.4s ease;
    /* z-index: 10; */
}


/* .hover-before:hover{
    /* display: none; */
    /* filter: brightness(0.5); */
    /* opacity: 0.5;
    z-index: -1; */
/* } */ 


.avatar{
    height: inherit;
    width: inherit;
}
.avatar img{
    height: 334px;
    width: 330px;
}
.name{
    font-size: 1.5rem;
    font-weight: 700;

}
.hover-after{
    height: inherit;
    width: inherit;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    /* z-index: -10; */
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    position: absolute;
    opacity: 0; /* Initially hidden */
    pointer-events: none; /* Prevent interaction when hidden */
    background : linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    transition : 0.4s ease;
}

.card-container:hover  .hover-after {
    opacity: 1; /* Show hover-after on hover */
    pointer-events: auto; /* Allow interaction when visible */
  }
/* .hover-after:hover{

    z-index: 50;
    display: flex;
} */
.position{
    margin: 5px 0;
    font-weight: 500;
}
.desc{
    font-size: 1rem;
    text-align: center;
    margin: 5px 0;
}

.email{
    margin: 0 0 15px 0;
}
.email a{
    color: white;
    transition: all 0.4s;
}
.email a:hover{
    color: rgba(255, 166, 0);
}
.social-icons{
    width: inherit;
    font-size: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 15px;
    /* justify-content: space-evenly; */
    align-items: flex-end;
    padding-right: 20px;
    padding-top: 10px;

}

.social-icons > a{
    cursor: pointer;
    color: white;
    transition: 0.3s ease-in-out;
}
/* .social-icons > i:hover{
    color: orange;
    transform: scale(1.2);
} */
.social-icons>a:hover{
    transform: scale(1.3);
}
.social-icons>a:visited{
    color: white;
}
.social-icons>a:active{
    color: white;
}
.lin:hover{
    color: rgb(50, 50, 221);
}
.env:hover{
    color: #c71610;
}
.ig:hover{
    color: rgb(159, 22, 186);
}
@media only screen and (max-width : 750px){
    
    .navbar-items ul{
        position : absolute;
        top : 0;
        left : -100%;
        height : 100vh;
        display : flex;
        justify-content : center;
        align-items : center;
        flex-direction: column;
        background: hsla(0, 0, 100%, 0.2);
        backdrop-filter: blur(24px);
        --webkit-backdrop-filter: blur(24px);
        width : 70vw;
        transition : 0.5s ease;
        text-align : center;
        position : absolute;
    }
    .navbar-items ul li{
        font-size : 1.6rem;
        margin-bottom : 20px;
        /* text-align : center; */
    }
    .navbar-items ul li a{
        color : #eee;
        font-weight : bold;
    }
    #hamburger{
        display : block;
    }
    
}