@charset "utf-8";
/* CSS Document */
/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Container for cards */
.card-container {
	padding-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

/* Individual card styles */
.card {
    width: calc(50% - 20px); /* Adjust as needed */
    margin-bottom: 20px;
    perspective: 1000px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 390px; /* Adjust card height */
    transform-style: preserve-3d;
    transition: transform 0.5s;
}

.card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 0;
    background-color: #fff;
    border: 0 solid #ddd;
}

.card-back {
    transform: rotateY(180deg);
}

/* Additional styling (customize as needed) */
.card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}
.card p {
	padding-top: 10px;
    text-align: center;
    font-size: 16px;
    color: #333;
}
.card p.small  {
	padding-top: 10px;
    text-align: center;
    font-size: 15px;
    color: #333;
}
.card quote {
    text-align: center;
    font-size: 16px;
	font-weight: bold;
    color: #333;
}
.card h2 {
    text-align: center;
    font-size: 18px;
    color: #333;
}
.card h3 {
    text-align: center;
    font-size: 14px;
    color: #333;
}


/* Slideshow container */
.slideshow-container {
    max-width: 900px; /* default was 1000px */
    position: relative;
    margin: auto;
	padding-top: 20px;
}
/* Hide the images by default */
.mySlides {
    display: none;
}

/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 86%; /* default was 50% */
    width: auto;
    margin-top: -18px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 2px 0;
    user-select: none;
}

/* Position the "previous button" to the left */
.prev {
    left: 0;
    border-radius: 2px 0 0 2px;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 2px 0 0 2px;
}

/* On hover, add a black background color with a little bit of transparency */
.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Caption text */
.text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
	background-color: rgba(0, 0, 0, 0.5);
}

/* Number text (1/3 etc.) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
	background-color: rgba(0, 0, 0, 0.5);
}

/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #000;
    border-radius: 50%;
    display: inline-block;
	text-decoration: none;
}

.dot:active, .dot:hover, .dot:focus, .dot:enabled {
    background-color: #222;
    margin: 0 2px;
	text-decoration: none;
	border: 1px solid #000;
}
.dot:after {
	text-decoration: none;
	color: transparent;
	background-color: transparent;
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 4.5s;
}

@keyframes fade {
    from { opacity: 1; }
    to { opacity: 1; }
}
