@import url("https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&display=swap");

:root {
    --primary: #b01e1a;
    --primary-rgb: 226, 90, 16;
    --black: #333235;
    --full-black: #070707;
    --black-hover: #22211d;
    --footer-black: #0e0c09;
    --white: #fff;
    --gray: #cecdc8;
    --light-gray: #edeaea;
    --container-padding: 15px;
    --container-padding-xl: 90px;
    --container-padding-xxl: 256px;
    --container-left-padding-xl: 240px;
    --about-block-height: 95px;
    --about-block-width: calc(100% - var(--container-padding-xl));
    --btn-radius: 30px;
}

.transition-panel {
    background-color: var(--primary);
    width: 0;
    height: 100dvh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.transition-panel::after {
    content: "";
    display: block;
    width: 0;
    height: 100dvh;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    background-color: var(--full-black);
    transition: width 0.3s ease-out;
}

.transition-panel.leave::after {
    width: 100%;
}

.transition-panel-logo {
    width: 200px;
    padding: var(--container-padding);
    position: relative;
    z-index: 1;
}
html {
    overflow-x: hidden;
}
body {
    font-family: "Lato", serif;
    font-size: 1rem;
    color: var(--black);
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
    line-height: 1.2;
}

h1 {
    font-size: 33px;
}

h2 {
    font-size: 24px;
}

h3 {
    font-size: 16px;
}

p {
    line-height: 1.5;
}

a {
    cursor: pointer;
    transition: all ease-out 0.15s;
}

img {
    display: block;
    width: 100%;
    height: auto;
}

button {
    cursor: pointer;
}

.c-primary {
    color: var(--primary);
}

.c-white {
    color: var(--white);
}

.relative {
    position: relative;
}

.copy {
    font-size: 1rem;
    line-height: 1.3;
}

.text-light {
    font-weight: 300;
}

.text-bold {
    font-weight: bold;
}

.text-black {
    font-weight: 900;
}

.txtblanc {
    color: var(--white)!important;
}

.text-no-wrap {
    white-space: nowrap;
}

.text-uppercase {
    text-transform: uppercase;
}

.text-base {
    font-size: 1rem;
}

.block {
    display: block;
}

.inline-link {
    color: var(--primary);
}

.inline-link:hover {
    text-decoration: underline;
}

.action-item {
    display: inline-block;
}

@property --rotate {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

.fancy-btn {
    --rotate: 0deg;
    position: absolute;
    inset: 0;
}

.fancy-btn::before {
    content: "";
    background: conic-gradient(from var(--rotate), transparent 0%, white 5%, transparent 10%);
    position: absolute;
    inset: 0;
    animation: rotate 2s linear infinite;
}

.fancy-btn::after {
    --inset: 3px;
    content: "";
    background: var(--primary);
    position: absolute;
    inset: var(--inset);
    border-radius: calc(var(--btn-radius) - var(--inset));
}

.fancy-btn.small::after {
    --inset: 2px;
    border-radius: calc(var(--btn-radius) - var(--inset));
}

.home-work-slider {
    position: relative;
    z-index: 1;
}

.home-work-list {
    padding: 8px 0;
    cursor: grab;
}

.home-work-slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1;
}

.home-work-slider-nav-btn {
    height: 40px;
    width: 40px;
    border-radius: 8px;
    background-color: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease-out;
}

.home-work-slider-nav-btn:hover {
    background-color: var(--white);
    color: var(--primary);
}

.home-work-slider-nav-btn svg {
    height: 50%;
}

@keyframes rotate {
    to {
        --rotate: 360deg;
    }
}

.btn-text {
    position: relative;
}

.mt-em {
    margin-top: 1em;
}

.mt-2em {
    margin-top: 2em;
}

.mt-4em {
  margin-top: 4em;
}
.mb-em {
    margin-bottom: 1em;
}

.mb-2em {
    margin-bottom: 2em;
}

.mb-4em {
    margin-bottom: 4em;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.pt-em {
    padding-top: 1em;
}

.pt-2em {
    padding-top: 2em;
}

.pt-4em {
    padding-top: 4em;
}

.pb-em {
    padding-bottom: 1em;
}

.pb-2em {
    padding-bottom: 2em;
}

.py-4em {
    padding-top: 4em;
    padding-bottom: 4em;
}

.text-24 {
    font-size: 24px;
}

.text-33 {
    font-size: 33px;
}

.text-center {
    text-align: center;
}

.grid-container,
.grid-container-xxl {
    padding: 0 1rem;
}

.btn {
    display: block;
    width: 100%;
    padding: 0.75em 1em;
    text-align: left;
    font-weight: bold;
    font-size: 21px;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    border-radius: var(--btn-radius);
    z-index: 1;
    transition: color 0.3s ease-out, border-radius 0.3s ease-out;
}

.btn-primary {
    color: var(--white);
    background-color: var(--primary);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.btn-primary:hover {
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-primary:hover .fancy-btn::after {
    background-color: var(--white);
}

.btn-primary::after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background-color: var(--white);
    z-index: -1;
    width: 0%;
    transition: width 0.3s ease-out;
}

.btn-primary:hover::after {
    width: 100%;
}

.btn-white {
    color: var(--primary);
    background-color: var(--white);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}
.btn-white:hover {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-white::after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background-color: transparent;
    z-index: -1;
    width: 0%;
    transition: width 0.3s ease-out;
}

.btn-small {
    font-size: 1rem;
}

.header-body-no-overflow {
    overflow: hidden;
}

.headings-group {
    display: flex;
    flex-direction: column-reverse;
}

.main-hero {
    background-color: var(--full-black);
    background-position: top center;
    background-repeat: no-repeat;
    padding-top: calc(60px + var(--js-header-height));
    padding-bottom: 60px;
    transition: padding-top 0.15s ease-out;
}

.input-text {
    background-color: var(--light-gray);
    color: var(--black);
    display: block;
    width: 100%;
    padding: 1em;
    font-size: 18px;
}

.checkbox-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.checkbox::after {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    cursor: pointer;
    border: 1px solid var(--primary);
    transition: background-color ease-out 0.15s, border ease-out 0.15s;
}

.checkbox:checked::after {
    background-color: var(--primary);
    border: 3px solid var(--secondary);
}

.checkbox-label {
    cursor: pointer;
    margin-left: 0.5em;
}

.mobile-only {
    display: block;
}

footer .main-footer-actions .action-item {
    display: block;
}

.banner-red {
    background-color: var(--primary);
    padding-top: 36px;
    padding-bottom: 36px;
}

.banner-red .container {
    color: white;
}

/*** The new CSS Reset - version 1.2.0 (last updated 23.7.2021) ***/

/* Remove all the styles of the "User-Agent-Stylesheet", except for the 'display' property */
*:where(:not(iframe, canvas, img, svg, video, input[type="checkbox"]):not(svg *)) {
    all: unset;
    display: revert;
    outline: revert;
}

/* Preferred box-sizing value */
*,
*::before,
*::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

/* Remove list styles (bullets/numbers) */
ol,
ul {
    list-style: none;
}

/* For images to not be able to exceed their container */
img {
    max-width: 100%;
}

/* removes spacing between cells in tables */
table {
    border-collapse: collapse;
}

th {
    text-align: left;
}

/* revert the 'white-space' property for textarea elements on Safari */
textarea {
    white-space: revert;
}

@media only screen and (min-width: 500px) {
}

@media only screen and (min-width: 768px) {
}

@media only screen and (min-width: 1024px) {
    :root {
        --about-block-width: calc(100% - var(var(--container-padding-xl)));
    }

    h1 {
        font-size: 56px;
    }

    h2 {
        font-size: 48px;
    }

    h4 {
        font-size: 18px;
    }

    .grid-container,
    .grid-container-xxl {
        padding: 0 var(--container-padding-xl);
    }

    .main-hero {
        padding-top: calc(150px + var(--js-header-height));
        padding-bottom: 226px;
    }

    .main-hero-container {
        justify-content: space-between;
    }

    .main-hero-lead {
        font-size: 33px;
    }
    .mobile-only {
        display: none;
    }

    .banner-red {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .banner-red h1,
    .banner-red h2 {
        font-size: 33px !important;
    }

    .hero-image {
        width: 60%;
        min-width: 830px;
        max-width: 1200px;
    }
}

@media only screen and (min-width: 1280px) {
    .hero {
        padding: 100px 0;
    }
}

@media only screen and (min-width: 1500px) {
    h1 {
        font-size: 76px;
    }

    h2 {
        font-size: 56px;
    }

    h3 {
        font-size: 24px;
    }

    h4 {
        font-size: 24px;
    }

    .grid-container-xxl {
        padding: 0 var(--container-padding-xxl);
    }
    .hero-image {
        right: 1%;
    }
}

@media only screen and (min-width: 1700px) {
}

@media only screen and (min-width: 1900px) {
    :root {
        --about-block-width: calc(100% - (var(--container-padding-xl) + var(--container-left-padding-xl)));
    }

    .left-padding-xl {
        padding-left: calc(var(--container-padding-xl) + var(--container-left-padding-xl));
    }

    .divisions-list {
        grid-template-columns: repeat(5, 1fr);
        column-gap: 1em;
    }
}
