/*------------------------------------
 * CSS
 ------------------------------------*/

.header-carousel {
    height: 40vh;
}

@media (min-width: 768px) {
    .header-carousel {
        height: 40vh;
    }
}

@media (min-width: 1024px) {
    .header-carousel {
        height: 45vh;
    }

    /* .header-carousel.has-navigation {
        height: calc(70vh - 95px);
    } */
}

@media (min-width: 1367px) {
    .header-carousel,
    .header-carousel.has-navigation {
        height: 43vh;
    }
}

.carousel-item {
    position: relative;
}

.carousel-item__image {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.carousel-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;

    transform: translateZ(0) scale3d(1.1,1.1,1.1);
    animation: image-zoom-out 10s 1s forwards ease-in-out;
}

.carousel-item__image .image-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(rgba(255, 255, 255, 1) 10%, transparent);
}

@media (min-width: 1024px) {
    .carousel-item__image .image-overlay {
        height: 70%;
        background: linear-gradient(rgba(255, 255, 255, 1), transparent);
    }
}

.carousel-item__body {
    height: 100%;
    padding-top: 105px;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    box-sizing: border-box;
}

@media (min-width: 360px) {
    .carousel-item__body {
        height: 90%;
        justify-content: space-between;
    }
}

@media (min-width: 1024px) {
    .carousel-item__body {
        height: 90%;
        padding-top: 150px;
        justify-content: space-between;
    }
}

@media (min-width: 950px) {
    .carousel-item__body {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width: 1025px) {
    .carousel-item__body {
        padding-top: 120px;
    }
}

@media (min-width: 1367px) {
    .carousel-item__body {
        padding-top: 150px;
    }
}

.carousel-item__body .body-left {
    flex-direction: column;
}

.carousel-item__body .body-right {
    display: none;
    /* background: var(--portal-purple);
    padding: 20px; */
}

@media (min-width: 1024px) {

    .carousel-item__body .body-left,
    .carousel-item__body .body-right {
        flex: 1;
        display: inline-flex;
    }

    .carousel-item__body .body-right {
        padding: 0;
        background: none;
        display: inline-flex;
        justify-content: flex-end;
        align-items: center;
    }

    .carousel-item__body .body-left {
        justify-content: flex-start;
    }
}

.carousel-item__body .body-left h1,
.carousel-item__body .body-left h3 {
    width: 100%;
    font-size: 1.0rem;
    line-height: 1.2;
} 

@media (min-width: 768px) {
    .carousel-item__body .body-left h1,
    .carousel-item__body .body-left h3 {
        font-size: 2.3rem;
    }   
}

@media (min-width: 1367px) {
    .carousel-item__body .body-left h1,
    .carousel-item__body .body-left h3 {
        /* width: 75%; */
        margin-top: 10%;
        font-size: 3.0rem;
        line-height: 1.2;
    }   
}

.carousel-item__body .body-left p {
    font-size: 1em;
}

@media (min-width: 1025px) {
    .carousel-item__body .body-left p {
        font-size: 1.6em;
    }   
}

.carousel-circle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}

.carousel-circle > * {
    color: #fff;
}

.carousel-circle:hover {
    color: #fff;
}

@media (min-width: 1024px) {
    .carousel-circle {
        width: 350px;
        height: 350px;
        background-color: var(--portal-purple);
        border-radius: 50%;
        align-items: center;
    }
}

@media (min-width: 1367px) {
    .carousel-circle {
        width: 410px;
        height: 410px;
    }
}

@media (min-width: 1024px) {
    .carousel-circle__icon,
    .carousel-circle__text,
    .carousel-circle__subtext {
        width: 60%;
    }
}

@media (min-width: 1367px) {
    .carousel-circle__icon,
    .carousel-circle__text,
    .carousel-circle__subtext {
        width: 70%;
    }
}


.carousel-circle__text,
.carousel-circle__subtext {
    font-size: 1em;
    color: inherit;
}

@media (min-width: 1367px) {
    .carousel-circle__text,
    .carousel-circle__subtext {
        font-size: 1.1em;
    }
}

.carousel-circle__subtext {
    margin-top: 10px;
    font-weight: bold;
}

@media (min-width: 1024px) {
    .carousel-circle__subtext {
        margin-top: 20px;
    }
}

.carousel-circle__icon {
    text-align: center;
    margin-bottom: 15px;
}

.carousel-circle__icon img {
    height: 80%;
}

@media (min-width: 1367px) {
    .carousel-circle__icon img {
        height: 100%;
    }
}

/*------------------------------------
 * Font White
 ------------------------------------*/

.carousel-item.item-white .body-left {
    color: #fff;
}

.carousel-item.item-white .image-overlay {
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
}