@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "IBM Plex Sans", sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    color: #1c1c1c;
    background-color: #fffff7;
}

header {
    color: white;
    padding: 20px;
}

.header__brand {
    width: 169px;
    display: block;
}

.header__brand-image {
    width: 100%;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

main {
    padding: 0;
}

.iframe-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
    position: absolute;
    top: 0;
    left: 0;
}

footer {
    padding: 20px;
}

/* Modal Popup Styles */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
}

.modal--open {
    display: flex;
    transition: 0.25s ease-out all;
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: #fffff7;
    max-width: 1258px;
    width: 90%;
    max-height: 94%;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-flow: row wrap;
}

.has-image .modal-column {
    width: 50%;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #1c1c1c;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover,
.modal-close:focus {
    color: #666;
}

.modal-close:focus-visible {
    outline: 1px dashed #1c1c1c;
}

.modal-content h2 {
    margin-bottom: 20px;
    color: #1c1c1c;
    font-size: 24px;
}

.modal-content p {
    line-height: 1.6;
    color: #1c1c1c;
    font-size: 16px;
}

.modal-image {
    width: 100%;
    display: block;
}

.modal-column--text {
    padding: 60px 50px;
}

.modal-column--image {
    display: none;
}

.has-image .modal-column--image {
    display: block;
}

.format-text p {
    margin-bottom: 20px;
}

a:focus-visible {
    outline: 1px dashed #1c1c1c;
}