.intro {
    background-color: var(--s5);
    background-image: URL('../img/homepage.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 100% 75px;
    padding-top: 90px;
    position: relative;
    .wrapper {
        box-sizing: border-box;
        padding: 60px 4% 0 4%;
    }
}

.intro__info {
    width: 310px;
    padding: 20px;
    background-color: #fff;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: flex-start;
    position: absolute;
    right: 0;
    bottom: 40px;
}
.intro__info p {
    font-size: 17px;
    font-weight: 700;
    color: #000;
    margin: 0;
    line-height: 1.2;
}
.intro__info span {
    color: #b6b6b6;
}
.intro__info > div:first-child p {
    font-size: 50px;
    line-height: 1;
}
.intro__info > div:nth-child(2) {
    width: 74%;
    position: relative;
    top: 3px;
}
.intro__info > div:nth-child(3) {
    width: 100%;
    margin-top: 20px;
    position: relative;
    
}
.intro__info > div:nth-child(3) p {
    font-style: italic;
    font-weight: 600;
    padding-left: 45px;
}
.intro__info > div:nth-child(3)::before {
    content: url('../img/exclamation.png');
    position: absolute;
    top: 2px;

}
.intro__titular h2 {
    position: relative;
    max-width: 70%;
    width: fit-content;
    
    span {
        display: block
    }
}
.intro__titular h2::after {
	content: "";
	position: absolute;
	bottom: -40px;
	right: 0;
	width: 45%;
	height: 17px;
	background-color: var(--e2);
    
}
.intro__titular .imagen {
    position: absolute;
    right: 16%;
    bottom: 0;
}
.intro__titular img {
    display: block;
}


.intro__entradilla {
    max-width: 610px;
    margin-top: 70px;
    padding: 40px 0 0 0;
}
.intro__entradilla p {
    color: #fff;
    margin: 0;
}
.intro__scroll {
    text-align: center;
    position: relative;
}
.intro__scroll svg {
    cursor: pointer;
}
.intro__scroll svg {
    width: 100px;
}
#flecha {
    animation: downMove 1.2s ease-in-out infinite;
}


@media only screen and (max-width: 1398px) {
    .intro__titular h2 {
        max-width: 55%;
    }
    
}
@media only screen and (max-width: 1316px) {
    .intro__titular h2 {
        max-width: 65%;
    }  
}
@media only screen and (max-width: 1248px) {
    .intro {
        background-position: 75% 75px;
    }
}

@media only screen and (max-width: 1024px) {
    .intro__titular {
        position: relative;
    }
    .intro__titular h2::after {
        width: 60%;
    }
    .intro__entradilla {
        margin: 70px auto 0 auto;
    }
    .intro__info {
        bottom: 20px;
    }
}
@media only screen and (max-width: 900px) {
    .intro {
        overflow-x:hidden;
        background-image: none;
        padding-top: 78px;
    }
    .intro .wrapper {
        padding: 0;
        width: 100%;
    }
    .intro__info {
        bottom: auto;
        top: 20px;
        right: 20px;
        z-index: 10;
    }
    .intro__titular {
        background-image: url('../img/home_mobile.png');
        padding-bottom: 100px;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: 100% 0;
    }
    .intro__titular .text {
        width: 95%;
        margin: 0 auto;
        padding: 50px 4% 0 4%;
    }
    .intro__titular h2 {
        max-width: 75%;
        margin-bottom:0;
      }
      .intro__entradilla {
        margin: 0 auto;
        padding-top: 60px;
      }
      
}
@media only screen and (max-width: 830px) {
    .intro__info {
        width: 260px;
    }
    .intro__info p {
        font-size: 14px;
    }
    .intro__info > div:first-child p {
        font-size: 40px;
    }
}
@media only screen and (max-width: 768px) {
    .intro {
        padding-top: 50px;
    }
    .intro__info {
        top: 60px;
    }
    .intro__titular {
        padding-top: 170px;
    }
    .intro__entradilla {
        padding-left: 4%;
        padding-right: 4%
    }
    
    
      .intro__titular h2::after {
        right: 10%;
        height: 15px;
    }
}
@media only screen and (max-width: 640px) {
    .intro__info {
        top: 40px;
    }
    .intro__entradilla {
        padding-top: 40px;
    }
}
@media only screen and (max-width : 525px) {
    .intro .wrapper {
        padding: 10px 0 0 0;
    }
    
    .intro__scroll {
        padding: 30px 0;
    }
    .intro__scroll svg {
        width: 100px;
        height: 100px;
    }
    .intro__titular h2::after {
        height: 12px;
        bottom: -30px;
    }
    
}
@media only screen and (max-width : 428px) {
    .intro__titular h2 {
        max-width: 88%;
      }
    .intro__titular img {
        width: 70%;
      }
      .intro__titular .imagen {
        bottom: 0;
      }
      .intro__entradilla {
        margin-top: 0;
      }

}
@media only screen and (max-width : 360px) {
    h2 {
        font-size: 40px;
    }
}
