* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;

}


html{
    scroll-behavior: smooth;
}

header{
    position: fixed;
    top: 0; left: 0; right: 0;
    background: #091235;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .1);
    padding: 0px 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
}

header .logo{
    font-weight: bolder;
    font-size: 25px;
    color: #88a9c3;
}

header .navbar ul{
    list-style: none;
}

header .navbar ul li{
    position: relative;
    float: left;
}

header .navbar ul li a{
font-size: 20px;
padding: 20px;
color: #88a9c3;
display: block;
}

header .navbar ul li a:hover{
    background: #2b4257;
    color: #fff;
}

header .navbar ul li ul{
    position: absolute;
    left: 0;
    width: 140px;
    background: #091235;
    display: none;
}

header .navbar ul li ul li{
    width: 100%;
    border-top: 1px solid rgba(0, 0, 0, .1);
}

header .navbar ul li ul li ul{
left: 200px;
top: 0;
}

header .navbar ul li:hover > ul{
display: initial;
}

#menu-bar{
display: none;
}

header label{
    font-size: 20px;
    color: #88a9c3;
    cursor: pointer;
    display: none ;
}


@media(max-width:991px){
    header{
        padding: 20px;
    }
    header label{
        display: initial;
    }
    header .navbar{
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: #091235;
        border-top: 1px solid rgba(0, 0, 0, .1);
        display: none;
    }

    header .navbar ul li{
        width: 100%;
    }

    header .navbar ul li ul{
        position: relative;
        width: 100%;
    }
    header .navbar ul li ul li{
        background: #091235;
}

    header .navbar ul li ul li ul{
    width: 100%;
    left: 0;
} 
#menu-bar:checked ~ .navbar{
display:  initial;
}
}


#hero {
    padding: 0 50px;
    height: 100vh;
    color: white;
    background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(img/redi.jpg);
    background-repeat: no-repeat;
    background-size: cover;  
    background-position: center center;  
    margin: 0;  
    padding: 0;  
    overflow: hidden; 

}

.container {
    position: relative;
    color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;

}

.container h1 {
    font-size: 60px;
    font-weight: 400;
    padding: 10px 0px;
    text-shadow:
        0 0 5px #091235,
        0 0 10px #091235,
        0 0 20PX #091235,
        0 0 40PX #091235;
}

.container h2 {
    font-size: 40px;
    font-weight: 400;
    padding: 10px 0px;
    max-width: 1100px;
    text-align: center;
}

button {
    text-decoration: none;
    color: #fff;
    border: 2px solid #88a9c3;
    padding: 20px 40px;
    align-self: baseline;
    background-color: transparent;
    position: absolute;
    border-radius: 10px;
    
}

body {
    background: #14202e;
    font-family: sans-serif;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 100px auto;
}

.conteiner {
    padding: 10px 50px;
    position: relative;
    width: 50%;
    animation: movedown 1s linear forwards;
    opacity: 0;
}

@keyframes movedown {
    0% {
        opacity: 1;
        transform: translateY(-30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

.conteiner:nth-child(1) {
    animation-delay: 0s;
}

.conteiner:nth-child(2) {
    animation-delay: 1s;
}

.conteiner:nth-child(3) {
    animation-delay: 2s;
}

.conteiner:nth-child(4) {
    animation-delay: 3s;
}

.conteiner:nth-child(5) {
    animation-delay: 4s;
}

.conteiner:nth-child(6) {
    animation-delay: 5s;
}

.conteiner:nth-child(7) {
    animation-delay: 6s;
}

.text-box {
    padding: 20px 30px;
    background: #2b4257;
    position: relative;
    border-radius: 6px;
    font-size: 15px;
}


.left-container {
    left: 0;
}

.right-container {
    left: 50%;
}

.conteiner img {
    position: absolute;
    width: 60px;
    border-radius: 100%;
    right: -30px;
    top: 32px;
    z-index: 30;
}

.right-container img {
    left: -30px;
}

#industrial h1 {
    color: white;
    text-shadow:
        0 0 10px #88a9c3,
        0 0 20px #88a9c3,
        0 0 40PX #88a9c3,
        0 0 80PX #88a9c3;
    text-align: center;

}

#urbano h1 {
    color: white;
    text-shadow:
        0 0 10px #88a9c3,
        0 0 20px #88a9c3,
        0 0 40PX #88a9c3,
        0 0 80PX #88a9c3;
    text-align: center;

}

#marinas h1 {
    color: white;
    text-shadow:
        0 0 10px #88a9c3,
        0 0 20px #88a9c3,
        0 0 40PX #88a9c3,
        0 0 80PX #88a9c3;
    text-align: center;


}

.timeline h2 {
    color: #091235;
}

.timeline p {
    background: #88a9c3;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}


.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 100%;
    background: #fff;
    top: 0;
    left: 50%;
    margin-left: -3px;
    z-index: -1;
    animation: moveline 8s linear forwards;
}


@keyframes moveline {
    0% {
        height: 0;
    }

    100% {
        height: 100%;
    }
}

.text-box {
    font-weight: 600;
}

.text-box small {
    display: inline-block;
    margin-bottom: 25px;
    color: #14202e;
}


.left-container-arrow {
    height: 0;
    width: 0;
    position: absolute;
    top: 28px;
    z-index: 1;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 15px solid #fff;
    right: -15px;
}


.right-container-arrow {
    height: 0;
    width: 0;
    position: absolute;
    top: 28px;
    z-index: 1;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 15px solid #fff;
    left: -15px;
}

@media screen and (max-width: 600px) {

    .timeline {
        margin: 50px auto;
    }

    .timeline::after {
        left: 31px;
    }

    .conteiner {
        width: 100%;
        padding-left: 80px;
        padding-right: 25px;
    }

    .text-box {
        font-size: 13px;
    }

    .text-box small {
        margin-bottom: 10px;
    }

    .right-container {
        left: 0;
    }

    .left-container img,
    .right-container img {
        left: 5px;
    }

    .left-container-arrow,
    .right-container-arrow {
        border-right: 15px solid #fff;
        border-left: 0;
        left: -15px;
    }

}

#portafolio {
    background-color: #2b4257;
    padding: 10px;

}

#portafolio h1 {
    font-size: 60px;
    font-weight: 400;
    padding: 0 50px;
    color: white;
    text-shadow:
        0 0 5px #091235,
        0 0 10px #091235,
        0 0 20PX #091235,
        0 0 40PX #091235;
}

#industrial h1{
    padding: 80px;
}

#urbano h1{
    padding: 80px;
}

#marinas h1{
    padding: 80px;
}
#portafolio h1{
padding: 60px 0;

}
.perro {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    min-height: 30vh;

}

.carrusel-section {
    position: relative;
    width: 300px;
    height: 350px;
    margin: 20px;
}

.carrusel-section .face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
    overflow: hidden;
    transition: .5s;
}

.carrusel-section .front {
    transform: perspective(600px) rotateY(0deg);
    box-shadow: 0 5px 10px #000;
}


.carrusel-section .front img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carrusel-section .front h3 {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 35px;
    line-height: 35px;
    color: #fff;
    background: rgba(0, 0, 0, .4);
    text-align: center;
}

.carrusel-section .back {
    transform: perspective(600px) rotateY(180deg);
    background: #14202e;
    padding: 15px;
    color: #88a9c3;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    box-shadow: 0 5px 10px #000;
}

.carrusel-section .back .link {
    border-top: solid 1px #091235;
    height: 50px;
    line-height: 50px;
}

.carrusel-section .back .link a {
    color: rgb(255, 255, 255);
    background: #88A9C3;
    border-radius: 5px;
    padding: 12px 0;
    text-align: center;
}


.carrusel-section .back h3 {
    font-size: 30px;
    margin-top: 20px;
    letter-spacing: 2px;
}

.carrusel-section .back p {
    letter-spacing: 1px;
}

.carrusel-section:hover .front {
    transform: perspective(600px) rotateY(180deg);
}

.carrusel-section:hover .back {
    transform: perspective(600px) rotateY(360deg);
}

  @media (max-width:767px) {
  .photo-gallery .photos {
    padding-bottom:20px;
  }
  
  .photo-gallery .item {
    padding-bottom:30px;
}
}


footer{
    position: relative;
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #88A9C3;
    background-color: #091235
}