/*************************************************************/
/*                       Core Styles                         */
/*************************************************************/

.upper{ text-transform: uppercase; }
.caps{ text-transform: capitalize; }
.low{ text-transform: lowercase; }
.underline{ border-bottom: solid 1px black; }

.hidden{ opacity: 0 !important; pointer-events: none !important; }
.box{ box-sizing: border-box; }
.button{ cursor: pointer; }

.elp{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}


.inner-parent a:hover {opacity: .15 !important;}
a:focus, button:focus {outline: 0;}

/*************************************************************/
/*                        Typesetting                        */
/*************************************************************/

.s1, .s2, .s3, .s4{
    font-family: Times New Roman;
    font-style: normal;
    font-weight: normal;
/*    font-size: 22.5px;*/
    font-size: 20px;
    line-height: 120%;
    color: red;
}
/*
.s2{
    font-family: Helvetica Neue;
    font-style: normal;
    font-weight: bold;
    font-size: 16px;
    letter-spacing: -0.01em;
    line-height: 120%;
}
.s3{
    font-family: Helvetica Neue;
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    line-height: 120%;
}
*/

/*************************************************************/
/*                   Margins and Padding                     */
/*************************************************************/

.p-a{ padding: .6rem; }
.p-t{ padding-top: .6rem; }
.p-b{ padding-bottom: .6rem; }
.p-l{ padding-left: .6rem; }
.p-r{ padding-right: .6rem; }

.p-a-h{ padding: .6rem; }
.p-t-h{ padding-top: .6rem; }
.p-b-h{ padding-bottom: .6rem; }
.p-l-h{ padding-left: .6rem; }
.p-r-h{ padding-right: .6rem; }

.p-a-2{ padding: 2.5rem; }
.p-t-2{ padding-top: 1.8rem; }
.p-b-2{ padding-bottom: 2.5rem; }
.p-l-2{ padding-left: 2.5rem; }
.p-r-2{ padding-right: 2.5rem; }

.p-a-3{ padding: 3rem; }
.p-t-3{ padding-top: 3rem; }
.p-b-3{ padding-bottom: 3rem; }
.p-l-3{ padding-left: 3rem; }
.p-r-3{ padding-right: 3rem; }

.p-a-4{ padding: 4rem; }
.p-t-4{ padding-top: 4rem; }
.p-b-4{ padding-bottom: 4rem; }
.p-l-4{ padding-left: 4rem; }
.p-r-4{ padding-right: 4rem; }


.m-a{ margin: 3rem; }
.m-t{ margin-top: 3rem; }
.m-b{ margin-bottom: 3rem; }
.m-l{ margin-left: 3rem; }
.m-r{ margin-right: 3rem; }

    .m-a-h{ margin: .85rem; }
    .m-t-h{ margin-top: .85rem; }
    .m-b-h{ margin-bottom: .85rem; }
    .m-l-h{ margin-left: .85rem; }
    .m-r-h{ margin-right: .85rem; }

        .m-a-q{ margin: .45rem; }
        .m-t-q{ margin-top: .45rem; }
        .m-b-q{ margin-bottom: .45rem; }
        .m-l-q{ margin-left: .45rem; }
        .m-r-q{ margin-right: .45rem; }

.m-a-2{ margin: 3.75rem; }
.m-t-2{ margin-top: 3.75rem; }
.m-b-2{ margin-bottom: 3.75rem; }
.m-l-2{ margin-left: 3.75rem; }
.m-r-2{ margin-right: 3.75rem; }

.m-a-3{ margin: 3rem; }
.m-t-3{ margin-top: 3rem; }
.m-b-3{ margin-bottom: 3rem; }
.m-l-3{ margin-left: 3rem; }
.m-r-3{ margin-right: 3rem; }

.m-a-4{ margin: 5rem; }
.m-t-4{ margin-top: 5rem; }
.m-b-4{ margin-bottom: 5rem; }
.m-l-4{ margin-left: 5rem; }
.m-r-4{ margin-right: 5rem; }

/*************************************************************/
/*                           Core                            */
/*************************************************************/

#page-wrapper{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: white;
    background-color: black;
}
    #content-wrapper{
        position: absolute;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        width: 100%;
        height: 100%;
        z-index: 200;
    }

        #content-wrapper .inner-parent{
            position: relative;
            width: auto;
            height: auto;
            padding: 2rem;
            box-sizing: border-box;
/*            color: white;*/
        }
        #content-wrapper a{
            display: flex;
            align-items: baseline;
            width: auto;
        }
            .inner-parent *{ opacity: 0; }

    #media-wrapper{
        position: absolute;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100%;
        z-index: 100;
    }
        #media-wrapper .inner-parent{
            display: flex;
            position: relative;
            width: auto;
            height: auto;
        }

            #media-wrapper img{
                max-height: 100%;
                max-width: 100%;
                height: auto;
                width: auto;
                opacity: 0;
            }



/*
#content-wrapper{
    animation: test 0s steps(1) forwards;
    animation-delay: 3.6s !important;
}
    @keyframes test {
      from { opacity: 1; }
      to { opacity: 0; }
    }
*/
.inner-parent a *{
    white-space: nowrap;
}

.inner-parent *,
#media-wrapper img{
    animation: sequence-in 0s steps(1) forwards;
}
.s1{ animation-delay: .8s !important; margin-right: 1rem; }
.s2{ animation-delay: 1.2s !important; margin-right: 1rem; }
.s3{ animation-delay: 1.6s !important; margin-right: 1rem; }
.s4{ animation-delay: 2s !important; }

    @keyframes sequence-in {
      from { opacity: 0; }
      to { opacity: 1; }
    }

/*
#page-wrapper{
    animation: background 0s steps(1) forwards;
    animation-delay: 3.6s !important;
}


    @keyframes background {
      from { background-color: white; }
      to { background-color: black; }
    }
*/



/*************************************************************/
/*                       Responsiveness                      */
/*************************************************************/

@media only screen and (max-width: 850px)  {
    .s1, .s2, .s3, .s4{
        font-size: 15px;
        font-style: normal;
        line-height: 120%;
     }
    .p-a{ padding: .3rem; }
    .inner-parent a{
        flex-direction: column;
    }
    .inner-parent *{ width: 100%; }
}
