/* ============================================================
  CSS 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;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

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

/* ============================================================
  PRIMARY NAVIGATION
============================================================ */
nav {
    height: auto;
    position: fixed;
    float: left;
    padding: 0px;
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
    z-index: 1;
}

#menu-icon {
    display: none;
    width: 40px;
    height: 40px;
    background: dimgray;
    background-image: url(images/menu_icon-03.png);
    background-repeat: no-repeat;
    background-position: center;
}

a:hover#menu-icon {
    background-color: lightgray;
    border-radius: 10px 10px 0 0;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: none;
}

nav li {
    display: inline-block;
    float: left;
    padding: 10px
}

nav li a {
    display: block;
    color: white;
    text-align: center;
    text-decoration: none;
    font-family: sans-serif;
    padding: 14px 16px;
}

nav li a:hover:not(.active) {
    background-color: gray;
}

/* ============================================================
   PRIMARY SOCIAL MEDIA
============================================================ */
#social {
    float: right;
    height: 100px;
    width: auto;
    display: inline;
    position: fixed;
    top: 100px;
    right: 5px;
    z-index: 1;
}

/* ============================================================
  PRIMARY STRUCTURE
============================================================ */
.container {
    max-width: 960px;
    margin: 0 auto;
}

/* ============================================================
  PRIMARY SECTIONS
============================================================ */
section.module:last-child {
    margin-bottom: 0;
}

section.module h2 {
    margin-bottom: 40px;
    font-family: "Roboto Slab", serif;
    font-size: 30px;
}

section.module p {
    margin-bottom: 40px;
    font-size: 16px;
    font-weight: 300;
}

section.module p:last-child {
    margin-bottom: 0;
}

section.module.content {
    padding: 40px 0;
}

section.module.parallax {
    height: 600px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

section.module.parallax h1 {
    color: rgba(255, 255, 255, 0.8);
    font-size: 100px;
    line-height: 600px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

section.module.parallax-1 {
    background-image: url("images/1.jpg");
}

section.module.parallax-2 {
    background-image: url("images/2.jpg");
}

section.module.parallax-3 {
    background-image: url("images/3.jpg");
}

/* ============================================================
  PRIMARY FOOTER
============================================================ */
footer {
    float: left;
    width: 100%;
    height: 50px;
    background-color: black;
}

footer p {
    color: white;
    text-align: center;
    padding-top: 20px;
}

.scrollup {
    width: 50px;
    height: 50px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    text-indent: -9999px;
    background-color: gray;
    background-image: url(images/uparrows-03.png);
    background-repeat: no-repeat;
    background-size: 30px 30px;
    background-position: center;
    border-radius: 50px;
}

@media all and (max-width: 960px) {

    /* ============================================================
  MOBILE NAVIGATION
============================================================ */
    #menu-icon {
        display: block;
        float: right;
    }

    nav {
        height: auto;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        padding-top: 0px;
        padding-bottom: 0px;
    }

    nav a {
        width: 100%;
        display: block;
        color: white;
    }

    nav li {
        text-align: center;
        width: 100%;
        padding: 0;
        margin: 0;
        display: block;
        float: left;
        background-color: #ffffff;
    }

    nav li a {
        color: darkgray;
    }

    nav ul,
    nav:active ul {
        display: none;
        padding: 0px;
        background-color: #ffffff;
        width: 100%;
        border-radius: 4px 4px 4px 4px;
    }

    nav:hover ul {
        display: block;
        width: 100%;
        color: white;
    }


    /* ============================================================
MOBILE SOCIAL
============================================================ */
    #social {
        float: right;
        height: auto;
        width: 50px;
        display: block;
        position: fixed;
        top: 175px;
        right: 5px;
        background-color: rgba(0, 0, 0, 0.5);
    }

    /* ============================================================
MOBILE STRUCTURE
============================================================ */
    section.module.parallax h1 {
        font-size: 48px;
        line-height: 300px;
        font-weight: 700;
        text-align: center;
        text-transform: uppercase;
        text-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    }

    section.module.content {
        padding: 20px;
    }

    section.module.parallax {
        height: 300px;
        background-position: 50% 50%;
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-size: canvas;
    }
}

* {
    box-sizing: border-box
}

/* Slideshow container */
.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
}

/* Hide the images by default */
.mySlides {
    display: none;
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Caption text */
.text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active,
.dot:hover {
    background-color: #717171;
}

/* Fading animation */
.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}
