/* FONDID */
a,
p,
span,
b,
strong,
h1,
h2,
h3,
h4,
h5 {
    font-family: "Roboto", serif !important;
    font-optical-sizing: auto;
    font-style: normal;
}

h1,
h2,
.lead,
.lead-r,
.signature {
    font-weight: 200;
}
h1,
h2 {
    font-size: 42px;
    line-height: 42px;
}

.smn-h2 {
    font-size: 44px;
    letter-spacing: 1.5px;
}

.lead-r {
    font-size: 30px;
    line-height: 42px;
}

.lead {
    font-size: 22px;
    line-height: 32px;
}

.signature {
    font-size: 20px;
    line-height: 32px;
}

footer a,
footer span {
    font-weight: 300;
    font-size: 16px;
    line-height: 30px;
}

footer h3 {
    font-weight: 400;
    font-size: 16px;
    line-height: 30px;
}

footer a,
.bi-instagram,
.bi-youtube,
.bi-facebook {
    color: #3a3a3a;
}

.smn-noline {
    text-decoration: none;
}

/* Heights */
.min-vh-90 {
    min-height: 90vh;
}

.min-vh-85 {
    min-height: 85vh;
}

.min-vh-70 {
    min-height: 70vh;
}

.min-vh-57 {
    min-height: 57vh;
}

.min-vh-50 {
    min-height: 50vh;
}

.min-vh-40 {
    min-height: 40vh;
}

.min-vh-33 {
    min-height: 33.5vh;
}

.min-vh-26 {
    min-height: 26vh;
}

.h-vh-30 {
    height: 30vh;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    transition: transform 0.3s ease, background-color 0.3s ease, opacity 0.3s ease;
    transform: translateY(0);
    background-color: transparent;
    opacity: 1;
}

header {}

header.hidden {
    transform: translateY(-100%);
    opacity: 0;
}

header.visible {
    transform: translateY(0);
    opacity: 1;
}

header.scrolled {
    background-color: rgba(0, 0, 0, 0.6);
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler i.bi {
    text-shadow: 0px 1px 0px white;
}

/* Images */

.smn-imgholder {
    display: flex;
    align-items: center;
    gap: 7px;
    overflow: visible;
    transform: translate(0px, 10px);
}

.smn-img {
    height: 36.5vw;
    object-fit: contain;
    aspect-ratio: auto;
}

.site-logo {
    width: 241px;
}

.smn-video-center {
    transform: translate(-50%, -50%);
    position: absolute;
    top: 50%;
    left: 50%;
}

/* Custom colors, paddings */
.px-smn-2 {
    padding-left: 7px !important;
    padding-right: 7px !important;
}

.bg-light {
    background-color: #F5F5F5 !important;
}

.bi-chevron-down::before {
    margin-bottom: 30px;
    font-size: 16px;
    -webkit-text-stroke: 2.25px;
}

.bi-chevron-left,
.bi-chevron-right {
    font-size: 18px;
    -webkit-text-stroke: 2.5px;
    cursor: pointer;
}

.bi-chevron-left:active::before,
.bi-chevron-right:active:before {
    transform: scale(1.1);
    transition: transform 0.1s ease-out;
}

.bi-chevron-left::before {
    color: #B3B3B3;
}

.bi-chevron-right::before {
    color: #757575;
    padding-left: 10px;
}



@-webkit-keyframes pulseBtn {
    from {
        scale: 1;
    }

    50% {
        scale: 1.1;
    }

    to {
        scale: 1;
    }
}
@keyframes pulseBtn {
    from {
        scale: 1;
    }

    50% {
        scale: 1.1;
    }

    to {
        scale: 1;
    }
  }
  
  .pulseBtn {
    animation-name: pulseBtn;
    -webkit-animation-name: pulseBtn 0.6s ease-in-out 3;
    animation: pulseBtn 0.6s ease-in-out 3;

  }
  .pulse-trigger::before {
    animation: pulseBtn 0.6s ease-in-out 2;
    animation-delay: 0.5s;
}
.owl-nav button {
    border: 0px;
    background: none;
}

.owl-nav {
    padding-top: 18px;
    float: right;
    padding-right: 113px;
}

#engineeringCarousel {
    height: 36.5vw;
    aspect-ratio: 5 / 3;
    width: 100%;
}

.signatureImages {
    width: 62.7%;
}

#sideTextbox {
    margin-bottom: -20px !important;
}

#sideTextbox .lead,
#sideTextbox .lead {}

/* Animations */

[data-start][data-end] {
    transition: transform 0.2s ease-out;
}

[data-parallax-direction] {
    will-change: transform;
    transform: translate(0, 0);
    transition: transform 0.1s linear;
}

.fadeIn {
    opacity: 0;
    transition: 2s ease-in-out;
}

.expandOutElement {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.expandOut {
    animation: expand-out 1.2s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
}

.slideLeftlement {
    opacity: 0;
    transform: translateX(350px);
}

.slideLeft {
    opacity: 1;
    transform: translateX(0);
    -webkit-animation: slide-left 0.8s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation: slide-left 0.8s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;

}

.featured-carousel {}

.featured-carousel .item {}

.overlay-holder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.featured-carousel img {
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.animated {
    animation-duration: 1s;
}

:root {
    --peel-offset: 100px;
    --aspect: 1;
}

.peelInLeft {
    clip-path: polygon(calc(200% - var(--clip-parameter)) 0%, 100% 0, 100% 100%, calc(100% - 0%) 0%);
    transform: scale(1);
    animation: peelInLeftEffect 0.85s steps(5) forwards;
    animation-timing-function: ease-out;
}

@keyframes peelInLeftEffect {
    0% {
        transform: scale(1.05);
        clip-path: polygon(calc(200% - var(--clip-parameter)) 0, 100% 0, 100% 100%, calc(200% - 0px) 100%);

    }

    25% {
        clip-path: polygon(calc(150% - var(--clip-parameter)) 0, 100% 0, 100% 100%, calc(150% - 0px) 100%);

    }

    50% {
        transform: scale(1.04);
        clip-path: polygon(calc(100% - var(--clip-parameter)) 0, 100% 0, 100% 100%, calc(100% - 0px) 100%);
    }

    75% {
        clip-path: polygon(calc(50% - var(--clip-parameter)) 0, 100% 0, 100% 100%, calc(50% - 0px) 100%);
    }

    100% {
        transform: scale(1);
        clip-path: polygon(calc(0% - var(--clip-parameter)) 0, 100% 0, 100% 100%, calc(0% - 0px) 100%);
    }

}

.peelStart {
    animation: peelInEffect 0.85s steps(10) forwards;
}

.peelInRight {
    clip-path: polygon(0 0, 0 0, 0 0, 0 0, 0 0);
    transform: scale(1);
    animation: peelInRightEffect 0.85s steps(5) forwards;
    animation-timing-function: ease-out;
}

@keyframes peelInRightEffect {
    0% {
        transform: scale(1.02);
        clip-path: polygon(0 0, 0 0, 0 0, 0 0, 0 0);
    }

    25% {
        clip-path: polygon(0 0, 50% 0, 50% 0, 0 50%, 0 50%);
    }

    50% {
        transform: scale(1.01);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 100%, 0 100%);
    }

    75% {

        transform: scale(1);
        clip-path: polygon(0 0, 100% 0, 100% 50%, 50% 100%, 0 100%);
    }

    100% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 100% 100%, 0 100%);
    }

}

.peelOut {
    animation: peelOutEffect 0.7s steps(10) forwards;
}

@keyframes peelOutEffect {
    0% {
        clip-path: polygon(100% 0, 100% 50%, 100% 100%, 0 100%, 0 0);
    }

    20% {
        clip-path: polygon(50% 0, 100% 50%, 100% 100%, 0 100%, 0 0);
    }

    60% {
        clip-path: polygon(0 0, 100% 100%, 100% 100%, 0 100%, 0 0);
    }

    80% {
        clip-path: polygon(0 50%, 50% 100%, 0 100%, 0 100%, 0 50%);
    }

    100% {
        clip-path: polygon(0 100%, 0 100%, 0 100%, 0 100%, 0 100%);
    }
}

.smoothMoving {
    animation: smooth-moving 1s ease-in-out both;
}

.slideDownElement {
    opacity: 0;
    transform: translateY(-50px);


}

.slowOutSMN {
    opacity: 1;
    transform: translateY(0);
    -webkit-animation: slide-downs 1s cubic-bezier(0.250, 0.460, 0.450, 0.940);
    animation: slide-downs 1s cubic-bezier(0.250, 0.460, 0.450, 0.940);
}

/* Keyframes */
@-webkit-keyframes slide-downs {
    0% {
        -webkit-transform: translateY(-50px);
        transform: translateY(-50px);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slide-downs {
    0% {
        -webkit-transform: translateY(-50px);
        transform: translateY(-50px);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        opacity: 1;
    }
}

.slideDown {
    opacity: 1;
    transform: translateY(0);
    -webkit-animation: slide-down 1s cubic-bezier(0.250, 0.460, 0.450, 0.940);
    animation: slide-down 1s cubic-bezier(0.250, 0.460, 0.450, 0.940);
}

/* Keyframes */
@-webkit-keyframes slide-down {
    0% {
        -webkit-transform: translateY(-50px);
        transform: translateY(-50px);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slide-down {
    0% {
        -webkit-transform: translateY(-50px);
        transform: translateY(-50px);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes smooth-moving {
    0% {
        transform: scale(1) translateY(0);
        transform-origin: 50% 84%;
    }

    100% {
        transform: scale(1.25) translateY(15px);
        transform-origin: bottom;
    }

    0% {
        transform: scale(1) translateY(0);
        transform-origin: 50% 84%;
    }
}

@keyframes expand-out {
    0% {
        letter-spacing: 1em;
        opacity: 0;
    }

    40% {
        opacity: 0.6;
    }

    100% {
        letter-spacing: normal;
        opacity: 1;
    }
}

@-webkit-keyframes slide-left {
    0% {
        -webkit-transform: translateX(350px);
        transform: translateX(350px);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slide-left {
    0% {
        -webkit-transform: translateX(350px);
        transform: translateX(350px);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
    }
}

@media screen and (min-width: 991px) {
    .smn-img {
        height: 37.5vw;
    }

}

@media screen and (max-width: 991px) {

    h1,
    h2 {
        font-size: 34pt;
    }

    #engineeringCarousel {
        height: auto;
    }

    .min-vh-40 {
        min-height: 55vh;
    }

    #engineeringCarousel .smn-img {
        width: 100%;
        height: auto;
    }


}

@media screen and (max-width: 767px) {
    .signatureImages {
        width: 100%;
    }

    .lead-r br,
    .lead br {
        display: none;
    }

    h3,
    a,
    span {
        font-size: 14pt;
        line-height: 28pt;
    }

    h1,
    h2 {
        font-size: 34px;
    }

    .lead-r {
        font-size: 22px;
    }

    .lead {
        font-size: 16px;
    }

    .signature {
        font-size: 18px;
    }

    .smn-h2 {
        font-size: 36px;
    }

    footer h3,
    a,
    span {
        line-height: 24pt;
    }

    h3 {
        font-weight: medium;
    }

    a {
        text-decoration: none;
    }

    .min-vh-40 {
        min-height: 55vh;
    }

    .min-vh-57 {
        min-height: auto;
        height: auto;
    }

    .min-vh-33 {
        min-height: 40vh;
    }

    .min-vh-26 {
        min-height: 10vh;
    }

    .smn-img {
        height: auto;
        width: 100%;
    }

    .smn-imgholder .smn-img {
        margin-top: 7px;
    }

    .owl-nav {
        padding-right: 0px;
    }

    #engineeringCarousel {
        height: auto;
    }

    #engineeringCarousel .smn-img {
        width: 100%;
        height: auto;
    }

    #engineeringNav {
        margin-bottom: -1px;
    }

    .smn-imgholder {
        display: block;
    }

    .custom-position-video {
        min-height: 50vh;
        transform: scale(1.75);
        right: 30%;
        margin-bottom: 75%;
        margin-top: 5%;
    }

    .custom-position-overlay {
        top: 72.5% !important;

    }

    #engineeringCarousel {
        width: 100%;
    }



    a,
    span {
        font-weight: light;
    }

    smn-video-center {
        top: calc(50% - 1px);
        min-height: calc(100vh + 2px) !important;
    }
}