@font-face {
    font-family: 'Pixeled';
    src: url('../src/fonts/Minecraft.ttf');
}

#faculty {
    width: auto;
    height: 100vh;
    overflow: auto;
}

#faculty .top {
    position: relative;
}

#upload-container-fac {
    flex-direction: column;
    z-index: 10;
    position: absolute;
    height: fit-content;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
}
.fac_text{
    display: flex;
    justify-content: center;
    padding: 2rem 0;
}
#fac_text {
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    height: auto;
    width: 80%;
    /*position: absolute;*/
    /*top: 70%;*/
    /*left: 50%;*/
    /*transform: translate(-50%, -50%);*/
    border-radius: 16px;
    border: 0.5px solid rgba(0, 0, 0, 0.30);
    background: #FFF;
    box-shadow: 2px 2px 4px 0px rgba(0, 0, 0, 0.25);
}

#fac_text button {
    display: flex;
    padding: 0.3rem;
    width: max-content;
    align-items: center;
    border-radius: 8px;
    border: 1px solid rgba(87, 87, 87, 0.59);
    background: rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(10px);
    color: #0B0303;
    font-family: 'Mont-bold', sans-serif;
    font-size: 0.7rem;
    font-style: normal;
    font-weight: 900;
    line-height: normal;
    text-transform: capitalize;
}

.add-teacher {
    width: 100%;
    display: flex;
    justify-content: center;
}

.add-teacher input {
    border: none;
    padding: 0.5rem 1rem;
    color: #000;
    font-family: 'Mont-light',sans-serif;
    font-size: 1.3rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-transform: capitalize;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    border-radius: 12px;
    background: #FFC700;
    box-shadow: 2px 2px 4px 0px rgba(0, 0, 0, 0.25);
}

#fac_text .text-input {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.text-input textarea {
    padding: 1rem;
    height: 230px;
    border: none;
    color: #000;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-style: normal;
    font-weight: 300;
    line-height: 145.3%;
    /* 29.06px */
    text-transform: capitalize;
}

.text textarea,
.text input {
    padding: 1rem;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    border: 0.5px solid rgba(0, 0, 0, 0.30);
    background: #FFF;
    box-shadow: 2px 2px 4px 0px rgba(0, 0, 0, 0.25);
    color: #000;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

/* #faculty .top {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 3rem 0;
} */
.swiper-backface-hidden .swiper-slide {
    background: transparent;
}

#faculty .top .img {
    width: 50%;
    padding-right: 3rem;
}

#faculty .slider-container {
    width: 100%;
}

#faculty .top .img img {
    width: 100%;
}

#faculty .top .text {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    background: #D3DAFF;
    padding: 4rem;
    width: 50%;
}

#faculty .top .text h2 {
    color: #FFF;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.25);
    font-family: 'Pixeled', sans-serif;
    font-size: 6rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: capitalize;
}

#faculty .top .text p {
    color: #000;
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-style: normal;
    font-weight: 300;
    line-height: 145.3%;
    /* 46.496px */
    text-transform: capitalize;
}

.teachers-container {
    display: flex;
    flex-direction: column;
    padding: 4rem 0;
    gap: 3rem;
}

.teachers-container .teacher-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.teachers-container .teacher-top h4 {
    color: #000;
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    text-transform: capitalize;
    margin: 0;
}

.teachers-container .teacher-top h6 {
    color: #000;
    margin: 0;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    width: 40%;
    line-height: normal;
    text-transform: capitalize;
}

.teachers-container .teachers {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    position: relative;
}

.teachers-container .teachers .square {
    position: absolute;
    z-index: -2;
    height: 60%;
    width: 100%;
    bottom: 15%;
}

.teachers-container .teachers .person {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.teachers-container .teachers .person .img-container {
    width: 200px;
    height: 200px;
}

.person .img-container img {
    width: 100%;
}

.teachers-container .teachers .person .text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.teachers-container .teachers .person h5 {
    color: #000;
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: capitalize;
    margin: 0;
}

.teachers-container .teachers .person h6 {
    color: #000;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: capitalize;
    margin: 0;
}





.lab-container {
    display: flex;
    flex-direction: column;
    padding: 4rem 0;
    gap: 3rem;
}

.lab-container .lab-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.lab-container .lab-top h4 {
    color: #000;
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    text-transform: capitalize;
    margin: 0;
}

.lab-container .lab-top h6 {
    color: #000;
    margin: 0;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    width: 40%;
    line-height: normal;
    text-transform: capitalize;
}

.lab-container .lab {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    position: relative;
}

.lab-container .square {
    position: absolute;
    z-index: -2;
    height: 50%;
    width: 100%;
    bottom: 30%;
}

.lab-container .person {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.lab-container .person .img-container {
    width: 80%;
    border-radius: 50%;
}

.person .img-container img {
    width: 100%;
}

.lab-container .teachers .person .text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lab-container .person h5 {
    color: #000;
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: capitalize;
    margin: 0;
}

.lab-container .person h6 {
    color: #000;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: capitalize;
    margin: 0;
}



.group-container {
    display: flex;
    flex-direction: column;
    padding: 4rem 0;
    gap: 3rem;
}

.group-container .group-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.group-container .group-top h4 {
    color: #000;
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    text-transform: capitalize;
    margin: 0;
}

.group-container .group-top h6 {
    color: #000;
    margin: 0;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    width: 40%;
    line-height: normal;
    text-transform: capitalize;
}

.group-container .group {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    position: relative;
}

.group-container .square {
    position: absolute;
    z-index: -2;
    height: 50%;
    width: 100%;
    bottom: 30%;
}

.group-container .person {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.group-container .person .img-container {
    width: 80%;
    border-radius: 50%;
}

.person .img-container img {
    width: 100%;
    border-radius: 50%;
}

.group-container .person .text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.group-container .person h5 {
    color: #000;
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: capitalize;
    margin: 0;
}

.group-container .person h6 {
    color: #000;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: capitalize;
    margin: 0;
}

@media only screen and (max-width:900px) {
    #faculty .top .text h2 {
        font-size: 10vw;
        margin: 0;
    }

    #faculty .top .text p {
        font-size: 3.5vw;
        margin: 0;
    }

    #faculty .top {
        padding: 0;
    }

    #faculty .top .text {
        padding: 1rem;
        width: 100%;
        text-align: center;
        gap: 1rem;
    }

    #faculty .top .img {
        display: none;
    }

    .lab-container .lab-top h4,
    .teachers-container .teacher-top h4,
    .group-container .group-top h4 {
        font-size: 2rem;
        text-align: center;
    }

    .teachers-container,
    .lab-container,
    .group-container {
        gap: 0;
        padding: 0;
    }

    .teachers-container .teacher-top h6 {
        width: 100%;
        margin: 0;
    }

    .teachers-container .teachers {
        gap: 1rem;
        padding: 1rem;
    }

    .teachers-container .teacher-top {
        padding: 1rem;
    }

    .lab-container .lab-top h6 {
        width: 100%;
        margin: 0;
    }

    .lab-container .person {
        gap: 1rem;
    }

    .lab-container .lab-top {
        padding: 1rem;
    }

    .lab-container .lab {
        gap: 1rem;
        padding: 1rem;
    }

    .lab-container {
        gap: 0;
    }

    .group-container .group-top h6 {
        width: 100%;
        margin: 0;
    }

    .group-container .group-top {
        padding: 1rem;
    }

    .group-container {
        gap: 0;
    }

    .group-container .group {
        gap: 1rem;
        padding: 1rem;
    }
    #fac_text{
        align-items: center;
        flex-direction: column;
    }
    #fac_text .text-input{
        padding: 1rem 0;
    }
    .text-input textarea{
        padding: 0;
        height: auto;
        font-size: 0.8rem;
    }

}