*{
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
}

#night-mode {
    border: none;
    background-color: transparent;
    color: white;
    margin-top: 28px;
    margin-left: 20px;
    outline: none;
    position: absolute;
    display: none;
}

.header {
    width: 100%;
    height: 80px;
    display: block;
    background-color: #101010;
    position: fixed;
}

.inner-header {
    width: 80%;
    height: 100%;
    display: block;
    margin: 0 auto;
}

.logo-container {
    height: 100%;
    display: table;
    float: left;
}

.logo-container h1 {
    color: white;
    vertical-align: middle;
    height: 100%;
    display: table-cell;
    font-family: 'Montserrat';
    font-size: 32px;
    font-weight: 200;
}

.logo-container span {
    font-weight: 800;
}

.navigation {
    float: right;
    height: 100%;
}

.navigation button {
    border: none;
    outline: none;
    text-decoration: none;
    height: 100%;
    display: table;
    float: left;
    padding: 0px 20px;
    background-color: #101010;
    cursor: pointer;
    text-align: center;
    transition: background 250ms ease-in-out, transform 150ms ease;
    -webkit-appearance: none;
    -moz-appearance: none;
}

button:hover,
button:focus {
    background: #0053ba;
}

button:focus {
    outline: 1px solid #fff;
    outline-offset: -4px;
}

button::-moz-focus-inner {
    border: 0;
  }

button:active {
    transform: scale(0.99);
    -webkit-tap-highlight-color:  rgba(255, 255, 255, 0); 
}

.navigation button li {
    display: table-cell;
    vertical-align: middle;
    height: 100%;
    color: white;
    font-family: 'Montserrat';
    font-size: 16px;
}

#test {
    font-family: 'Montserrat';
    font-weight: 600;
    color: white;
    background-color: none;
    position: absolute;
    margin-top: 45px;
}


.footer {
    width: 100%;
    display: block;
    overflow: hidden;
    padding: 70px 0;
    box-sizing: box;
    background-color: #101010;
    position: relative;
    bottom: 0;
}

.inner-footer {
    display: block;
    margin: 0px;
    width: 100%;
    height: 100%;
}

.inner-footer .footer-logo-container {
    width: 35%;
    float: left;
    height: 100%;
    display: block;
}

.inner-footer .footer-logo-container h1 {
    color: white;
    height: 100%;
    display: table-cell;
    vertical-align: middle;
    font-family: 'Montserrat';
    font-size: 32px;
    font-weight: 200;
}

.inner-footer .footer-logo-container span {
    font-weight: 800;
}

.inner-footer .footer-third {
    width: 22%;
    margin-right: 10px;
    float: right;
    height: 100%;
    white-space: pre-line;
}

.inner-footer .footer-third:last-child {
    margin-right: 20%;
}

.inner-footer .footer-third h1 {
    font-family: 'arial';
    font-size: 22px;
    color: white;
    display: block;
    margin-bottom: 20px;
}

.inner-footer .footer-third a {
    font-family: 'arial';
    font-size: 18px;
    font-weight: 200;
    color: white;
    display: block;
    padding-bottom: 5px;
}

.inner-footer .footer-third li {
    display: inline-block;
    padding: 0px 5px;
    font-size: 20px;
}

.inner-footer .footer-third span {
    color: white;
    font-family: 'arial';
    font-size: 16px;
    font-weight: 200;
    display: block;
    width: 100%;
    padding-top: 20px;
    white-space: pre;
}


.image-spacing {
    height: 500px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url('../res/background.jpg');
    display: block;
}

.content {
    width: 100%;
    display: block;
    box-sizing: border-box;
    background-color: white;
    position: relative;
    overflow: visible;
    background-color: white;
}

.content h1 {
    color: #101010;
    height: 100%;
    vertical-align: middle;
    font-family: 'Montserrat';
    font-size: 32px;
    font-weight: 600;
    padding: 0px 20%;
    position: relative;
    overflow: hidden;
    padding-top: 20px;
    background-color: white;
    -webkit-animation: fadein 0.7s linear forwards;
    animation: fadeinout 0.7s linear forwards;
    opacity: 0;
}

.content p {
    font-family: 'arial';
    font-size: 18px;
    font-weight: 200;
    color: #101010;
    display: block;
    padding: 15px 20%;
    white-space: pre-line;
    position: relative;
    overflow: hidden;
    background-color: white;
    -webkit-animation: fadein 0.7s linear forwards;
    animation: fadeinout 0.7s linear forwards;
    opacity: 0;
}

#map {
    width: 400px;
    height: 400px;
}

@-webkit-keyframes fadeinout {
    100% { opacity: 1; }
  }
  
  @keyframes fadeinout {
    100% { opacity: 1; }
  }

.polygon {
    background-color: white;
    bottom: 70px;
    display: block;
    height: 100%;
    left: 0;
    position: absolute;
    right: 0;
    -webkit-transform: skewY(-1.5deg);
    -webkit-transform-origin: 100%;
    transform: skewY(-1.5deg);
    transform-origin: 100%;
}

::selection {
    background: #101010; /* WebKit/Blink Browsers */
    color: white;
  }
  ::-moz-selection {
    background: #101010; /* Gecko Browsers */
  }


@media (max-device-height : 1024px) 
and (max-device-width : 768px) and (orientation:portrait) {

    .inner-header button{
        margin-top: 2px;
        margin-right: 2px;
        background-color: #101010;
        border-radius: 80px;
        outline: none;
    }

    .navigation button:last-child {
        padding: 0px 20px;
    }

    button:hover,
    button:focus {
        background: #0053ba;
}   

    button:active {
        transform: scale(0.9);
        -webkit-tap-highlight-color:  rgba(255, 255, 255, 0); 
    }

    .content h1 {
        padding: 0px 20px;
        padding-top: 20px;
    }
    
    .content p {
        padding: 15px 20px;
    }

    .footer .inner-footer {
        width: 90%;
    }

    .inner-footer .footer-logo-container,
    .inner-footer .footer-third {
        width: 100%;
        margin-bottom: 30px;
        margin-left: 20px;
        float: left;
    }

    .polygon {
        -webkit-transform: skewY(-6deg);
        -webkit-transform-origin: 100%;
        transform: skewY(-6deg);
        transform-origin: 100%;
    }
}

@media (orientation:landscape) and (max-device-height : 768px) 
and (max-device-width : 1024px) {

    .inner-header button{
        margin-top: 0px;
        margin-right: 2px;
        background-color: #101010;
        border-radius: 80px;
        outline: none;
    }

    .navigation button:last-child {
        padding: 0px 20px;
    }

    button:hover,
    button:focus {
        background: #0053ba;
}   

    button:active {
        transform: scale(0.9);
        -webkit-tap-highlight-color:  rgba(255, 255, 255, 0); 
    }


    .footer .inner-footer {
        width: 90%;
    }

    .inner-footer .footer-logo-container,
    .inner-footer .footer-third {
        width: 100%;
        margin-bottom: 30px;
        margin-left: 20px;
        float: left;
    }

    .image-spacing {
        height: 300px;
    }

    .polygon {
        -webkit-transform: skewY(-6deg);
        -webkit-transform-origin: 100%;
        transform: skewY(-2.5deg);
        transform-origin: 100%;
    }
}