﻿/* Carousel container */
.carousel {
    position: relative;
    max-width: 100vw;
    overflow: hidden;  /*Important for hiding excess image content */
/*    top: -97px;*/
    height: 100vh;
}

.carousel-images {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel .item-carousel {
    position: relative;
    min-width: 100%;
    height: 100%;
}
.carousel img {
    width: 100vw;
    height: 100%;
    object-fit: cover;
}
.carousel video {
    width: 100vw;
    height: 100%;
    object-fit: cover;
}

.carousel div .cta {
    position: absolute;
    text-align: center;
    display:flex;
    flex-direction: column;
    align-items: center;
    height: max-content;
    width:100vw;
    left: 0;
    top: 47%;
}
.carousel .cta p {
    font-weight: 600;
    font-size: 2.5rem;
    letter-spacing: 0.03em;
    width: 100%;
    text-transform: uppercase;
    color: white;
}
.carousel .cta a {
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    /*    background-color: #18189e;*/
    background-color: #0000002b;
    color: white;
    border-radius: 7px;
    border:1px solid white;
    margin-top: 1rem;
    padding: 0.7rem 1.4rem;
}
    .carousel div a:hover {
        background-color: white;
        color: #18189e;
        transition: .2s ease;
    }
/*
 Navigation buttons */
.carousel .prev,
.carousel .next {
    position: absolute;
    top: 48%;
    transform: translateY(-50%);
    margin: 1rem 0;
    padding: 1rem;
    cursor: pointer;
    font-size: 3rem;
    color: #ffffff29;
    background-color: rgba(0, 0, 0, 0.0);
    border: none;
    border-radius: 0%;
    user-select: none;
    height: 100%;
    justify-content: center;
    align-content: center;
}

.carousel .prev {
    left: 0px;
    text-decoration: none;
}

.carousel .next {
    right: 0px;
    text-decoration: none;
}

.carousel .prev:hover {
    background: rgb(2 0 36);
    background: linear-gradient(90deg, rgb(255 255 255 / 20%) 0%, rgb(255 255 255 / 0%) 100%);
}


.carousel .next:hover {
    background: rgb(255,255,255);
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255 255 255 / 20%) 100%);
}
@media (max-width:1200px) {
    .carousel .cta p {
        font-size: 2rem;
    }
    .carousel div .cta {
        top: 47.5%;
    }
}
@media (max-width:600px) {
    .carousel .cta p {
        font-size: 1.7rem;
    }
    .carousel div .cta {
        top: 47.9%;
    }
}
/* Hide buttons on small screens */
@media (max-width: 768px) {

    .carousel .prev,
    .carousel .next {
        
    }
}


/* Hide buttons on small screens */
@media (max-width: 468px) {

    .carousel .prev,
    .carousel .next {
        padding:0;
    }
}













