/* ABOUT US PAGE STYLES */

.md-read-container {
    width: 100%;
    max-width: 1600px;
    margin: auto;
    padding: 10vh 20px;
    text-align: center;
    cursor: default;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.md-read-text {
    font-family: "Alumni Sans", sans-serif;
    font-size: clamp(2rem, 5vw, 90px);
    line-height: 1.0;
    text-transform: uppercase;
    color: #111;
    white-space: normal;
}

.md-char {
    display: inline-block;
    white-space: pre;
    transition: font-weight 0.1s linear;
    will-change: font-weight;
    font-weight: 100;
    text-align: center;
}

.md-word {
    display: inline-block;
    white-space: nowrap;
    margin-right: 0.25em;
}

.slideshow {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    background: #000;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slideshow.loaded {
    opacity: 1;
}

.slide {
    height: 100vh;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    will-change: transform;
}

.slide.slide-1 { background-color: #f9f7f2; }
.slide.slide-2 { background-color: #ffffff; }
.slide.slide-3 { background-color: #f2f2f2; }
.slide.slide-4 { background-color: #faebeb; }

.slide_container {
    display: flex;
    width: 100%;
    height: 100%;
}

.slide_container.is--reverse {
    flex-direction: row-reverse;
}

.slide_image-wrapper {
    flex: 1;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.slide_image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.slide_content-wrapper {
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 4rem;
    text-align: center;
}

.slide_content {
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.slide_content-heading {
    font-family: 'Forum', serif; /* Fallback to Forum as Abril Fatface is too bold */
    font-size: 3.5vw;
    line-height: 1.1;
    font-weight: 400;
    margin: 0;
    color: #1a1a1a;
}

.slide_content-text {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #555;
    max-width: 500px;
}

.main-button-round {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid #111;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    text-decoration: none;
    color: #111;
    transition: 0.3s;
}

.main-button-round:hover {
    background: #111;
    color: #fff !important;
}

@media (max-width: 991px) {
    .slide_container, .slide_container.is--reverse { flex-direction: column; }
    .slide_image-wrapper { flex: 1.5; }
    .slide_content-wrapper { flex: 1; padding: 2rem; }
    .slide_content-heading { font-size: 3rem; }
    .slide_content-text { font-size: 0.9rem; }
}
