.hero {
    padding: 0;
    color: #fff;
}

.hero .carousel {
    width: 100%;
    /* min-height: calc(100vh - 100px); */
    height: 600px;
    padding: 0;
    margin: 0;
    position: relative;
}

.hero img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    z-index: 1;
}

.hero .carousel-item {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero .carousel-item:before {
    content: "";
    background: #000 transparent 60%;
    position: absolute;
    inset: 0;
    z-index: 2;
}

.hero .carousel-container {
    position: absolute;
    inset: 140px 120px 64px 120px;
    display: flex;
    justify-content: left;
    align-items: left;
    flex-direction: column;
    z-index: 3;
    width: 60%;
}

.hero h1 {
    font-family: 'Lato-Black';
    margin-bottom: 30px;
    font-size: 48px;
    animation: fadeInDown 1s both;
}

.hero h2 {
    font-family: 'Lato-Black';
    margin-bottom: 30px;
    font-size: 48px;
    animation: fadeInDown 1s both;
}

.hero p {
    font-size: 24px;
    animation: fadeInDown 1s both 0.2s;
}

.hero .carousel-container a {
    color: #fff;
    font-family: 'Poppins-Regular';
    font-weight: 500;
    font-size: 15px;
    display: inline-block;
    padding: 8px 32px;
    border-radius: 50px;
    transition: 0.5s;
    margin: 10px;
    animation: fadeInUp 1s both 0.4s;
    text-decoration: none;
    border: 1px solid #fff;
}

.hero .carousel-container a:hover {
    background: #fff;
    color: #000;
}

.hero .carousel-container a i {
    font-size: 22px;
    vertical-align: -.135em;
}

@media only screen and (min-width:320px) and (max-width:479px) {
    .hero .carousel-container a {
        font-size: 14px;
        padding: 8px 18px;
        margin: 10px 0px;
    }
    .hero h1 {
        font-size: 26px;
        margin-bottom: 10px;
    }
    .hero h2 {
        font-size: 26px;
        margin-bottom: 10px;
    }
    .hero p {
        font-size: 16px !important;
    }
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
    .hero .carousel-container a {
        font-size: 14px;
        padding: 8px 18px;
        margin: 10px 0px;
    }
    .hero .carousel {
        height: 600px;
        min-height: auto;
    }
    .hero h1 {
        font-size: 26px;
        margin-bottom: 10px;
    }
    .hero h2 {
        font-size: 26px;
        margin-bottom: 10px;
    }
    .hero p {
        font-size: 16px !important;
    }
}


/* @media (min-width: 480px) {
    .hero .carousel {
        height: 500px;
        min-height: auto;
    }
    .hero h2 {
        font-size: 26px;
        margin-bottom: 10px;
    }
    .hero p {
        font-size: 16px !important;
    }
    .hero img {
        height: 500px;
    }
    .hero .carousel-container {
        width: 30%;
    }
} */

@media (max-width: 768px) {
    .hero h1 {
        font-size: 26px;
        margin-bottom: 10px;
    }
    .hero h2 {
        font-size: 26px;
        margin-bottom: 10px;
    }
    .hero p {
        font-size: 16px !important;
    }
    .hero .carousel {
        height: 600px;
        min-height: auto;
    }
    .hero img {
        height: 550px;
    }
    .hero .carousel-container {
        inset: 120px 50px;
        width: 50%;
    }
}

@media (min-width: 1024px) {
    .hero h1,
    .hero h2,
    .hero p {
        max-width: 60%;
    }
}

.hero .carousel-control-prev,
.hero .carousel-control-next {
    width: 10%;
    transition: 0.3s;
    opacity: 0.5;
    text-decoration: none;
}

.hero .carousel-control-prev:focus,
.hero .carousel-control-next:focus {
    opacity: 0.5;
}

.hero .carousel-control-prev:hover,
.hero .carousel-control-next:hover {
    opacity: 0.9;
}

@media (min-width: 1024px) {
    .hero .carousel-control-prev,
    .hero .carousel-control-next {
        width: 5%;
    }
}

.hero .carousel-control-next-icon,
.hero .carousel-control-prev-icon {
    background: none;
    font-size: 32px;
    line-height: 1;
}

.hero .carousel-indicators {
    list-style: none;
}

.hero .carousel-indicators li {
    cursor: pointer;
}

.carousel-fade .carousel-item-next.carousel-item-start,
.carousel-fade .carousel-item-prev.carousel-item-end,
.carousel-fade .carousel-item.active {
    transition: all 0.3s ease-out 0s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 100%, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -100%, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}


/* Landscape */

@media only screen and (max-device-width: 926px) {
    .hero h1 {
        font-size: 26px;
        margin-bottom: 10px;
    }
    .hero h2 {
        font-size: 26px;
        margin-bottom: 10px;
    }
    .hero p {
        font-size: 16px !important;
    }
    .hero .carousel {
        height: 600px;
        min-height: auto;
    }
    .hero img {
        height: 550px;
    }
    .hero .carousel-container {
        inset: 120px 50px;
        width: 50%;
    }
}

@media only screen and (min-width:1024px) and (max-width:1280px) {
    .hero h1 {
        font-size: 26px;
        margin-bottom: 10px;
    }
    .hero h2 {
        font-size: 26px;
        margin-bottom: 10px;
    }
    .hero p {
        font-size: 16px !important;
    }
    .hero .carousel {
        height: 600px;
        min-height: auto;
    }
    .hero img {
        height: 500px;
    }
    .hero .carousel-container {
        inset: 120px 50px;
        width: 50%;
    }
}

@media only screen and (min-width:1200px) and (max-width:1440px) {
    .hero .carousel {
        height: 600px;
        min-height: auto;
    }
}

@media (min-width: 1920px) {
    .hero h1 {
        font-size: 48px;
        margin-bottom: 10px;
    }
    .hero h2 {
        font-size: 48px;
        margin-bottom: 10px;
    }
    .hero p {
        font-size: 24px !important;
    }
    .hero .carousel {
        height: 600px;
    }
    .hero img {
        height: 500px;
    }
    .hero .carousel-container {
        inset: 120px 320px;
        width: 50%;
    }
}


/*Portrait*/

@media only screen and (min-device-width: 800px) and (orientation: portrait) {
    .hero h1 {
        font-size: 26px;
        margin-bottom: 10px;
    }
    .hero h2 {
        font-size: 26px;
        margin-bottom: 10px;
    }
    .hero p {
        font-size: 16px !important;
    }
    .hero .carousel {
        height: 600px;
        min-height: auto;
    }
    .hero img {
        height: 550px;
    }
    .hero .carousel-container {
        inset: 120px 50px;
        width: 50%;
    }
}