@font-face {
    font-family: Foundry;
    src: url(../font/FoundrySterlingOT2-Medium.otf);
}

@font-face {
    font-family: Foundry;
    src: url(../font/FoundrySterlingOT2-Bold.otf);
    font-weight: bold;
}

:root {
--red: #ED1C24;
--blue: #004FA3;
}

/* sm: 35.5em; */
/* md: 48em; */
/* lg: 64em; */
/* xl: 80em; */

html, body {
    font-family: 'Foundry', sans-serif;
    font-size: 1.2rem;
}

h1, h2, h3, h4, a {
    color: var(--blue);
    line-height: 1.2em;
}

p {
    line-height: 1.4em;
}

ul {
    padding: 0;
    list-style-position: inside;
}

li {
    margin-bottom: 10px;
}

li::marker {
    color: var(--red);
}

img {
    max-width: 100%;
    height: auto;
}

.center {
    text-align: center;
}

.right {
    text-align: right;
}

.btn {
    text-transform: uppercase;
    padding: 30px 60px;
    border: 2px solid var(--red);
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
    transition: 0.5s ease;
}

.btn:hover {
    background-color: var(--red);
    color: #fff;
}

.relative {
    position: relative;
}

.l-box {
    padding: 20px;
    box-sizing: border-box;
}

.container-sm {
    max-width: 1000px;
    margin: 0 auto;
}

.container-md {
    max-width: 1400px;
    margin: 0 auto;
}

.container-lg {
    max-width: 1800px;
    margin: 0 auto;
}

.white, .white h1, .white h2, .white h3, .white h4 {
    color: #fff;
}

.bkg-grey-xl {
    background-color: #eee;
}

.bkg-red {
    background-color: var(--red);
}

.bkg-blue {
    background-color: var(--blue);
}

.bkg-white {
    background-color: #fff;
}

.angle {
    height: 600px;
    width: 100%;
    z-index: -1;

    @media screen and (max-width: 64em) {
        height: 300px;
    }
}

.angle-top-right {
    clip-path: polygon(0 100%, 100% 0, 100% 100%, 0 100%);
}

.angle-top-left {
    clip-path: polygon(0 0, 100% 100%, 100% 100%, 0 100%);
}

.angle-bottom-right {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 0);
}

.angle-bottom-left {
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 100%);
}

.angle-back-top {
    position: absolute;
    top: 100px;
    z-index: -2;

    @media screen and (max-width: 64em) {
        top: 100px;
    }
}

.angle-back-bottom {
    position: absolute;
    bottom: 100px;
    z-index: -1;

    @media screen and (max-width: 64em) {
        bottom: 100px;
    }
}

.pb-300 {
    padding-bottom: 300px;
}

.pb-50 {
    padding-bottom: 50px;
}

.mb-negative {
    margin-bottom: -600px;

    @media screen and (max-width: 64em) {
        margin-bottom: -300px;
    }
}

.height-100 {
    height: 100%;
}

.z-100 {
    z-index: 100;
}

.reverse {
    @media screen and (max-width: 64em) {
    flex-direction: row-reverse;
    flex-direction: column-reverse;
}
}

.nav-line {
    padding: 20px 0 60px;
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0));
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;

    @media screen and (max-width: 64em) {
        text-align: center;
    }
}

.logo {
    width: 300px;
    padding: 20px 4vw;
}

.nav-links {
    text-align: right;
    font-weight: bold;
    font-size: 1.4rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: right;
    padding: 0 4vw;

    @media screen and (max-width: 64em) {
        justify-content: center;
        text-align: center;
        flex-direction: column;
    }
}

.pipe {
    color: var(--red);
    padding: 0 20px;

    @media screen and (max-width: 64em) {
        display: none;
    }
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    white-space: nowrap;

    @media screen and (max-width: 64em) {
        display: block;
    }
}

.hero {
    clip-path: polygon(0 0, 100% 0, 100% 60%, 0 100%);
    height: 100vh;
    min-height: 900px;
    width: 100%;
    background-color: #000;

    @media screen and (max-width: 64em) {
        clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
    }
}

.hero-image {
    background-image: url('../images/Connolly-Scaffolding.jpg');
    background-position: center;
    background-size: cover;
    opacity: 0.5;
    height: 100%;
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 40vh 30px 0;
    text-align: center;
    z-index: 1;
    font-size: 1.8rem;

    @media screen and (max-width: 64em) {
        padding: 35vh 30px 0;
        font-size: 1.2rem;
    }
}

.intro {
    margin: -60px auto 60px;
}

.get-in-touch {
    margin: -60px auto;
    z-index: 5;
    position: relative;
}

footer {
    font-size: 0.9rem;
}

footer a {
    color: #000;
}

.footer-contact-links a {
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
}

.footer-content {
    @media screen and (min-width: 64em) {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
    }
}

.align-bottom {
    display: flex;
    align-items: end;
}

.h-200 {
    @media screen and (min-width: 64em) {
        height: 100px;
    }
}