@font-face {
    font-display: swap;
    font-family: 'Science Gothic';
    src: url('vendor/ScienceGothicVF-no-italic.ttf') format('truetype');
}


* {
    --lambda-plum: #4a3c56;
    --lambda-navy: #414159;
    letter-spacing: 0.05rem;

    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: inherit;
    font-size: inherit;
    object-fit: contain;

    /* === SW colors === */
    --mild-dark: #44434a;
    --bone-white: #f1f1f1;
    --night: #2c334cff;

    /* blues */
    --nile-blue: #40b7dc;
    --turkish-blue: #78b5b7;
    --sky-blue: #89ddd4;
    
    /* greens */
    --calm-dark: #383838;
    --olive-green: #5b6c68;
    --leaf-green: #aac2aa;
    
    /* reds */
    --bronze: #c88d56; /*goes nicely with beige*/
    --beige: #ffefc4; /*goes nicely with sky-blue*/
    --warm-dark: #170202;
    --shadow-dark: rgb(23, 2, 2, 0.2);
    --red: #ea7a85;
    --rose-red: #f3dfd9; /*goes nicely with mild-dark*/

    /*steps*/
    --stepCode-0 : #aeb8a2;
    --stepCode-1 : #89B844;
    --stepCode-2 : #6EA827;
    --stepCode-3 : #518513;
    --stepCode-4 : #396B13;
    --stepCode-5 : #1F4700;

    --video-white: #f2f0f2;
}
ul, ol {
    list-style-position: inside;
}
ul li, ol li {
    margin-bottom: 15px;
}


html {
    background-color: var(--video-white);
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 14px;
}

body {
    position: relative;
    overflow-y: scroll;
}

section {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    display: flex;
}

h1 {
    font-size: x-large;
    font-weight: 400;
}
h2 {
    font-size: 1.6rem;
}

a {
    font-family: 'Science Gothic', sans-serif;
    font-size: 2rem;
    color: var(--lambda-navy);
    font-variation-settings: "wght" 400, "wdth" 51.89, "YOPQ" 122, "slnt" 0;
    transition: all 1s;
    cursor: pointer;
    text-decoration: none;
}
a:hover {
    font-variation-settings: "wght" 400, "wdth" 51.89, "YOPQ" 18, "slnt" 0;
}
a.filled-button {
    display: inline-block;
    margin: 5px;
    padding: 7px 25px 2px 25px;
    background-color: var(--lambda-navy);
    color: var(--video-white);
    border-radius: 5px;
}

.spacer {
    display: block;
    width: 20px;
    height: 20px;
}

.miniSpacer {
    display: block;
    width: 7px;
    height: 7px;
}
.heavyTextShadow {
    text-shadow: 0px 0px 5px var(--lambda-navy),
                 0px 0px 5px var(--lambda-navy),
                 0px 0px 9px var(--lambda-navy),
                 0px 0px 12px var(--lambda-navy),
                 0px 0px 18px var(--lambda-navy),
                 0px 0px 24px var(--lambda-navy),
                 0px 0px 24px var(--lambda-navy);
}

header {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    position: fixed;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    padding: 27px 100px;
    transition: all 0.3s;
}
header:not(.header-top){
    background-color: rgba(254, 251, 255, 0.961);
    border-bottom: 1px solid var(--lambda-navy);
}

.header-items{
    display: flex;
    flex-wrap: wrap;
}
.header-item {
    color: var(--lambda-plum);
    margin: 0px 20px;
}


.logo {
    display: flex;
    width: 330px;
    transition: all 0.4s;
}
.logo img {
    width: 100%;
}

.logo-big {
    transform: translate(170px, 160px) scale(1.6);
}

section#banner {
    height: 70vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    clip-path: polygon(50% 100%, 100% 90%, 100% 0, 0 0, 0 90%);
    z-index: 10;
}
#slogan {
    color: #696969;
    font-family: 'Science Gothic', sans-serif;
    font-variation-settings: "wght" 300, "wdth" 60, "YOPQ" 122, "slnt" 0;
    line-height: 2em;
    position: absolute;
    top: 280px;
    left: 180px; /* Logo comes down 160px + 20px parent padding */
    z-index: 10;
    text-shadow: 0px 0px 4px var(--video-white),
        0px 0px 5px var(--video-white),
        0px 0px 7px var(--video-white),
        0px 0px 15px var(--video-white);
}
#punch{
    font-size: 50px;
    transition: all 1s;
}
#punch span {
    font-variation-settings: "wght" 400, "wdth" 60, "YOPQ" 122, "slnt" 0;
}
.roller-text {
    opacity: 1;
    animation: 1.7s widen forwards;
    animation-delay: 0.6s;
    animation-timing-function: cubic-bezier(0.17, 0.19, 0.58, 1);
}
@keyframes fade {
    0% { opacity: 1;}
    100% { opacity: 0;}
}
@keyframes widen {
    0% {     
        font-variation-settings: "wght" 400, "wdth" 60, "YOPQ" 122, "slnt" 0;
    }
    100% {
        font-variation-settings: "wght" 600, "wdth" 60, "YOPQ" 70, "slnt" 0;
    }
}

#splash {
    display: flex;
    position: absolute;
    right: 0;
    margin-right: 10%;
    z-index: 9;
}
#splash-video {
    
    width: 400px;
}

section#brief {
    background-image: url('img/under banner.webp');
    background-size: cover;
    background-position: center;
    justify-content: flex-end;
    align-items: center;
    margin-top: -10vh;
    min-height: 450px;
    padding-top: 80px;
    padding-bottom: 80px;
    overflow: hidden;
    z-index: 9;
    opacity: 0.9;
    color: var(--video-white);
    clip-path: polygon(50% 100%, 100% 90%, 100% 0, 0 0, 0 90%);

}
#brief-container {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.6rem;
    margin-right: 12%;
    width: 30%;
    min-width: 400px;
}

section #blog {
    max-width: 1000px;
    padding-top: 30px;
    display: grid;
    grid-template-columns: 5fr 2fr;
    grid-template-rows: auto 1fr 1fr auto;
}
.blog-intro {
    grid-row: span;
    grid-column: 1 / 3;
    text-align: center;
}
.blog-hero {
    grid-column: 1 / 2;
    grid-row:  2 / 4;
}
.blog-side {
    grid-column: 2;
}
.blog-card {
    background-color: var(--video-white);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    margin: 10px;
    border: 1px solid var(--lambda-plum);
    border-radius: 10px;
    overflow: hidden;
    /* box-shadow: 0px 0px 15px 0px #4a3c5673; */
}
.blog-card:hover {
    background-color: white;
}
.blog-card * {
    margin-left: 15px;
    margin-right: 15px;
}
.blog-card span {
    color: var(--lambda-plum);
    font-weight: 800;
}
.blog-card h3 {
    font-weight: 300;
    font-size: 1.8rem;
}
.blog-card img{
    margin: 0;
    width: 100%;
    margin-bottom: auto;
    clip-path: polygon(100% 100%, 100% 0, 0 0, 0 85%);
    filter: sepia(1) hue-rotate(245deg) contrast(1.1) saturate(1.2);
}
.blog-button {
    align-self: flex-end;
} 
.blog-side .blog-button {
    font-size: 1.5rem;
} 
.blog-more {
    color: var(--lambda-navy);
    margin: 15px 0px;
    font-size: 1.9rem;
    grid-column: 2/3;
    text-align: end;
    padding-right: 15px;
}

.blog-grid {
    display: flex;
    flex-flow: row wrap;
}
.blog-gallery {
    width: 250px;
    /* height: 300px; */
}

section#feature {
    flex-direction: column;
    padding: 5% 0;
    font-size: 1.7rem;
}
#sw-logo {
    margin: -30px 0;
    width: 35%;
    min-width: 250px;
}
#feature span {
    max-width: 800px;
    text-align: center;
    margin: 0 10px;
}

footer {
    display: flex;
    justify-content: center;
    font-size: 10pt;
    color: var(--video-white);
    background-color: var(--lambda-navy);
    padding: 50px;
}
#footer-slogan img {
    height: 12px;
    margin-left: 5px;
    margin-bottom: -2px;
}

/****** RESPONSIVE *******/
/* small desktop */
@media screen and (max-width: 1000px) {
    header {
        justify-content: center;
        padding: 5px 10px;
        height: 120px;
    }
    .logo-big {
        transform: none;
    }

    #slogan {
        line-height: unset;
        top: unset;
        left: unset;
    }

    .header-items {
        margin: auto;
    }
    .header-item {
        margin: 0 10px;
    }

    .blog-hero {
        grid-column: 1 / 3;
    }
    .blog-side {
        display: none !important;
    }

}

/* mobile */
@media screen and (max-width: 700px) {
    section#brief {
        justify-content: center;
    }
    #brief-container {
        margin: auto;
        width: 90%;
        min-width: unset;
        margin: 0px 10px;
    }
}


/* bubbling adjustments */
.bubble-area {
    background-color: var(--video-white);
    position: absolute;
    width: 100%;
    bottom: 0;
    z-index: -1;
}

.bubbles li {
    background-color: rgba(118, 97, 136, 0.486);
}

/*blog*/

.blog-header {
    position: relative;
    background-color: transparent !important;
    border: none !important;
}

.note-text {
    font-weight: 300;
    background-color: white;
    border-radius: 5px;
    padding: 10px;
}

article {
    margin: auto;
    /* display: flex; */
    max-width: 900px;
    font-size: 20px;
    line-height: 1.5em;
}

article a {
    font-family: inherit;
    font-size: inherit;
}

article h1 {
    font-size: 32px;
}

article>*:not(li) {
    margin-top: 15px;
    margin-bottom: 5px;
}

.blog-footer {
    color: inherit;
    background-color: inherit;
}