:root {
    --main-text-color: #333333;
    --primary-color: #ff002b;
    --primary-color-darkened: hsl(from var(--primary-color) h s calc(l - 10));
    --height-fixed-grid-rows: 50px;
}
.navbar {
    background-color: #ffffff;
    box-shadow: 0 1px 20px 0px #0000004d;
    opacity: 0.95;
}

.nav-link {
    text-transform: uppercase;
}

.navbar-light .navbar-toggler {
    border: none;
}
nav{
    height: 50px;
    width: 70%;
    vertical-align: middle;
    /*box-shadow: 0px 2px 4px rgba(0,0,0,0.144);*/
}
nav ul{
    float: right;
}
nav li{
    display: inline-block;
    margin-top: 5px;
    margin-right: 10px;
}
nav li a{
    text-decoration: none;
    color: #333;
}
nav ul li .active{
    color: #ff002b;

}

footer{
    height: 60px;
    width: 80%;
    vertical-align:text-top;
    
}
footer h2{
    float: right;
}
footer ul{
    float: right;
}
footer li{
    display: inline-block;
    margin-bottom: 10px;
    margin-right: 10px;
}
footer li a{
    vertical-align: top;
    text-decoration: none;
    color: #333;
}





@font-face {
    font-family: 'tazregular';
    src: url("Taz_500_a.eot");
    src: url("Taz_500_a.eot?#iefix") format("embedded-opentype"), url("Taz_500_a.woff") format("woff"), url("Taz_500_a.svg#Taz_500_a") format("svg");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--main-text-color);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	background-color: rgba(76, 116, 19, 0.8);

}

#grid-wrapper {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 100px 1fr;
    grid-template-rows: 100px var(--height-fixed-grid-rows) var(--height-fixed-grid-rows) 1fr var(--height-fixed-grid-rows);
    grid-template-areas: 
        "logo          logo         logo"
        "navigation    navigation   navigation"
        ".             header       ."
        ".             main         ."
        "footer        footer       footer";
}
@media (min-width: 150px) {
    #grid-wrapper {
        grid-template-columns: 1fr 140px 1fr;
    }
}

@media (min-width: 600px) {
    #grid-wrapper {
        grid-template-columns: 1fr 520px 1fr;
    }
}

@media (min-width: 1000px) {
    #grid-wrapper {
        grid-template-columns: 1fr 900px 1fr;
    }
}

@media (min-width: 1300px) {
    #grid-wrapper {
        grid-template-columns: 1fr 1200px 1fr;
    }
}

#grid-wrapper > * {
    overflow: hidden;
}

#grid-wrapper > .logo {
    grid-area: logo;
    background: center url('page.jpeg');
	background-repeat: repeat;
    background-size: cover;
}

#grid-wrapper > .logo > h1 {
    text-align: center;
    vertical-align: middle;
    line-height: 100px;
    margin: 0;
    -webkit-touch-callout: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 2rem;
}

#grid-wrapper > nav {
    grid-area: navigation;
    position: sticky;
    top: 0;
    filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.5));
}

#grid-wrapper > header {
    grid-area: header;
    padding: 8px;
}

#grid-wrapper > header > h1 {
    font-size: 1.3rem;
    margin: 0;
    color: var(--primary-color);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

#grid-wrapper > main {
    grid-area: main;
    color: var(--nav-color);
}

#grid-wrapper > footer {
    grid-area: footer;
}
header h1 {
    margin: 8px 0;
    padding: 0 0 8px 0;
    border-bottom: 1px solid;
	color: #c22712
}

main p {
    margin: 8px 0;
    padding: 0 0 8px 0;
    border-bottom: 1px solid var(--primary-color-darkened);
}
main h1 {
    margin: 8px 0;
    padding: 0 0 8px 0;
    border-bottom: 1px solid var(--primary-color-darkened);
}
main h2 {
    margin: 8px 0;
    padding: 0 0 8px 0;
    border-bottom: 1px solid var(--primary-color-darkened);
}
main p:last-child {
    border-bottom: none;
}

.employee-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 10px;
}

.employee-card {
    height: 50px;
    width: 240px;
    font-family: 'tazregular', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(5deg, #fdfdfd, #e0e0e0, #fdfdfd);
    display: flex;
    border-width: 1px;
    border-style: dashed;
    border-color: #333333;
    border-radius: 25px 0 0 25px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.employee-card .portrait-wrapper {
    width: 50px;
    height: 50px;
    overflow: hidden;
    border-radius: 25px;
}

.employee-card .employee-portrait {
    width: 50px;
    height: 50px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position-x: left;
    background-position-y: top;
    transition: transform 0.2s ease-in-out;
}

.employee-card:hover .employee-portrait {
    transform: scale(1.1);
}

.employee-card h3 {
    margin: 4px 4px 0 12px;
    font-weight: normal;
    text-wrap: nowrap;
}

.employee-card h4 {
    margin: 0 4px 4px 12px;
    font-weight: normal;
    text-wrap: nowrap;
}

.horizontal-line {

}

hr {
    margin: 5px 0px;	
}

#video {
    width: 100%;
}