#hero {
    margin-top: -1px;
}

#hero span {
    font-family: 'Chillax-Bold', sans-serif;
    color: #96FF00;
}

#hero h1,
#hero p {
    font-weight: 100;
    color: #fff;
}

#hero h1 {
    font-size: 2rem;
}

/* #hero .hero-text {
    padding-top: 100px;
} */

#hero .hero-text p {
    padding-top: 50px;
}

#hero .hero-text p:first-of-type {
    width: 90%;
}

#hero .hero-text p:last-child a::after {
    content: "↗";
    display: inline-block;
    margin-left: 15px;
    font-size: 1em;
    color: #96FF00;
    font-size: 2rem;
}

#hero .hero-text p:last-child a {
    background-color: #011c1b;
    color: #fff;
    border-bottom: #96FF00 2px solid;
    padding-bottom: 10px;
}

#hero .hero-text p:last-child {
    width: fit-content;
}

#hero img.arrow-icon {
    top: -35px;
    position: relative;
    width: 55%;
}

#hero a:hover,
#hero a p:hover {
    color: #96FF00 !important;
    transition: all 0.3s ease;
}

#hero.container-fluid {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    overflow: hidden;
    height: min-content;
    padding: 150px 0;

}

/* Style for rotating the image */
@keyframes rotate360 {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#hero img.rotate-img {
    width: 150px;
    height: auto;
    display: block;
    position: absolute;
    top: 55%;
    right: 40%;
    animation: rotate360 7s linear infinite;
    transition: width 0.5s ease;
}

#hero a img.rotate-img:hover {
    transition: all .5s;
}

@media only screen and (min-width: 1450px) {

    #hero.container-fluid {
        padding: 150px 0;
    }
}

@media only screen and (min-width: 1550px) {

    #hero.container-fluid {
        padding: 250px 0;
    }
}

@media only screen and (min-width: 1200px) {
    #hero.container-fluid {
        /* max-width: 1300px; */
        height: fit-content;
        background-size: cover;
        min-height: fit-content;
    }
}

@media only screen and (max-width: 500px) {
    #hero .hero-text {
        padding: 25px 0 50px 0;
    }

    #hero.container-fluid {
        background-image: none;
        padding: 0;
    }

    #hero img.rotate-img {
        display: none;
    }

    #hero .hero-text p:first-of-type {
        width: 100%;
    }

}

@media only screen and (min-width: 0) and (max-width: 1200px) {
    #hero img.arrow-icon {
        width: 100%;
    }
}

@media only screen and (max-width: 770px) {
    #hero .hero-text p {
        padding: 10px 0;
    }

    #hero.container-fluid {
        background-size: 865px;
        background-position: bottom right;
        margin-bottom: -25px;
    }

    #hero .container {
        padding-bottom: 385px;
    }
}

@media only screen and (max-width: 800px) {

    #hero .hero-text {
        padding: 50px 0;
    }

    #hero.container-fluid {
        background-image: none;
        padding: 0;
    }

    #hero img.rotate-img {
        display: none;
    }

    #hero .hero-text p:first-of-type {
        width: 100%;
    }
}



@media only screen and (min-width: 770px) and (max-width: 1000px) {
    #hero.container-fluid {
        background-position: bottom right;
        margin-bottom: -30px;
    }

    #hero .hero-text p:first-of-type {
        width: 90% !important;
    }
}

@media only screen and (min-width: 801px) and (max-width: 1199px) {
    #hero.container-fluid {
        background-image: none;
        padding: 35px 0;
        margin-bottom: -20px;
    }

    #hero img.rotate-img {
        display: none;
    }
}

@media only screen and (min-width: 801px) and (max-width: 1200px) {
    #hero .hero-text {
        padding: 50px 0;
    }

    #hero img.rotate-img {
        width: 100px;
        height: auto;
        top: 40%;
        right: 35%;
    }

    #hero .hero-text p:first-of-type {
        width: 100%;
    }
}


@media only screen and (min-width: 1201px) and (max-width: 1400px) {
    #hero .hero-text {
        padding: 50px 0;
    }

    #hero.container-fluid {
        height: fit-content;
        background-size: 100%;
        min-height: fit-content;
        padding: 50px 0;
    }

    #hero img.rotate-img {
        width: 100px;
        height: auto;
        top: 55%;
        right: 45%;
    }

    #hero .hero-text p:first-of-type {
        width: 100%;
    }
}