.custom-slideshow {
    max-width: 1200px;
    margin: 2rem auto;
    position: relative;
}

.custom-slide {
    display: none;
    align-items: center;
    gap: 2rem;
    padding: 1rem;
}

.custom-slide.active {
    display: flex;
}

#custom-prev, #custom-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    background: rgba(0,0,0,0.5);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
}

#custom-prev { left: 1rem; }
#custom-next { right: 1rem; }


.tab {
    overflow: hidden;
    background-color: #f1f1f1;
    justify-self: center;
    border-radius: 20px;
}
.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    font-size: 17px;
}
.tab button:hover {
    background-color: #ddd;
}
  
  /* Create an active/current tablink class */
.tab button.active {
    background-color: white;
    border-left: 7px solid var(--primary);
    border-radius: 20px;
    font-weight: bold;
}
.tabcontent {
    display: none;
    padding: 6px 12px;
    -webkit-animation: fadeEffect 1s;
    animation: fadeEffect 1s;
  }
  
  /* Fade in tabs */
  @-webkit-keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
  }
  
  @keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
  }

.h2h{
    padding-left: 20px;
    position: relative;
    border-left: 7px solid var(--primary);
    font-weight: bold;
    border-radius: 20px;
    justify-self: center;
}

.prop_location {
    background-color: aqua;
    border-radius: 30px;
}

.lasted{
    background-color: #ffffff;
    
    border-radius: 30px;
    padding: 50px;
    margin-top: 20px;
    align-content: space-evenly;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.lasted_first{
    display: flex;
    justify-content: space-between;
}

.lasted_first h3{
  color: var(--primary);
}

.tr{
  margin: 10px 90px 10px 90px;
}

.box {
  padding: 1em;
  text-align: center;
  background-color: #efefef;
  border-radius: 30px;
  margin: 10px;
  background-color: antiquewhite;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.box:hover {
      transform: translateY(-8px);
      box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }


/* Our Grid Code */
.app-layout {
  display: grid;
}

/* try to resize the screen */
@media screen and (max-width: 1024px) {
  .app-layout {
    display: grid;
    grid-template-columns: 1fr;
  }
  .box{
    border-radius: 0px;
  }
  .tr{
    margin: 0px;
  }
}

.h3_red h3{
      color: var(--primary);
}