* {
    margin: 0;
    padding: 0;
    /*font-family: "Comic Sans MS", cursive, sans-serif;*/
    font-family: 'Roboto', sans-serif;
}

body {
    width: fit-content;
}

nav {
    padding-left: 5%;
    padding-right: 5%;
    font-size: 20px;
    text-align: center;
    z-index: 5;
    position: fixed;
    width: 90%;
    background-color: rgba(255, 255, 255, 0.3);
    transition: 1s;
}

nav img {
    width: 20px;
}

nav ul {
    list-style: none;
    width: 100%;
}

nav ul li {
    display: inline-block;
    text-align: center;
    float: left;
    width: 14.2%;
}

nav ul li a {
    display: block;
    padding: 10px 0;
    width: 100%;
    text-decoration: none;
    color: inherit;
}

.newHeader, .newHeader ul {
    background-color: #383838;
    color: white;
}

.newHeader .bar1, .newHeader .bar2, .newHeader .bar3 {
    background-color: #ebebeb;
}

nav .container {
    display: none;
    cursor: pointer;
    float: right;
}

nav .bar1, nav .bar2, nav .bar3 {
    width: 35px;
    height: 5px;
    background-color: #333;
    margin: 6px 0;
    transition: 0.4s;
}

nav .change .bar1 {
    -webkit-transform: rotate(-45deg) translate(-9px, 6px);
    transform: rotate(-45deg) translate(-9px, 6px);
}

nav .change .bar2 {
    opacity: 0;
}

nav .change .bar3 {
    -webkit-transform: rotate(45deg) translate(-8px, -8px);
    transform: rotate(45deg) translate(-8px, -8px);
}

#intro div {
    overflow: hidden;
    padding-top: 52.8%;
    position: relative;
}

#intro iframe {
    border: 0;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

#intro h1 {
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
    top: 120px;
    z-index: 1;
    color: white;
    text-align: center;
    position: relative;
    font-size: 50px;
    line-height: 0;
    white-space: pre;
}

#intro h2 {
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
    top: 600px;
    z-index: 1;
    color: white;
    text-align: center;
    position: relative;
    font-size: 50px;
    line-height: 0;
    white-space: pre;
}

#specifications {
    margin: 15px 5%;
    font-size: 20px;
}

#specifications h1 {
    margin: 15px;
}

#specifications table {
    margin: 0 5%;
    width: 90%;
    border-spacing: 0;
    border-collapse: collapse;
}

#specifications table thead td {
    background-color: darkgray;
    color: white;
}

#specifications table th {
    background-color: lightgray;
    padding: 5px 10px;
    text-align: left;
    width: 25%;
    border: solid 1px darkgray;
}

#specifications table td {
    padding: 5px 10px;
    text-align: left;
    width: 25%;
    border: 1px solid darkgray;
}

#collection1 {
    margin: 12px 10%;
    display: inline-flex;
}

#collection1 div {
    display: block;
    width: 25%;
}

#collection1 div img {
    width: 100%;
    cursor: pointer;
}

#collection1 img {
    display: block;
    width: 75%;
}

#equipment {
    margin: 15px 5%;
}

#equipment h1 {
    margin: 15px;
}

#equipment p {
    font-size: 18px;
    margin: 0 5%;
    word-spacing: 2px;
}

#maintenance {
    margin: 12px 5%;
}

#maintenance h1 {
    margin: 15px;
}

#maintenance div {
    text-align: center;
}

#maintenance div div {
    display: inline-block;
    margin: 0 1% 15px 1%;
    overflow: hidden;
    width: 280px;
}

#maintenance img {
    transition: transform .5s ease;
    width: 100%;
    cursor: pointer;
}

#maintenance img:hover {
    transform: scale(1.1);
}

#location {
    margin: 12px 5%;
}

#location h1 {
    margin: 15px;
}

#location iframe {
    margin: 0 5%;
    height: 350px;
    width: 90%;
}

#gallery {
    margin: 12px 5%;
}

#gallery h1 {
    margin: 15px;
}

#gallery div {
    text-align: center;
}

#gallery div div {
    display: inline-block;
    margin: 0 1% 15px 1%;
    overflow: hidden;
    width: 280px;
    height: 210px;
}

#gallery img {
    transition: transform .5s ease;
    max-width: 100%;
    max-height: 100%;
    cursor: pointer;
}

#gallery img:hover {
    transform: scale(1.1);
}

#fullscreen {
    display: none;
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

#fullscreen .arrowdiv {
    width: 15%;
}

#fullscreen #close {
    position: absolute;
    top: 40px;
    right: 10px;
    font-size: 50px;
}

#fullscreen div {
    width: 70%;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

#fullscreen img {
    max-width: 100%;
    max-height: 100%;
    margin: 0 0;
}

#fullscreen button {
    font-size: 200px;
    background-color: transparent;
    border-color: transparent;
    cursor: pointer;
}


@keyframes slidein {
    from {
        right: -200px;
    }

    to {
        right: 0;
    }
}

.slidein {
    animation-duration: 1s;
    animation-name: slidein;
    animation-direction: alternate;
    animation-iteration-count: 1;
    -webkit-animation-duration: 1s;
    -webkit-animation-name: slidein;
    -webkit-animation-direction: alternate;
    -webkit-animation-iteration-count: 1;
    right: 0;
}

@keyframes slideaway {
    from {
        right: 0;
    }

    to {
        right: -200px;
    }
}

.slideaway {
    animation-duration: 1s;
    animation-name: slideaway;
    animation-direction: alternate;
    animation-iteration-count: 1;
    -webkit-animation-duration: 1s;
    -webkit-animation-name: slideaway;
    -webkit-animation-direction: alternate;
    -webkit-animation-iteration-count: 1;
}

@media screen and (max-width: 1220px) {
    #intro h2 {
        top: 500px;
    }
}

@media screen and (max-width: 1030px) {
    #intro h2 {
        top: 400px;
    }
}

@media screen and (max-width: 850px) {
    nav {
        background-color: #383838;
        color: white;
    }

    nav .container {
        display: inline-block;
    }

    nav ul {
        background-color: #383838;
        color: white;
        display: block;
        width: auto;
        top: 39px;
        right: -200px;
        position: fixed;
        height: 100%;
    }

    nav ul li {
        float: none;
        display: block;
        width: auto;
        text-align: left;
        padding: 15px 50px 15px 15px;
    }

    nav ul a {
        padding: auto;
    }

    nav .bar1, nav .bar2, nav .bar3 {
        background-color: #ebebeb;
    }

    #intro h1 {
        font-size: 30px;
        top: 70px;
    }

    #intro h2 {
        font-size: 30px;
        top: 300px;
    }

    #collection1 img {
        display: none;
    }

    #collection1 div {
        width: 100%;
    }

    #collection1 div img {
        display: block;
        cursor: default;
    }
}

@media screen and (max-width: 660px) {
    #intro h2 {
        top: 200px;
    }
}