/*
Theme Name: Red Peak Consulting
Author: MNY Digital
Author URI: https://mnydigital.com/
Version: 1.1
Text Domain: redpeakconsulting
*/

body {
    color: #252120;
    font-family: "DM Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
}
body:not(.home) .navbar-brand > img,
body:not(.home) #navbar-button {
    filter: brightness(1000%);
}
.page-top-inner {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent);
    width: 100%;
    height: 600px;
}
.navbar-brand > img,
.footer-logo img {
    max-height: 40px;
}
#header-video-wrapper {
    height: 100vh;
    height: 100svh;
}
#header-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100svh;
    object-fit: cover;
    z-index: -1;
}
#header-video-overlay {
    height: 100vh;
    height: 100svh;
}
.navbar {
    --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgb%28220, 53, 69%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar-toggler-icon {
    font-size: 30px;
}
#intro {
    width: 33%;
    border-left: 1px solid #252120;
}
#down-arrow {
    position: absolute;
    bottom: 0;
    width: 100px;
    left: calc(50% - 50px);
    text-align: center;
    animation: bounce 1.2s infinite;
    animation-delay: 3s;
}
#top-arrow > .bi {
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.15);
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
#top-arrow:hover {
    color: #bb2d3b !important;
}
.scroll-btn {
    cursor: pointer;
}
.no-shadow {
    box-shadow: none !important;
}
@keyframes bounce {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}
.card {
    background-color: rgba(255, 255, 255, 0.1);
}
.card img {
    height: 275px;
    object-fit: cover;
}
#sectors-carousel {
    -webkit-mask-image: url("assets/images/arrow.svg");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    mask-image: url("assets/images/arrow.svg");
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
}
.sectors-slide {
    width: 100%;
    height: 750px;
    object-fit: cover;
    object-position: center;
}
.carousel-item:nth-child(3) .sectors-slide {
    object-position: 40%;
}
#sectors-svg {
    width: 50%;
    height: auto;
    aspect-ratio: 1;
    bottom: 0;
    right: 25px;
    filter: drop-shadow(5px 5px 3px rgba(0, 0, 0, 0.15));
}
#skyline-img {
    position: absolute;
    z-index: -2;
    top: 10%;
    left: 0;
    right: 0;
}
#skyline-img img {
    max-width: 100%;
    object-fit: cover;
    height: 800px;
    width: 100%;
    object-position: top center;
}
#skyline-img::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 99;
    background: linear-gradient(
        to top,
        rgb(255, 255, 255),
        rgba(255, 255, 255, 0.7) 25%
    );
}
#mountain-bg {
    width: 100%;
    height: auto;
    background-size: cover;
    background-position: center;
    background-image: url("assets/images/mountain-bg.jpg");
}
#contact::before,
.contact-group::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
}
#contact {
    background-image: url("assets/images/contact-bg.jpg");
    background-size: cover;
    background-position: center;
}
.concrete {
    background-image: url("assets/images/concrete.jpg");
    background-size: 500px;
    background-position: center;
}
.page-top {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 600px;
    position: fixed !important;
}
.page-top::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: bottom center !important;
}
.page-top::before {
    background: url("assets/images/overlay.png");
    mix-blend-mode: darken;
}
#edge {
    background-image: url("assets/images/overlay-2.png");
    background-size: cover;
    background-position: bottom;
    width: 100%;
    height: 600px;
    position: relative;
    margin-bottom: -1px;
}
.brackets {
    position: relative;
    padding: 10px 20px;
}
.brackets::before,
.brackets::after {
    content: "";
    position: absolute;
    top: 0;
    height: 100%;
    width: 25px;
    border: 10px solid #dc3545;
}
.brackets::before {
    left: 0;
    border-right: none;
}
.brackets::after {
    right: 0;
    border-left: none;
}
.footer-logo {
    position: absolute;
    top: -32px;
    left: 0;
    width: 100%;
    height: 40px;
}
.site-footer {
    background-color: #fafafa;
    border-top: 8px solid #252120;
}
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}
.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}
.triangle-container + .post-content {
    background: linear-gradient(to bottom, white 25px, transparent 50px);
}
.post-content .heading-wrapper {
    border-top: 2px solid;
    border-bottom: 2px solid;
    border-image: linear-gradient(to right, #dc3545 85%, transparent 90%) 1;
    padding: 1.5rem 10% 1.5rem 0;
    margin: 3rem 0;
}
.post-content > p:last-child {
    margin-bottom: 0;
}
.divider {
    position: absolute;
    left: 0;
    right: 0;
    height: 600px;
    margin-top: -100px;
    z-index: -2;
}
.divider > img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.divider + * {
    position: relative;
    z-index: 2;
}
.divider + *::before {
    content: "";
    height: 400px;
    width: 100%;
    display: block;
}
.divider::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, white 0%, transparent 50%, white 100%);
    z-index: 1;
}
figure > img {
    max-width: 100%;
}
#about-cols p {
    margin-top: -75%;
    margin-bottom: 25%;
}
.contact-page-form {
    padding-right: 40%;
    background: linear-gradient(to left, transparent 40%, white 50%), url("assets/images/hat.jpg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right;
    padding-top: 3rem;
    padding-bottom: 3rem;
    margin-top: -3rem;
}
.contact-group {
    background-image: url("assets/images/contact-group-bg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1;
}
.contact-group * {
    position: relative;
}
textarea {
    height: 100px !important;
}
.form-floating > label {
    line-height: 1.5 !important;
}
.wpforms-required-label {
    display: none;
}
.wpforms-container {
    opacity: 1 !important;
    min-height: 506.5px;
}
.contact-page-form.wpforms-container {
    min-height: 602.5px;
}
.wpforms-error {
    font-size: 14px;
    display: block;
    line-height: normal;
    font-style: normal;
    padding: 12px 12px 0px 12px;
    margin-bottom: -7px;
    opacity: 0.7;
}
.wpforms-submit-container > :not(button),
.wpforms-hidden {
    display: none !important;
}
#wpforms-field_recaptcha-error {
    padding-top: 0 !important;
}
.about-contact {
    margin-top: -50px;
}
input,
textarea {
    background-color: rgba(255, 255, 255, 0.7) !important;
}
.parent-page {
    letter-spacing: 10px;
    font-size: 90%;
    font-weight: 500;
}
#spinner > svg {
    max-width: 75%;
}
.floated-image {
    float: right;
    max-width: 500px;
}
.corners {
    position: relative;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 8px 16px 0px;
    margin: 25px;
}
.corners::before,
.corners::after {
    content: "";
    width: 25px;
    height: 25px;
    position: absolute;
}
.corners::before {
    left: -25px;
    top: -25px;
    border-top: 10px solid #dc3545;
    border-left: 10px solid #dc3545;
}
.corners::after {
    right: -25px;
    bottom: -25px;
    border-bottom: 10px solid #dc3545;
    border-right: 10px solid #dc3545;
}
.z-n3 {
    z-index: -3;
}
#spinner-path {
    fill: none;
    stroke: #ee252d;
    stroke-width: 20px;
    visibility: hidden;
}
@keyframes spin {
    0% {
        transform: rotate(0);
    }
    50% {
        transform: rotate(180deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
@media (min-width: 992px) {
    .post-content p.lead {
        font-size: 150%;
    }
    .post-content p,
    .post-content ul {
        font-size: 125%;
    }
}
@media (max-width: 991.98px) {
    #homepage-title h1 {
        font-size: 32px;
    	height: 77px;
    }
    #homepage-title > div > * {
        width: 100% !important;
    }
    #intro {
        border-left: none;
        border-top: 1px solid #252120;
        line-height: 1.5 !important;
        font-size: 16px;
    }
    #top-arrow {
        font-size: 50px;
    }
    #skyline-img {
        top: 15%;
    }
    #skyline-img img {
        object-position: 25%;
    }
    .sectors-slide {
        height: 500px;
    }
    .contact-page-form {
        background: linear-gradient(to right, white, transparent, white),
            linear-gradient(to top, transparent 20%, white 30%),
            url("assets/images/hat.jpg");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: bottom;
        margin: 0 0 -6rem 0;
        padding: 0 0 40% 0;
        position: relative;
        z-index: 0;
    }
}

.bg-white-90 {
    background-color: rgba(255, 255, 255, 0.9);
}
#cookies-close-btn > svg {
    height: 24px;
    width: 24px;
}
