@import url('https://fonts.googleapis.com/css2?family=Permanent+Marker&family=Fira+Mono:wght@500&display=swap');

body {
    margin-top: 5%;
    min-height: 95vh;
    background: #fffcfc;
    color: #37517e;
    overflow-x: hidden;
    font-family: 'Fira Mono', monospace;
}

* {
    box-sizing: border-box;
}

h3 {

    color: #e55d87;
    font-family: 'Fira Mono', cursive;
}

.carousel {
    width: 80%;
    margin: 0 auto;
    height: 680px;
    overflow: hidden;
}
.carousel-item {
    object-fit: cover;
    object-position: center;
    height: 100%;
    width: 100%;
}
.carousel-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

.headingTeam {
    display: flex;
    justify-content: center;
    align-items: center; /* Adjust the height as needed */
}

.heading h1 {
    margin-bottom: 20px;
    transform: translate(0px, 0px);
    opacity: 1;
    display: block;
}

.container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cards {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
}

.card {
    overflow: hidden;
    text-align: center;
    position: relative;
    width: 300px;
    height: 300px;
    background-image: url("../tenure2023/CHAIRPERSON.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 14px;
    box-shadow: 5px 5px 10px #abc123, -5px -5px 3px #abc123;
    transform: scale(1.05);
    margin: 3rem;
}

.colour {
    position: absolute;
    width: 100%;
    height: 15%;
    background: rgb(255, 192, 163);
    background: linear-gradient(125deg, rgba(128, 23, 34, 1) 40%, rgba(60, 29, 40, 1) 66%);
    right: 120px;
    top: 40px;
    transform: rotate(-45deg) translateY(-90px);
}

.colour::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 40px;
    background-color: #ffffff;
    transform: translateX(-145px);
}

.colour-bottom {
    position: absolute;
    width: 100%;
    height: 15%;
    background-color: rgb(255, 255, 255);
    left: 140px;
    top: 245px;
    transform: rotate(-45deg) translateY(95px);;
}

.colour-bottom::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 40px;
    background: rgb(248, 245, 245);
    background: linear-gradient(125deg, rgba(128, 23, 34, 1) 40%, rgba(60, 29, 40, 1) 66%);
    transform: translateX(-147px);
}


.card-text {
    opacity: 0;
    position: relative;
    top: 80px;
    font-size: 120%;
}

.card:hover {
    border-radius: 50px;
    background: linear-gradient(145deg, #e6e6e6, #ffffff);
    box-shadow: 10px 10px 40px #abc123,
    -10px -10px 40px #abc123;
    animation: large .7s ease-in-out forwards;
}

.block {
    width: 70px;
    height: 2px;
    background: linear-gradient(135deg, #e55d87 0%, #5fc3e4 100%);
    margin: 0 auto 30px;
}

@keyframes large {
    100% {
        transform: scale(.9);
    }
}

.card:hover .card-text {
    opacity: 1;
}

.card:hover .colour {
    animation: move .8s ease-in-out forwards;
}

@keyframes move {
    0% {
        transform: rotate(-45deg) translateY(-85px);
    }
    100% {
        transform: rotate(-45deg) translateY(0px);
    }
}

.card:hover .colour-bottom {
    animation: move1 .8s ease-in-out forwards;
}

@keyframes move1 {
    0% {
        transform: rotate(-45deg) translateY(90px);
    }
    100% {
        transform: rotate(-45deg) translateY(0px);
    }
}

footer {
    width: 80%;
    height: 100px;
    color: white;
    text-align: center;
    position: relative;
    bottom: 0;
}

a {
    text-decoration: none;
    color: rgba(224, 153, 45, 1);
}

.core {

    font-size: 50px;
    font-weight: bold;
    font-family: serif;
}

.subcore {
    font-size: 50px;
    font-weight: bold;
    font-family: serif;
}


.team-member {
    font-size: 50px;
    font-weight: bold;
    font-family: serif;
}

/*New CSS Design*/
.card-text1 p {
    width: 100%;
    opacity: 1; /* Set default visibility to visible */
    transition: opacity 0.3s ease; /* Add transition for smooth effect */
    position: absolute;
    bottom: 10px; /* Adjust the positioning */
    left:50%;
    transform: translateX(-50%);
}

.card:hover .card-text1 p {
    opacity: 0; /* Hide the designation on hover */
}

.chairperson {
    background-image: url("../tenure2023/CHAIRPERSON.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.chairperson .colour {
    background: rgb(227, 121, 130);
    background: linear-gradient(125deg, rgba(227, 121, 130, 1) 28%, rgba(172, 24, 69, 1) 89%);
}

.chairperson .colour::before {
    background: rgba(172, 24, 69, 1);
}

.chairperson .colour-bottom {
    background: rgba(128, 23, 34, 1);
}

.chairperson .colour-bottom::before {
    background: rgb(128, 23, 34);
    background: linear-gradient(125deg, rgba(128, 23, 34, 1) 40%, rgba(60, 29, 40, 1) 66%);
}

.vice-chairperson {
    background-image: url("../tenure2023/VICE CHAIRPERSON.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.vice-chairperson .colour {
    background: rgb(227, 121, 130);
    background: linear-gradient(125deg, rgba(227, 121, 130, 1) 28%, rgba(172, 24, 69, 1) 89%);
}

.vice-chairperson .colour::before {
    background: rgba(172, 24, 69, 1);
}

.vice-chairperson .colour-bottom {
    background: rgba(128, 23, 34, 1);
}

.vice-chairperson .colour-bottom::before {
    background: rgb(128, 23, 34);
    background: linear-gradient(125deg, rgba(128, 23, 34, 1) 40%, rgba(60, 29, 40, 1) 66%);
}


.secretary {
    background-image: url("../tenure2023/secretary.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.secretary .colour {
    background: rgb(227, 121, 130);
    background: linear-gradient(125deg, rgba(227, 121, 130, 1) 28%, rgba(172, 24, 69, 1) 89%);
}

.secretary .colour::before {
    background: rgba(172, 24, 69, 1);
}

.secretary .colour-bottom {
    background: rgba(128, 23, 34, 1);
}

.secretary .colour-bottom::before {
    background: rgb(128, 23, 34);
    background: linear-gradient(125deg, rgba(128, 23, 34, 1) 40%, rgba(60, 29, 40, 1) 66%);
}


.financial_secretary {
    background-image: url("../tenure2023/Fin Sec.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.financial_secretary .colour {
    background: rgb(227, 121, 130);
    background: linear-gradient(125deg, rgba(227, 121, 130, 1) 28%, rgba(172, 24, 69, 1) 89%);
}

.financial_secretary .colour::before {
    background: rgba(172, 24, 69, 1);
}

.financial_secretary .colour-bottom {
    background: rgba(128, 23, 34, 1);
}

.financial_secretary .colour-bottom::before {
    background: rgb(128, 23, 34);
    background: linear-gradient(125deg, rgba(128, 23, 34, 1) 40%, rgba(60, 29, 40, 1) 66%);
}


.chief_executive_officer {
    background-image: url("../tenure2023/CEO.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.chief_executive_officer .colour {
    background: rgb(227, 121, 130);
    background: linear-gradient(125deg, rgba(227, 121, 130, 1) 28%, rgba(172, 24, 69, 1) 89%);
}

.chief_executive_officer .colour::before {
    background: rgba(172, 24, 69, 1);
}

.chief_executive_officer .colour-bottom {
    background: rgba(128, 23, 34, 1);
}

.chief_executive_officer .colour-bottom::before {
    background: rgb(128, 23, 34);
    background: linear-gradient(125deg, rgba(128, 23, 34, 1) 40%, rgba(60, 29, 40, 1) 66%);
}


.public_relations_officer {
    background-image: url("../tenure2023/PRO.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.public_relations_officer .colour {
    background: rgb(227, 121, 130);
    background: linear-gradient(125deg, rgba(227, 121, 130, 1) 28%, rgba(172, 24, 69, 1) 89%);
}

.public_relations_officer .colour::before {
    background: rgba(172, 24, 69, 1);
}

.public_relations_officer .colour-bottom {
    background: rgba(128, 23, 34, 1);
}

.public_relations_officer .colour-bottom::before {
    background: rgb(128, 23, 34);
    background: linear-gradient(125deg, rgba(128, 23, 34, 1) 40%, rgba(60, 29, 40, 1) 66%);
}


.chief_technology_officer {
    background-image: url("../tenure2023/CTO.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.chief_technology_officer .colour {
    background: rgb(227, 121, 130);
    background: linear-gradient(125deg, rgba(227, 121, 130, 1) 28%, rgba(172, 24, 69, 1) 89%);
}

.chief_technology_officer .colour::before {
    background: rgba(172, 24, 69, 1);
}

.chief_technology_officer .colour-bottom {
    background: rgba(128, 23, 34, 1);
}

.chief_technology_officer .colour-bottom::before {
    background: rgb(128, 23, 34);
    background: linear-gradient(125deg, rgba(128, 23, 34, 1) 40%, rgba(60, 29, 40, 1) 66%);
}


/**
Sub Core
 */

.jt_sec {
    background-image: url("../tenure2023/Jt. SEC.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.jt_sec .colour {
    background: rgb(227, 121, 130);
    background: linear-gradient(125deg, rgba(227, 121, 130, 1) 28%, rgba(172, 24, 69, 1) 89%);
}

.jt_sec .colour::before {
    background: rgba(172, 24, 69, 1);
}

.jt_sec .colour-bottom {
    background: rgba(128, 23, 34, 1);
}

.jt_sec .colour-bottom::before {
    background: rgb(128, 23, 34);
    background: linear-gradient(125deg, rgba(128, 23, 34, 1) 40%, rgba(60, 29, 40, 1) 66%);
}

.jt_ceo {
    background-image: url("../tenure2023/Jt. CEO.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.jt_ceo .colour {
    background: rgb(227, 121, 130);
    background: linear-gradient(125deg, rgba(227, 121, 130, 1) 28%, rgba(172, 24, 69, 1) 89%);
}

.jt_ceo .colour::before {
    background: rgba(172, 24, 69, 1);
}

.jt_ceo .colour-bottom {
    background: rgba(128, 23, 34, 1);
}

.jt_ceo .colour-bottom::before {
    background: rgb(128, 23, 34);
    background: linear-gradient(125deg, rgba(128, 23, 34, 1) 40%, rgba(60, 29, 40, 1) 66%);
}

.tech_admin_1 {
    background-image: url("../tenure2023/TECH ADMIN 1.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.tech_admin_1 .colour {
    background: rgb(227, 121, 130);
    background: linear-gradient(125deg, rgba(227, 121, 130, 1) 28%, rgba(172, 24, 69, 1) 89%);
}

.tech_admin_1 .colour::before {
    background: rgba(172, 24, 69, 1);
}

.tech_admin_1 .colour-bottom {
    background: rgba(128, 23, 34, 1);
}

.tech_admin_1 .colour-bottom::before {
    background: rgb(128, 23, 34);
    background: linear-gradient(125deg, rgba(128, 23, 34, 1) 40%, rgba(60, 29, 40, 1) 66%);
}

.tech_admin_2 {
    background-image: url("../tenure2023/TECH ADMIN 2.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.tech_admin_2 .colour {
    background: rgb(227, 121, 130);
    background: linear-gradient(125deg, rgba(227, 121, 130, 1) 28%, rgba(172, 24, 69, 1) 89%);
}

.tech_admin_2 .colour::before {
    background: rgba(172, 24, 69, 1);
}

.tech_admin_2 .colour-bottom {
    background: rgba(128, 23, 34, 1);
}

.tech_admin_2 .colour-bottom::before {
    background: rgb(128, 23, 34);
    background: linear-gradient(125deg, rgba(128, 23, 34, 1) 40%, rgba(60, 29, 40, 1) 66%);
}

.org_admin_1 {
    background-image: url("../tenure2023/ORG ADMIN 1.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.org_admin_1 .colour {
    background: rgb(227, 121, 130);
    background: linear-gradient(125deg, rgba(227, 121, 130, 1) 28%, rgba(172, 24, 69, 1) 89%);
}

.org_admin_1 .colour::before {
    background: rgba(172, 24, 69, 1);
}

.org_admin_1 .colour-bottom {
    background: rgba(128, 23, 34, 1);
}

.org_admin_1 .colour-bottom::before {
    background: rgb(128, 23, 34);
    background: linear-gradient(125deg, rgba(128, 23, 34, 1) 40%, rgba(60, 29, 40, 1) 66%);
}

.org_admin_2 {
    background-image: url("../tenure2023/TECH ADMIN 1.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.org_admin_2 .colour {
    background: rgb(227, 121, 130);
    background: linear-gradient(125deg, rgba(227, 121, 130, 1) 28%, rgba(172, 24, 69, 1) 89%);
}

.org_admin_2 .colour::before {
    background: rgba(172, 24, 69, 1);
}

.org_admin_2 .colour-bottom {
    background: rgba(128, 23, 34, 1);
}

.org_admin_2 .colour-bottom::before {
    background: rgb(128, 23, 34);
    background: linear-gradient(125deg, rgba(128, 23, 34, 1) 40%, rgba(60, 29, 40, 1) 66%);
}

.pr_admin_1 {
    background-image: url("../tenure2023/TECH ADMIN 1.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.pr_admin_1 .colour {
    background: rgb(227, 121, 130);
    background: linear-gradient(125deg, rgba(227, 121, 130, 1) 28%, rgba(172, 24, 69, 1) 89%);
}

.pr_admin_1 .colour::before {
    background: rgba(172, 24, 69, 1);
}

.pr_admin_1 .colour-bottom {
    background: rgba(128, 23, 34, 1);
}

.pr_admin_1 .colour-bottom::before {
    background: rgb(128, 23, 34);
    background: linear-gradient(125deg, rgba(128, 23, 34, 1) 40%, rgba(60, 29, 40, 1) 66%);
}

.pr_admin_2 {
    background-image: url("../tenure2023/PR ADMIN 2.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.pr_admin_2 .colour {
    background: rgb(227, 121, 130);
    background: linear-gradient(125deg, rgba(227, 121, 130, 1) 28%, rgba(172, 24, 69, 1) 89%);
}

.pr_admin_2 .colour::before {
    background: rgba(172, 24, 69, 1);
}

.pr_admin_2 .colour-bottom {
    background: rgba(128, 23, 34, 1);
}

.pr_admin_2 .colour-bottom::before {
    background: rgb(128, 23, 34);
    background: linear-gradient(125deg, rgba(128, 23, 34, 1) 40%, rgba(60, 29, 40, 1) 66%);
}

.dcc_admin_1 {
    background-image: url("../tenure2023/DCC ADMIN 1.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.dcc_admin_1 .colour {
    background: rgb(227, 121, 130);
    background: linear-gradient(125deg, rgba(227, 121, 130, 1) 28%, rgba(172, 24, 69, 1) 89%);
}

.dcc_admin_1 .colour::before {
    background: rgba(172, 24, 69, 1);
}

.dcc_admin_1 .colour-bottom {
    background: rgba(128, 23, 34, 1);
}

.dcc_admin_1 .colour-bottom::before {
    background: rgb(128, 23, 34);
    background: linear-gradient(125deg, rgba(128, 23, 34, 1) 40%, rgba(60, 29, 40, 1) 66%);
}

.dcc_admin_2 {
    background-image: url("../tenure2023/DCC ADMIN 2.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.dcc_admin_2 .colour {
    background: rgb(227, 121, 130);
    background: linear-gradient(125deg, rgba(227, 121, 130, 1) 28%, rgba(172, 24, 69, 1) 89%);
}

.dcc_admin_2 .colour::before {
    background: rgba(172, 24, 69, 1);
}

.dcc_admin_2 .colour-bottom {
    background: rgba(128, 23, 34, 1);
}

.dcc_admin_2 .colour-bottom::before {
    background: rgb(128, 23, 34);
    background: linear-gradient(125deg, rgba(128, 23, 34, 1) 40%, rgba(60, 29, 40, 1) 66%);
}

.jt_tech_admin {
    background-image: url("../tenure2023/Jt. TECH ADMIN.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.jt_tech_admin .colour {
    background: rgb(227, 121, 130);
    background: linear-gradient(125deg, rgba(227, 121, 130, 1) 28%, rgba(172, 24, 69, 1) 89%);
}

.jt_tech_admin .colour::before {
    background: rgba(172, 24, 69, 1);
}

.jt_tech_admin .colour-bottom {
    background: rgba(128, 23, 34, 1);
}

.jt_tech_admin .colour-bottom::before {
    background: rgb(128, 23, 34);
    background: linear-gradient(125deg, rgba(128, 23, 34, 1) 40%, rgba(60, 29, 40, 1) 66%);
}

.jt_org_admin_1 {
    background-image: url("../tenure2023/Jt. ORG ADMIN 1.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.jt_org_admin_1 .colour {
    background: rgb(227, 121, 130);
    background: linear-gradient(125deg, rgba(227, 121, 130, 1) 28%, rgba(172, 24, 69, 1) 89%);
}

.jt_org_admin_1 .colour::before {
    background: rgba(172, 24, 69, 1);
}

.jt_org_admin_1 .colour-bottom {
    background: rgba(128, 23, 34, 1);
}

.jt_org_admin_1 .colour-bottom::before {
    background: rgb(128, 23, 34);
    background: linear-gradient(125deg, rgba(128, 23, 34, 1) 40%, rgba(60, 29, 40, 1) 66%);
}

.jt_org_admin_2 {
    background-image: url("../tenure2023/Jt. ORG ADMIN 2.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.jt_org_admin_2 .colour {
    background: rgb(227, 121, 130);
    background: linear-gradient(125deg, rgba(227, 121, 130, 1) 28%, rgba(172, 24, 69, 1) 89%);
}

.jt_org_admin_2 .colour::before {
    background: rgba(172, 24, 69, 1);
}

.jt_org_admin_2 .colour-bottom {
    background: rgba(128, 23, 34, 1);
}

.jt_org_admin_2 .colour-bottom::before {
    background: rgb(128, 23, 34);
    background: linear-gradient(125deg, rgba(128, 23, 34, 1) 40%, rgba(60, 29, 40, 1) 66%);
}

.jt_pr_admin {
    background-image: url("../tenure2023/Jt. PR ADMIN.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.jt_pr_admin .colour {
    background: rgb(227, 121, 130);
    background: linear-gradient(125deg, rgba(227, 121, 130, 1) 28%, rgba(172, 24, 69, 1) 89%);
}

.jt_pr_admin .colour::before {
    background: rgba(172, 24, 69, 1);
}

.jt_pr_admin .colour-bottom {
    background: rgba(128, 23, 34, 1);
}

.jt_pr_admin .colour-bottom::before {
    background: rgb(128, 23, 34);
    background: linear-gradient(125deg, rgba(128, 23, 34, 1) 40%, rgba(60, 29, 40, 1) 66%);
}

