/* GLOBAL */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    height: 100vh; /* Required for Parallax effect */
}

body {
    position: relative;
    color: #f8f9fa;
    background-color: black;
}

p { 
    font-size: 1.25rem;
    overflow-y: auto;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 400;
}

h1 {
    font-size: 5rem;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

img {
    opacity: 0;
    transition: all 500ms;
    background-color: black;
}

.img-fade {
    opacity: 1.0;
    transition: all 500ms;
}

.text-fade {
    animation: text-fade 7s;
}

@keyframes text-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.wrapper {
    width: 50%;
    padding-top: 112px;
    margin: 0 auto;
}

.blockquote {
    padding-left: 0.8em;
    margin-left: 1em;
    color: rgba(255,255,255,0.7);
    font-size: 1.2em;
}

.blockquote p {
    font-style: italic;
    margin-bottom: 0.2rem;
}

.section {
    padding-bottom: 3rem;
}

/* Navbar */

.navbar {
    background-color: transparent;
    padding-left: 25%;
    padding-right: 25%;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255,255,255,0.6);
    padding-right: 0.4rem;
    padding-left: 0.4rem;
}

/* Misc */

.navbar.bg-black { 
    background-color: #000; 
    transition: background 500ms;
}

#home-section, #about-section, #our-team-section, #events-section, #shop-section, #contact-section { 
    padding-top: 56px;
}

.extra-padding-top {
    padding-top: 56px;
}

.extra-padding-bottom {
    margin-bottom: 56px;
}

.full-height { min-height: 100vh; }
.half-height { min-height: calc(50vh - 56px); }
.third-height { min-height: calc(33vh - 56px); }
.quarter-height { min-height: calc(25vh - 56px); }
.last-section-height { min-height: calc(97vh - 2rem); }
.footer-height { min-height: 2rem; }

.image-grayscale {
    filter: grayscale(100%);
    transition: 0.5s;
}

.image-grayscale:hover {
    filter: grayscale(0);
}

/* Parallax Splash Section */
.parallax-background {
    height: 100vh;
    background-image: url("../images/face-in-dark-2.jpg");
    /* Parallax Effects */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.parallax-heading {
    text-align: center;
    line-height: 100vh;
    margin: 0;
}

/* About Section */
.column-right {
    padding-left: 3em;
    padding-right: 1em;
}

.column-left {
    padding-left: 1em;
    padding-right: 3em;
}

.image-height {
    height: 75vh;
}

.about-image-frame {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

#about-image-face {
    /* background-image: url("../images/face-in-dark.jpg"); */
    display: block;
}

/* Our Team Section */
.our-team-profile-portrait {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 50%;
    margin-bottom: 2.5rem; /* keep the same as h2 font-size */
}

/* Events Section */
.image-fill-container {
    object-fit: cover;
    width: 100%;
}

.carousel-caption {
    width: 100%;
    height: 34%;
    background: rgba(0,0,0,0.6);
    left: 0;
    bottom: 0;
    padding-top: 40px;
    padding-left: 16%;
    padding-right: 16%;
    overflow: hidden;
    transition: 0.5s;
}

.carousel-control-prev { z-index: 20; }
.carousel-control-next { z-index: 20; }

/* Shop Section */
.shop-item-img {
    padding-left: 1.5em;
    padding-right: 1.5em;
    margin-bottom: 1.8em;
}

.card img {
    object-fit: cover;
}

.card-body {
    border-bottom: 0.3em solid white;
}

.card-title {
    color: #007bff;
}

.card-title:hover {
    text-decoration: underline;
}
.card {
    background-color: inherit;
    border: none;
}

.card:hover {
    cursor: pointer;
}

/* Contact Section */
.iframe-container {
    overflow: hidden;
    padding-top: 45%;
    position: relative;
    filter: grayscale(100%);
    transition: 0.5s;
}

.iframe-container:hover {
    filter: grayscale(0);
}

.iframe-container iframe {
    border: 0;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

td {
    color: #f8f9fa;
}

td.contact-td-icons {
    width: 1em;
    text-align: center;
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
}

td.contact-td-content {
    padding-top: 0;
}

/* Footer */
.footer {
    text-align: center;
    line-height: 5vh;
}

/* Mobile/Tablet Support */
@media only screen and (max-width: 1300px) {
    .wrapper {
        width: 67%;
    }

    .navbar {
        padding-left: 16.5%;
        padding-right: 16.5%;
    }
    
    h1 {
        font-size: 3rem;
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    p {
        font-size: 1em;
    }

    .column-right {
        padding-left: 2em;
    }
    
    .column-left {
        padding-right: 2em;
    }

    .our-team-profile-portrait {
        margin: 0 auto 2rem auto;
        width: 75%;
    }

    .iframe-container {
        padding-top: 60%;
    }
}

@media only screen and (max-width: 600px) { 
    .wrapper {
        width: 85%;
    }
    
    .navbar {
        padding-left: 7.5%;
        padding-right: 7.5%;
    }
    
    h1 {
        font-size: 2.5rem;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    .column-right {
        padding-left: 1em;
    }

    .column-left {
        padding-right: 1em;
    }
    
    .row {
        margin-right: 0;
        margin-left: 0;
    }

    .our-team-profile-portrait {
        margin-bottom: 1.5rem;
        width: 50%;
    }

    .carousel-caption {
        padding-top: 20px;
        padding-left: 1%;
        padding-right: 1%;
        height: 50%;
    }

    .carousel-indicators { margin-bottom: 0; }

    .row > div {
        padding-left: 0;
        padding-right: 0;
    }

    .iframe-container {
        padding-top: 80%;
    }
}