@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
:root {
    --main-color: #fff;
    --text-color: #841E15;
    --bg-color: #fff;
    --black-color: #000;
    --new-bg-color: #ccc;
    --border: 0.1rem solid #191919;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    transition: 0.2s ease;
    font-family: "Poppins", sans-serif;
}


.card-footer0 .card-footer0-head{
    width: 40rem;
    height: auto;
    font-style: normal;
    justify-content: center;
    border-bottom-right-radius: 0.75rem;
    border-bottom-left-radius: 0.75rem;
    background-color: rgba(255, 255, 255, 0.858);
    padding: 1rem 2.5rem;
    text-align: center;
    font-size: 1.8rem;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--text-color);
    border-right: 0.1rem solid #320000;
    border-left: 0.1rem solid #320000;
    border-bottom: 0.1rem solid #320000;
    box-shadow:   0 4px 6px #320000;
    border: none;
    transition: all 0.3s;
    z-index: 1;
}

.card-agent-text p{
    padding-top: 2rem;
}
.card-agent-text {
    display: none;
    width: 40rem;
    flex: 1;
    font-style: normal;
    height: auto;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    border-bottom-right-radius: 0.75rem;
    border-bottom-left-radius: 0.75rem;
    border-right: 0.1rem solid #320000;
    border-left: 0.1rem solid #320000;
    border-bottom: 0.1rem solid #320000;
    background-color: rgba(255, 255, 255, 0.858);
    padding: 1rem 2.5rem;
    font-size: 1.6rem;
    font-weight: bold;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s;
    z-index: 2;
}
.card-agent-text button{
    flex-direction: column;
    justify-content: center;
    display: inline-block;
    border-radius: 0.5rem;
    background-color: rgba(25, 5, 5, 0.858);
    padding: 1rem 2.5rem;
    text-align: center;
    font-size: 1.3rem;
    font-weight: bold;
    margin-top: 4rem;
    text-transform: uppercase;
    color: white;
    box-shadow: 0 4px 6px #320000;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    margin-bottom: 1rem;
}
.card#cardIki .carp-container{
    position: absolute;
    top: 0;
    right: 0;
    margin-top: 1rem;
    margin-right: 1rem;
}
.card#cardBir .carp-container{
    position: absolute;
    top: 0;
    right: 0;
    margin-top: 1rem;
    margin-right: 1rem;
}
.card#cardUc .carp-container{
    position: absolute;
    top: 0;
    right: 0;
    margin-top: 1rem;
    margin-right: 1rem;
}
.card#cardDort .carp-container{
    position: absolute;
    top: 0;
    right: 0;
    margin-top: 1rem;
    margin-right: 1rem;
}
.card#cardBes .carp-container{
    position: absolute;
    top: 0;
    right: 0;
    margin-top: 1rem;
    margin-right: 1rem;
}
.card#cardAlti .carp-container{
    position: absolute;
    top: 0;
    right: 0;
    margin-top: 1rem;
    margin-right: 1rem;
}
.card#cardYedi .carp-container{
    position: absolute;
    top: 0;
    right: 0;
    margin-top: 1rem;
    margin-right: 1rem;
}
.carp-container svg {
    width: 5rem;
    color: #fff;
    display: none;
    cursor: pointer;
}

.card-footer0 button:hover {
    box-shadow: 0 6px 8px #320000;
}
.card-footer0 button {
    height: 5.2rem;
}


/* Commities Container */

.aa{
    display: grid;
/*     grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr)); */
    grid-template-columns: 1fr 1fr 1fr ;
    gap: 2rem;
    column-gap: 50px;
    justify-items: center;
}
.ac{
        display: grid;
/*     grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr)); */
    grid-template-columns: 1fr 1fr 1fr ;
    gap: 2rem;
    column-gap: 50px;
    justify-items: center;
}
.ab{
    display: grid;
    grid-template-columns: 1fr;
    column-gap: 15rem;
    row-gap: 5rem;
}
.commities-container-ab{
    display: flex;
    justify-content: center; /* Yatayda ortalar */
    align-items: center; /* Dikeyde ortalar */
}
.card {
    height: 45rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    width: 45rem;
    max-width: 40rem;
    border-top-left-radius: 0.75rem;
    border-top-right-radius: 0.75rem;
    background-color: white;
    color: #374151;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}


.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    z-index: 1;
}

.card * {
    position: relative;
    z-index: 2;
}

.card#cardBir {
    position: relative;
    background:linear-gradient(rgba(132, 30, 21, 0.3), rgba(132, 30, 21, 0.3)), 
    url(../img/COMMITTEES/who.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: bold;
}

.card#cardIki {
    position: relative;
    background:linear-gradient(rgba(132, 30, 21, 0.3), rgba(132, 30, 21, 0.3)),
    url(../img/COMMITTEES/UNICEF.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: bold;
}


.card#cardUc {
    position: relative;
    background:linear-gradient(rgba(132, 30, 21, 0.3), rgba(132, 30, 21, 0.3)),
    url(../img/COMMITTEES/UNODC.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: bold;
}

.card#cardDort {
    position: relative;
    background: linear-gradient(rgba(132, 30, 21, 0.3), rgba(132, 30, 21, 0.3)),
    url(../img/COMMITTEES/OHCHR.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: bold;
}

.card#cardBes {
    position: relative;
    background:linear-gradient(rgba(132, 30, 21, 0.3), rgba(132, 30, 21, 0.3)),
    url(../img/COMMITTEES/LEGAL.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: bold;
}
.card#cardAlti {
    position: relative;
    background: linear-gradient(rgba(132, 30, 21, 0.3), rgba(132, 30, 21, 0.3)),
    url(../img/COMMITTEES/H-SPECPOL.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: bold;
}
.card#cardYedi {
    position: relative;
    background:linear-gradient(rgba(132, 30, 21, 0.3), rgba(132, 30, 21, 0.3)),
    url(../img/COMMITTEES/NOVUSTERRA.jpeg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: bold;
}
.card-header {
    height: 20rem;
    /*burada eskiden       box-shadow: 0 4px 6px rgba(59, 130, 246, 0.4); vardı*/
}

.card-content {
    padding: 1.5rem;
    flex-grow: 1;
    position: absolute;
}

.card-content h5 {
    margin-top: 2rem;
    font-weight: bold;
    font-style: normal;
    color: var(--bg-color);
    text-shadow: 3px 3px 5px black;
    margin-bottom: 0.5rem;
    font-size: 2.3rem;
    font-weight: 600;
    color: #ffffff;
}

.card-footer {
    padding: 1.5rem;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 0;
    margin-bottom: 1rem;
}

.card-footer .card-footer-button {
    flex-direction: column;
    justify-content: flex-end;
    display: inline-block;
    border-radius: 0.5rem;
    background-color: rgba(25, 5, 5, 0.858);
    padding: 1rem 2.5rem;
    text-align: center;
    font-size: 1.3rem;
    font-weight: bold;
    text-transform: uppercase;
    color: white;
    box-shadow: 0 4px 6px #320000;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    margin-bottom: 1rem;
}

.card-footer button:hover {
    box-shadow: 0 6px 8px #320000;
}

.card-footer button:focus,
.card-footer button:active {
    opacity: 0.85;
    box-shadow: none;
}

#big-container {
    height: auto;
}

/* Responsive Start */

@media (max-width: 1448px) {
/*     .ab {
    } */
    .commities-container ul {
        display: grid;
        grid-template-columns: 1fr;
        column-gap: 7rem;
        row-gap: 7rem;
    }
    .ab{
        display: grid;
        grid-template-columns: 1fr;
        column-gap: 7rem;
        row-gap: 7rem;
        margin-bottom: 8rem;
                margin-top: -10.5rem;
    }
    .ac{
        display: grid;
        grid-template-columns: 1fr;
        column-gap: 7rem;
        row-gap: 7rem;
        margin-bottom: 8rem;
        margin-top: -5.5rem;
    }
    .commities-container {
        justify-items: center;
    }
    #big-container {
        column-gap: 80px;
    }
}
/* 
@media (min-width: 1048px) and (max-width: 1500px) {
    .card-footer0 button {
        width: 32rem;
        height: 7.8rem;
    }
} */

/* @media (min-width: 699px) and (max-width: 991px) {
    .card {
        width: 32rem;
    }
    .card-footer0 button {
        width: 32rem;
        height: 7.8rem;
    }
} */

@media (max-width: 991px) {
    #big-container {
        margin-top: 15rem;
    }
    .card#cardDort{
        margin-top: 5rem;
    }
}

/* Responsive End */