.section.slides {display: flex;flex-direction: column;align-items: center;justify-content: center;width: 100%;height: 100vh;min-height: 600px;max-height: 600px;margin: 0 auto;max-width: 1920px; } .section.slides.no-header-img {z-index: 150; } .section.slides.no-header-img.section-first {margin-top: -8.8888888889rem; } @media (min-width: 768px) {.section.slides {min-height: 806px;max-height: 806px;} } .section.slides .carousel {display: block;position: relative;width: 100%;height: 100%; } .section.slides .carousel .holder {height: 100%;overflow: hidden; } .section.slides .carousel .holder .row {flex-wrap: nowrap;position: relative;height: 100%; } .section.slides .carousel .holder .col {flex-shrink: 0;height: 100%; } .section.slides .carousel .holder .item {position: relative;border: 0;width: 100%;height: 100vh;min-height: 600px;max-height: 600px; } @media (min-width: 768px) {.section.slides .carousel .holder .item {min-height: 806px;max-height: 806px;} } .section.slides .carousel .holder .slide {height: 100%;position: relative; } .section.slides .carousel .holder .video {position: absolute;top: 0;left: 0;width: 100%;height: 100%;object-fit: cover; } .section.slides .carousel .holder .img-fluid {width: 100%;height: 100%;object-fit: cover; } .section.slides .carousel .holder .container {display: flex;align-items: center;justify-content: center;flex-direction: column;position: absolute;z-index: 1;top: 55%;left: 50%;transform: translateX(-50%) translateY(-50%); } @media (max-width: 991.98px) {.section.slides .carousel .holder .container {top: 69%;} } .section.slides .slide-content {background: transparent;padding: 1rem 1.1111111111rem 2.7777777778rem 1.8888888889rem;border: 0.1111111111rem solid var(--white);border-radius: 2.3333333333rem;color: var(--white);display: flex;flex-direction: column;align-items: flex-start;align-self: flex-start;min-height: 15rem;margin-top: 2.5rem;max-width: 37.7777777778rem; } .section.slides .slide-content h1, .section.slides .slide-content .h1 {color: var(--white);padding: 0.5555555556rem;margin-bottom: 1rem;font-size: 2.2222222222rem;font-weight: 900;text-align: left;letter-spacing: -0.0166666667rem;line-height: 1.2;margin-bottom: 1.0555555556rem; } .section.slides .slide-content p {margin-bottom: 0; } .section.slides .slide-content .content {font-size: 1.3333333333rem;padding-left: 0.7222222222rem;line-height: 1.2;letter-spacing: 0.0111111111rem;max-width: 31.6666666667rem; } 