﻿.carousel-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: auto;
  overflow: hidden;
  box-sizing: border-box; }

.carousel {
  position: relative;
  overflow: hidden;
  z-index: 0; }

.carousel-track {
  display: flex;
  transition: transform 0.5s ease; }

.carousel-card {
  flex: 0 0 25%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: .25rem; }

.carousel-track img {
  width: 100%;
  height: 175px;
  object-fit: cover;
  border-radius: .25rem .25rem 0 0; }

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #e1e1e1;
  color: black;
  border: none;
  font-size: 2rem;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
  opacity: .5;
  height: 4vh;
  width: 4vh;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%; }

.arrow i {
  font-size: .75rem; }

.arrow:hover {
  opacity: 1; }

.arrow.left {
  left: 0; }

.arrow.right {
  right: 0; }

@media (max-width: 1024px) {
  .carousel-card {
    flex: 0 0 33.33%; } }

@media (max-width: 768px) {
  .carousel-card {
    flex: 0 0 50%; } }

@media (max-width: 480px) {
  .carousel-card {
    flex: 0 0 100%; } }
