.section.section-slides {display: flex;flex-direction: column;align-items: center;justify-content: center;max-width: 1920px;height: calc(100vh - 5.2857142857rem);min-height: 650px;max-height: 1080px;margin: 0 auto;margin-top: -6.4285714286rem; } .section.section-slides .section {align-self: flex-start; } .section.section-slides .carousel {display: block;position: relative;width: 100%;height: 100%;padding-top: 3.5714285714rem; } .section.section-slides .carousel .holder {height: 100%;overflow: hidden; } .section.section-slides .carousel .holder .row {flex-wrap: nowrap;position: relative;height: 100%; } .section.section-slides .carousel .holder .col {flex-shrink: 0;height: 100%; } .section.section-slides .carousel .holder .item {position: relative;border: 0;width: 100%;height: calc(100vh - 5.2857142857rem);min-height: 650px;max-height: 1080px;display: flex;justify-content: center;overflow: hidden; } .section.section-slides .carousel .holder .item > picture {width: 100%; } .section.section-slides .carousel .holder .slide {height: 100%; } .section.section-slides .carousel .holder .img-fluid {width: 100%;height: 100%;object-fit: cover; } .section.section-slides .carousel .holder .container {display: flex;align-items: center;justify-content: center;flex-direction: column;position: absolute;z-index: 1;height: 100%;top: 0;left: 50%;transform: translateX(-50%); } .section.section-slides .carousel .holder .container p {margin-top: 3.2857142857rem;font-size: 2.2857142857rem;color: var(--white);max-width: 42.8571428571rem;text-align: center; } 