.redirections{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.redirectionService{
    position: relative;
    width: 750px;
    height: 650px;
    background-color: #e39700;
    border-radius: 30px;
    overflow: hidden;
}
.redirectionService img{
    height: 550px;
    width: auto;
    position: absolute;
    right: 70px;
    top: 40%;
    filter: drop-shadow(0 0 30px rgba(0,0,0,0.1));
}

.redirectionService button{
    position: absolute;
    left: 60px;
    bottom: 50px;
    height: 60px;
    width: 180px;
    font-size: 17px;
    border: none;
    border-radius: 30px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    transition: all 0.5s ease;
}

.redirectionService button:hover{
    cursor: pointer;
    letter-spacing: 1px;
}

.redirectionService svg{
    font-size: 40px;
    position: absolute;
    left: 60px;
    top: 40px;
    filter: drop-shadow(0 0 5px rgba(0,0,0,0.1));
}

.redirectionService h1{
    position: absolute;
    font-size: 45px;
    left: 60px;
    top: 120px;
    width: 48%;
    color: #fff;
    text-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.redirectionService h1 span{
    color: #181818;
}


.blockRedirections{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.redirection{
    position: relative;
    width: 365px;
    height: 600px;
    background-color: #252525;
    border-radius: 20px;
    overflow: hidden;
}

.redirectionPropos img{
    height: 636px;
    width: auto;
    position: absolute;
    right: -15%;
    top: -45%;
    filter: drop-shadow(0 0 30px rgba(0,0,0,0.1));
}

.redirectionPropos button{
    position: absolute;
    right: 20px;
    bottom: 145px;
    height: 55px;
    width: 160px;
    font-size: 17px;
    border: none;
    border-radius: 30px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    transition: all 0.5s ease;
}

.redirectionPropos button:hover{
    cursor: pointer;
    letter-spacing: 1px;
    background-color: #e39700;
    color: hsl(0, 0%, 100%);
    box-shadow: #e39700 0px 0px 18px 0px; 
}


.redirectionPropos h1{
    position: absolute;
    font-size: 35px;
    left: 30px;
    bottom: 35px;
    color: #fff;
    text-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.redirectionPropos h1 span{
    color: #e39700;
}


.redirectionContact img{
    height: 400px;
    width: auto;
    position: absolute;
    right: -57%;
    top: 40%;
    transform: rotate(-5deg);
    filter: drop-shadow(0 0 30px rgba(0,0,0,0.1));
}

.redirectionContact h1{
    position: absolute;
    font-size: 35px;
    left: 30px;
    top: 35px;
    color: #fff;
    text-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.redirectionContact button{
    position: absolute;
    right: 20px;
    top: 170px;
    height: 55px;
    width: 170px;
    font-size: 17px;
    border: none;
    border-radius: 30px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    transition: all 0.5s ease;
}

.redirectionContact button:hover{
    cursor: pointer;
    letter-spacing: 1px;
    background-color: #e39700;
    color: hsl(0, 0%, 100%);
    box-shadow: #e39700 0px 0px 18px 0px; 
}


@media (max-width: 840px) {
    .redirectionService {
      width: 90vw;
      height: calc(90vw + 80px);
      max-height: 650px;
    }
    .redirectionService  h1{
        font-size: max(6.5vw, 26px);
        top: min(30vw,110px);
        left: 7vw;
        color: #fff;
        text-shadow: 0 0 10px rgba(0,0,0,0.1);
        width: 41vw;
    }

    .redirectionService svg{
        left: 7vw;
        filter: drop-shadow(0 0 5px rgba(0,0,0,0.1));
    }

    .redirectionService button {
        scale: 0.9;
        left: 5vw;
        bottom: 6vw;
        max-height: 60px;
        max-width: 180px;
        width: 42vw;
        height: 14vw;
    }

    .redirectionService img {
        height: 70vw;
        min-height: 300px;
        width: auto;
        position: absolute;
        right: calc(8vw - 50px);
        top: unset;
        bottom: calc(-18vw + 20px);
    }
    

    .blockRedirections {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .redirection{
        width: 90vw;
        height: calc(90vw + 80px);
        max-height: 650px;
    }


    .redirectionPropos img{
        height: min(110vw, 700px);
        right: max(-9vw, -55px);
        top: max(-45vw, -290px);
    }
    
    .redirectionPropos button{
        scale: 0.9;
        right: 1vw;
        bottom: min(26vw, 140px);
        max-height: 55px;
        max-width: 160px;
        width: 42vw;
        height: 14vw;
    }
    
    .redirectionPropos h1{
        bottom: 5vw;
        font-size: max(6.5vw, 26px);
        left: 7vw;
    }


    .redirectionContact h1{
        font-size: max(6.5vw, 26px);
        left: 7vw;
        top: 7vw;
    }

    .redirectionContact img{
        right: max(-28vw, -140px);
        top: max(27vw,150px);
        height: min(75vw, 500px);
    }

    .redirectionContact button{
        scale: 0.9;
        max-height: 55px;
        max-width: 160px;
        width: 42vw;
        height: 14vw;
        left: 5vw;
        top: 19vw;
    }
}

@media (max-width: 380px) {

    button{
        font-size: 16px;
    }

}