/*!
 * Ruud Poll Stylesheet
 * Built with Creative Template (http://startbootstrap.com/template-overviews/creative)
 * Original CSS by BlackrockDigital (https://github.com/BlackrockDigital/)
 * Edited and refined by Jim Kraan (https://www.jimkraan.design/)
 */

/* === Global CSS === */

html,
body {
    height: 100%;
    width: 100%;
    font-size: 16pt;
}

body {
    font-family: 'Montserrat', sans-serif;
    webkit-tap-highlight-color: #222222;
    overflow-x: hidden;
}

a {
    -webkit-transition: all 0.35s;
    -moz-transition: all 0.35s;
    transition: all 0.35s;
    color: #ccaa52;
}

a:hover,
a:focus {
    color: #A88C44;
}

h2 {
    font-size: 1.25em;
    margin-top: .5em;
}

p {
  line-height: 1.5;
  margin-bottom: 20px;
}

#top, #bottom, #left, #right {
    background: #35ae73;
    position: fixed;
}

#left, #right {
    top: 0; 
    bottom: 0;
    width: 1em;
}

#left { 
    left: 0; 
}

#right { 
    right: 0; 
}
		
#top, 
#bottom {
    left: 0; right: 0;
	height: 1em;
}

#top { 
    top: 0; 
}

#bottom { 
    bottom: 0; 
}

/* === HEADER === */

#topAnimation,
#bottomAnimation { 
	width: 100%; 
	height: 135px;
	background-image: url(../img/puzzle-pattern.png);
	background-position: center center;
	background-repeat: repeat-x;
    will-change: transform;
}

#topAnimation {
    animation: animatedTop 120s linear infinite;
    -webkit-animation: animatedTop 120s linear infinite;
}

@keyframes animatedTop {
	from { background-position: 89.95% 0; }
	to { background-position: 0 0; }
}

#bottomAnimation { 
    position: absolute;
    bottom: 0;
    margin-bottom: 25px;

	animation: animatedBottom 120s linear infinite;
    -webkit-animation: animatedBottom 120s linear infinite;
}

    @keyframes animatedBottom {
	from { background-position: 0 0; }
	to { background-position: 89.95% 0; }
}

#logoPuzzlePiece {
    width: .6em;
    margin: 0 .1em;
}

header {
    position: relative;
    width: 100%;
    min-height: auto;
    text-align: center;
    color: black;
    z-index: 15;
}

header .header-content {
    position: relative;
    text-align: center;
    padding: 100px 15px 100px;
    width: 100%;
}

header .header-content .header-content-inner h1 {
    font-weight: 700;
    text-transform: lowercase;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 5em !important;
    color: black;
    letter-spacing: -1px;
}

header .header-content .header-content-inner hr {
    margin: 30px auto;
}

@media (max-width: 460px) {
    
    header .header-content .header-content-inner h1 {
        font-size: 2.5em !important;
    }
    
    header .header-content .header-content-inner h2 {
        font-size: .75em;
        width: 18em;
        margin: .5em auto 0 auto;
    }
    
    header .header-content .header-content-inner hr {
        margin: 1em auto;
        border-width: .6em;
        max-width: 9em;
    }
    
    #bottomAnimation,
    #topAnimation {
        display: none;
        animation: none;
    }
    
   header .header-content-inner .btn {
        margin-bottom: 1.5em;
    }
    
   header .header-content .header-content-inner {
        max-height: 1em;
    }
}

@media (max-width: 320px) {
    
    header .header-content .header-content-inner h1 {
        font-size: 2em !important;
    }
    
    header .header-content .header-content-inner h2 {
        font-size: .75em;
        width: 12em;
        margin: .5em auto 0 auto;
    }
}

@media (min-width: 460px) and (max-width: 768px) {
    header .header-content .header-content-inner {
        padding-top: 80px;
    }
    
    header .header-content {
        position: absolute;
        top: 25%;
    }
    
    header .header-content .header-content-inner h1 {
        font-size: 3.5em !important;
    }
    
    header .header-content .header-content-inner h2 {
        font-size: .9em;
    }
    
    #topAnimation,
    #bottomAnimation {
        display: none;
    }
}

@media (min-width: 768px) {
    header {
        min-height: 100%;
    }
    
    header .header-content {
        position: absolute;
        top: 50%;
        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
        padding: 0 50px;
    }
  
    header .header-content .header-content-inner {
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
    }
    
    header .header-content .header-content-inner h1 {
        font-size: 2.5em;
    }
    
    header .header-content .header-content-inner p {
        max-width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
}

hr {
    border-width: 1em;
    border-color: #ccc;
    max-width: 320px;
}

.btn-default {
    color: #222222;
    padding: .75em 1.5em !important;
    font-size: .75em;
    background-color: #fff;
    border: .25em solid #111 !important;
    -webkit-transition: all 0.35s;
    -moz-transition: all 0.35s;
    transition: all 0.35s;
}

.btn-default:hover,
.btn-default:focus,
.btn-default.focus,
.btn-default:active,
.btn-default.active,
.open > .dropdown-toggle.btn-default {
    color: white;
    background-color: #111;
    border-color: #ededed;
}

.btn-default:active,
.btn-default.active {
    background-image: none;
}

.btn-primary {
    color: #111;
    font-size: .75em;
    background-color: #35ae73;
    border-color: #35ae73;
    -webkit-transition: all 0.35s;
    -moz-transition: all 0.35s;
    transition: all 0.35s;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary.focus,
.btn-primary:active,
.btn-primary.active {
    color: white;
    background-color: #35ae73;
    border-color: #35ae73;
}

.btn-primary:active,
.btn-primary.active {
    background-image: none;
}

.btn {
    font-size: .75em;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    border: none;
    border-radius: 300px;
    font-weight: 700;
    text-transform: uppercase;
}

.btn-xl {
    padding: 15px 30px;
}

::-moz-selection {
    color: white;
    text-shadow: none;
    background: #35ae73;
}

::selection {
    color: white;
    text-shadow: none;
    background: #35ae73;
}

img::selection {
    color: white;
    background: transparent;
}

img::-moz-selection {
    color: white;
    background: transparent;
}