@charset "UTF-8";

/* DEBUG
body, header, footer, p, div > *
{
    border: 1px red solid;
}*/


/* Constants */

html
{
    background-color: #2c2c2c;
    color: #242424;
    font-family: "Roboto", sans-serif;
}

.content-width
{
    width: 60vw !important;
}

/* Header, footers, body */

header
{
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.281);
    background-color: #FFFFFF;
}

body, main, html
{
    padding:0;
    margin:0;
    max-width: 100%;
    overflow-x: hidden;
}

footer
{
    background-color: #2c2c2c;
    font-family: "Roboto", sans-serif;
    color: white;
    padding: 20px;

    box-shadow: 0px -2px 6px rgba(0, 0, 0, 0.281);
}

body
{

}

/* Top Header Navigation */

.header-above /*Above header with contact info*/
{
    background-color: #2c2c2c;
    width: 100vw;
    color: white;

    padding: 10px 0px 10px 0px;

    font-family: "Roboto", sans-serif;
}

.header-above div /* the elements within */
{
    display: flex;
    justify-content: right;
}

.header-above span /* Links and text */
{
    padding-left: 8px;
    padding-right: 8px;
}

.v-bar
{
    content:"";
    background-color: white;
    border-left: 2px solid white;
    
    margin-left: 6px;
    margin-right: 6px;
}

/* Bottom Header */

.header-content
{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-navbar
{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-content: center;
    align-items: center;
}

.header-navbar div
{
    display: flex;
    padding: 4px 8px 4px 8px;
    text-align: center;
    height: 64px;
    justify-content: center;
    align-items: center;
    background-color: transparent;

    transition: box-shadow 0.15s ease-in, border-bottom 0.1s linear, margin-bottom 0.1s linear;

    border-bottom: 0px solid #fee022;
    margin-top: 6px;
    margin-bottom: 6px;

    font-family: Helvetica, sans-serif;
    font-size: 1.1rem;
    letter-spacing: 0.05rem;
    font-weight: bold;
    color: black;

    box-shadow: inset 0px -64px 64px -64px #ffffff00;
}

.header-navbar div:hover
{
    border-bottom: 6px solid #fee022;
    margin-bottom: 0px;
    box-shadow: inset 0px -8px 8px -8px #fee022,inset 0px -16px 16px -16px #fee022;
}

.header-navbar div.active
{
    border-bottom: 6px solid #fee022;
    margin-bottom: -0px
}

.header-logo, #header-logo
{
    background-image: url("/assets/images/site/MichaelVogl_Logo_yellow.png");
    background-repeat: no-repeat;
    background-position: center;
    
    height: 64px;
    width: 350px;
    
    transition: filter 0.1s linear;
}

.header-logo:hover, #header-logo:hover
{
    filter: brightness(1.1);
    /*background-image: url("/assets/images/site/MichaelVogl_Logo_white.png");*/
}

/* Footer Structure */
.footer-grid
{
    display: grid;
    width: 75%;
    grid-template-columns: 1fr 1fr 1fr 1fr;

    color: white;

    font-family: "Roboto", sans-serif;
    font-weight: normal;
}

.footer-grid div
{
    display: flex;
    flex-direction: column;

    padding: 8px;

    gap: 4px;
}

footer h4
{
    font-family: "Roboto", sans-serif;
    font-weight: 500;

    margin-bottom: 4px;
    padding-bottom: 2px;
    width: fit-content;
    border-bottom: 2px solid white;
}

.footer-title
{
    font-weight: 500;
    margin-bottom: 4px;
    border-bottom: 2px solid white;
}

.footer-media-grid
{
    display: grid; 
    grid-auto-flow: column;
    gap: 20px;
}

.footer-media-grid span
{
    max-width: 286px;
}


/* General Stylings */
.link-noformat a
{
    text-decoration: none;
    color: black;
}

.link-format a
{
    text-decoration: none;
    color: white;
    font-weight: bold;
}

.link-format a:hover
{
    color: #fee022 !important;
}

.recessed-area
{
    width: 100%;
    box-shadow: inset 0px 16px 16px -16px rgb(128, 128, 128);

    display:flex;
    justify-content: center;

    padding: 128px 0px 64px 0px;
}

/* Flex Stylings */

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

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

.flex-column
{
    flex-direction: column;
}

/* Grid Showcase Things */
.body-block
{
    border-radius: 12px;
    overflow:hidden;
    box-shadow: 4px 4px 16px rgba(0, 0, 0, 0.232);

    font-size: 1.1rem;

    background-color:#FFFFFF;

    transition: box-shadow 0.15s linear;
}

.body-block:hover
{
    box-shadow: 0px 0px 16px rgba(0, 0, 0, 0.532);
}

.body-block-image
{
    background-position: left;
    background-size: cover;

    height: 100%;
}

.body-block-content
{
    margin: 32px;
}

.body-block-content p
{
    margin-bottom: 1rem;
}

.body-block-grid
{
    display: grid;
    min-height: 236px;
}

.body-block h3
{
    padding-bottom: 4px;
    margin-bottom: 4px;
}

.gap
{
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Grids and images */
.grid-four
{
    display: grid;
    grid-template-columns: auto auto;

    width: 100%;

    gap: 8px;
}

.grid-images div
{
    width: 100%;
    height: 320px;
    background-size:cover;
    background-position: center;

    border-radius: 16px;
}

.grid-images-contain div
{
    width: auto;
    height: 386px;
    background-size:contain;
    background-position: center;
    background-repeat: no-repeat;

    transition: transform 0.25s;
    animation: transform cubic-bezier(1, 0, 0, 1);

    border-radius: 16px;
}

.grid-images-contain div:hover
{
    transform: scale(1.5);
}

.grid-left
{
    grid-template-columns: 1.5fr 1fr;
}

.grid-right
{
    grid-template-columns: 1fr 1.5fr;
}

.side-by-side-list
{
    padding-left: 32px;
    min-width: fit-content;
    max-width: 386px;
    display: grid;   
    grid-template-columns: 1fr 1fr 1fr;
    align-content: center;
    word-break: keep-all;
    word-wrap: normal;
}

.list-two-rows
{
    grid-template-columns: 1fr 1fr;
}

/*
    <script>
        var i = 0;
        var txt = "Hi, I'm Michael";
        var speed = 125;

        function typeWriter() {
            if (i < txt.length) {
                document.getElementsByClassName("hi-intro")[0].innerHTML += txt.charAt(i);
                i++;
                setTimeout(typeWriter, speed);
            }
        }

        typeWriter();
    </script>
    */