html {
    scroll-behavior: smooth;
}

body {
    background: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    color: black;
    width: 100%;
    overflow-x: hidden;
    font-size: 15px;
    line-height: 22px;
    scroll-behavior: smooth;
}

#content > * {
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    width: calc(100% - 160px);
}

.wp-block-image,
img {
    width: 100%;
    display: block;
    height: auto;
}

p {
    margin-bottom: 25px;
    font-size: 30px;
    line-height: 120%;
    font-weight: 800;
}

p.has-small-font-size {
    font-size: 16px !important;
    line-height: 120%;
    margin-bottom: 10px;
}
p.has-medium-font-size {
    font-size: 30px;
    line-height: 120%;
    margin-bottom: 25px;
}
p.has-large-font-size {
    font-size: 50px !important;
    line-height: 120%;
}
p.has-x-large-font-size {
    font-size: 150px !important;
    line-height: 120%;
}

a {
    cursor: pointer;
}

p a {
    color: black;
    text-decoration: underline;
}

p a:hover {
    color: black;
    text-decoration: none;
}

b, strong {
    font-weight: 700;
}

hr {
    color: black !important;
    background: black !important;
    border: 0;
    height: 1px;
    margin: 25px 0;
}

.has-text-align-center {
    text-align: center;
}

.has-text-align-right {
    text-align: right;
}

figure,
.wp-block-cover {
    position: relative;
}

.wp-block-cover .wp-block-cover__inner-container {
    background: rgba(0,0,0,0.5);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    box-sizing: border-box;
    color: white;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: none;
}

.wp-block-cover:hover .wp-block-cover__inner-container {
    display: flex;
}

#content > figure,
#content > figure.is-style-default {
    padding: 0 100px;
    box-sizing: border-box;
    margin-bottom: 40px;
}

#content > figure.wp-block-image.is-style-stretch {
    padding: 0;
    box-sizing: border-box;
    width: 100%;
    margin-bottom: 0;
}

#content > figure.wp-block-image.is-style-stretch + figure:not(.is-style-stretch),
#content > figure.wp-block-image.is-style-stretch + figure.is-style-default {
    margin-top: 40px;
}

#content figure.wp-block-image.is-style-rounded img {
    border-radius: 80px;
    overflow: hidden;
}

@media (max-width: 768px) {
    #content > * {
        width: calc(100% - 40px);
    }
    p.has-large-font-size {
        font-size: 40px !important;
    }
    p.has-x-large-font-size {
        font-size: 150px !important;
        line-height: 110%;
        hyphens: auto;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    #content > figure, #content > figure.is-style-default {
        width: 100%;
        padding: 0 20px;
    }
}