html,
body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    margin: 0;
    padding: 0;
}

body {
    background-color: #0f0f0f;
    color: #EBEBEB;
}

@media (max-width: 991px) {
    body {
        padding-top: 60px;
    }
}


/************************* HEADER ********************************/

.logo-image {
    position: absolute;
    z-index: 9999;
    top: 10px;
    left: 40px;
    width: 150px;
    transition: 0.3s ease-in-out all;
}

.logo-image-sm {
    top: 5px;
    width: 55px;
}

@media (max-width: 991px) {
    .logo-image {
        position: relative;
        width: 50px;
        top: 0;
    }
}

.navbar {
    background-color: #0f0f0f;
    padding: 0;
}

@media (max-width: 991px) {
    .navbar {
        position: fixed;
        right: 0;
        left: 0;
        top: 0;
        padding: 5px 20px;
        z-index: 2;
    }
}

.navbar .nav-item {
    transition: 0.2s;
}

.nav-item {
    display: block;
    text-align: center;
    font-weight: bold;
    color: whitesmoke
}

.navbar-expand-lg .navbar-nav .nav-link {
    padding: 25px;
}

.active {
    background: #c09c48;
    /* box-shadow: inset 15px 0px 15px -15px rgba(0, 0, 0, 1), inset -10px 0px 10px -10px rgba(0, 0, 0, 1); */
}

.nav-item:hover {
    background: #c09c48;
}


/***************************** END HEADER ************************************/


/***************************** CAROUSEL **************************************/

.carousel-item {
    height: 50vh;
    min-height: 350px;
    background: no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.carousel-control-prev,
.carousel-control-next {
    width: 4%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 40px;
    height: 100px;
}


/********************************** END CAROUSEL *******************************/


/*********************************** HOME PAGE **********************************/

.intro {
    padding: 30px;
    text-align: justify;
    line-height: 1.8em;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-flow: row wrap;
    align-items: stretch;
}

.intro-blurb {
    padding: 30px;
    flex-grow: 2;
    align-self: center;
}

.intro-image {
    flex-grow: 1;
}

.intro p {
    font-size: 1.2rem;
}

.banner-dark {
    padding: 50px 0;
}

.banner-light {
    padding: 50px 0;
    background-color: #1a1a1a;
}

.news-row {
    background-color: #1a1a1a;
}

.news-row:nth-of-type(even) {
    background: #131313;
    flex-direction: row-reverse;
    text-align: end;
}

.news-img {
    min-width: 250px;
    width: 100%;
}

.news-blurb {
    text-align: justify;
    padding: 25px 45px;
    line-height: 1.8em;
}

@media (min-width: 991px) {
    .news-row {
        display: flex;
        align-items: center;
    }
    .news-blurb p {
        line-height: 1.6rem;
    }
}


/******************************* END HOME PAGE *********************************/


/************************** STAFF PAGE **********************************/

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

@media (max-width: 991px) {
    .reels {
        flex-wrap: wrap;
        margin-top: 60px;
    }
}

.reel {
    display: flex;
    flex-wrap: nowrap;
}

.gold-header {
    color: #dab151;
    font-weight: bold;
    font-family: 'Courgette', cursive;
    font-size: 2.5rem;
}

.gold-header-small {
    color: #dab151;
    font-weight: normal;
    font-family: 'Courgette', cursive;
    font-size: 2rem;
    padding: 0;
}

@media (min-width: 992px) {
    .gold-header-small {
        font-size: 2rem;
        padding: none;
    }
    .gold-header {
        color: #dab151;
        font-weight: bold;
        font-family: 'Courgette', cursive;
        font-size: 4rem;
    }
}

.staff {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 80%;
    margin: 0 auto;
}

.staff-member {
    flex: 25%;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: 0.2s;
    flex-grow: 0;
}

.staff-member:hover {
    background-color: #1a1a1a;
}

.staff-photo {
    width: 200px;
    /* height: 200px; */
    margin-bottom: 15px;
    border-radius: 50%;
    object-fit: cover;
}

.staff-name {
    color: #dab151
}

.staff-position {
    font-size: 11pt;
    color: #999;
    font-weight: lighter;
}

.story-container {
    background-color: #1b1b1c;
}

.story {
    width: 80%;
    margin: 0 auto;
    padding-top: 50px;
}

.story h1 {
    margin-bottom: 20px;
}

.story p {
    text-align: justify;
    line-height: 1.8em;
}

.story-img {
    float: left;
    margin-right: 50px;
    margin-bottom: 10px;
    border-radius: 50%;
}

.poem-container {
    display: flex;
    background-image: url('../images/tree.png');
    background-repeat: no-repeat;
    background-position: 70% 50%;
}

.poem {
    width: 60%;
    margin: 0 auto;
    font-family: 'Courgette', cursive;
    font-size: 16pt;
    line-height: 1em;
}


/*************************** REGISTER PAGE ********************************/

.register-blurb {
    margin-top: 30px;
    text-align: justify;
    line-height: 1.8em;
}

.register-blurb h1 {
    margin-bottom: 15px;
}

.register-form {
    width: 80%;
    margin: 0 auto;
}

.form-cell {
    padding: 10px 20px;
}

.register-form .submit {
    text-align: right;
    margin-right: 5px;
}

form {
    border-left: 10px solid #bbbaba;
    padding: 10px 30px;
    margin: 10px auto;
}

input[type=text],
input[type=password],
input[type=email],
input[type=select] {
    background-color: #EBEBEB;
    border: #bbbaba solid 2px;
    border-radius: 10px;
    height: 40px;
}

input[type=text]:focus,
input[type=password]:focus,
input[type=email]:focus,
input[type=select]:focus {
    outline: none !important;
    border: 1px solid #dab151;
    box-shadow: 0 0 10px #dab151;
    border-radius: 10px;
}

label {
    font-family: 'Courgette', cursive;
    color: #dab151;
    font-weight: normal;
    font-size: 14pt;
}

.custom-select {
    border-radius: 10px;
}

.custom-textarea {
    border-radius: 10px;
}

.custom-select:focus {
    border-radius: 10px;
    height: 40px;
    outline: none !important;
    border: 1px solid #dab151;
    box-shadow: 0 0 10px #dab151;
    border-radius: 10px;
}

.custom-textarea:focus {
    border-radius: 10px;
    outline: none !important;
    border: 1px solid #dab151;
    box-shadow: 0 0 10px #dab151;
    border-radius: 10px;
}


/*************************** END REGISTER PAGE ********************************/


/*************************** CLASSES PAGE ********************************/

.classes-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 40px;
}

.classes-card {
    justify-self: center;
    width: 25rem;
    margin: 20px;
    background-color: #0f0f0f;
    border: none;
    box-shadow: 0 .5rem .5rem rgba(190, 190, 190, 0.10)!important;
    text-align: justify;
    line-height: 1.5em;
}

.class-details {
    min-height: 300px;
    background-color: #0f0f0f;
    padding: 40px 80px;
    text-align: justify;
    line-height: 1.8em;
}

.class-details:nth-of-type(even) {
    background: #1a1a1a;
    flex-direction: row-reverse;
}

.back-to-top-fixed {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Fixed/sticky position */
    bottom: 20px;
    /* Place the button at the bottom of the page */
    right: 30px;
    /* Place the button 30px from the right */
    z-index: 99;
    /* Make sure it does not overlap */
    cursor: pointer;
    /* Add a mouse pointer on hover */
    padding: 15px;
    /* Some padding */
    border-radius: 30px !important;
    /* Rounded corners */
}


/*************************** END CLASSES PAGE ********************************/


/*************************** GALLERY PAGES ***********************************/

.gallery-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.gallery-index-item {
    border: 4px solid #868686;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px;
    opacity: 80%;
}

.gallery-index-item:hover {
    opacity: 100%;
    border: 4px solid #b6b6b6;
}

.gallery-index-image {
    width: 340px;
    /* height: 340px; */
    margin: 10px;
    object-fit: cover;
    -o-object-fit: cover;
    object-position: center;
    -o-object-position: center;
}


/*************************** END GALLERY PAGES ***********************************/


/*************************** CONTACT PAGE ************************************/

.contact-form .submit {
    text-align: right;
}

.contact-form {
    width: 60%;
    margin: 0 auto;
}

.contact-form .row .col {
    padding: 10px 20px;
}

.contact-form label {
    font-weight: bold;
}

.map-container {
    background-color: #1b1b1c;
    padding-bottom: 60px;
}

.address {
    min-width: 40%;
    margin: 0 auto;
    font-size: 1.2rem;
}

#map {
    height: 400px;
    width: 100%;
}

.map-inner ul {
    margin: 0;
    padding: 0;
}

.phone-icon,
.email-icon {
    width: 50px;
}


/*************************** ADMIN SECTION START *****************************/

.admin-reg-table {
    width: 70%;
    margin: 0 auto;
    margin-top: 30px;
}


/******************************************************************************
/*************************** COMMON COMPONENTS ********************************
/******************************************************************************/


/************** BUTTONS ************************/

.btn-primary,
.btn-primary:active,
.btn-primary:visited,
.btn-primary:focus,
.btn-primary:active:focus {
    background-color: #8064A2 !important;
    border-color: #8064A2 !important;
    border-radius: 5px;
    text-transform: uppercase;
    transition: 0.2s;
    padding: 13px 18px;
}

.btn-primary:hover {
    background-color: #8064A2;
    border-color: #8064A2;
    box-shadow: 0 0 5px 5px rgb(110, 110, 110, 0.45) !important;
}


/*************** TOP IMAGE *********************/

.top-img,
.top-img img {
    width: 100%;
    margin: 0;
    padding: 0;
}


/******** HOVER CARDS *****************/

.hover-card {
    flex-grow: 1;
    /* flex-basis: 0; */
    position: relative;
    padding: 0;
}

.hover-card-img {
    width: 100%;
    /* height: 300px; */
}

.hover-card-img-text {
    visibility: hidden;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 5px;
    transition: 0.3s;
    text-align: center;
    opacity: 0%;
    background-color: none;
    color: #dab151;
    font-weight: bold;
    font-family: 'Courgette', cursive;
    font-size: 1.5rem;
    text-shadow: black;
}

.hover-card:hover .hover-card-img-text {
    visibility: visible;
    transition: 0.3s;
    background-color: none;
    opacity: 100%;
}


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

footer {
    background: #0f0f0f;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    margin: 0;
}

footer a {
    color: #EBEBEB;
    text-decoration: underline;
}

.footer-content {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
}

.footer-logo {
    display: inline-flex;
}

.logo-image-footer {
    height: 120px;
}

.footer-name {
    color: #dab151;
    font-family: 'Courgette', cursive;
    font-size: 1.2rem;
}

.footer-address ul,
li {
    padding: 0;
    list-style: none;
    font-size: 1rem;
}

.footer-socials {
    padding: 0;
}

.footer-socials a {
    font-size: .8rem;
    font-weight: bold;
    text-decoration: none;
}

.footer-socials a:hover {
    color: #dab151;
}

.social-icon {
    width: 30px;
    height: 30px;
    margin: 5px 10px;
}


/**************** BACK TO TOP **************************/

#back2Top {
    width: 40px;
    line-height: 40px;
    overflow: hidden;
    z-index: 999;
    display: none;
    cursor: pointer;
    -moz-transform: rotate(270deg);
    -webkit-transform: rotate(270deg);
    -o-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    transform: rotate(270deg);
    position: fixed;
    bottom: 50px;
    right: 0;
    background-color: #DDD;
    color: #555;
    text-align: center;
    text-decoration: none;
}

#back2Top:hover {
    background-color: #DDF;
    color: #000;
}