/* Shared
末末末末末末末末末末末末末末末末末末末末末末末末末 */
.button {
    border-radius: 100px;
}

.logo {
    width: auto;
    height: 120px;
    top: -5rem;
    right: 5rem;
    z-index: 3;
    max-width: 80%;
}

.shadow {
    filter: drop-shadow(10px 10px 200px yellow) drop-shadow(-10px -10px 50px yellow);
}

@keyframes inovation {
    0% { transform: translateY(0); }
    5% { transform: translateY(0); opacity: 1; }
    10%{ transform: translateY(-100%); opacity: 0; }
    15% { transform: translateY(100%); opacity: 0; }
    20% { transform: translateY(100%); opacity: 1; }
    98% { transform: translateY(100%) }
    100% { transform: translateY(0) }
}

@keyframes automation {
    0% { transform: translateY(0); }
    1% { transform: translateY(0); opacity: 1;}
    20% { transform: translateY(-100%); }
    25% { transform: translateY(-100%); opacity: 1; }
    30% { transform: translateY(-200%); opacity: 0; }
    70% { transform: translateY(0); opacity: 0;}
    75% { transform: translateY(0); opacity: 1; }
    80% { transform: translateY(0); }
    100% { transform: translateY(0) }
}

@keyframes development {
    0% { transform: translateY(0); }
    40% { transform: translateY(-200%); }
    45% { transform: translateY(-200%); opacity: 1; }
    50% { transform: translateY(-300%); opacity: 0; }
    85% { transform: translateY(0); opacity: 0;}
    90% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(0); }
}

.word-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    font-size : 64px;
    color: white;
}

.word-title {
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(2, max-content);
    grid-template-rows: auto;
    overflow: hidden;
    max-height: 64px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 64px;
    line-height: 64px;
    letter-spacing: 3px;
}

.word {
  display: flex;
  grid-column: 2;
  grid-row: auto;
  color: yellow;
  span{ display: inline-block }
}

@media (max-width: 750px) {
    .word-container {
        padding: 40px;
        font-size: 32px;
    }

    .word-title {
        max-height: 32px;
        font-size: 32px;
        line-height: 32px;
    }
}

@media (min-width: 750px) {
    .word-container {
        padding: 40px;
        font-size: 48px;
    }

    .word-title {
        max-height: 48px;
        font-size: 48px;
        line-height: 48px;
    }
}

.inovation {
    span:nth-child(1) {
        animation: inovation 12s ease-in-out both 0.10s infinite;
    }
    span:nth-child(2) {
        animation: inovation 12s ease-in-out both 0.20s infinite;
    }
    span:nth-child(3) {
        animation: inovation 12s ease-in-out both 0.30s infinite;
    }
    span:nth-child(4) {
        animation: inovation 12s ease-in-out both 0.40s infinite;
    }
    span:nth-child(5) {
        animation: inovation 12s ease-in-out both 0.50s infinite;
    }
    span:nth-child(6) {
        animation: inovation 12s ease-in-out both 0.60s infinite;
    }
    span:nth-child(7) {
        animation: inovation 12s ease-in-out both 0.70s infinite;
    }
    span:nth-child(8) {
        animation: inovation 12s ease-in-out both 0.80s infinite;
    }
    span:nth-child(9) {
        animation: inovation 12s ease-in-out both 0.90s infinite;
    }
    span:nth-child(10) {
        animation: inovation 12s ease-in-out both 1.0s infinite;
    }
    span:nth-child(11) {
        animation: inovation 12s ease-in-out both 1.10s infinite;
    }
}

.automation {
    span:nth-child(1){
        animation: automation 12s ease-in-out both 0.10s infinite;
    }

    span:nth-child(2) {
        animation: automation 12s ease-in-out both 0.20s infinite;
    }

    span:nth-child(3) {
        animation: automation 12s ease-in-out both 0.30s infinite;
    }

    span:nth-child(4) {
        animation: automation 12s ease-in-out both 0.40s infinite;
    }

    span:nth-child(5) {
        animation: automation 12s ease-in-out both 0.50s infinite;
    }

    span:nth-child(6) {
        animation: automation 12s ease-in-out both 0.60s infinite;
    }

    span:nth-child(7) {
        animation: automation 12s ease-in-out both 0.70s infinite;
    }

    span:nth-child(8) {
        animation: automation 12s ease-in-out both 0.80s infinite;
    }

    span:nth-child(9) {
        animation: automation 12s ease-in-out both 0.90s infinite;
    }

    span:nth-child(10) {
        animation: automation 12s ease-in-out both 1.0s infinite;
    }

    span:nth-child(11) {
        animation: automation 12s ease-in-out both 1.10s infinite;
    }
}

.development {
    span:nth-child(1){
        animation: development 12s ease-in-out both 0.10s infinite;
    }

    span:nth-child(2) {
        animation: development 12s ease-in-out both 0.20s infinite;
    }

    span:nth-child(3) {
        animation: development 12s ease-in-out both 0.30s infinite;
    }

    span:nth-child(4) {
        animation: development 12s ease-in-out both 0.40s infinite;
    }

    span:nth-child(5) {
        animation: development 12s ease-in-out both 0.50s infinite;
    }

    span:nth-child(6) {
        animation: development 12s ease-in-out both 0.60s infinite;
    }

    span:nth-child(7) {
        animation: development 12s ease-in-out both 0.70s infinite;
    }

    span:nth-child(8) {
        animation: development 12s ease-in-out both 0.80s infinite;
    }

    span:nth-child(9) {
        animation: development 12s ease-in-out both 0.90s infinite;
    }

    span:nth-child(10) {
        animation: development 12s ease-in-out both 1.0s infinite;
    }

    span:nth-child(11) {
        animation: development 12s ease-in-out both 1.10s infinite;
    }
}

/* Sections
末末末末末末末末末末末末末末末末末末末末末末末末末 */
.section {
    padding: 9rem 0 5rem;
    text-align: center;
}
.section {
    padding: 8rem 0 7rem;
    text-align: center;
}
.section[id='automation'] {
    padding: 0rem 0 7rem;
    text-align: center;
}
.section[id='coatings'] {
    padding: 0rem 0 7rem;
    text-align: center;
}
.section[id='about_us'] {
    background-image: url('/img/page/ZeUqw.png');
    background-size: cover;
    background-position: 30%;
    padding: 0rem 0 7rem;
    text-align: center;
    color: white;
    min-height: 350px;
}
.section[id='careers'] 
{
    background-image: url('/img/page/team.jpg');
    background-size: cover;
    background-position: 30%;
    padding: 0rem 0 7rem;
    text-align: center;
    color: black;
    min-height: 350px;
}
.section-heading,
.section-description {
    margin-bottom: 1.2rem;
}

.section-color1 {
    background-color: #C7D36F;
}

.section-color2 {
    background-color: #FCF9C6;
}
.section-color3 {
    background-color: #E0DECA;
}
.section-color4 {
    background-color: #E0DECA;
}

/* NavBar
末末末末末末末末末末末末末末末末末末末末末末末末末 */
.navbar {
    background-color: #9EB23BAC;
    height: 5rem;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
}

.navbar-item {
    color: black;
}

.has-docked-nav {
    background-color: #9EB23BFF;
}

#background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    z-index: -3;
    filter: grayscale(100%);
}

.trans_panel {
    background: #5c67245c none repeat scroll 0% 0%;
    border-radius: 25px;
    padding: 5rem;
    backdrop-filter: blur(10px)
}

.trans-panel-simple {
    background: #5c67245c none repeat scroll 0% 0%;
    padding: 5rem;
}

.decoration {
    background: #5c6724ac none repeat scroll 0% 0%;
    position: absolute;
    width: 100%;
    height: 100%;
    clip-path: polygon(0 0, 0 100%, 40% 100%, 60.25% 0,0 0);
    z-index: 0;
}
.decoration2 {
    background: #5c6724ac none repeat scroll 0% 0%;
    position: absolute;
    width: 100%;
    height: 100%;
    clip-path: polygon(0 0, 0 100%, 30% 100%, 50.25% 0,0 0);
    z-index: 0;
}
@media (max-width: 550px) {
    .decoration {
        background: #5c6724ac none repeat scroll 0% 0%;
        position: absolute;
        width: 100%;
        height: 100%;
        clip-path: polygon(0 0, 0 100%, 100% 100%, 100% 0,0 0);
        z-index: 0;
    }
    .decoration2 {
        background: #5c6724ac none repeat scroll 0% 0%;
        position: absolute;
        width: 100%;
        height: 100%;
        clip-path: polygon(0 0, 0 100%, 100% 100%, 100% 0,0 0);
        z-index: 0;
    }
}

.decoration-trans {
    background: #5c67245c none repeat scroll 0% 0%;
    padding: 5rem;
    backdrop-filter: blur(5px);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    clip-path: polygon(0 0, 0 100%, 63.5% 100%, 40% 0,0 0);
    height: 80%;
    z-index: -1;
}

.home_sec {
    min-height: 60%;
    height: 60%;
    max-height: 70%;
    padding-top: 15rem;
}

.services_sec{
    position:relative;
    z-index:3;
}

.hero-heading {
    color: white;
}

.image-customer-format {
    width: 140px;
    height: auto;
    margin: auto;
    text-align: center;
    display: block;
}

/* Values
末末末末末末末末末末末末末末末末末末末末末末末末末 */
.values {
    background-size: cover;
    color: #fff;
    padding-bottom: 5rem;
}

.value-multiplier {
    margin-bottom: .5rem;
    color: yellow;
    box-shadow: 0px 6px 4px -4px yellow;
}

.value-heading {
    margin-bottom: .3rem;
}

.value-description {
    opacity: .8;
    font-weight: 300;
}

.presentation{

}

/* Categories
末末末末末末末末末末末末末末末末末末末末末末末末末 */
.categories {
    background-image: url('../images/values-bg.jpg');
    background-size: cover;
    color: #fff;
}

.categories .section-description {
    margin-bottom: 4rem;
}

/* Bigger than 550 */
@media (min-width: 550px) {

    .mechanical_sec {
        max-height: 70rem;
        margin-top: 0rem;
    }

    .hero {
        padding-bottom: 12rem;
        text-align: left;
        height: 165px;
    }

    .hero-heading {
        font-size: 2.4rem;
    }
}

/* Bigger than 750 */
@media (min-width: 750px) {
    .hero {
        height: 190px;
    }

    .hero-heading {
        font-size: 2.6rem;
    }

    .hero {
        padding: 16rem 0 14rem;
    }

    .section-description {
        max-width: 60%;
        margin-left: auto;
        margin-right: auto;
    }

    .categories {
        padding: 15rem 0 8rem;
    }
}

/* Bigger than 1000 */
@media (min-width: 1000px) {
    .hero {
        padding: 22rem 0;
    }

    .hero-heading {
        font-size: 3.0rem;
    }
}

/* Larger than tablet */
@media (min-width: 850px) {
    /* Navbar */
    .navbar + .docs-section {
        border-top-width: 0;
    }

    .navbar,
    .navbar-spacer {
        display: block;
        width: 100%;
        height: 6.5rem;
        z-index: 99;
        border-top: 1px solid #eee;
        border-bottom: 1px solid #eee;
    }

    .navbar-spacer {
        display: none;
    }

    .navbar > .container {
        width: 100%;
    }

    .navbar-list {
        list-style: none;
        margin-bottom: 0;
    }

    .navbar-item {
        position: relative;
        float: left;
        margin-bottom: 0;
    }

    .navbar-link {
        text-transform: uppercase;
        font-size: 11px;
        font-weight: 600;
        letter-spacing: .2rem;
        margin-right: 35px;
        text-decoration: none;
        line-height: 6.5rem;
        color: #222;
    }

    .navbar-link.active {
        color: #33C3F0;
    }

    .has-docked-nav .navbar {
        
    }

    .has-docked-nav .navbar-spacer {
        display: block;
    }
    /* Re-overiding the width 100% declaration to match size of % based container */
    .has-docked-nav .navbar > .container {
        width: 80%;
    }

    /* Popover */
    .popover.open {
        display: block;
    }

    .popover {
        display: none;
        position: absolute;
        top: 0;
        left: 0;
        background: #fff;
        border: 1px solid #eee;
        border-radius: 4px;
        top: 92%;
        left: -50%;
        -webkit-filter: drop-shadow(0 0 6px rgba(0,0,0,.1));
        -moz-filter: drop-shadow(0 0 6px rgba(0,0,0,.1));
        filter: drop-shadow(0 0 6px rgba(0,0,0,.1));
    }

    .popover-item:first-child .popover-link:after,
    .popover-item:first-child .popover-link:before {
        bottom: 100%;
        left: 50%;
        border: solid transparent;
        content: " ";
        height: 0;
        width: 0;
        position: absolute;
        pointer-events: none;
    }

    .popover-item:first-child .popover-link:after {
        border-color: rgba(255, 255, 255, 0);
        border-bottom-color: #fff;
        border-width: 10px;
        margin-left: -10px;
    }

    .popover-item:first-child .popover-link:before {
        border-color: rgba(238, 238, 238, 0);
        border-bottom-color: #eee;
        border-width: 11px;
        margin-left: -11px;
    }

    .popover-list {
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .popover-item {
        padding: 0;
        margin: 0;
    }

    .popover-link {
        position: relative;
        color: #222;
        display: block;
        padding: 8px 20px;
        border-bottom: 1px solid #eee;
        text-decoration: none;
        text-transform: uppercase;
        font-size: 1.0rem;
        font-weight: 600;
        text-align: center;
        letter-spacing: .1rem;
    }

    .popover-item:first-child .popover-link {
        border-radius: 4px 4px 0 0;
    }

    .popover-item:last-child .popover-link {
        border-radius: 0 0 4px 4px;
        border-bottom-width: 0;
    }

    .popover-link:hover {
        color: #fff;
        background: #33C3F0;
    }

    .popover-link:hover,
    .popover-item:first-child .popover-link:hover:after {
        border-bottom-color: #33C3F0;
    }
}


/* Slideshow container */
.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
}

/* Caption text */
.text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* The dots/bullets/indicators */
.dot {
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.img-active {
    background-color: #717171;
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
    .text {
        font-size: 11px
    }
}

.mySlides
{
    width: 400px;
    height: 300px;
    margin: auto;
    background-color: darkgray;
}

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

.intro-video {
    padding-top: 10rem;
    margin: auto
}