body{
    background: url(images/n825vxqc.png);
    background-size: cover;
    background-attachment: fixed;
    margin: 0;
}

.menu-btn,.dropdown-btn,.card-btn{
    background-color: transparent;
    color: white; 
    cursor: pointer;
    border-color: whitesmoke;
    border-style: solid;
    border-radius: 6px;
    border-width: 1px;
    width: fit-content;
    height: 30px;
    font-weight: 500;
    font-family: "Rajdhani", sans-serif;
    font-size: 18px;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.5);
}

.card-btn{
    margin-bottom: 15px;
}

.menu-btn{
    display: inline-block;
    padding: 0 13px;
    margin:0 15px 0; 
    box-shadow: #000;
}
.dropdown-btn{
    display: block;
    margin: 10px;
    text-decoration: none;
}

.card-btn:hover, .menu-btn:hover, .contact-us-btn:hover{
    background-color: white;
    color: black;
}

.contact-us-btn{
    background-color: rgb(39, 70, 207);
    color: white; 
    cursor: pointer;
    /* border-color: whitesmoke; */
    border-style: none;
    border-radius: 12px;
    border-width: 1px;
    width: fit-content;
    height: 40px;
    font-weight: 500;
    font-family: "Rajdhani", sans-serif;
    font-size: 18px;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.5);
    display: inline-block;
    padding: 0 13px;
    margin:0 15px 0; 
    box-shadow: #000;
}

.header-container{
    flex: 1;
    flex-direction: column;
    max-height: 1000px;
}

.nav-links{
    padding-inline-start: 0px;
}

.nav-bar{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px 5px 50px;
}

.right-bar{
    display: flex;
    display: row;
}

.ublogo-home{
    max-width: 200px;
    padding-top: 20px;
}

.sedslogo-corner{
    max-width: 200px;
    padding-top: 20px;
}

.nav-bar .toggle-btn{
    color: white;
    font-size: 25px;
    cursor: pointer;
    display: none;
    ;
}

.dropdown-menu{
    position: absolute;
    right: 30px;
    top: 100px;
    background-color: rgba(0,0,0,0.7);
    border-radius: 10px;
    display: none;
}

.dropdown-menu.open{
    display: block;
}

/* RESPONSIVE NAVBAR */
@media(max-width: 1300px){ 
    .nav-links,
    .contact-btn-container
     {
        display:none;
    }

    .nav-bar .toggle-btn{
        display: block;
    }
}

.main-logo{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding-top: 60px;
    padding-bottom: 90px;
    padding-right: 20px;
}

.ubsedslogo{
    height: fit-content;
    max-width: 70%;
}


/* .card-container,.card-container-subteams{
    background:linear-gradient(rgba(0,0,0,0), #000 20%);
}

.card-container,.card-container-subteams, .card-container-subteams-page{
    display: grid;
    grid-gap: 50px;
    padding: 60px;
    padding-top: 300px;
}

.card-container{
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card-container-subteams, .card-container-subteams-page{
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    padding: 90px 300px 40px;
} */


.card-container, .card-container-subteams, .card-container-subteammain{
    background:linear-gradient(rgba(0,0,0,0), #000 20%);
    display: grid;
    padding: 60px;
}

.card-container, .card-container-subteams{
    grid-gap: 50px;
    padding-top: 300px;
}

.card-container-subteammain{
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 50px;
    padding-top: 100px;
}

.card-container{
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card-container-subteams{
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    padding: 90px 300px 40px;
}


.card-home-subteampage{
    border-radius: 25px;
    overflow: hidden;
    padding: 3rem 0 0;
    transition: transform 200ms ease, box-shadow 0.3s ease;
    height: fit-content;
    border-color: white;
    border-style: solid;
    border-width: 2px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-size: cover;
    /* max-width: 830px; */
}

@media (hover){

    .card-content{
        transform: translateY(22%);
        transition: transform 200ms ease;
    }
    .card-home-subteampage:hover{
        transform: scale(1.03);
        /* box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); */
        .card-content{
            transform: translateY(0%);
        }
    }
}

.card-content{
    padding: 70px 20px 10px;
    background: linear-gradient(
        to bottom, /* Specify the direction of the gradient */
        rgba(0, 0, 0, 0), /* Fully transparent black */
        rgba(0, 0, 0, 0.9), /* 10% opaque black */
        rgba(0, 0, 0, 1) /* Fully opaque black */
    );
    height: fit-content;
}

.card-title, .FAQ-title{
    font-family: "Rajdhani", sans-serif;
    color: white;
    font-size: 40px;
    line-height: 1px;
    padding-top: 50px;
}

.subteam-card-title{
    font-family: "Rajdhani", sans-serif;
    color: white;
    font-size: 70px;
    line-height: 1px;
    padding-top: 50px;
}

.card-body{
    font-family: "Rajdhani", sans-serif;
    color: white;
    opacity: 0.7;
    font-family: "Rajdhani", sans-serif;
    font-size: 16px;
    padding-bottom: 5px;
}

.grid-col-span{
    grid-row-start: 2;
    grid-column: span 2;
}

.grid-col-span3{
    grid-row-start: 3;
}

.grid-col-span2{
    grid-row-start: 2;
}

.grid-col-span1{
    grid-row-start: 1;
}

/* @media(max-width: 850px){
    .grid-col-span, .last-card{
        grid-column: span 1;
    }
    .card-container{
        padding: 30px;
        grid-gap: 30px;
    }
    .grid-col-span3, .grid-col-span2, .grid-col-span1{
        grid-row-start: auto;
    }
} */

@media(max-width: 1300px){
    .grid-col-span, .last-card{
        grid-column: span 1;
    }
    .card-container{
        padding: 30px;
        grid-gap: 30px;
    }
    .grid-col-span3, .grid-col-span2, .grid-col-span1{
        grid-row-start: auto;
    }
    .card-container-subteams{
        padding: 0px 40px 0px;
    }
}

.footer-container{
    display: flex;
    padding: 70px 20px 20px;
    align-items: center;
    justify-content: space-between;
    margin: 10px 50px;
    
}

.copyright-text{
    color: white;
    font-size: 15px;
    font-family: "Rajdhani", sans-serif;
}

.footer-logo-container{
    display: flex;
    justify-content: center;
    max-height: fit-content;
    align-items: center;
    margin-left: 115px;
}

.logo-test{
    margin: 0 12px 0;
}


/* SUBTEAMS PAGE*/

.subteam-heading{
    color: white;
    font-size: clamp(20px, 3vw + 25px, 200px);
    font-family: "Rajdhani", sans-serif;
    display: flex;
    justify-content: center;
    max-height: fit-content;
    align-items: center;
}

.subteam-text-card{
    display: flex;
    justify-content: center;
    align-items: center;
    height: fit-content; 
    padding: 30px;
}

.card-body-subteam{
    font-family: "Rajdhani", sans-serif;
    color: white;
    opacity: 0.7;
    font-family: "Rajdhani", sans-serif;
    padding-bottom: 5px;
    font-size: 40px;
    text-align: left;
    
}

.subteam-image-card{
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    border-color: white;
    border-style: solid;
    border-width: 2px;
    max-height: 450px;
    max-height: fit-content;
    background-position: center;
}

.subteam-pic{
    max-height: 800px;
}

.subteam-big-heading{
    font-size: 80px;
    font-family: "Rajdhani", sans-serif;
    color: white;
    display: flex;
    justify-content: center;
    max-height: fit-content;
    align-items: center;
}

.subteam-image-card-container{
    display: flex;
    align-items: center;
    justify-content: center;
    /* max-width: 450px; */
    padding: 30px;
    
}

.contact-heading{
    color: white;
    font-size: clamp(20px, 2vw + 20px, 100px);
    font-family: "Rajdhani", sans-serif;
    display: flex;
    justify-content: center;
    max-height: fit-content;
    align-items: center;
}

.sponser-heading{
    color: white;
    font-size: clamp(20px, 2vw + 20px, 100px);
    font-family: "Rajdhani", sans-serif;
    display: flex;
    justify-content: center;
    max-height: fit-content;
    align-items: center;
    font-size: 30px;
}
.FAQ-questions{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: fit-content;
    width: fit-content;
    /* margin: 30px; */
    
}

.FAQ-questions-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    
}

.FAQ-text{
    font-family: "Rajdhani", sans-serif;
    color: white;
    opacity: 0.8;
    font-size: 25px;
    line-height: 1px;
    padding-top: 0px;
}

.sponser-container{
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 50px;
    gap: 20px;
    margin-top: 20px;
}

.sponsers{
    max-width: 200px;
    height: auto;
    padding: 30px 90px 0px;
}

.last-card{
    grid-row-start: 3;
    grid-column: span 2;
    /* margin: 0px 300px; */
}

/* CONTACT PAGE */
.IREC-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-gap: 40px;
    padding: 0px 60px;
}
.eboard-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    grid-gap: 40px;
    padding: 0px 60px;
}

.member-card{
    border-radius: 25px;
    overflow: hidden;
    padding: 4rem 0 0;
    transition: transform 200ms ease, box-shadow 0.3s ease;
    height: fit-content;
    border-color: white;
    border-style: solid;
    border-width: 2px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-size: cover;
    background-position: center;
}

.member-information{
    display: flex;
    flex-direction: column;
    align-items: center;    
    padding: 40px 10px 15px;
    margin-top: 270px;
    background: linear-gradient(
        to bottom, /* Specify the direction of the gradient */
        rgba(0, 0, 0, 0), /* Fully transparent black */
        rgba(0, 0, 0, 0.9), /* 10% opaque black */
        rgba(0, 0, 0, 1) /* Fully opaque black */
    );
}

.position-title, .member-name{
    font-family: "Rajdhani", sans-serif;
    color: aliceblue;
}

.member-name{
    font-size: 20px;
    margin: 0px;
}

.position-title{
    font-size: 20px;
    font-weight: 900;
    margin: 0px;
}

.link-color{
    color: blue;
}