:root {
    --padding: 5em;
}

* {
    
    overflow-x: hidden;
}

html, body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    background-color: #1c1c1c;
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
    height: 100vh;
    scroll-behavior: smooth;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    overflow-y: scroll;
    overflow-x: hidden;
    /* flex-flow: column nowrap; */
    
    
}

.link {
    color:#fff;
    text-decoration: underline;
}

.link:hover {
    color: rgba(255, 255, 255, 0.521);
}

.container {
    height: 100vh;
    overflow-y: scroll;
    
    scroll-snap-type: y mandatory;
}

::-webkit-scrollbar {
    display: none;
}

* {
    scrollbar-width: none;
}

.slide {
    height: 100vh;
    scroll-snap-align: start;
}

.home-intro {
    /* padding: 50vh 0; */
    font-size: 2.5em;
    background: rgba(0, 0, 0, 0.692) url(images/background1.jpg);
    background-size: cover;
    background-blend-mode: multiply;
    color: white;
    text-align: center; 
     /* max-width: 100%; */
    /* width: 100%; */
    height: 100vh;
    /* height: 100%; */
    display: flex; 
    align-items: center;
    justify-content: center;
    /* scroll-snap-align: start;  */
}

.title {
    margin: auto; 
     padding-left: 0.5em;
    padding-right: 0.5em;
}

.description-sec {
    background-color: #1c1c1c;
    height: 100vh;
    color: white;
    /* width: 100%; */
    /* scroll-snap-align: start; */

}

img {
    max-width: 53vw;
    max-height: 75vh;
}

.description-title {

    overflow: hidden;
    /* margin-top: auto; */

    text-align: center;

    top: calc(50vh - 1em);
    /* margin: 0; */
    /* margin-top: auto;
    margin-bottom: auto; */
    /* padding: 50vh 0; */
    /* margin: 50vh 0; */
    padding-left: 0.5em;
    padding-right: 0.5em;
    font-size: 1.5em;
    color: white;
    /* z-index: 99; */
    position: relative;
    /* top: calc(150vh);
    bottom: calc(150vh); */
    font-size: 3em;
    display: flex;
    justify-content: center;
    align-items: center;
    /* text-align: center; */
    /* display: none; */
    /* padding: 50vh 0; */
    /* cursor: pointer; */
    transition: transform 250ms ease-in-out;
}

.description-title:hover {
    transform: scale(1.18);
}

#particles-js {
    background-color: #1c1c1c;
    z-index: -1;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    /* text-align: center; */
    flex-direction: column;
    /* position: relative; */
    /* height: 100vh; */
}


.from-left {
    grid-column: 2 / 3;
    transform: translateX(-60%);
}

.from-right {
    grid-column: 3 / 4;
    transform: translateX(60%);
  }

.from-left,
.from-right {
    transition: opacity 250ms ease-in,
        transform 400ms ease-in;
    opacity: 0;
}

.from-left.appear,
.from-right.appear {
    transform: translateX(0);
    opacity: 1;
}

.engineer {
    background-color: #fefefe;
    
    /* display: flex;
    justify-content: center;
    align-items: center; */
    /* padding: 4em 0; */
    display: grid;
    grid-gap: 4em;
    align-items: center;
    grid-template-columns: 1fr;
    text-align: justify;
}

.about-engineering {
    font-size: 2em;
    padding-left: 1em;
}

.fourth {
    /* background: url(images/circuit.svg); */
    color: #fff;
    display: grid;
    grid-gap: 4em;
    align-items: center;
    grid-template-columns: 1fr;
    text-align: justify;
}

.about-plc {
    /* grid-column: 4; */
    font-size: 1.6em;
    padding-right: 5rem;
}

.eng-img {
    padding-right: 5em;
}

.plc-img {
    padding-left: 1em;
}


.eng-img,
.plc-img {
    width: 62.5em;
    height: 41.5em;
    /* transform: scale(5); */
    object-fit: cover;
}

.fifth {
    background: rgba(0, 0, 0, 0.692) url(images/background2.png);
    background-size: cover;
    background-blend-mode: multiply;
}

.applications-description {
    top: calc(50vh - 2em);
}

@media only screen and (max-width: 1400px) {
    
    .about {
        font-size: 1.75em;
    }

    .description-title:hover {
        transform: scale(1.06);
    }
}

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

    .engineer,
    .fourth {
        font-size: .64em;
    }

    .description-title {
        font-size: 1.54em;
    }

    .title {
        font-size: 1.75em;
    }

    /* .slide {
        height: calc(100vh - 30px);
    } */

}

@media only screen and (max-width: 750px) {
    .engineer,
    .fourth {
        display: flex;
        flex-direction: column;
        font-size: 0.75em;
        align-items: center;
        align-content: center;
        justify-content: center;
    }

    .about,
    img {
        padding-left: var(--padding);
        padding-right: var(--padding);
    }
}

@media only screen and (max-width: 500px) {
    :root {
        --padding: 2.5em;
    }

    img {
        padding-left: 5em;
    }

    .title {
        font-size: 1.3em;
    }

}


/* svg styling */
svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
  }
  .path {
    animation: draw 20s infinite;
    animation-timing-function: linear;
  }
  .path-01 {
    animation-delay: 0s;
  }
  .path-02 {
    animation-delay: 1s;
  }
  .path-03 {
    animation-delay: 2s;
  }
  .path-04 {
    animation-delay: 3s;
  }
  .path-05 {
    animation-delay: 4s;
  }
  
  
  
  @keyframes draw {
    0% {
    }
    100% {
      stroke-dashoffset: 0;
      stroke-opacity: 1;
    }
  }