@font-face {
    font-family: House Slant;
    src: url('../css/fonts/HouseSlant.eot');
    src: url("../css/fonts/HouseSlant.eot?#iefix") format("embedded-opentype"),
         url("../css/fonts/HouseSlant.woff") format("woff");
    font-style: normal;
    font-weight: 400;
    font-stretch: normal;
}

@font-face {
    font-family: Blackout Midnight, sans-serif;
    src: url('../css/fonts/blackout_midnight-webfont.woff2') format('woff2'),
         url('../css/fonts/blackout_midnight-webfont.woff') format('woff');
    src: url('../css/fonts/blackoutmidnight.ttf') format('ttf');
    font-style: normal;
    font-weight: 400;
    font-stretch: normal;
}

@font-face {
    font-family: Bitter, serif;
    src: url('../css/fonts/Bitter-Regular.ttf');
    font-style: normal;
    font-weight: 400;
    font-stretch: normal;
}

@font-face {
    font-family: Bitter Italic, serif;
    src: url('../css/fonts/Bitter-Italic.ttf');
    font-style: normal;
    font-weight: 400;
    font-stretch: normal;
}

@font-face {
    font-family: Bitter Bold, serif;
    src: url('../css/fonts/Bitter-Bold.ttf');
    font-style: normal;
    font-weight: 400;
    font-stretch: normal;
}

h1 {
    font-family: House Slant, Arial, sans-serif;
    padding: 28px;
    font-size: 35px;
    color: #be0000;
    text-shadow: 2px 2px #000000;
    letter-spacing: 2px;
}

h2 {
    font-family: House Slant, Arial, sans-serif;
    padding: 28px;
    font-size: 28px;
    color: #be0000;
    text-shadow: 2px 2px #000000;
    letter-spacing: 2px;
}

h3 {
    font-family: House Slant, Arial, sans-serif;
    padding: 28px;
    font-size: 21px;
    color: #be0000;
    text-shadow: 2px 2px #000000;
    letter-spacing: 2px;
}

p {
    font-family: Bitter, serif;
    font-size: 21px;
    color: #000000;
}

body {
    margin: 0;
    background: #222;
}

header {
    background: #be0000;
}

header::after {
    content: '';
    display: table;
    clear: both;
}

nav {
    float: right;
}

nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

nav li {
    display: inline-block;
    margin-left: 21px;
    padding-top: 16px;
    position: relative;
}

nav a {
    color: #000000;
    text-decoration: none;
    text-transform: uppercase;
    font-family: Blackout Midnight, Arial, sans-serif;
    font-size: 21px;
}

nav a:link {
    text-decoration: none;
    color: #000000;
}

nav a:visited {
    text-decoration: none;
    color: #222222;
}

nav a:hover {
    text-decoration: none;
    color: #444444;
}

nav a::before {
    content:'';
    display: block;
    height: 7px;
    background-color: #444444;

    position: absolute;
    top: 0;
    width: 0%;

    transition: all ease-in-out 180ms;
}

nav a:hover::before {
    width: 100%;
}

.nav-container {
    width: 95%;
    margin: 0, auto;
}

.logo {
    float: left;
    padding: 0;
}

.top-container {
    margin: 0;
    position: relative;
}

.top-container h1 {
    font-family: House Slant, Arial, sans-serif;
    padding: 28px;
    font-size: 35px;
    color: #be0000;
    text-shadow: 2px 2px #000000;
    letter-spacing: 2px;
}

[class*="background-image-"] {
    margin:2rem; padding: 19rem;
    background-repeat: no-repeat;
    background-size: cover;
}

.background-image-home {
    background-image: url("../images/panicinc-home.jpg");
    background-position: top center;
}

.background-image-products {
    background-image: url("../images/Snapshot2206_038.png");
    background-position: top center;
}

.background-image-about {
    background-image: url("../images/Snapshot2206_070.jpg");
    background-position: top center;
}

.background-image-blog {
    background-image: url("../images/Snapshot2206_070.jpg");
    background-position: top center;
}

.background-image-contact {
    background-image: url("../images/Snapshot2206_070.jpg");
    background-position: top center;
}

.middle-container {
    background-image: url("../images/concrete/concrete2.jpg")
}

.grid-1-columns {
    display: grid;
    margin: 5rem auto;
    width: min(90%, 5rem);
    grid-template-columns: 50% 50%;
}

.grid-2-columns {
    display: grid;
    margin: 3rem;
    /* width: min(90%, 5rem); */
    grid-template-columns: 50% 50%;
}

.grid-3-columns {
    display: grid;
    margin: 5rem auto;
    width: min(90%, 5rem);
    grid-template-columns: 33% 33% 33%;
}

.bottom-center {
    position: relative;
    bottom: 5rem;
    left: 50%;
    right: 50%;
  }
  
.videoWrapper {
  position: relative;
  padding-bottom: 56.25%; /* this means 16:9 dood */
  height: 0;
}

.videoWrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}