*{
    font-family: 'Montserrat', sans-serif;
}

body{
    background: #f1f2f6;
}

.no-main{
    display: none;
}

.btn-info{
    background: #70a1ff;
    margin: 0 auto;
    display: block;
    width: fit-content;
    margin-top: 10px;
    border-color: #70a1ff;
}

.btn-info:hover{
    background: #80a8f0;
    border-color: #70a1ff;
}

a.btn-info{
    color: #fff;
}

h1{
    font-size: 24px;
    text-align: center;
    display: block;
    margin-top: 30px;
    font-weight: 700;
    text-transform: uppercase;
}

h2{
    font-size: 24px;
    font-weight: 700;
    display: inline-block;
    padding-right: 50px;
    border-bottom: 3px solid #70a1ff;
    margin-top: 20px;
}

.carousel-control-prev, .carousel-control-next{
    filter: invert(1);
}

/************************************/
/*********PRELOADER + PLANES*********/
/************************************/

#splash {
    background: #70a1ff;
    background-repeat: repeat-y;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    animation: splash 1.5s ease-in;
    animation-fill-mode: forwards;
    -webkit-animation-fill-mode: forwards;
    z-index: 999;
}

#loader {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%,0);
}

#loader:after {
    content: '';
    position: absolute;
    left: 50%;
    margin-left: -8px;
    bottom: -170px;
    width: 3px;
    background: #fff;
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 50%, rgba(255,255,255,0) 100%);
    height: 200px;
}

#loader:before {
    content: '';
    position: absolute;
    left: 50%;
    margin-left: 8px;
    bottom: -190px;
    width: 3px;
    background: #000;
    background: linear-gradient(to bottom, rgba(0,0,0,.2) 0%, rgba(0,0,0,.2) 50%, rgba(0,0,0,0) 100%);
    height: 200px;
}

#splash .anim {
    height: 100%;
    position: absolute;
    left: 50%;
    width: 100px;
    transform: translate(-50%,100%);
    animation: loader 3s linear;
    animation-fill-mode: forwards;
    -webkit-animation-fill-mode: forwards;
}

@keyframes loader {
    0% {
        transform: translate(-50%,110%);
    }
    30% {
        transform: translate(-50%,50%);
    }
    100% {
        transform: translate(-50%,0%);
    }
}

@keyframes splash {
    0% {
        transform: translate(0%,0%);
    }
    50% {
        transform: translate(0%,0%);
    }
    100% {
        transform: translate(0%,-100%);
    }
}

/***********************************/
/*************NAVBAR****************/
/***********************************/

.logo{
    position: absolute;
    top:35px;
    display: block;
    left: 50%;
    margin-right: -50%;
    transform: translateX(-50%);
    z-index: 10;
}

.logo img{
    width: 70%;
    display: block;
    margin: 0 auto;
}

.upbar{
    background: #f1f2f6;
    text-align: center;
    min-height: 60px;
    padding: 5px;
}

.upbar h1{
    font-size: 0.9vw;
    font-weight: 700;
    display: inline-block;
    margin-left: 10px;
}

.upbar img{
    height: 50px;
}

.upbar a{
    color: #000;
    font-size: 0.75vw;
}

.upbar .nav-item{
    padding-top: 5px;
    margin-top: 13px;
}

nav{
    background: #70a1ff;
    text-align: center;
    min-height: 60px;
}
nav ul.containernav{
    display: inline-flex;
    width: 49%;
    padding: 0 130px;
}

.navbar-light .navbar-nav .nav-link{
    font-size: .9vw;
    white-space: nowrap;
}


.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>a:after {
    content: "\f0da";
    float: right;
    border: none;
    font-family: 'FontAwesome';
}

.dropdown-submenu>.dropdown-menu {
    top: -0.625rem;
    left: 100%;
}


/**************************/
/********FOOTER************/
/**************************/

footer{
    margin-top: 30px;
    background: #70a1ff;
}

footer canvas{
    display: block;
    margin: 0 auto;
}

footer img{
    max-width: 100%;
    display: block;
    margin: 0 auto;
    margin-top: 50px;
}

footer h3{
    font-size: 16px;
    font-weight: 700;
    margin-top: 50px;
    padding-bottom: 10px;
    color: #fff;
}

footer a{
    display: block;
    color: #fff;
    font-size: 14px;
    padding-left: 15px;
}

footer a:hover{
    color: #eee;
}

/**************************/
/****MAIN PAGE CONTENT*****/
/**************************/

.cards{
    padding: 50px 0;
}

.cards h3{
    font-size: 16px;
    text-align: center;
    font-weight: 700;
}

.cards .flip-card-front, .cards .flip-card-back{
    border-radius: 15px;
    box-shadow: -5px 5px 10px #666;
}

.cards .flip-card-front img{
    height: 100%;
    width: 100%;
    overflow: hidden;
    border-radius: 15px;
    object-fit: cover;
}

.flip-card {
    background-color: transparent;
    width: 100%;
    height: 350px;
    border: none;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}


.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
}

.flip-card-front {
    background-color: #bbb;
    color: black;
}

.flip-card-back h4{
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 700;
    margin-top: 15px;
    text-align: center;
}

.flip-card-back ul, .flip-card-back li, .flip-card-back p, .flip-card-back a{
    font-size: 14px; color: #fff;
    text-align: left;
}

.flip-card-back {
    background-color: #70a1ff;
    color: white;
    transform: rotateY(180deg);
    text-align: center;
}

.flip-card-back .btn{
    text-align: center;
    display: inline-block;
    margin: 0 auto;
    color: #000;
}

.about{
    margin-top: 20px;
}

.about h2, .news h2{
    padding-right: 70px;
    font-size: 20px;
    font-weight: 700;
    border-bottom: 3px solid #70a1ff;
    margin-bottom: 15px;
}

.about p{
    text-indent: 20px;
}

.newsmain{
    padding: 20px;
}

.newsmain .card{
    margin: 20px 5px;
    width: 33%;
}
.newsmain .card .card-text{
    overflow: hidden;
    line-height: 20px;
    height: 100px;
}


/*****************************/
/*****TEACHERS PAGE***********/
/*****************************/

.teachers{
    background: #f1f2f6;
    padding-top: 50px;
    padding-bottom: 50px;
}

.teachers h2{
    display: inline-block;
    margin-top: 20px;
    border-bottom: 3px solid #70a1ff;
}

.teacher img{
    padding: 5px;
    margin: 0 auto;
}

.teacher p{
    font-size: 12px;
}

.teacherinfo{
    padding: 0 50px;
    margin-top: 50px;
}

.teacherinfo h1{
    text-align: left;
    margin:0;
    padding:0;
}

.teacherinfo .image{
    padding: 20px;
    border: 10px solid #fff;
    text-align: center;
}

.teacherinfo .image img{
    width: 100%;
}

.teacherinfo .image h3{
    margin-top: 15px;
    font-size: 14px;
    font-weight: 700;
}

.teacherinfo .image span{
    color: #666666;
    font-size: 12px;
}

.teacherinfo .row{
    display: none;
}

.teacherinfo .row.show{
    display: flex;
}

.teacherinfo a{
    color: #fff;
}

.teacherinfo .biography p{
    margin-bottom: 0;
}

.teacher img.active{
    border: 3px solid #70a1ff;
    box-shadow: 5px 5px 10px #777;
}

.teacher .card:hover{
    box-shadow: 8px 8px 15px #777;
}

.teacher .card{
    text-align: center;
}

.teachersmain img{
    width: 60%;
    display: block;
    margin: 0 auto;
    text-align: center;
    float: right;
}



/***************************/
/**********NEWS PAGE********/
/***************************/

.news .card{
    margin: 10px 0;
}

.news .card .card-text{
    overflow: hidden;
    line-height: 20px;
    height: 100px;
}

.newspage span{
    color: #666666;
    font-size: 12px;
}

.newspage h1{
    margin-bottom: 15px;
}
/***************************/
/*********PHOTOALBUM********/
/***************************/

.photoalbum .carousel{
    margin: 20px auto;
    width: 80%;
    display: block;
    height: 800px;
}

.photoalbum .carousel-caption{
    background: rgba(0,0,0,0.6);
}

/***************************/
/**********JOURNAL**********/
/***************************/

/***************************/
/*********SCIENCE WORK******/
/***************************/


.sciencework h2{
    font-size: 24px;
    font-weight: 700;
    display: inline-block;
    padding-right: 50px;
    border-bottom: 3px solid #70a1ff;
    margin-top: 20px;
}

.sciencework img{
    max-width: 100%;
}

.sworks img.main{
    width: 50%;
    display: block;
}

.sworks h3{
    font-weight: 700;
}

.sworks span{
    color: #777;
    display: block;
}

.sworks .btn-info{
    margin: 15px 0;
}

/***************************/
/************HISTORY********/
/***************************/


.history img{
    display: block;
    padding: 30px;
    margin: 20px auto;
    border: 5px solid #888;
}

.history h6{
    text-align: center;
    font-weight: 700;
}

.history p{
    text-indent: 1.5em;
    text-align: justify;
}
/***************************/
/*********LABORATORY********/
/***************************/


.laboratory img, .base img {
    display: block;
    margin: 0 auto;
    width: 70%;
}