* {
    /* font-family: adobe-caslon-pro, serif; */
    margin: 0;
    padding: 0;
}

:root {
    --content-max-width: 1000px;
    --logo-font-size: 50px;
    --box-rotation-duration: 4s;
}


body {
    background-color: whitesmoke;
    max-width: var(--content-max-width);
    margin: 0 auto;
}

.logo {
    display: none;
}
.nav {
    margin: 0 auto;
    position: sticky;
    top: 0;
    padding-top: 10px;
    height: var(--font-logo-size);
    background-color: whitesmoke;
    z-index: 999;

    /* background: rgba( 255, 255, 255, 0.6 ); */
    --this-background-color: rgba( 245, 245, 245, 0.6 );
    backdrop-filter: blur( 10px );
    -webkit-backdrop-filter: blur( 10px );
    border-radius: 10px;
    box-shadow: 0 0 0 10vmax var(--this-background-color);
    clip-path: inset(0 -100vmax);
    background-color: var(--this-background-color);
}


.nav-items {
    z-index: 999;
    font-family: adobe-caslon-pro, serif;
    display:flex;
    justify-content: space-between;
    align-items: center;
    gap: 4em;

    a {
        text-decoration: none !important;
        color: inherit;
    }
    .right-side {
        margin: 0 auto;
        display: flex;
        justify-content: flex-end;
        gap: 3em;
        font-size: 1.3em;
        font-size: 1em;
        /* font-size: 1.3em+5cw; */
        /* font-size: clamp(1em, 1.5em-10cw, 1.5em); */
        font-size: clamp(1em, 0em + 1.7vw, 1.5em);
    }
}

.hero {
    margin: 0 auto;
    transform: translateX(calc(var(--content-max-width)/6));
}

/* .hero .main-words {
    margin: 0 auto;
} */

.hero .leads {
    padding-top: .8em;
    margin-top: .3em;
    margin-left: .25em;
    font-family: "song myung";
    /* font-weight: 300; */
    font-size: 4.5em;
    line-height: .9em;
    letter-spacing: .15em;
    text-shadow: -3px 0px 4px rgba(0,0,0,.25);
}

.hero .through-line {
    display:flex;
    font-family: "song myung";
    /* font-weight: 500; */
    font-size: 4.7em;
    line-height: .5em;
    margin-left: 1.4em;
    letter-spacing: .16em;
    /* offset-x | offset-y | blur-radius | color */
    text-shadow: -6px 0px 4px rgba(0,0,0,.25);
}
.hero .throu {
    z-index: 10;
    filter: blur(.2px);
}

.hero .design-line {
    font-family: adobe-caslon-pro, serif;
    color: #66A3AB;
    font-weight: 500;
    font-size: 5em;
    /* font-style: semibol; */
    display:flex;
    

    .d {
        margin-left: 1.5em;
        margin-top: -.84em;
        font-size: 2.1em;
        z-index: 5;
        letter-spacing: .19em;
        line-height: 2em;
        /* box-shadow: inset 0 0 10px #f8a100; */
        text-shadow: -1px 1px 5px rgb(49, 34, 130);
    }
    .esign {
        margin-top: -.45em;
        margin-left: -.45em;
        letter-spacing: .1em;
        line-height: 2em;
        text-shadow: 1px 1px 5px rgba(49, 34, 130, .25);
    }
}

.hero .first-impressions {
    font-size: 2em;
    margin-left: 3.6em;
    margin-top: -2.5em;
    letter-spacing: .05em;

    span {
        font-size: 1.08em;
    }
}

.hero .make-yours-count {
    font-family: "song myung";
    font-size: 2.8em;
    margin-left: 4.3em;
    letter-spacing: .082em;
    background-image: linear-gradient(90deg, hsl(187, 29%, 20%), #CE0000);
    background-size: 100%;
    background-repeat: repeat;

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; 
    -moz-background-clip: text;
    -moz-text-fill-color: transparent;
}

.hero .call-to-action {
    font-family: "song myung";
    font-weight: 300;
    margin-top: 1em;
    font-size: 1.5em;
    margin-left: 5em;
    max-width: 45ch;
    letter-spacing: .02em;
    line-height: 1.5em;
}

.hero-buttons {
    display: flex;
    gap: 25px;
    font-family: adobe-caslon-pro, serif;
    font-weight: 600;
    font-size: 1.4em;
    line-height: 1.4em;
    margin-left: 14em;
    margin-top: 1em;
    letter-spacing: .1em;

    .button {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        border-radius: 7px;
        /* border-style: solid; */
        padding: .3em .7em;
        padding-top: .5em;
        
        p {
            padding-top: .3em;
        }
    }
    #take-action-button {
        text-decoration: none;
        background-color: #5C5C5C;
        color: #3CFF0C;
    }

    #take-action-button:hover {
        background-color: #3CFF0C;
        color: #5C5C5C;
    }

    #learn-more-button {
        text-decoration: none;
        border-style: solid;
        border-color: #3F6D73;
        color: #3F6D73;
    }

    #learn-more-button:hover {
        color:rgb(253, 209, 210);
        background-color: #152325;
    }
}

.top-boxes, .bottom-boxes {
    /* position: absolute;
    left: 0; */

    /* width: calc(var(--content-max-width) + 10vw); */
    z-index: 12;
    /* position:relative; */
    display: flex;
    justify-content: center;
    margin: 0 auto;
    margin-top: 9em;
    z-index: 55;
    gap: 5px;

    :nth-child(odd) {
        margin-top: 4em;
        
        background-color: #487D84;
    }

    :nth-child(even) {
        background-color: #6BA6AE;
    }

    .box {
        
        width: 8em;
        height: 8em;
        /* border-style: solid; */
        border-width: 1px;
        border-color: black;
        transform: rotate(45deg);
        border-radius: 0 20px 20px 20px;

    }
}

.top-boxes {
    :nth-child(-n + 3) {
        animation: rotation  var(--box-rotation-duration);
    }
    :nth-last-child(-n + 3) {
        animation: neg-rotation  var(--box-rotation-duration);
    }
    :nth-child(1) { animation-delay: calc(.5s + var(--box-rotation-duration)/2.5) }
    :nth-child(2) { animation-delay: calc(.5s + var(--box-rotation-duration)/5) }
    :nth-child(3) { animation-delay: .5s }

    :nth-child(7) { animation-delay: calc(.5s + var(--box-rotation-duration)/2.5) }
    :nth-child(6) { animation-delay: calc(.5s + var(--box-rotation-duration)/5) }
    :nth-child(5) { animation-delay: .5s }

}

.bottom-boxes {
    margin-top: -4em;
    z-index: -12;
    :nth-child(even) {
        z-index: -3;
        background-color: rgb(221, 106, 108);
    }
    :nth-child(odd) {
        background-color: rgb(252, 118, 121);
    }
    :nth-child(-n + 3) {
        animation: rotation  var(--box-rotation-duration);
    }

    :nth-last-child(-n + 3) {
        animation: neg-rotation  var(--box-rotation-duration);
    }
    
    :nth-child(1) { animation-delay: calc(.5s + var(--box-rotation-duration)/2.5) }
    :nth-child(2) { animation-delay: calc(.5s + var(--box-rotation-duration)/5) }
    :nth-child(3) { animation-delay: .5s }

    :nth-child(7) { animation-delay: calc(.5s + var(--box-rotation-duration)/2.5) }
    :nth-child(6) { animation-delay: calc(.5s + var(--box-rotation-duration)/5) }
    :nth-child(5) { animation-delay: .5s }
}

@keyframes neg-rotation {
    0% {
        transform: rotate(45deg);
    }
    95% {
        transform: rotate(1135deg);
    }
    100% {
        transform: rotate(1125deg);
    }
}

@keyframes rotation {
    0% {
        transform: rotate(45deg);
    }
    95% {
        transform: rotate(-1050deg);
    }
    100% {
        transform: rotate(-1035deg)
    }
}

@keyframes go-up {
    0% {
        transform: translateY(0) rotate(45deg);
    }
    50% {
        transform: translateY(-.4em) rotate(45deg) scale(105%);
    }
    100% {
        transform: translateY(0) rotate(45deg);
    }
}

@keyframes go-down {
    0% {
        transform: translateY(0) rotate(45deg);
    }
    50% {
        transform: translateY(.4em) rotate(45deg) scale(105%);
    }
    100% {
        transform: translateY(0) rotate(45deg);
    }
}