/*******************************************************************************
MeyerWeb Reset
*******************************************************************************/

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}

ol, ul {
    list-style: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/*******************************************************************************
Theme Styles
*******************************************************************************/

body {
    box-sizing: border-box;
    color: #b5b5b5;
    font-size: 16px;
    font-family: 'Raleway', sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-align: center;
}

h1, h2, h3, h4, h5, h6 {
    margin: 10px 0;
    color: #e0e0e0;
    font-family: 'Montserrat', sans-serif;
    font-weight: normal;
    letter-spacing: -1px;
    text-align: center;
}

h1 {
    font-size: 36px;
}

h2 {
    padding-bottom: 10px;
    font-size: 32px;
}

h3 {
    font-size: 24px;
}

h4 {
    font-size: 21px;
}

h5 {
    font-size: 18px;
}

h6 {
    font-size: 16px;
}

p {
    margin: 10px 0 15px 0;
}

footer p {
    color: #f2f2f2;
    text-shadow: 0 0 2px black;
}

a {
    text-decoration: none;
    color: #3a7eaa;
    text-shadow: none;
    transition: 0.3s;
}

a:hover, a:focus {
    text-shadow: 0 0 4px #1a5dad;
}

strong {
    font-weight: bold;
}

img {
    position: relative;
    max-width: 739px;
    padding: 5px;
    margin: 10px 0 10px 0;
}

p img {
    display: inline;
    margin: 0;
    padding: 0;
    vertical-align: middle;
    text-align: center;
    border: none;
}

ul, ol, dl {
    margin-bottom: 15px
}

ul {
    list-style: disc inside;
    padding-left: 20px;
}

ol {
    list-style: decimal inside;
    padding-left: 20px;
}

table {
    border: 1px solid #d5d5d5;
    margin-bottom: 20px;
    text-align: center;
}

th {
    padding: 10px;
    background: #373737;
    color: #fff;
}

td {
    padding: 10px;
    border: 1px solid #212121;
}

.copyright{
    color: #ccc;
    font-size: 14px;
    text-shadow: #000 0 0 1px;
}

.video {
    width: 480px;
    height: 270px;
}

/*******************************************************************************
Full-Width Styles
*******************************************************************************/

.outer {
    width: 100%;
}

.inner {
    position: relative;
    max-width: 900px;
    padding: 20px 10px;
    margin: 0 auto;
}

#header-wrap {
    background-position: top;
}

#header-top {
    display: flex;
    color: white;
    position: fixed;
    width: 100%;
    z-index: 2000;
    height: 100px;
    background: linear-gradient(to bottom, #1c1c1c, transparent 90%);
    pointer-events: none;
}

#header-top a {
    display: inline-flex;
    pointer-events: auto;
    vertical-align: middle;
    height: 40px;
    margin: 5px 0 5px 0;
}

#header-wrap .inner {
    padding: 100px 10px 30px 10px;
}

.title-logo {
    width: 200px;
}

#menu-title {
    line-height: 40px;
    margin: 0 0 0 5px;
    height: 40px;
}

#menu-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    margin: auto;
}

#title {
    margin: 0;
    color: #e0e0e0;
    font-size: 42px;
    text-shadow: #000000 0 0 5px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: normal;
    cursor: default;
}

#timer {
    color: #b5b5b5;
    font-size: 20px;
    font-weight: 300;
    background: none;
    text-shadow: #000000 0 0 2px;
    border-bottom: none;
    height: 30px;
}

#home-image {
    width: 50%;
    margin: 0;
    padding: 0;
}

#home-title {
    width: 60%;
    margin: 0;
    padding: 0;
}

#home-content-wrap {
    background: none;
    height: 100%;
}

#home-content {
    padding-top: 100px;
}

#home-content h1 {
    color: white;
    font-size: 70px;
    border: none;
    text-align: center;
    text-shadow: 0 0 10px #000;
}

#home-content p {
    color: white;
    font-size: 30px;
    text-align: center;
    text-shadow: 0 0 5px #000;
}

.background {
    background: url("../images/bg_up.jpg") no-repeat center fixed;
    background-size: cover;
    position: fixed;
    height: 100%;
    width: 100%;
    z-index: -10;
}

.index-background {
    background: url("../images/bg_index.jpg") no-repeat center fixed;
}

#bg_ussr {
    background: url("../images/urss.png") no-repeat center fixed;
    background-size: cover;
}

#bg_usa {
    background: url("../images/usa.png") no-repeat center fixed;
    background-size: cover;
}

#main-fading-top-edge {
    height: 200px;
    background: linear-gradient(to top, #1c1c1c, transparent 90%);
}
#main-fading-bottom-edge {
    height: 200px;
    background: linear-gradient(to bottom, #1c1c1c, transparent 90%);
}
#main-content-wrap {
    background: #1c1c1c;
}

#main-content {
    padding-top: 10px;
}

#footer-wrap {
    padding: 50px 0 50px 0;
}

#table-wrapper {
    width: 100%;
    overflow: auto;
}

#table-coms{
    width: 100%;
    table-layout: auto;
    text-align: center;
    border: 1px solid #494949;
}

#table-coms .spacer{
    width: 20%;
}

#table-coms td{
    vertical-align: middle;
    border: none;
    padding: 0;
    width: 30%;
}

#table-coms img{
    height: 100px;
}

.com-description{
    width: 100%;
    font-weight: bold;
}

#back-button{
    top: 0;
    left: 0;
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0;
    z-index: -100;
    transition: 0.3s;
}

.active-background {
    z-index: 100 !important;
    opacity: 0.7 !important;
}

.main-button {
    background-color: #1a1a1a;
    padding: 2px 2px 2px 2px;
    border-radius: 5px;
    text-shadow: 0 0 5px #1c1c1c;
    font-size: 25px;
    color: #73b795;
    box-shadow: 0 0 4px #000;
}

.main-button:hover {
    box-shadow: 0 0 10px #000;
    background-color: #635247;
}

#credits-list {
    list-style: none;
    display: inline-flex;
}

#credits-list li {
    padding: 5px;
    height: 50px;
    width: 50px;
}

#credits-list svg {
    height: 50px;
    width: 50px;
}

#credits-list a:hover{
    color: #a3a7b3;
}

#main-pages{
    width: 100%;
    display: inline-grid;
    padding: 0;
    vertical-align: middle;
}

.main-link{
    width: 85px;
    height: 85px;
    margin: 2px;
    display: inline-grid;
    vertical-align: middle;
    padding: 0;
    color: #e0e0e0;
}

.main-link:hover{
    color: rgba(17, 65, 101, 0.8);
}

#main-link-container{
    display: block;
}

.main-logo {
    font-size: 70px;
    display: inline-flex;
}

.main-logo svg {
    margin: auto;
}

.main-logo img {
    width: 90%;
    margin: auto;
    padding: 0;
}


#list-blouse{
    text-align: left;
    list-style: square;
}

#map svg path{
    transition: 0.3s;
}

#hint {
    font-size: 12px;
    color: #535353;
}

/*******************************************************************************
Small Device Styles
*******************************************************************************/

@media screen and (max-width: 992px) {
    img {
        max-width: 100%;
    }
}

@media screen and (max-width: 480px) {
    body {
        font-size: 14px;
    }
    .video {
        width: 240px;
        height: 135px;
    }
    .inner {
        min-width: 320px;
        max-width: 480px;
    }
    #title {
        font-size: 32px;
    }
    h1 {
        font-size: 28px;
    }
    h2 {
        font-size: 24px;
    }
    h3 {
        font-size: 21px;
    }
    h4 {
        font-size: 18px;
    }
    h5 {
        font-size: 14px;
    }
    h6 {
        font-size: 12px;
    }
    code, pre {
        font-size: 11px;
    }
    #table-wrapper {
        width: 100%;
        overflow: scroll;
    }
    #table-coms .spacer{
        width: 0;
    }
    #table-coms td{
        width: 50%;
    }
    .main-link {
        width: 40px;
        height: 40px;
    }
    .main-logo {
        font-size: 32px;
    }
}

@media screen and (max-width: 320px) {
    body {
        font-size: 14px;
    }
    .inner {
        min-width: 240px;
        max-width: 320px;
    }
    #title {
        font-size: 28px;
    }
    h1 {
        font-size: 24px;
    }
    h2 {
        font-size: 21px;
    }
    h3 {
        font-size: 18px;
    }
    h4 {
        font-size: 16px;
    }
    h5 {
        font-size: 14px;
    }
    h6 {
        font-size: 12px;
    }
    code, pre {
        min-width: 240px;
        max-width: 320px;
        font-size: 11px;
    }
    #table-wrapper {
        width: 100%;
        overflow: scroll;
    }
}