* {
    padding: 0;
    margin: 0;
    z-index: 1;
}

html,
body {
    height: 100%;
    width: 100%;
}

.stop_scroll {
    overflow: hidden !important;
}

.books-links {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.book-background {
    width: 250px;
}

.navbarchick {
    width: 100%;
    position: fixed;
    z-index: 990;
    background-color: #101524;
}

.mainnav {
    background-color: #101524;
}

.navbar-dark {
    box-shadow: none;
}

header {
    height: 70vh !important;
}

.staff-header {
    background-position: center;
}

.main-bg {
    background-position: center;
}

.top-bg {
    background-position: center;
}

.activenow {
    text-decoration: underline !important;
}

.main-page {
    padding-right: 15%;
    padding-left: 15%;
    margin-top: 3%;
}

.infoStaff>a {
    text-decoration: none;
    color: aliceblue;
    font-weight: 700;
}

.vidos {
    height: 80%;
    width: 90%;
}

.video {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 30px;
    height: 90%;
    width: 100%;
}

.bioBoss>h3 {
    font-size: 110%;
}

.bioBoss>p {
    font-size: 90%;
}

.tables {
    display: flex;
    flex-direction: row;
}

.table {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.table>h6 {
    margin-bottom: 0;
    border: 1px solid #DFDFDF;
    padding: 1.5%;
    width: 303px;
    font-weight: 700;
    text-align: center;
    background-color: #3b71ca;
    color: #fff;
}

.time-table>tbody>tr>th {
    border: 1px solid #DFDFDF;
    padding-top: 3%;
    padding-bottom: 3%;
    text-align: center;
    width: 100px;
}

.time-table>tbody>tr:nth-child(1),
.time-table>tbody>tr:nth-child(3),
.time-table>tbody>tr:nth-child(5),
.time-table>tbody>tr:nth-child(7) {
    background-color: #B9CAFF;
}

.time-table>tbody>tr>td {
    border: 1px solid #DFDFDF;
    padding-top: 3%;
    padding-bottom: 3%;
    text-align: center;
    width: 100px;
    font-weight: 600;
}

.time-table>tbody>tr:nth-child(1)>th {
    font-size: 17px;
}

.teachersCards {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.teachers-img {
    background-color: rgb(249, 251, 253);
    padding-top: 30px !important;
    margin: 25px;
    height: 360px;
}

.teacher-img {
    height: 360px;
}

.teach-img {
    border-radius: 5px;
    display: flex;
    align-self: center;
    width: 145px !important;
    height: 170px !important;
}

.event-img {
    height: 500px;
}

.gallery {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px;
}

.books-links>.card>.card-body {
    background-color: white;
    box-shadow: none;
}

.books-links>.card {
    box-shadow: none;
}

.galleryH4 {
    text-align: center;
    margin: 3rem;
    font-size: 40px;
}

.gallery>img {
    width: 300px;
}

.toEvent {
    margin-top: 3%;
    display: flex;
    justify-content: center;
}

.ProfileD h3 {
    font-size: 20px;
}

.ProfileD p {
    font-size: 12px;
    color: gray;
}

.rectangles {
    border-left: #DFDFDF 1px solid;
    padding-left: 3%;
}

.rectangles div {
    background-color: #dfdfdf;
    padding-top: 3%;
    padding-left: 2%;
    padding-right: 2%;
}

.firstCol h6 {
    font-size: 15px;
    font-weight: 900;
    margin-top: 1%;
}

.firstCol a i {
    font-size: 25px;
    color: #101524;
}

.firstCol a:hover {
    color: #3b71ca;
    transition: 600ms;
}

.secondCol {
    font-size: 12px;
    width: 222px;
}


.toContact,
.infoStaff {
    color: #fff !important;
    border: solid #3b71ca 2px;
}

.toContact:hover,
.infoStaff:hover {
    color: #3b71ca !important;
    background-color: #fff;
    transition: 0.5s;
}

.toNews {
    border: solid 2px #3b71ca !important;
}

.toNews:hover {
    transition: 0.5s;
    background-color: #fff;
    color: #3b71ca;
}

.shady:hover {
    color: #3b71ca;
    transition: 0.6s;
}

.animate-on-scroll {
    opacity: 0;
    transform: translate(-300px, 0);
    transition: all 0.4s ease-out;
    transition-delay: 0.2s;
}

.animate-on-scroll-right {
    opacity: 0;
    transform: translate(300px, 0);
    transition: all 0.4s ease-out;
    transition-delay: 0.2s;
}

.animate {
    opacity: 1;
    transform: translate(0, 0);
}

.animate-right {
    opacity: 1;
    transform: translate(0, 0);
}

.cube-hover:hover {
    cursor: pointer;
    transition: 0.5s;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22)
}

.teachers-img:hover,
.teacher-img:hover {
    cursor: pointer;
    transition: 0.5s;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22)
}

.ul {
    list-style: none;
}

.news-group {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 50px;
    gap: 10px;
}

.card-img-top {
    height: 225px;
}

.card-new {
    width: 500px;
    margin: 20px;
}

.card-new .card-text {
    height: 100%;
}

@media screen and (max-width:1635px) {
    .news-group {
        gap: 0;
    }

    .card-new {
        width: 400px;
        margin: 20px;
    }

    /* .card-new .card-text {
        height: 190px;
    } */

}

@media screen and (max-width:666px) {
    .gallery a {
        width: 90%;
        height: 50%;
    }

    .teacher-img {
        width: 100%;
        height: 100%;
    }

    .bioBoss>h3 {
        font-size: 100%;
    }

    .bioBoss>p {
        font-size: 80%;
    }

    .vidos {
        width: 100%;
        height: 90%;
    }

    .video {
        height: 50%;
    }

    .main-page>.row:nth-child(1) {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .tables {
        flex-wrap: wrap;
        gap: 30px;
    }

    .table>h6 {
        width: 301px;
    }

    .time-table>tbody>tr>th,
    .time-table>tbody>tr>td {
        font-size: 10px !important;
    }
}

/* @media screen and (max-width:457px) {
    .card-new .card-text {
        height: 270px;
        font-size: 20px;
    }
} */

/* @media screen and (max-width:410px) {
    .card-new .card-text {
        height: 240px;
        font-size: 15px;
    }
} */

/* @media screen and (max-width:410px) {
    .card-new .card-text {
        height: 240px;
        font-size: 15px;
    }
}

@media screen and (max-width:365px) {
    .card-new .card-text {
        height: 270px;
        font-size: 15px;

    }

}

@media screen and (max-width:320px) {
    .card-new .card-text {
        height: 240px;
        font-size: 13px;
    }

} */

@media screen and (max-width:1016px) {
    .bioBoss>h3 {
        font-size: 95%;
    }

    .bioBoss>p {
        font-size: 75%;
    }

    .mainProfile {
        gap: 20px;
        flex-direction: column;
    }

    .rectangles {
        justify-content: center;
        border-left: none;
        border-top: solid 1px #DFDFDF;
        padding-left: 0%;
        padding-top: 5%;
    }
}

.animate__animated {
    --animate-duration: 1s;
}

@media screen and (max-width:900px) {
    .bioBoss>h3 {
        font-size: 90%;
    }

    .bioBoss>p {
        font-size: 70%;
    }
}

@media screen and (max-width:800px) {
    .bioBoss>h3 {
        font-size: 80%;
    }

    .bioBoss>p {
        font-size: 60%;
    }
}

.con-body {
    position: relative;
    z-index: -999;
}

.form-field_abs {
    display: none;
    z-index: 999;
    width: 100%;
    height: 100%;
    background-color: #101524ea;
    align-items: center;
    justify-content: center;
    position: absolute;

}


.pole {
    width: 90%;
    height: 90%;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #10152400;
}

.close:before {
    content: '✕';
    color: black;
}

.close {
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
    padding: 5px 10px;
}


.feedback_form {
    position: relative;

    padding: 30px;
    background-color: #ffffff;
}

.feedback_form h6 {
    font-size: 13px;
}

.feedback_form button {
    padding: 5px;
    background-color: #18a060;
    color: #fff;
    border: 0;
    border-radius: 5px;
}

.radio_line {
    display: flex;
    gap: 30px;
}

.radio_item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    gap: 4px;
}

.radio_item p {
    margin: 0;
}

.head {
    margin-top: 20px;
    margin-bottom: 40px;
    border-bottom: 1px solid black;
}

.top_footer {
    margin-bottom: 20px;
}

.feedback_form span {
    color: red;
}

.bottom_footer textarea {
    padding: 10px;
}

@media screen and (max-width: 490px) {
    .feedback_form {
        padding: 20px;
    }

    .head h1 {
        width: 90%;
        font-size: 20px;
    }

    .feedback_form h6 {
        font-size: 10px;
    }

    .radio_line {
        gap: 20px;
    }

    .radio_item {
        font-size: 13px;
    }

    .top_footer {
        margin-bottom: 20px;
    }

    .bottom_footer {
        width: 90%;
    }

    .bottom_footer textarea {
        width: 90%;
        padding: 10px;
    }

    .video {
        height: 40%;
    }

    .vidos {
        height: 70%;
    }
}

@media screen and (max-width: 370px) {
    .feedback_form {
        padding: 20px;
    }

    .head h1 {
        width: 90%;
        font-size: 16px;
    }

    .feedback_form h6 {
        font-size: 10px;
    }

    .radio_line {
        gap: 15px;
    }

    .radio_item {
        font-size: 10px;
    }

    .top_footer {
        margin-bottom: 20px;
    }

    .bottom_footer {
        width: 90%;
    }

    .bottom_footer textarea {
        width: 90%;
        padding: 10px;
    }
}