body {
  background-image: url('img/background.jpg');
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  background-color: #8820b5;
  background-attachment: fixed;
  margin: 0;
  padding: 0;
}

.main-content {
  background-color: none;
}


p {font-family: 'Red Hat Display', Arial, sans-serif;}
h1 {font-size: 38px; font-family: "Suse", sans-serif; font-weight: 800;}

.row .col-md-4> h3, .titluSectiune {
  text-align:center; 
  color:#000; 
  text-transform: uppercase; 
  font-size:18px;
  padding: 10px 20px; 
  margin-bottom: 15px;
  background-color: rgba(255,255,255, 0.7);
  display: block;
  border:1px solid #fff;
}

.col-md-2 > a {display: block; color: #fff; text-decoration: none;  background-color:#98D5F4; text-align: center; padding: 10px 15px; margin-bottom: 2px;}
.col-md-2 > a:hover {background-color:#751B9E;}

#logo {max-width:250px; margin: auto;}

.offer-box {
  background: #FFF;
  color: #fff;
  text-align: center;
  border: 1px solid #fff;
  border-radius: 3px;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.offer-box img, .offer-box1 img {
  width: 100%;
  margin-bottom: 20px;
}

.offer-box a.btn-vezi, .offer-box1 a.btn-vezi {
  background-color: #8820b5;
  color: #ffffff;
  border: none;
  padding: 8px 20px;
  text-decoration: none;
  border-radius: 3px;
  font-weight: bold;
  font-size: 13px;
  display: block;
  margin-left: 15%;
  width: 70%;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.offer-box a.btn-vezi:hover, .offer-box1 a.btn-vezi:hover {
  background-color: #6f1995;
  color: #ffffff;
}

#footer {background: url(img/bg-footer-grad.png) top center repeat-y; background-size: cover; padding-top:50px; min-height: 480px; opacity: 0.8; color:#fff; font-size:14px;}
#footer img {width:200px;}
#footer a, #footer p, #footer ul li {color:#fff; text-decoration: none; font-weight: 300;}
#footer ul {list-style: none; margin-left:0; padding-left: 0; margin-bottom: 40px; line-height: 2em;}


.carousel-wrapper {
      overflow: hidden;
      position: relative;
      margin-bottom: 1.5rem;
    }

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

    .carousel-item-custom {
      flex: 0 0 calc(25% - 15px);
      max-width: calc(25% - 15px);
      background-color: #f8f9fa;
      padding: 0;
      text-align: center;
      border: 1px solid #ddd;
      border-radius: 5px;
    }

    @media (max-width: 768px) {
      .carousel-item-custom {
        flex: 0 0 100%;
        max-width: 100%;
      }
      
    }

@media (max-width: 640px) {
  
  .carousel-wrapper {max-width: 100%;}
  
      .carousel-item-custom {
        flex: 0 0 calc(95% - 5px);
      max-width: calc(95% - 5px);
      }
  
  
}

    .carousel-controls {
      display: flex;
      justify-content: center;
      gap: 20px;
      margin-top: 10px;
    }

    .carousel-controls button {
      min-width: 120px;
      color: #fff;
      border: 1px solid #fff;
      background-color: #8820b5;
    }

@media only screen and (max-width: 600px) {
  h1, p {text-align: center;}
  
  .offer-box a.btn-vezi {
  background-color: #8820b5;
  color: #ffffff;
  border: none;
  padding: 13px 20px;
  text-decoration: none;
  border-radius: 3px;
  font-weight: bold;
  font-size: 13px;
  display: block;
  margin: 0;
  text-transform: uppercase;
    width:80%;
    margin: 10px auto 10px;
}
  
  #logo {margin-left:20%;}
  .offer-box img {  width: 100%;  margin-bottom: 0;}
  
}
