#hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 200px 0 100px;
    background-color: #fff;
    color: #261944;
}

#hero .hero-special {
    padding: 25px 0 0 0;
}

#hero .hero-special>div {
    flex: 0 1 auto;
    width: 100%;
}

#hero h1 {
    margin: 0 0 35px 0;
}

#hero p {
    max-width: 720px;
}

.hero-paragraph {
    padding: 40px;
    background: var(--color-gray-light);
    color: color: var(--color-purple-medium);
    ;
    letter-spacing: var(--letter-spacing-m);
}

.hero-paragraph strong {
    color: var(--color-purple);
}

#hero p a {
    color: var(--color-white);
    background: var(--color-purple-light);
    width: auto;
    padding: 7px 20px;
    display: flex;
    align-items: center;
}

#hero p a span {
    right: 0;
    color: var(--color-white);
    position: relative;
    display: inline-block;
    height: auto;
    width: 18px;
    padding: 0;
    margin-left: 10px;
}

#hero p a:hover span {
    transform: translateY(5px);
}

.content-images-hero {
    position: absolute;
    right: 0;
    top: 250px;
    height: 100%;
}

.content-images-hero img:nth-child(1) {
    position: absolute;
    top: -10%;
    right: 0;
}

.content-images-hero img:nth-child(2) {
    position: absolute;
    bottom: 45%;
    left: calc(50% - 300px);
    margin: 0 auto;
    z-index: 1;
}

.content-images-hero::after {
    content: '';
    background: #B081F8;
    width: 243px;
    height: 597px;
    position: absolute;
    top: 25%;
    left: 0;
    margin: 0 auto;
    z-index: -1;
    right: 0;
}

@media screen and (min-width:1442px) {
    .content-images-hero::after {
        content: '';
        background: #B081F8;
        width: 243px;
        height: 431px;
        position: absolute;
        bottom: 20%;
        left: 0;
        right: 0;
        margin: 0 auto;
        z-index: -1;
        top: auto;
    }
    .content-images-hero img:nth-child(2) {
        left: 15%;
    }
    .content-images-hero img:nth-child(1) {
        top: -10%;
        right: 15%;
    }
}

@media screen and (min-width:1600px) {
    #hero p {
        margin-left: -40px
    }
}

@media screen and (min-width: 992px) {
    #hero p a {
        float: right;
        margin-top: -40px;
        margin-right: 40px;
    }
    #hero{
        background: url(./imgs/Banner_Security_WEB.jpg);
        background-position-x: 50vw;
        background-size: contain;
        background-position-y: center;
        background-repeat: no-repeat;
    }

}

@media screen and (min-width: 992px) and (max-width: 1441px) {
    #hero h5,
    #hero h1 {
        padding-left: 40px
    }
    .content-images-hero img:nth-child(2){
      bottom: 25%
    }
}

#hero .hero-special .bordered-box {
    padding: 10px;
    margin: 10px 20px 10px 0;
}

#hero .hero-special .bordered-box img {
    margin: 0 10px 0 0;
}

#hero .hero-special .bordered-box p {
    font-size: 14px;
    line-height: var(--line-height-m);
}

#hero .hero-special .bordered-box p span {
    font-size: 17px;
    font-weight: var(--font-weight-bold);
}

#hero .hero-special .bordered-box:before {
    transition: all 0.2s;
    height: 20%;
    width: 10px;
}

#hero .hero-special .bordered-box:hover:before {
    height: 100%;
}

#hero .hero-special .bordered-box:after {
    content: '';
    display: block;
    width: 0;
    height: 100%;
    background-color: var(--color-purple-light);
    transition: all 0.2s;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0.1;
}

#hero .hero-special .bordered-box:hover:after {
    width: 100%;
}

@media screen and (min-width:768px) {
    #hero {
        padding: 250px 0 400px;
        justify-content: flex-start;
    }
    #hero .hero-special>div {
        width: 50%;
    }
}

@media screen and (min-width:992px) {
    #hero {
        padding: 300px 0 150px;
        /* background: #fff; */
        justify-content: center;
    }
    #hero .container {
        background: transparent;
    }
}
@media screen and (min-width:1442px) {
    #hero {
        padding: 300px 0 150px;
    }

}

@media screen and (max-width:991px) {
    #header-mobile-toggle button {
        filter: brightness(0);
    }
    .hero-paragraph {
        padding: 15px;
        margin-bottom: 35px;
    }
    #hero p a {
        display: inline-block;
    }
    #hero .content-images-hero {
        display: flex;
        flex-direction: column;
        position: relative;
        top: auto;
    }
    #hero .content-images-hero::after {
        content: '';
        background: #B081F8;
        width: 50%;
        height: 218px;
        position: absolute;
        bottom: 15px;
        right: 0;
        z-index: -1;
        top: auto;
    }
    #hero .content-images-hero img:nth-child(1) {
        order: 1;
        margin: 30px 0 0;
        position: relative;
        right: auto;
        top: auto;
        bottom: auto;
    }
    #hero .content-images-hero img:nth-child(2) {
        order: 2;
        z-index: 1;
        position: relative;
        left: auto;
        bottom: auto;
        margin-top: 50px;
    }
}
