@font-face {
    font-family: 'Pixeled';
    src: url('../src/fonts/Minecraft.ttf');
}

#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: "Crimson Text", 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;
}

 .person .img-container {
    width: 200px;
    height: 200px;
    border-radius: 50%;
}

.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: 50%;*/
/*    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: 50%;*/
/*    border-radius: 50%;*/
/*}*/
.person {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.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;
    }
    .person .img-container {
        width: 150px;
        height: 150px;
        border-radius: 50%;
    }
}

