@import url('https://rsms.me/inter/inter-ui.css');
@import url('https://fonts.googleapis.com/css?family=Kavivanar');
@import url('https://fonts.googleapis.com/css?family=Mr+Bedfort');
@import url('https://fonts.googleapis.com/css?family=Dancing+Script');


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

.header-img-container {
    width: 100%;
    height: 100vh;
    background-image: url(../assets/3J0A0191_full_resize2.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-title {
    font: 400 9em "Dancing Script", cursive;
    color: white;
}

.bkg-shader {
    background-color: rgba(0,0,0,0.5);
    display: inline-block;
    border-bottom: 1px solid #f0690b;
    padding: 0 18px;
}

.spacer {
    display: inline-block;
    background-color: rgba(0,0,0,0.5);
    margin-left: 280px;
    padding: 0 18px;
}

.sub-header-title {
    font: 400 3.5em "Inter UI", sans-serif;
    color: white;
    background-color: rgba(0,0,0,0.5);
    text-transform: uppercase;
    position: absolute;
    bottom: 0;
    left: 0px; /* To keep centered in IE */
    width: 100%;
    text-align: center;
}

.arrow {
    position: absolute;
    bottom: 0;
    width: 40px;
    height: 40px;
    background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNi4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB3aWR0aD0iNTEycHgiIGhlaWdodD0iNTEycHgiIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA1MTIgNTEyIiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxwYXRoIGZpbGw9IiNGRkZGRkYiIGQ9Ik0yOTMuNzUxLDQ1NS44NjhjLTIwLjE4MSwyMC4xNzktNTMuMTY1LDE5LjkxMy03My42NzMtMC41OTVsMCwwYy0yMC41MDgtMjAuNTA4LTIwLjc3My01My40OTMtMC41OTQtNzMuNjcyICBsMTg5Ljk5OS0xOTBjMjAuMTc4LTIwLjE3OCw1My4xNjQtMTkuOTEzLDczLjY3MiwwLjU5NWwwLDBjMjAuNTA4LDIwLjUwOSwyMC43NzIsNTMuNDkyLDAuNTk1LDczLjY3MUwyOTMuNzUxLDQ1NS44Njh6Ii8+DQo8cGF0aCBmaWxsPSIjRkZGRkZGIiBkPSJNMjIwLjI0OSw0NTUuODY4YzIwLjE4LDIwLjE3OSw1My4xNjQsMTkuOTEzLDczLjY3Mi0wLjU5NWwwLDBjMjAuNTA5LTIwLjUwOCwyMC43NzQtNTMuNDkzLDAuNTk2LTczLjY3MiAgbC0xOTAtMTkwYy0yMC4xNzgtMjAuMTc4LTUzLjE2NC0xOS45MTMtNzMuNjcxLDAuNTk1bDAsMGMtMjAuNTA4LDIwLjUwOS0yMC43NzIsNTMuNDkyLTAuNTk1LDczLjY3MUwyMjAuMjQ5LDQ1NS44Njh6Ii8+DQo8L3N2Zz4=);
    background-size: contain;
    /* CSS below centers at bottom of screen in IE */
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
}

.bounce {
    -moz-animation: bounce 2s infinite;
    -webkit-animation: bounce 2s infinite;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -webkit-transform: translateY(0);
    transform: translateY(0);
        }
    
    40% {
        -moz-transform: translateY(-30px);
        -ms-transform: translateY(-30px);
        -webkit-transform: translateY(-30px);
        transform: translateY(-30px);
        }
    
    60% {
        -moz-transform: translateY(-15px);
        -ms-transform: translateY(-15px);
        -webkit-transform: translateY(-15px);
        transform: translateY(-15px);
        }
}

.main-header-nav {
    display: flex;
    position: absolute;
    top: 0;
    right: 0;
}

.main-header-nav ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.main-header-nav li {
    margin-right: 50px;
    list-style: none;
}

.main-header-nav li a {
    text-decoration: none;
}

.main-header-nav ul .btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 20px;
    text-align: center;
    border-radius: 4px;
    font: 400 1.4em "Inter UI", sans-serif;
    color: black;
}

.main-header-nav ul .btn:hover {
    background-color: rgba(240,105,11,0.6);
    color: white;
    border-bottom: 1px solid #f0690b;
}

#active {
    background-color: rgba(240,105,11,0.6);
}

.main-body-container {
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    width: 100%;
    height: auto;
}

.quoted-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(0,0,0,0.7);
    width: 100%;
}

.quoted-text h2, 
.quoted-text p {
    color: white;
    width: 75%;
    text-align: center;
}

.quoted-text h2 {
    font: 400 4em "Mr Bedfort", cursive;
    margin: 0;
}

.quoted-text p {
    font: 400 2em "Kavivanar", cursive;
    margin-top: -5px;
}

.main-body-container {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.main-body-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    background-color: #9ad3de;
    width:100%;
    color: #fff;
    text-align: center;
    order: 2;
}

.main-body-content p {
    font: 400 1.3em "Kavivanar", cursive;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 80%;
}

.main-body-cards {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    background-color: #5e84a1;
    padding: 60px 0;
}

//.main-body-cards p {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
    font: 400 1.6em "Inter UI", sans-serif;
    color: white;
}

.card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.card h2 {
    display: flex;
    justify-content: center;
    align-items: center;
    font: 400 1.4em "Inter UI", sans-serif;
    color: #89bdd3;
    margin-bottom: 50px;
    border-bottom: 3px solid #fff;
    width: 70%;
}

.card-img img {
    width: 300px;
    height: 350px;
    opacity: 0.7;
}

.card-img img:hover {
    box-shadow: 0 0 20px rgba(0,0,0,0.9);
    opacity: 1;
    transform: scale(1.25);
}

.footer-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    background-color: #89bdd3;
    color:  white;
    width: 100%;
    height: 200px;
    font: 400 1em "Kavivanar", cursive;
}

.footer-title {
    display: flex;
    align-items: center;
    flex-direction: column;
    flex-wrap: wrap;
    width: 33.33%;
    font: 400 3em "Dancing Script", cursive;
}

.footer-bkg-shader {
    background-color: rgba(0,0,0,0.5);
    border-bottom: 1px solid #f0690b;
    padding: 0 15px;
}

.footer-spacer {
    background-color: rgba(0,0,0,0.5);
    margin-left: 120px;
    padding: 0 15px;
}

.footer-container .address {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 33.33%;
}

.footer-container .address p {
    font-size: 1.4em;
    margin: 0;
    padding: 0;
}

.footer-container .copyright {
    display: flex;
    justify-content: center;
    width: 33.33%;
}

/*
                                                  Facilities
*/
#facilities-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    background: rgba(74, 189, 172, 1);
    font: 400 1em "Inter UI", sans-serif;
    color: white;
}

.facilities-main-header {
    font: 400 2.5em "Kavivanar", cursive;
}

p.facilities-description {
    font-size: 1.2em;
    width: 88%;
    margin-bottom: 5px;
}

ul.facilities-description-list {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    width: 80%;
    padding: 0;
}

.facilities-description-list li {
    margin-bottom: 10px;
}

.facilities-photos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}

.thumb-imgs {
    width: 120px;
    height: 120px;
    opacity: .7;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    filter: gray;
    transition: 0.5s;
    padding: 15px;
}

.thumb-imgs:hover {
    opacity: 1;
    -webkit-filter: none;
    filter: none;
}

#facilities-container-b {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    background: rgba(252, 74, 26, 1);
    font: 400 1em "Inter UI", sans-serif;
    color: white;
}

.facilities-description a {
    text-decoration: none;
    color: rgba(0,0,0,0.9);
    border-bottom: 1px dotted white;
}

.facilities-description a:hover {
    color: white;
    border-bottom: 1px solid rgba(0,0,0,1);
}

#facilities-container-c {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    background: rgba(247, 183, 51, 1);
    font: 400 1em "Inter UI", sans-serif;
    color: white;
}

/* 
                                              CONTACT US
*/
.contact-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    //background: rgba(74, 189, 172, 1);
    color: white;
    margin-top: 20px;
}

iframe {
    width: 88%;
    height: 450px;
    border: none;
    margin-bottom: 20px;
}

.contact-cards-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 20px;
}

.contact-card {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 0;
    padding: 0;
    width: 280px;
    height: 400px;
    position: relative;
    transition: color .5s;
    outline: 1px solid black;
}

.contact-card:before {
    content: "";
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    background-color: rgba(240,105,11,0.9);
    z-index: -1;
    transform: scaleX(0);
    transition: transform .5s;
}

.contact-card:hover:before {
    background-color: rgba(240,105,11,0.9);
    transform: scaleX(1);
}

.contact-card .fa {
    position: absolute;
    top: 0;
    margin-top: 55px;
}

.contact-card p {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font: 400 1.3em "Inter UI", sans-serif;
    margin: 0;
    padding: 10px 0;
    width: 100%;
}

a.contact-card {
    color: black;
    text-decoration: none;
}

a.contact-card:hover {
    color: white;
}

p.click-text {
    position: absolute;
    bottom: 0;
    font-size: .9em;
    background-color: aqua;
    color: black;
    right: 0; /* Centers to container in IE */
}

/* 
        -----------------MOBILE DEVICES------------- 
*/
@media all and (max-width:900px) {
    .header-title {
        display: flex;
        justify-content: center;
        flex-flow: column;
        align-content: center;
        align-items: center;
        position: absolute;
        top: 0;
    }
    
    .bkg-shader {
        margin: 0;
    }
    
    br {
        display: none;
    }
    
    .spacer {
        margin: 0;
    }
    
    .main-header-nav {
        position: relative;
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .main-header-nav ul {
        position: absolute;
        bottom: 0;
        margin: 0;
        padding: 0;
        width: 100%;
        display: flex;
    }
    
    .main-header-nav li {
        margin: 0;
        padding: 0;
        width: 100%;
        background-color: rgba(0,0,0,0.3);
        border: .5px solid black;
        display: flex;
        justify-content: center;
        align-content: center;
        align-items: center;
    }
    
    .main-header-nav ul .btn {
        font: 400 2em "Inter UI", sans-serif;
        color: white;
        width: 100%;
        height: 80px;
        text-transform: uppercase;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0;
    }
    
    .main-body-content {
        order: 2;
    }
    
    .thumb-imgs {
        opacity: 1;
        filter: none;
    }
    
    .card-img img {
        opacity: 1;
    }
    
    .card-img img:hover {
        transform: none;
    }
    
    .contact-card {
        margin: 25px 0;
        background-color: rgba(240,105,11,0.9);
        width: 220px;
        height: 300px
    }
    
    .contact-card .fa {
        margin-top: -1px;
    }
    
    a.contact-card {
        color: white;
    }
    
    p.click-text {
        font-size: .75em;
    }
    
    .arrow {
        display: none;
    }
    
    .sub-header-title {
        display: none;
    }
}

@media all and (max-width:720px) {
    .footer-container {
        height: 100%;
    }
    
     .footer-title {
         display: flex;
         justify-content: center;
         align-items: center;
        width: 100%;
         margin-top: 50px;
    }
    
    .footer-spacer {
        margin: 0;
    }
    
    .footer-container .address {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin-top: 50px;
    }
    
    .footer-container .copyright {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin-top: 50px;
    }
}

@media all and (max-width:550px) {
    .header-title {
        font-size: 3.8em;
    }
    
    .header-title .spacer {
        margin-top: 1px;
    }
}

@media all and (max-width:350px) {
    .card h2 {
        width: 100%;
    }
    
    .card-img img {
        width: 250px;
    }
}

@media all and (max-height:550px) {    
    .main-header-nav {
        background-color: transparent;
        height: 324px;
    }
}