body {
    margin: 0;
    padding: 0;
    background-color: #ccc7c2;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 900'%3E%3Cpolygon fill='%23cc0000' points='957 450 539 900 1396 900'/%3E%3Cpolygon fill='%23aa0000' points='957 450 872.9 900 1396 900'/%3E%3Cpolygon fill='%23d6002b' points='-60 900 398 662 816 900'/%3E%3Cpolygon fill='%23b10022' points='337 900 398 662 816 900'/%3E%3Cpolygon fill='%23d9004b' points='1203 546 1552 900 876 900'/%3E%3Cpolygon fill='%23b2003d' points='1203 546 1552 900 1162 900'/%3E%3Cpolygon fill='%23d3006c' points='641 695 886 900 367 900'/%3E%3Cpolygon fill='%23ac0057' points='587 900 641 695 886 900'/%3E%3Cpolygon fill='%23c4008c' points='1710 900 1401 632 1096 900'/%3E%3Cpolygon fill='%239e0071' points='1710 900 1401 632 1365 900'/%3E%3Cpolygon fill='%23aa00aa' points='1210 900 971 687 725 900'/%3E%3Cpolygon fill='%23880088' points='943 900 1210 900 971 687'/%3E%3C/svg%3E");
    background-attachment: fixed;
    background-size: cover;

    color: rgb(50,50,50);
    font-family: 'Fira Sans', sans-serif;
    font-size: 112.5%;
    line-height: 1.6em;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    }

.container {
    display: flex;
}

header h1{
    height: 10rem;
    margin: auto;
    padding: 5rem 0 0 0;
    transform: rotate(-8deg);
    white-space: nowrap;
    font-size:8rem;
        letter-spacing:0.1em;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-width: 3px;
    -webkit-text-stroke-color: white;
    text-shadow:
                8px 8px #d3006c,
                20px 20px #000000;
}

nav{
    justify-content: flex-end;
    height: 4rem;
    flex-wrap: wrap;
}

#menu{
    z-index: 100;
    margin: 2rem 2rem;
    list-style-type: none;
    visibility: hidden;
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
    padding:0;
    width: 100%;
    height: 100%;
}

#menu li{
    background: #d3006dd2;
    font-size: 5rem;
    line-height: 6rem;
    font-weight: bold;
    font-variant-caps: all-petite-caps;
    padding: 0 1rem;
    text-align: center;
}

#menu a{
    color: #fff;
    text-decoration: none;
}

#menu a::after{
    background: none repeat scroll 0 0 transparent;
    bottom: 0;
    content: "";
    display: block;
    height: 2px;
    left: 50%;
    background: #fff;
    transition: width 0.3s ease 0s, left 0.3s ease 0s;
    width: 0;
}

#menu a:hover:after{
    width: 100%;
    left: 0;
}

.content{
    min-height: calc(70vh - 70px);
}

footer{
    justify-content: flex-end;
    color: #fff;
    flex-shrink: 0;
}
footer p{
    padding:0.5rem;
    font-size: 0.8rem;
}

footer a{
    color: #fff;
}

.timeline {
    position: relative;
    width: 960px;
    margin: 0 auto;
    margin-top: 20px;
    padding: 1em 0;
    list-style-type: none;
    flex: 1;
}

.timeline:before {
    position: absolute;
    left: 50%;
    top: 0;
    content: ' ';
    display: block;
    width: 6px;
    height: 100%;
    margin-left: -3px;
    background: rgb(80,80,80);
    background: linear-gradient(to bottom, rgba(80,80,80,0) 0%, rgb(80,80,80) 8%, rgb(80,80,80) 92%, rgba(80,80,80,0) 100%);
    z-index: 5;
}

.timeline li {
    padding: 1em 0;
}

.timeline li:after {
    content: "";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

li:nth-child(even).direction > div{
    position: relative;
    width: 450px;
    float: left;
    text-align: right;
}


li:nth-child(odd).direction > div{
    position: relative;
    width: 450px;
    float: right;
}

.flag-wrapper {
    position: relative;
    display: inline-block;
    text-align: center;
}

.flag {
    position: relative;
    display: inline;
    background: rgb(248,248,248);
    padding: 6px 10px;
    border-radius: 5px;

    font-weight: 600;
    text-align: left;
}

li:nth-child(even).direction div .flag {
     box-shadow: -1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
}

li:nth-child(odd).direction div .flag {
    box-shadow: 1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
}

.direction div .flag:before {
    position: absolute;
    top: 50%;
    right: -40px;
    content: ' ';
    display: block;
    width: 12px;
    height: 12px;
    margin-top: -10px;
    background: #fff;
    border-radius: 10px;
    border: 4px solid #d3006c;
    z-index: 10;
}

li:nth-child(odd).direction div .flag:before {
    left: -40px;
}

li:nth-child(even).direction div .flag:after {
    content: "";
    position: absolute;
    left: 100%;
    top: 50%;
    height: 0;
    width: 0;
    margin-top: -8px;
    border: solid transparent;
    border-left-color: rgb(248,248,248);
    border-width: 8px;
    pointer-events: none;
}

li:nth-child(odd).direction div .flag:after {
    content: "";
    position: absolute;
    right: 100%;
    top: 50%;
    height: 0;
    width: 0;
    margin-top: -8px;
    border: solid transparent;
    border-right-color: rgb(248,248,248);
    border-width: 8px;
    pointer-events: none;
}

.time-wrapper {
    display: inline;
    line-height: 1em;
    font-size: 0.66666em;
    color: #d3006c;
    vertical-align: middle;
}

li:nth-child(even).direction div .time-wrapper {
    float: left;
}

li:nth-child(odd).direction div .time-wrapper {
    float: right;
}

.time {
    display: inline-block;
    padding: 4px 6px;
    background: rgb(248,248,248);
}

.desc {
    margin: 1em 0.75em 0 0;
    font-size: 0.77777em;
    font-style: italic;
    line-height: 1.5em;
}

li:nth-child(odd).direction div .desc {
    margin: 1em 0 0 0.75em;
}

/* ================  Hamburger SVG ================ */
.ham {
cursor: pointer;
-webkit-tap-highlight-color: transparent;
transition: transform 400ms;
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
height: 3rem;
}

.hamRotate.active {
transform: rotate(45deg);
}

.hamRotate180.active {
transform: rotate(180deg);
}

.line {
fill:none;
transition: stroke-dasharray 400ms, stroke-dashoffset 400ms;
stroke:#d3006c;
stroke-width:5.5;
stroke-linecap:round;
}

.ham1 .top {
stroke-dasharray: 40 139;
}

.ham1 .bottom {
stroke-dasharray: 40 180;
}

.ham1.active .top {
stroke-dashoffset: -98px;
}

.ham1.active .bottom {
stroke-dashoffset: -138px;
}

.ham1.active + #menu{
visibility: visible;
transform: translate(0%, 10%);
justify-content: center;
}

/* ================  Utility Site ================ */

.ut-content {
    display: flex;
    flex-grow: 1;
    padding: 4em max(1em, calc(50vw - 35ch));
    place-items: center;
  }
  
  .ut-content > * {
    flex-grow: 1;
  }

  :root {
    --panel-color: rgba(0, 0, 0, 0.135);
    --panel-border-width: 0.1em;
    --panel-padding: 0.75em;
  }
  
  .panel {
    background: var(--panel-color);
    border-radius: var(--panel-border-width);
    padding: var(--panel-border-width);
  }
  
  .panel__header, 
  .panel__content {
    padding: var(--panel-padding);
  }
  
  .panel__title {
    line-height: 1;
    margin: auto;
    white-space: nowrap;
    font-size:3rem;
        letter-spacing:0.1em;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #aa0000;
    
  }
  
  .panel__content {
    background: #fff;
  }

  .panel__content ul{
    list-style: none;
  }


a {
    color: #aa0000;
    text-decoration: none;
    background-image: linear-gradient(#C4008C, #C4008C),
      linear-gradient(#880088, #880088),
      linear-gradient(#AA00AA, #AA00AA);
    background-size: 20px 2px, 100% 2px, 0 2px;
    background-position: calc(20px * -1) 100%, 100% 100%, 0 100%;
    background-repeat: no-repeat;
    transition: background-size 2s linear, background-position 2s linear;
  }
  
  a:hover {
    background-size: 20px 2px, 0 2px, 100% 2px;
    background-position: calc(100% + 20px) 100%, 100% 100%, 0 100%;
  }
  
  .drop-cap::first-letter {
    -webkit-initial-letter: 2;
            initial-letter: 2;
    color: #d3006c;
    font-weight: bold;
    margin-right: .75em;
  }

  .panel__content span {
    display: table;
    font-size: 0.8rem;
    color: #880088;
 }

 .panel__content h2 {
    margin: 0;
 }


  /* ================  Media Queries ================ */

@media only screen and (max-width: 812px){
    
    body{
        background-size: 100%, auto;
        background-repeat: no-repeat;
        background-position: bottom;
    }
    
    header h1{
        font-size: 3rem;
        height: 6rem;
        text-shadow:
                4px 4px #d3006c,
                10px 10px #000000;
        
    }

    .timeline {
        width: 100%;
        padding: 4em 0 1em 0;
    }

    .timeline li {
        padding: 2em 0;
    }

    li:nth-child(even).direction > div,
    li:nth-child(odd).direction > div{
        float: none;
        width: 100%;
        text-align: center;
    }

    .flag-wrapper {
        text-align: center;
    }

    .flag {
        background: rgb(255,255,255);
        z-index: 15;
    }

    li:nth-child(odd).direction div .flag:before,
    li:nth-child(even).direction div .flag:before {
        position: absolute;
        top: -30px;
        left: 50%;
        content: ' ';
        display: block;
        width: 12px;
        height: 12px;
        margin-left: -9px;
        background: #fff;
        border-radius: 10px;
        border: 4px solid #d3006c;
        z-index: 10;
    }

    li:nth-child(odd).direction div .flag:after,
    li:nth-child(even).direction div .flag:after{
        content: "";
        position: absolute;
        left: 50%;
        top: -8px;
        height: 0;
        width: 0;
        margin-left: -8px;
        border: solid transparent;
        border-bottom-color: rgb(255,255,255);
        border-width: 8px;
        pointer-events: none;
    }

    .time-wrapper {
        display: block;
        position: relative;
        margin: 4px 0 0 0;
        z-index: 14;
    }

    li:nth-child(odd).direction div .time-wrapper {
        float: none;
    }

    li:nth-child(even).direction div .time-wrapper {
        float: none;
    }

    .desc {
        position: relative;
        margin: 1em 0 0 0;
        padding: 1em;
        background: rgb(245,245,245);
        -webkit-box-shadow: 0 0 1px rgba(0,0,0,0.20);
        -moz-box-shadow: 0 0 1px rgba(0,0,0,0.20);
        box-shadow: 0 0 1px rgba(0,0,0,0.20);
        z-index: 15;
    }

    li:nth-child(odd).direction div .desc,
    li:nth-child(even).direction div .desc {
        position: relative;
        margin: 1em 1em 0 1em;
        padding: 1em;
        z-index: 15;
    }

    .panel__title {
        white-space: normal;
        font-size:2rem;
    }
    #menu{
        margin: 0;
    }
    #menu li{
        font-size: 3rem;
    }
}

@media only screen and (max-width: 320px){
    header h1{
        font-size: 2.5rem;
        height: 4rem;
        text-shadow:
                4px 4px #d3006c,
                10px 10px #000000;
        
    }
}
