@font-face {
    font-family: VT323;
    src: url(fonts/VT323-Regular.ttf);
}

@font-face {
    font-family: OpenSans;
    src: url(fonts/OpenSans-VariableFont_wdth\,wght.ttf);
}

@font-face {
    font-family: OpenSans-Italic;
    src: url(fonts/OpenSans-Italic-VariableFont_wdth\,wght.ttf);
}

* {
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

.progress-container {
    position: relative;
    width: 100%;
    height: 9px;
    background: #ffffff;
    justify-content: center;
    padding-top: 4px;
    padding-bottom: 4px;
    z-index: 2;
}

.progress-bar {
    position: relative;
    height: 100%;
    background: #3a1772;
    width: 0%;
    z-index: 3;
}

nav {
    background-color: #4c4c4c;
    color: #ffffff;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1;
}

.menubutton {
    background-color: transparent;
    background-repeat: no-repeat;
    color: #ffffff;
    border: none;
    cursor: pointer;
    overflow: hidden;
    outline: none;
    font-family: 'VT323';
    font-size: 25px;
    float: right;
}

.menucontent {
    display: none;
    right: 10px;
    top: 40px;
    position: fixed;
    width: 40em;
    background-color: #3a1772;
    border-radius: 10px;
    box-shadow: 0px 0px 20px black;
    z-index: 5;
}

.show {
    display: block;
}

#menu ul li {
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 5px;
    margin-right: 50px;
}

.menucontent ul {
    display: grid;
    grid-template-columns: 50% 50%;
    margin-left: 30px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.menuItem {
    font-family: 'VT323';
    font-size: 25px;
    color: #ffffff;
    text-decoration: none;
    transition: all 50ms ease-in;
}

.navbarlink {
    font-family: 'VT323';
    font-size: 30px;
    color: #ffffff;
    text-decoration: none;
}

.menubutton,
.navbarlink {
    margin-left: 10px;
    margin-right: 10px;
}

.menubutton:hover,
.navbarlink:hover {
    color: #3a1772;
    background-color: #ffffff;
}

.menuItem:hover {
    font-size: 27px;
    background-color: #ffffff;
    color: #3a1772;
    padding-left: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    box-shadow: 5px 5px black;
}

header {
    position: relative;
    padding: 10em;
    background-image: url('websitebackground.png');
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 0;
    margin-top: 0px;
}

#header {
    background-color: #3a1772;
    text-align: center;
    color: #e0e0e0;
    margin-top: 8em;
    margin-bottom: 20px;
    margin-left: 2%;
    margin-right: 2%;
    padding: 4em;
    border-radius: 10px;
    box-shadow: 0px 0px 7px black;
}

body {
    background-color: #ffffff;
    color: #000000;
}

footer {
    background-color: #cccccc;
    color: #000000;
}

h1,
h2,
h3,
h4 {
    font-family: 'VT323';
}

h1 {
    font-size: 100px;
}

h2 {
    font-size: 64px;
    text-align: center;
    color: #3a1772;
}

h3 {
    font-size: 56px;
    margin-bottom: 30px;
    color: #4c4c4c;
}

h4 {
    font-size: 40px;
    color: #4c4c4c;
}

p {
    font-family: 'OpenSans';
    font-size: 20px;
}

.text {
    margin-bottom: 30px;
}

.style-guide-img {
    max-width: 85%; 
    box-shadow: 20px 20px 60px #bebebe,
                -20px -20px 60px #ffffff;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 20px;
}

#timeline {
    background-color: #3a1772;
    margin-left: 2em;
    margin-right: 2em;
    margin-top: 10em;
    margin-bottom: 10em;
    padding: 2em;
    box-shadow: 0px 0px 10px black;
}

.paragraph1 {
    background-color: #ffffff;
    margin-left: 12em;
    margin-right: 12em;
    margin-top: 10em;
    margin-bottom: 10em;
    padding: 1em;
}

.paragraph2 {
    background-color: #ffffff;
    margin-left: 7em;
    margin-right: 7em;
    margin-top: 2em;
    margin-bottom: 10em;
    padding: 1em;
}

.timelinetext {
    color: #ffffff;
}

#contentcontainer {
    background-color: #cccccc;
    margin-top: 5em;
    margin-bottom: 5em;
    padding-top: 1em;
    padding-bottom: 1em;
}

#subtitle {
    margin-top: 2em;
    margin-bottom: 2em;
}

.timelineitem {
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
    height: 25em;
    width: 25em;
    background-color: #ffffff;
    padding: 10px;
    flex: 0 0 25em;
    border-radius: 10px;
}

.timeline-item-header {
    text-align: center;
    margin-bottom: 1em;
    margin-top: 1em;
}

.timeline-item-text {
    text-align: center;
    text-wrap: wrap;
    margin-left: 20px;
    margin-right: 20px;
}

.timeline-item-link {
    text-decoration: none;
}

#timelinescroll {
    margin-top: 2em;
    overflow-x: scroll;
    white-space: nowrap;
    visibility: hidden;
    display: flex;
    flex-direction: row;
}

.timelineitem,
#timelinescroll:hover,
#timelinescroll:focus {
    visibility: visible;
}

.timelineshadow {
    margin-top: 40px;
    height: 25em;
    width: 20px;
    background-color: #3a1772;
    box-shadow: 0px 0px 20px #3a1772;
}

.timelinebox {
    display: grid;
    grid-template-columns: 100% 0%;
}

#scrolldirect {
    margin-top: 1em;
    text-align: center;
    color: #ffffff;
    font-family: 'VT323';
    font-size: 15px;
    visibility: hidden;
}

#copyright {
    text-align: center;
}

#downloads {
    padding: 7em;
}

.fa-house:hover {
    color: #3a1772;
}

.downloads-frame {
    margin-left: 4em;
    margin-right: 4em;
}

.downloads-frame ul {
    margin-left: 2em;
    margin-right: 2em;
}

.downloads-frame ul li {
    margin-bottom: 2em;
    margin-top: 2em;
}

.download-item {
    font-family: 'VT323';
    color: #3a1772;
    font-size: 25px;
}

/*PHONE UI*/
@media only screen and (max-width: 992px) {
    header {
        padding-top: 4em;
        padding-left: 4em;
        padding-right: 4em;
        padding-bottom: 1px;
    }

    #subtitle {
        margin-top: 2px;
        margin-bottom: 1em;
    }

    #scrolldirect {
        visibility: visible;
    }

    p {
        font-size: 13px;
    }

    .paragraph1 {
        margin-left: 6em;
        margin-right: 6em;
    }

    #timelinescroll {
        visibility: visible;
    }

    .timelineitem {
        height: 35em;
        width: 35em;
        border-radius: 15px;
    }

    .timelineshadow {
        height: 35em;
    }

    .navbarlink {
        font-size: 80px;
        margin-left: 20px;
    }

    .menubutton {
        font-size: 60px;
        margin-right: 20px;
    }

    .paragraph2 {
        margin-left: 3em;
        margin-right: 3em;
    }

    .downloads-frame ul li {
        margin-bottom: 4em;
        margin-top: 4em;
    }
    
    .download-item {
        font-size: 20px;
    }
}

