﻿/* Custom Styles */

.carousel-item {
    height: 60vh;
   min-height:350px;
    background: no-repeat center center scroll;
    background-size: cover;
}

.navbar-dark .navbar-brand,
.navbar-nav .nav-link,
.display-4,
.lead,
.font-weight-light {
    font-family: 'Source Serif Pro', serif;
}

.navbar.scrolled {
    background: rgb(34, 31, 31);
    transition: background 500ms;
}

.cards-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Ensure cards wrap to the next line on smaller screens */
}
/*
.card {
    margin: 0.5em;
    box-shadow: 2px 6px 8px 0 rgba(22, 22, 26, 0.18);
    border: none;
    border-radius: 0;
}*/



.card img {
    aspect-ratio: 3/2;
    object-fit: contain;
}

.carousel-inner {
    padding: 1em;
}

.carousel-control-prev,
.carousel-control-next {
    background-color: #e1e1e1;
    width: 5vh;
    height: 5vh;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}



.carousel-item img {
    object-fit: cover;
    width: auto;
}



.navbar-dark .navbar-brand,
.navbar-nav .nav-link,
.display-4,
.lead,
.font-weight-light {
    font-family: 'Source Serif Pro', serif;
}

.navbar.scrolled {
    background: rgb(34, 31, 31);
    transition: background 500ms;
}

.cards-wrapper {
    display: flex;
    justify-content: center;
}

.btn-primary {
    background-color: black;
    padding: 7px 15px !important;
}


.carousel-control-prev,
.carousel-control-next {
    background-color: #e1e1e1;
    width: 5vh;
    height: 5vh;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}
/* Media Queries for Responsive Design */

@media (max-width: 768px) {
    .carousel-item carousel-item active .carousel-inner {
        height: 40vh;
        min-height: 10px;
        /* Adjust height for smaller screens */
    }
    .carousel-caption {
        padding: 0.5rem;
    }

        .carousel-caption h3 {
            font-size: 1.2rem;
        }
}




@media (max-width: 576px) {
    .carousel-item {
        height: 25vh;
        min-height: 10px;
    }
    #carouselExampleControls 
    {
       padding-top:0px;
    }
}

@media (max-width: 992px) {
    .card {
        flex-basis: 45%; /* Adjust card size for medium screens */
    }
}

@media (max-width: 768px) {
    .card {
        flex-basis: 70%; /* Adjust card size for smaller screens */
    }
}

/* Ensure the carousel is full width and responsive */
.carousel-inner  {
    width: 100%;
}

/* Adjust card wrapper layout for mobile */
.card-wrapper {
    padding: 0 15px; /* Add padding to the sides */
}



@media (max-width: 768px) {
    /* Adjust card width for tablets and smaller screens */
    /*.card {
        width: calc(50% - 20px);*/ /* Adjust card width for smaller screens */
    /*}*/
}

