
/*-------------------------------------
        1. Carousel
--------------------------------------*/
.carousel {
    position: relative;
    width: 100%;
    height: 750px;
}

.slide-header {
  position: absolute;       /* fixed relative to carousel */
  top: 15px;                /* distance from top */
  left: 15px;               /* distance from left */

  background-color: #0096FF; /* Northwestern Purple later --> #4E2A84*/
  color: white;
  font-weight: 700;
  text-transform: uppercase;
  padding: 8px 15px;
  border-radius: 3px;
  font-size: 14px;
  z-index: 3;               /* above images and captions */
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.slides {
    position: relative;
    width: 100%;
    height: 100%;
    
}

.slide {
    position: absolute; /* makes sure each slide is held within the slides div */
    width: 100%;
    height: 100%;
    top: 0;  
    left: 0; /*ensures initial position of the slides start at top-left */
    opacity: 0; /*invisible because slides are stacked on top of each other, just hidden...*/
    transition: opacity 1s ease-in-out;

}

.slide.active {
    opacity: 1; /*when a slide is active, it is transitioned*/
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit:cover;
    object-position: center; 
}

.caption { 
    position: absolute;
    bottom: 50px;
    left: 0px;
    z-index: 2;
    text-align: left;

    background-color: rgba(0, 0, 0, 0.5);
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 30px;
    max-width: 500px;
    max-height: 235px;
    height: auto;
    width: 80%;
}

.caption h2 {
    color: white;
    font-size: clamp(24px, 2.25vw, 48px);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.5;
}

.caption h3 {
  color: #fff;
  font-size: clamp(12px, 2.5vw, 18px);
  font-weight: 500;
  margin: 0 0 5px 0;
}

.caption p {
    color: #fff;
    font-size: 20px;
    font-weight: 300;
    text-transform: uppercase;
    margin: 30px 0 60px;
    letter-spacing: 1px;
}


.indicators { 
    position: absolute;
    display: flex;
    left: 50%; /* centers the top-left corner of the indicators horizontally */
    bottom: 50px;
    transform: translateX(-50%); /* shifts the indicators left by half its width to be perfectly centered */
    z-index: 10;
    
}

.dot {
    width: 20px;
    height: 20px;
    margin: 0 15px;
    background:gray;
    border: 1px solid rgba(255, 255, 255, 1);
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background: black;
}

@media (max-width: 768px) {
    .caption {
        bottom: 100px;
    }

    .dot {
        margin: 0 20px;
        width: 30px;
        height: 30px;
    }
}
/*========================Thank you=================
