/* ================================================== 
   1. GLOBAL & BASE STYLES
   ================================================== */
html {
    height: auto;
}

body {
    width: auto;
    height: auto;
    background-color: #EAE6E2;
    /* background-image: url(../images/bw-sea-bk.jpg); */
}

p {
    display: flex;
    justify-content: center;
    align-items: center; /* Added for vertical centering */
    width: 100%;
    height: 40px;
    font-family: "Calisto MT", serif;
    font-size: 20px;
    font-variant: small-caps;
    font-weight: 600;
    letter-spacing: 4px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
}

p.copyright {
    font-size: 0.68em;
    height: 40px;
}

/* ================================================== 
   2. LAYOUT SECTIONS
   ================================================== */
section.two {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    position: relative;
    width: 90%;
    height: 300px;
    margin: -70px auto 0 auto;
    z-index: 2;
}

div.three {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    height: 250px;
    margin-top: 5%;
}

div.vid {
    width: 96%;
    height: 400px;
    margin: 54% auto 0 auto;
    padding: 5px;
}

div.footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    width: 88%;
    height: 380px;
    margin: 45% auto 0 auto;
    z-index: 0;
}

/* ================================================== 
   3. COMPONENTS & ELEMENTS
   ================================================== */

/* Grids & Flex Items */
span.left, 
span.right {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 48%;
    height: auto;
    padding: 0;
    z-index: 2;
}

span.right { background-color: green; }

/* The Row Rectangles (1-6) */
div.first, div.second, div.third, 
div.four, div.five, div.six {
    display: flex;
    flex-direction: row;
    position: relative;
    width: 100%;
    height: 38%;
    background-color: #ffffff;
}

/* Divider Lines */
section.two span.left div#theline,
section.two span.right div#theline {
    width: 100%;
    min-height: 1px;
    background-color: #ccc;
    margin: 15px 0;
}

/* Images */
img.cast {
    position: absolute;
    width: 100px;
    height: auto;
    left: 39%;
    top: 30%;
    z-index: 20;
}

div.first img, div.second img, div.third img, 
div.four img, div.five img, div.six img {
    height: 100%;
    width: auto;
    border-radius: 5px;
    position: relative;
}

span.cd5 img {
    width: 100%;
    height: auto;
}

/* Drum Specifics */
div.four img.drumsmall { height: 50%; }

span.right div.four span.drumsmall {
    position: relative;
    width: auto;
    height: 30px;
    top: 73%;
    margin-left: 90%;
    margin-right: 10%;
}

span.right div.four span.drumsmall img.drumsmall {
    width: 30px;
    height: 30px;
}

/* Gallery Items (a, b, c) */
span.left-a, span.center-b, span.right-c {
    width: auto;
    height: 100%;
    overflow: hidden;
}

span.left-a img, span.center-b img, span.right-c img {
    height: 100%;
    width: auto;
    border-radius: 20px;
}

/* ================================================== 
   4. RESPONSIVE (MOBILE)
   ================================================== */
@media screen and (max-width: 740px) {

    body { padding: 0; width: 100%; background-image: none; }

    #container {
        display: flex;
        flex-direction: column;
        position: relative;
        width: 98%;
        height: auto;
        margin: 50px auto 0 auto;
        z-index: 1;
    }

    header { height: 50px; width: 100%; }

    /* Stack sections */
    section.two {
        display: block; /* Overriding flex for mobile stack */
        width: 100%;
        height: auto;
        margin-top: 0;
    }

    span.left, span.right { width: 100%; }

    /* Adjust heights for mobile rows */
    span.left div.first, 
    span.left div.second, 
    span.left div.third,
    span.left div.four, 
    span.left div.five, 
    span.left div.six {
        height: 75px;
    }
	
	
    div.three {
        flex-direction: column;
        height: auto;
        margin-top: 50px;
    }

    div.vid {
		position: relative
        margin-top: 520px;
        width: 100%;
    }

    div.footer {
        width: 98%;
        margin-top: 44%;
    }

    span.cd5 {
        position: absolute;
        right: 7%;
        top: 60px;
        width: 150px;
        z-index: 2;
    }

    span.nameholder-white {
        left: 50px;
        top: 10px !important;
    }

    /* Hide elements */
    div#noaa, 
    span.navbar-toggler-icon, 
    span.navbar-light .navbar-toggler, 
    div.footer span.h-scroll {
        display: none;
    }

    /* AI Image Container */
    #image-container {
        display: flex;
        flex-direction: column;
    }

    span.ai { width: 100%; height: auto; }
    span.ai img {
        width: 96%;
        height: auto;
        margin: 10px;
    }
}