
:root {
    --font-san: -apple-system, Helvetica, 
        'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 
        'Open Sans', 'Helvetica Neue', sans-serif;
}
html {
    scroll-behavior: smooth;
}
body {
    font-size: 1.25vw;
    /* margin: 0 10vw; */
    margin: 0;
    /* font-family: Palatino; */
    background: lavender;
    background: #f6f6f6;
}
div.space {
    height: 8em;
}
hr {
    border: none;
    height: 1px;
    background-color: currentColor;
}

img {
    width: 100%;
    object-position: center;
    object-fit: cover;
}
small {
    display: block;
    opacity: .68;
    font-size: .6em;
    font-family: Palatino;
}

/* #region Usables */
.rel {
    position: relative;
}

.fx {
    position: fixed;
}
.ab {
    position: absolute;
}
.ab.center {
    left: 0;
    right: 0;
    margin: auto;
}
.ab.btm {
    bottom: 0;
}
.ab.top {
    top: 0;
}

.flx {
    display: flex;
}
.flx.center {
    justify-content: center;
    align-items: center;
}

.grid {
    display: grid;
}
.grid.split {
    grid-template-columns: 1fr 1fr;
}
/* #endregion */

/* #region z-two */
.z-two {
    text-align: center;
    color: transparent;
    font-size: 2em;
    background: transparent;
    padding: .12em .4em;
    border-radius: 1em;
    text-decoration: none;

    transition: 1s background, 1s color;
    animation: enter 4s, glow 1.4s ease-in-out 3.8s 3, exit 1s 8s;
}
.z-two:hover {
    background: #c5c5f3 !important;
    color: white !important;
}

@keyframes enter {
    75% {
        box-shadow: -.64em 0 #fff0;
        /* background: transparent; */
    }
    100% {
        box-shadow: -.64em 0 #fff8;
        /* background: lavenderblush; */
    }
}
@keyframes glow {
    0% {
        /* background: lavenderblush; */
        box-shadow: -.64em 0 #fff8;
    }
    40% {
        /* background: lavenderblush; */
        box-shadow: -.64em 0 #fff8;
        color: #c5c5f3;
    }
    60% {
        /* background: lavenderblush; */
        box-shadow: -.64em 0 #fff8;
        color: #c5c5f3;
    }
    100% {
        /* background: lavenderblush; */
        box-shadow: -.64em 0 #fff8;
    }
}
@keyframes exit {
    0% {
        /* background: lavenderblush; */
        box-shadow: -.64em 0 #fff8;
    }
    50% {
        /* background: lavenderblush; */
        box-shadow: -.64em 0 #fff8;
        color: c5c5f3;
    }
}
@keyframes fade-in {
    from {
        opacity: 0;
    }
    90% {
        opacity: 0;
    }
}
/* #endregion */

.z-three hr {
    color: #c5c5f3;
    height: 0.2em;
}
.z-three p {
    background: lavender;
    font-size: 2em;
    margin: -1.68em;
    padding: 0.85em 1.125em;
    width: .75em;
    height: 1.25em;
    text-align: center;
    border-radius: 4em;
    border: 0.125em solid #879bcf;
}

.z-four {
    background: url(./img/x-35-sm.jpg) 50% 25%/cover;
    /* background: repeating-linear-gradient(45deg, #c5c5f3 0, #c5c5f3 3em, #ababdd 3em, #ababdd 4em); */
    padding: 6em 8em;
    color: #222d;
    color: #fffd;
    /* border-radius: .5em; */
    font-family: var(--font-san);
}
.z-four a {
    color: inherit;
    text-decoration: none;
}

.z-five {
    margin-top: 4em;
    font-size: 1.125em;
    line-height: 1.5;
    color: #879bcf;
    font-family: Palatino;
}
.z-five span {
    color: #a2cecd;
    border-bottom: .06em solid;
}
.z-five a {
    color: #76b1c7;
    /* display: block; */
    text-decoration: none;
}

.z-six {
    margin: 2em;
    font-size: 1.25em;
    height: 100vh; 
    border-top: .25em solid #879bcf; 
    /* background: white; */
}
.z-six h2 a {
    font-size: 1.25em;
    color: white;
    background: #76b1c7;
    padding: .25em .75em;
    text-decoration: none;
}
.z-eight h3 small {
    background: #879bcf;
    position: absolute;
    top: calc(50% - 3em);
    color: white;
    padding: .2em .6em;
    opacity: 1;
    font-size: .8em;
}
.z-eight h3 a, .z-eight h3 span {
    font-family: var(--font-san);
    color: white;
    background: #879bcf;
    padding: .5em 1.25em;
    text-decoration: none;
}
.z-eight p {
    max-width: 400px;
    font-size: 1.125em;
    line-height: 1.5;
    font-family: Palatino;
}



.grid.one {
    font-size: 1.25em;
    grid-template-columns: 1fr 2fr;
    padding: 0 10vw;
    padding-bottom: 6em;
    background: linear-gradient(90deg, #f6f6f6 2em, lavender 0)
}
.grid.one img {
    border-radius: .5em;
}
.grid.one.x {
    grid-template-columns: 1fr 2fr;
    padding: 0 10vw;
    padding-bottom: 12em;
    background: linear-gradient(90deg, lavender 98%, #f6f6f6 0)
}
.flx.two {
    z-index: 2;
    font-size: 1.125em;
    background: #879bcff8;
    box-shadow: 0 0 1.4em -.12em #0004;
    border-radius: .25em;
}
.flx.two p {
    /* font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif; */
    font-family: Palatino;
    font-style: italic;
    transform: skewX(11deg);
}
.flx.two p:hover {
    /* border-bottom: 1px solid; */
    text-decoration: underline;
}

.mar {
    margin: 0 6em;
}

img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
img.ab {
    z-index: -2;
}
/* CSS for Image Abs Captions
.img {
    position: relative;
}
.img aside {
    position: absolute;
    bottom: 4em;
    left: -2em;
}
.img aside span {
    font-family: var(--font-san);
    background: white;
    box-shadow: 0 .4em 1.2em -.6em #0008;
    border-radius: .25em;
    padding: 1em 2em;
    display: none;
} */
/* 
@media screen AND (max-width: 700px) {
    body {
        font-size: 2.25vw;
    }
    .grid {
        grid-template-columns: 1fr !important;
        row-gap: 1em;
    }
    .grid > div {
        min-height: 42vh;
    }
    div.space {
        height: 2em;
    }
    .mar {
        margin: 0;
    }
} */
