@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Arimo&display=swap');

* {
    margin: 0;
    padding: 0;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
}

html {
    scroll-behavior: smooth;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
}

body {
    background-color: rgb(218, 238, 255);
    font-family: 'Arimo', sans-serif;
}

.text-popins,
h3 {
    font-family: 'Poppins', sans-serif;
}

header {
    background-color: #14243B;
    color: aliceblue;
}


.mynav {
    background-color: #002147;
    margin: 0;
}

nav {
    margin: 0 0 0 20%;
}

.nav-link {
    color: ghostwhite !important;
}

/* dropdown animation  */

@media (min-width: 992px) {
    .animate {
        animation-duration: 0.3s;
        -webkit-animation-duration: 0.3s;
        animation-fill-mode: both;
        -webkit-animation-fill-mode: both;
    }
}

@keyframes slideIn {
    0% {
        transform: translateY(1rem);
        opacity: 0;
    }

    100% {
        transform: translateY(0rem);
        opacity: 1;
    }

    0% {
        transform: translateY(1rem);
        opacity: 0;
    }
}

@-webkit-keyframes slideIn {
    0% {
        -webkit-transform: transform;
        -webkit-opacity: 0;
    }

    100% {
        -webkit-transform: translateY(0);
        -webkit-opacity: 1;
    }

    0% {
        -webkit-transform: translateY(1rem);
        -webkit-opacity: 0;
    }
}

.slideIn {
    -webkit-animation-name: slideIn;
    animation-name: slideIn;
}

.dropdown:hover>.dropdown-menu {
    display: block;
}

.dropdown>.dropdown-toggle:active {
    /*Without this, clicking will make it sticky*/
    pointer-events: none;
}

.dropdown-item:hover {
    background-color: #002147;
    color: ghostwhite;
}

footer {
    width: 100%;
    background-image: url("../image/bg.jpg");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-blend-mode: overlay;
    background-color: #000e1fd7;
    color: aliceblue;
    margin-top: 20px;
}

footer hr {
    background-color: whitesmoke;
}

footer ul li a {
    color: aliceblue;
}

footer ul {
    padding-left: 20px;
}

.mycard {
    box-shadow: #002147 0 0 5px 0;
    width: 100%;
}

.row {
    width: 100% !important;
}

.border-other {
    border: #002147 solid 1px !important;
}

/* infrastructure  */
.infrastructure img {
    width: 300px;
    height: 200px;
    margin: 10px;
    box-shadow: #002147 0 0 5px 0;
    padding: 5px;
}

.bg-dark {
    background-color: #002147 !important;
}

.faculty-members {
    padding: 10px;
    box-shadow: #002147 0 0 5px 0;
}

.faculty-members img {
    width: 100%;
}

/* gallery  */
.gallery {
    padding: 10px 0 10px 0;
}

.gallery img {
    width: 300px;
    height: 200px;
    margin: 5px 5px;
    padding: 5px;
    box-shadow: #002147 0 0 5px 0;
}

.gallery .iframe {
    padding: 10px 20px;
}

.gallery iframe {
    padding: 3px;
    box-shadow: #002147 0 0 7px 0;
}

.gallery .iframe img {
    width: 100%;
    height: 350px;
}

.form-regi {
    padding: 25px;
}


/* blinking animation for header  */
.blink {
    color: aliceblue;
    animation: blink-animation 1s steps(5, start) infinite;
    -webkit-animation: blink-animation 2.5s linear infinite;
}

.blink:hover{
    animation: none;
    color: aliceblue;
    text-decoration: none;
    border-top: aliceblue solid 1px;
    border-bottom: aliceblue solid 1px;
    transition: all 0.5s;
    -webkit-animation: none;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
}

@keyframes blink-animation {
    50% {
        opacity: 0;
        color: white;
      }
}