@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;1,500&family=Syne&display=swap');



body {
    --sans-serif: 'Syne', Arial, Helvetica, sans-serif;
    --serif: 'Lora', 'Times New Roman', Times, serif;
    font-family: var(--sans-serif);
    font-size: 24pt;
}

h1, h2, h3, h4{
    font-family: var(--serif);
    margin: 6px;
}

.head {
    font-family: var(--serif);
    color:#fafafa;
    margin: 3vh 3vh;
    background-attachment: fixed;
    background-color: #000000;
    background-position: right top;
    position: relative;
    height: 44vh;
    animation-name:  parallax;
    animation-duration:  1s;
    animation-timing-function: ease-in;
    animation-delay:calc(var(--scroll) * -1s);
    animation-play-state: paused;
    background-repeat: no-repeat;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5),
    rgba(0, 0, 0, 0.5)), url(/static/img/glowing-laptop-crop-768.jpg);
}

#contact {
    left: -1920px;
    position: absolute
}

/* .no-webp .head {
    
} */

/* .webp .head {
    
} */

@media (min-width: 769px){
    .head {
        margin: 3vh 3vh;
        height: 94vh;
        background-image: url(/static/img/glowing-laptop-extended-1080.jpg);
        background-position: left top;
    }
}

@media (max-width: 416px) {
    .head {
        margin: 3vh 3vh;
        height: 24vh;
    }
}

.container {
    margin: 3vh 3vh;
    margin-top: 24px;
}

.head .text{
    margin: 0 48px;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    animation-name:  explodeOut;
    animation-duration:  1s;
    animation-timing-function: ease-in;
    animation-delay:calc(var(--scroll) * -1s);
    animation-play-state: paused;
}

.head .intro {
    font-size: 24pt;
    margin-bottom: 0;
}
.head .title {
    font-size: 72pt;
    font-weight: 700;
    margin: 0;
}
.head .subtext{
    font-size: 36pt;
    margin-top: 12px;
    margin-bottom: 0;
}
.head .subsubtext{
    font-size: 18pt;
    margin-top: 12px;
    margin-bottom: 0;
}

.head .scroll {
    position: absolute;
    bottom: 0px;
    margin: 12px auto;
    left: 50%;
    transform: translate(-50%, 0);
    animation: jump 0.7s ease-out 2s 2;
    animation-play-state: running;
}

.head a{
    color:#baaaff;
}

.head nav{
    position: absolute;
    font-family: var(--serif);
    font-style: italic;
    font-size: 18pt;
    bottom: 0px;
    right: 0px;
    margin: 18px;
}

@media (max-width: 769px) and ( min-width: 416px) {
    .head .intro {
        font-size: 3vw;
    }
    .head .title {
        font-size: 9vw;
    }
    .head .subtext{
        font-size: 4vw;
        margin-top: 12px;
    }
    .head .subsubtext{
        font-size: 2vw;
        margin-top: 12px;
    }
    .head .scroll {
        display: none;
        animation-play-state: paused;
    }
}

@media (max-width: 416px) {
    .head .intro {
        display:none;
    }

    .head .text {
        margin: 0 12px;
    }

    .head .title {
        font-size: 12vw;
    }
    .head .subtext{
        font-size: 6vw;
        margin-top: 12px;
    }
    .head .scroll {
        display: none;
        animation-play-state: paused;
    }
}

@keyframes jump {
    0% {
        bottom: 0px;
    }
    50% {
        bottom: 12px;
    }
    100% {
        bottom: 0px;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes explodeOut{
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: scale(1.4) translateY(20%) translateX(20%);
        letter-spacing: 0.2vw;
    }
}

@keyframes parallax{
    0% {
        background-position-y: 0%;
    }
    100% {
        background-position-y: 500%;
    }
}

.portal {
    height: 25vh;
    min-height: 100px;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: 24px;
}

.small {
    font-size: 18pt;
}

.smallprint {
    font-size: 12pt;
}

.smallprint a {
    color: #222299;
}

h1 {
    font-weight: 700;
}

h1 i {
    font-weight: 600;
}

blockquote {
    font-style: italic;
    font-family: var(--serif);
    font-weight: 600;
}

.footer {
    font-size: 2em;  
    font-weight: 700; 
    margin: 0;
    font-family: var(--serif);
}
.footer i {
    font-weight: 600;
}

.logo {
    float: right;
    height: 1em;
    margin: 12px;
}