html{
    scroll-behavior:smooth
}

body {
	font-family: Raleway, Helvetica, sans-serif;
    font-size: 11pt;
    line-height: 25px;
	color: #e1e1e1;
	margin: 0px;
}

footer {
    font-family: Raleway, Helvetica, sans-serif;
    font-size: 0.7em;
    text-transform: uppercase;
    text-align: center;
    padding: 10px;
    background-color: #1e1e1e;
    color: #e1e1e1;
}

#intro {
    display: -moz-flex;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -moz-flex-direction: column;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -moz-justify-content: center;
    -webkit-justify-content: center;
    -ms-justify-content: center;
    justify-content: center;
    position: relative;
    text-align: center;
    height: 100vh;
    min-height: 35em;
    overflow: hidden;
}

#intro h2 {
    display: inline-block;
    font-size: 40px;
    opacity: 1;
    padding-top: 0.35em;
    padding-bottom: 0.35em;
    position: relative;
    z-index: 1;
    line-height: 1.75em;
    color: #e1e1e1;
    font-weight: 800;
    letter-spacing: 0.225em;
    line-height: 1.75em;
    margin: 0 0 0.5em 0;
    text-transform: uppercase;
}

#intro h2:before {
    top: 0;
    left: 0;
}

#intro h2:after {
    bottom: 0;
    right: 0;
}

#intro h2:before, #intro h2:after {
    -moz-transition: width 0.85s ease;
    -webkit-transition: width 0.85s ease;
    -ms-transition: width 0.85s ease;
    transition: width 0.85s ease;
    -moz-transition-delay: 0.25s;
    -webkit-transition-delay: 0.25s;
    -ms-transition-delay: 0.25s;
    transition-delay: 0.25s;
    background: #e1e1e1;
    content: '';
    display: block;
    height: 3px;
    position: absolute;
    width: 100%;
}

#intro h2:before, #intro h2:after {
  animation-duration: 3s;
  animation-name: line;
}

@keyframes line {
  from {
    width: 0%;
  }

  to {
    width: 100%;
  }
}

#intro p {
	font-size: 17px;
    letter-spacing: 0.225em;
    text-transform: uppercase;
}

#contact p {
    font-size: 12px;
    letter-spacing: 0.225em;
    text-transform: uppercase;
}

#intro .more {
    -moz-transition: -moz-transform 0.75s ease, opacity 0.75s ease;
    -webkit-transition: -webkit-transform 0.75s ease, opacity 0.75s ease;
    -ms-transition: -ms-transform 0.75s ease, opacity 0.75s ease;
    transition: transform 0.75s ease, opacity 0.75s ease;
    -moz-transition-delay: 3.5s;
    -webkit-transition-delay: 3.5s;
    -ms-transition-delay: 3.5s;
    transition-delay: 3.5s;
    -moz-transform: translateY(0);
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
    border: none;
    bottom: 0;
    height:8em;
    left: 50%;
    letter-spacing: 0.225em;
    margin-left: -8.5em;
    opacity: 1;
    outline: 0;
    position: absolute;
    text-align: center;
    text-transform: uppercase;
    z-index: 1;
}

#intro .more a {
    text-decoration: none;
    color: inherit;
    font-size: 0.8em;
}

#intro .more:after {
    background-image: url(images/arrow.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    bottom: 4em;
    content: '';
    display: block;
    height: 1.5em;
    left: 50%;
    margin: 0 0 0 -0.75em;
    position: absolute;
    width: 1.5em;
}

#contact {
    text-align: center;
    margin: 80px;
}

#contact a {
    color: #e1e1e1;
}

#about, #games {
    width: 80%;
    margin: auto;
}

#games p.game-description {
    font-size: 0.85em;
    font-style: italic;
}

.full-size {
    display: block;
    background-color: #ebebeb;
    color: #1e1e1e;
    padding: 4em;
    text-align: center;
}

.full-size-2 {
    display: block;
    background-color: #e3e3e3;
    color: #1e1e1e;
    padding: 4em;
    text-align: center;
}

.full-size p, .full-size-2 p {
    font-size: 1em;
    letter-spacing: 0.225em;
    text-transform: uppercase;
    text-align: center;
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.full-size a, .full-size-2 a {
    font-size: 1.2em;
    font-weight: bold;
    letter-spacing: 0.225em;
    text-transform: uppercase;
    text-align: center;
    width: 100%;
    max-width: 900px;
    text-decoration: none;
    color: #1e1e1e;
}

a:before, a:after {
    -moz-transition: -moz-transform 0.2s ease-out;
    -webkit-transition: -webkit-transform 0.2s ease-out;
    -ms-transition: -ms-transform 0.2s ease-out;
    transition: transform 0.1s ease-out;
}

a:hover:before, a:hover:after {
    -moz-transform: scale(1.05);
    -webkit-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.3);
}

.full-size .play:before, .full-size-2 .play:before {
    background-image: url(images/play.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    content: '';
    display: inline-block;
    height: 15px;
    left: 50%;
    width: 1em;
    margin-right: 0.3em;
}

.full-size h2, .full-size-2 h2 {
    display: inline-block;
    font-size: 35px;
    opacity: 1;
    position: relative;
    z-index: 1;
    font-weight: 900;
    letter-spacing: 0.225em;
    text-transform: uppercase;
}

.full-size h3, .full-size-2 h3 {
    font-size: 1.6em;
    letter-spacing: 0.225em;
    text-transform: uppercase;
}

.separator {
    background: #f6f6f6;
    display: block;
    margin: 4em auto;
    height: 2px;
    width: 100%;
    max-width: 900px;
}

.profile-picture {
    overflow: hidden;
    width: 95%;
    max-width: 900px;
    display: block;
    margin: 2em auto;
}

.profile-picture img {
	width: 100%;
    -moz-transition: -moz-transform 0.2s ease-out;
    -webkit-transition: -webkit-transform 0.2s ease-out;
    -ms-transition: -ms-transform 0.2s ease-out;
    transition: transform 0.2s ease-out;
}

.profile-picture img:hover {
    -moz-transform: scale(1.015);
    -webkit-transform: scale(1.015);
    -ms-transform: scale(1.015);
    transform: scale(1.015);
}

#profile-picture-mobile {
    display: none;
}

.parallax-background {
    background-image: url("images/background.jpg");
    min-height: 500px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: repeat;
    padding-top: 25px;
    padding-bottom: 25px;
}

.slider {
    width: 95%;
    max-width: 900px;
    height: 500px;
    display: flex;
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
    margin-left: auto;
    margin-right: auto;
}

.slider::-webkit-scrollbar {
  -webkit-appearance: none;
  height: 15px;
}

.slider::-webkit-scrollbar-thumb {
  border-radius: 20px;
  background-color: rgba(0, 0, 0, .5);
  -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, .5);
}

.full-size .slider {
    border: solid 2px #ebebeb;
}

.full-size-2 .slider {
    border: solid 2px #e3e3e3;
}

.slide {
    flex-shrink: 0;
    overflow: hidden;
}

.full-size .slide {
    border: solid 2px #ebebeb;
}

.full-size-2 .slide {
    border: solid 2px #e3e3e3;
}

.slide img {
    height: 100%;
    -moz-transition: -moz-transform 0.2s ease-out;
    -webkit-transition: -webkit-transform 0.2s ease-out;
    -ms-transition: -ms-transform 0.2s ease-out;
    transition: transform 0.2s ease-out;
}

.slide img:hover {
    -moz-transform: scale(1.015);
    -webkit-transform: scale(1.015);
    -ms-transform: scale(1.015);
    transform: scale(1.015);
}

@media screen and (max-width: 1000px) {
    body {
        font-size: 20px;
    }

    #intro, #about, #games {
        width: 99%;
        padding: 0;
    }

    #intro {
        height: 100%;
    }

    #intro h2 {
        font-size: 60px;
    }

    #intro p {
        font-size: 25px;
    }

     #intro .more a {
        font-size: 20px;
    }

    #intro h2:before, #intro h2:after {
        height: 7px;
    }

    #about p {
        text-align: center;
        font-size: 15px;
    }

    .profile-picture {
        width: 100%;
        max-width: unset;
    }

    #profile-picture-desktop {
        display: none;
    }

    #profile-picture-mobile {
        display: block;
    }

    .full-size, .full-size-2 {
        padding: 4em 0;
    }

    .full-size h2, .full-size-2 h2 {
        font-size: 45px;
    }

    .full-size h3, .full-size-2 h3 {
        font-size: 25px;
    }    

    .full-size p, .full-size-2 p {
        font-size: 15px;
    }

    .full-size .play:before, .full-size-2 .play:before {
        height: 2em;
        margin-right: 1.3em;
        vertical-align: baseline;
    }

    .slider {
        width: 100%;
        max-width: unset;
        height: 580px;
    }

    #contact p, #contact a {
        font-size: 10px;
        text-decoration: none;
    }

    footer {
        font-size: 10px;
        font-weight: 500;
    }
}

