@import 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css';

.catalog{
    padding: 5em 3em;
    position: relative;
    
}



.slider {
    width: 100%;
    height: 70vh;
  }
  
  .slider .controls {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    z-index: 2;
  }
  
  .slider .controls > div {
    position: absolute;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
  }
  
  .slider .controls > .up:active {
    transform: translateY(-10px);
  }
  
  .slider .controls > .down:active {
    transform: translateY(10px);
  }
  
  .slider .controls > .up {
    top: 0px;
    right: 0px;
    background: #fff;
    color: #111;
    border-radius: 0 5px 5px 0;
  }
  
  .slider .controls > .down {
    bottom: 0px;
    left: 0px;
    background: linear-gradient(#0cbaba, #380036);
    color: #fff;
    border-radius: 5px 0 0 5px;
  }
  
  .slider .wrapper {
    width: 100%;
    height: 100%;
    display: flex;
  }
  
  .slider .wrapper .left,
  .slider .wrapper .right {
    width: 50%;
    overflow: hidden;
    background-color: white;
  }
  
  .slider .wrapper .left > div,
  .slider .wrapper .right > div {
    width: 100%;
    height: 100%;
    transition: all 0.5s ease-in-out;
  }
  
  .slider .wrapper .left > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0px 90px 0px 40px;
  }
  
  .slider .wrapper .left > div h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 25px;
    background: -webkit-linear-gradient(90deg, #0cbaba, #380036);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
  
  .slider .wrapper .left > div p {
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 25px;
    color: #555;
    text-align: justify;
  }
  
  .slider .wrapper .right > div img {
    width: 100%;
    height: 100%;
    object-fit: obtain;
  }
  .image-container {
    position: relative;
  }
  
  .right .favorite-icon {
    position: absolute;
    top: 1em;
    right: 1em;
    font-size: 2em;
    color: white; /* Стартов цвят */
    cursor: pointer;
    transition: color 0.3s ease;
  }
  .read-more{
    width: 45%;
    text-align: center;
    padding: 0.7em 1.5em;
    color: black;
    margin-top: 2em;
    font-size: 1.2em;
    font-weight: bold;
    text-decoration: none;
    background-color: rgb(255 85 13);
    border-radius: 15px;
  }
  /* Стилове за когато елементът е добавен към любими */
  .image-container .fa-heart {
    color: red; /* Цвят при 'любим' */
  }
  /* .slider .wrapper .right div:nth-child(1) {
    margin-top: -400vh;
  } */