@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Roboto&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto&family=Source+Sans+3:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --brandPrimaryColor: #1687aa;
    --brandSecondaryColor: #0b4455;
    --brandBlack: #000000;
    --brandWhite: #ffffff;
}

html{
    scroll-behavior: smooth;
}

a{
    list-style: none;
    text-decoration: none;
}
/* INMACULADO 1366 x 768 */

.hero {
    background-color: var(--brandPrimaryColor);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header {
    width: 100%;
    height: 8vh;
    display: flex;
    justify-content: center;
    position: fixed;
    background-color: var(--brandPrimaryColor);
    z-index: 20;
}

.topNav {
    width: 90%;
    height: 8vh;
    /* border: 1px solid salmon; */
    display: flex;
    justify-content: space-between;

    position: fixed;
}


.logo {
    display: flex;
    align-items: center;
    /* border: 1px solid green; */
}

.titleLogo {
    /* display: none; */
    font-family: 'Roboto', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--brandWhite);
    margin: 0;
    opacity: 0;
    /* overflow: hidden; */
    animation: fadeIn;
    animation-duration: 0.8s;
    animation-delay: 1s;
    animation-fill-mode: forwards;
}

.titleLogo2{
    color: var(--brandSecondaryColor);
}

.header2{
    background-color: var(--brandWhite);
}

/* tipografía enlaces del menu */
.linkName{
    opacity: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--brandWhite);
    animation: fadeInA;
    animation-duration: 0.8s;
    animation-delay: 3.5s;
    animation-fill-mode: forwards;
}

.aB{
    color: var(--brandSecondaryColor);

}

.menu {
    width: 415px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    list-style: none;
    /* border: 1px solid red; */
}

.menuLinks {
    width: 100%;
    /* border: 1px solid yellow; */
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
    padding: 0 0 0 0.24rem;

}

.menuLinks li {
    font-size: 1.2rem;
    font-family: 'SourceSansPro';
    text-transform: uppercase;
    font-weight: normal;

    animation: fadeInA;
    animation-duration: 0.8s;
    animation-delay: 3.5s;
    animation-fill-mode: forwards;
}

.line {
    width: 90%;
    height: 2px;
    background-color: var(--brandWhite);
    animation-name: line-grow;
    animation-duration: 0.8s;
    animation-timing-function: linear;

    position: fixed;
    top: 8vh;
}

.lineB{
    background-color: var(--brandSecondaryColor);
}

/* contenido central */
.main {
    width: 90%;
    height: 76vh;
    display: flex;
    /* border: 1px solid black; */
    margin: 6rem 0 0 0;
}

/* contenido izquierda  */
.mainTitle {
    width: 64%;
    height: auto;
    /* border: 1px solid red; */
    text-align: end;
    padding: 0 2.5rem 0 0;
}

.titleHero {
    display: inline;
    font-size: 5.45rem;
    color: var(--brandWhite);
    text-transform: uppercase;
    font-family: 'Playfair Display', serif;
    font-weight: lighter;
    text-align: right;
    margin: 0 0 0 0;
    line-height: 7rem;
}

.titleHero:first-child {
    opacity: 0;
    animation: fadeLeft;
    animation-duration: 1.5s;
    animation-delay: 2s;
    animation-fill-mode: forwards;
}

.titleHero {
    opacity: 0;
    animation: fadeLeft;
    animation-duration: 1.5s;
    animation-delay: 2.5s;
    animation-fill-mode: forwards;
}


.mainTitle h4 {
    color: var(--brandWhite);
    font-size: 3rem;
    display: inline;
    /* font-family: 'SourceSansPro', sans-serif; */
    font-family: 'Source Sans 3', sans-serif;
    font-weight: lighter;
    line-height: 5rem;

    color: var(--brandWhite);
    font-weight: 200;
    opacity: 0;
    animation: fadeLeft;
    animation-duration: 1.5s;
    animation-delay: 5s;
    animation-fill-mode: forwards;
}

.mainTitle h4::after{
    content: ' Ductilidad';
    color: var(--brandWhite);
    font-weight: 200;
    opacity: 0;
    animation: fadeLeft;
    animation-duration: 1.5s;
    animation-delay: 7s;
    animation-fill-mode: forwards;
}

.mainTitle h4 span{
    color: var(--brandWhite);
    font-weight: 200;
    opacity: 0;
    animation: fadeLeft;
    animation-duration: 1.5s;
    animation-delay: 6s;
    animation-fill-mode: forwards;
}

.titleHeroLine{
    width: 10px;
    height: 4px;
    margin: 0 0 0 12rem;
    opacity: 0;
    /* display: none; */
    background-color: var(--brandWhite);
    animation-name: line-grow2;
    animation-duration: 0.4s;
    animation-delay: 7.5s;
    animation-timing-function: ease-in;
    animation-fill-mode: forwards;
}

/* sección derecha del main */
.mainSubTitle {
    width: 34%;
    height: 100%;
    /* border: 1px solid white; */
    padding: 0.6rem 0 0 0;
    display: flex;
    flex-direction: column;

}

.titleSubtitle {
    width: 100%;
    height: auto;
    display: inline;
    color: var(--brandWhite);
    font-size: 3.5rem;
    font-family: 'Playfair Display', serif;
    font-weight: 100;
    font-style: italic;
    text-transform: uppercase;
    /* border: 1px solid red; */
    letter-spacing: 20px;
    margin: 0 0 1rem 0;

    opacity: 0;
    animation: fadeRight;
    animation-duration: 1.5s;
    animation-delay: 3.7s;
    animation-fill-mode: forwards;
}

.paragraphSubtitle {
    display: inline;
    color: var(--brandWhite);
    font-size: 1.2rem;
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 100;
    text-align: justify;
    /* border: 1px solid blue; */
    margin: 1rem 0 0 0;
    padding: 0 0 0 0;
    line-height: 1.6rem;

    opacity: 0;
    animation: fadeDown;
    animation-duration: 1.5s;
    animation-delay: 4s;
    animation-fill-mode: forwards;
}

.heroSlider {
    width: 100%;
    height: 264px;
    /* border: 1px solid blue; */
    margin: 1.3rem 0 0 0;
    background-image: url('../images/web3.PNG');
    background-size: cover;
    object-fit: cover;
    opacity: 0;

    animation: imageGrow;
    animation-duration: 1.5s;
    animation-delay: 4s;
    animation-fill-mode: forwards;

}

.imgHero {
    width: 100%;
    height: 100%;
    background-size: cover;
    object-fit: cover;
    margin: 0.7rem 0 0 0;
}

.icons {
    width: 100%;
    height: auto;
    /* border: 1px solid black; */
    display: flex;
    margin: 6rem 0 0 0;

    opacity: 0;
    animation: fadeRight;
    animation-duration: 1.5s;
    animation-delay: 3.7s;
    animation-fill-mode: forwards;

}

.fa-github, .fa-linkedin {
    font-size: 2rem;
    color: var(--brandWhite);
    margin: 0 1.5rem 0 0;

}

.scroller {
    /* position: absolute; */
    position: fixed;
    top: 82%;
    left: 10%;
    right: 10%;
    z-index: 10;
    width: 80%;
    height: auto;
    /* border: 1px solid yellow; */
    margin: 0 0 0 0;
    display: flex;
    justify-content: center;
    align-self: flex-start;
    color: var(--brandWhite);
    opacity: 0;
    animation: fadeRight;
    animation-duration: 1.5s;
    animation-delay: 3.7s;
    animation-fill-mode: forwards;
}

.scroller p {
    position: relative;
    color: var(--brandWhite);
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
}

.scroller p::after {
    content: '';
    display: block;
    content: '\25bc';
    padding-left: 0.5em;

    animation: blinkArrow;
    animation-duration: 0.5s;
    animation-delay: 5s;
    animation-iteration-count: infinite;
}

/* Animaciones */

@keyframes fadeInA {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(1);
    }

    100% {
        opacity: 1;
        transform: translateY(0px) scale(1);
    }
}

@keyframes line-grow {
    0% {
        width: 0;
    }

    100% {
        width: 90%;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(1);
    }

    100% {
        opacity: 1;
        transform: translateY(0px) scale(1);
    }
}

@keyframes line-grow2 {
    0% {
        opacity: 1;
        width: 0;
    }

    100% {
        opacity: 1;
        width: 75%;
    }
}

@keyframes fadeLeft {
    0% {
        opacity: 0;
        transform: translateX(20px) scale(1);
    }

    100% {
        opacity: 1;
        transform: translateX(0px) scale(1);
    }
}

@keyframes fadeDown {
    0% {
        opacity: 0;
        transform: translateY(-10px) scale(1);
    }

    100% {
        opacity: 1;
        transform: translateY(0px) scale(1);
    }
}

@keyframes imageGrow {
    0% {

        -webkit-clip-path: inset(0 0 95% 0);
        clip-path: inset(0 0 95% 0);
    }

    100% {
        opacity: 1;
        -webkit-clip-path: inset(0 0 0 0);
        clip-path: inset(0 0 0 0);
    }
}

@keyframes blinkArrow {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fadeRight {
    0% {
        opacity: 0;
        transform: translateX(20px) scale(1);
    }

    100% {
        opacity: 1;
        transform: translateX(0px) scale(1);
    }
}






