@import url(https://fonts.googleapis.com/css?family=Work+Sans:400,300,700|Open+Sans:400italic,300italic);



.home {
    width: 100%;
    height: 70vh;
    position: relative;
    background-image: url(./img/footerimage.png);
    background-size: cover;
    background-position: center center;
}

body {
    background-color: black;
 
}

h1 {
    font-family: 'Poppins', sans-serif, 'arial';
    font-weight: 900;
    font-size: 90px;
    background-image: 
      url("./img/fancytextbackground.jpg");
    text-align: center;
    background-size: 100% auto;
    background-position: center;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
}

h4 {
    font-family: 'Poppins', sans-serif, 'arial';
    font-weight: 900;
    font-size: 150px;
    background-image: 
      url("./img/fancytextbackground.jpg");
    text-align: center;
    background-size: 100% auto;
    background-position: center;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    font-size: 20px;
    line-height: 2.0;
}

/* ///// inputs /////*/

input:focus ~ label, textarea:focus ~ label, input:valid ~ label, textarea:valid ~ label {
    font-size: 1.05em;
    color: pink;
    top: -5px;
    -webkit-transition: all 0.225s ease;
    transition: all 0.225s ease;
}

.styled-input {
    float: left;
    width: 293px;
    margin: 1rem 0;
    position: relative;
    border-radius: 4px;
    background-color: white;
}

@media only screen and (max-width: 768px){
    .styled-input {
        width:100%;
    }
}

.styled-input label {
    font-family: 'Poppins', sans-serif, 'arial';
    color: pink;
    font-size: 1.50em;
    padding: 1.3rem 30px 1rem 30px;
    position: absolute;
    top: 10px;
    left: 0;
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
    pointer-events: none;
}

.styled-input.wide { 
    width: 650px;
    max-width: 100%;
}

input,
textarea {
    padding: 30px;
    border: 0;
    width: 100%;
    font-size: 1rem;
    background-color:#7f1ae5;
    color: white;
    border-radius: 4px;
}

input:focus,
textarea:focus { outline: 0; }

input:focus ~ span,
textarea:focus ~ span {
    width: 100%;
    -webkit-transition: all 0.075s ease;
    transition: all 0.075s ease;
    background-color: #7f1ae5;
}

textarea {
    width: 100%;
    min-height: 15em;
    background-color: #7f1ae5;
}

.input-container {
    width: 650px;
    max-width: 100%;
    margin: 20px auto 25px auto;
    background-color: black;
}

.submit-btn {
    float: right;
    padding: 7px 35px;
    border-radius: 60px;
    display: inline-block;
    background-color: violet;
    color: white;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.06),
              0 2px 10px 0 rgba(0,0,0,0.07);
    -webkit-transition: all 300ms ease;
    transition: all 300ms ease;
}

.submit-btn:hover {
    transform: translateY(1px);
    box-shadow: 0 1px 1px 0 rgba(0,0,0,0.10),
              0 1px 1px 0 rgba(0,0,0,0.09);
}

@media (max-width: 768px) {
    .submit-btn {
        width:100%;
        float: none;
        text-align:center;
    }
}

input[type=checkbox] + label {
  color: #ccc;
  font-style: italic;
} 

input[type=checkbox]:checked + label {
  color: #f00;
  font-style: normal;
}
/* ====================================
Navigation 
==================================== */

.overlay-navigation {
    position: fixed;
    z-index: 99;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: hsla(0, 0%, 0%, 0.8);
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
}

.overlay-slide-down {
    -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
    -webkit-transform: translateY(0);
    transform: translateY(0)
}

.overlay-slide-up {
    -webkit-transition: all .8s ease-in-out;
    transition: all .8s ease-in-out;
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%)
}

nav,
nav ul {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

nav ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    list-style: none;
}

nav ul li {
    -ms-flex-preferred-size: 20%;
    flex-basis: 20%;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 100%;
    overflow: hidden;
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
}

nav li a {
    position: relative;
    top: 46%;
    color: #fff;
    text-transform: uppercase;
    font-family: 'Work sans', sans-serif;
    font-weight: 300;
    letter-spacing: 4px;
    text-decoration: none;
    display: block;
    text-align: center;
    font-size: 0.9rem;
}

nav li a:before {
    content: '';
    width: 70px;
    height: 2px;
    background-color: #fff;
    position: absolute;
    top: 50%;
    left: 0;
    z-index: 100;
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
    opacity: 0;
    -webkit-transition: all .2s linear;
    transition: all .2s linear;
}

nav li a:after {
    content: attr(data-content);
    font-size: 0.7rem;
    -webkit-transition: all .2s linear;
    transition: all .2s linear;
    opacity: 0;
    position: absolute;
    z-index: 100;
    color: #fff;
    display: block;
    margin-right: auto;
    margin-left: auto;
    left: 0;
    right: 0;
    bottom: -50px;
    text-transform: none;
    font-family: 'Open sans', serif;
    font-weight: 300;
    font-style: italic;
    letter-spacing: 0;
}

nav li a:hover:before {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
}

nav li a:hover:after {
    -webkit-transform: translateY(15px);
    transform: translateY(15px);
    opacity: 1;
}

nav li:nth-of-type(1) {
    background-color: #29363B
}

nav li:nth-of-type(2) {
    background-color: #EA495F
}

nav li:nth-of-type(3) {
    background-color: #F4837D
}

nav li:nth-of-type(4) {
    background-color: #FDCEA9
}

nav li:nth-of-type(5) {
    background-color: #99B998
}

.slide-in-nav-item {
    -webkit-animation: slide-in-nav-item 0.4s linear 1 .2s both;
    animation: slide-in-nav-item 0.4s linear 1 .2s both;
}

.slide-in-nav-item-delay-1 {
    -webkit-animation: slide-in-nav-item 0.4s linear 1 .4s both;
    animation: slide-in-nav-item 0.4s linear 1 .4s both;
}

.slide-in-nav-item-delay-2 {
    -webkit-animation: slide-in-nav-item 0.4s linear 1 .6s both;
    animation: slide-in-nav-item 0.4s linear 1 .6s both;
}

.slide-in-nav-item-delay-3 {
    -webkit-animation: slide-in-nav-item 0.4s linear 1 .8s both;
    animation: slide-in-nav-item 0.4s linear 1 .8s both;
}

.slide-in-nav-item-delay-4 {
    -webkit-animation: slide-in-nav-item 0.4s linear 1 1s both;
    animation: slide-in-nav-item 0.4s linear 1 1s both;
}

.slide-in-nav-item-reverse {
    -webkit-animation: slide-in-nav-item-reverse .3s linear 1 .5s both;
    animation: slide-in-nav-item-reverse .3s linear 1 .5s both;
}

.slide-in-nav-item-delay-1-reverse {
    -webkit-animation: slide-in-nav-item-reverse .3s linear 1 .4s both;
    animation: slide-in-nav-item-reverse .3s linear 1 .4s both;
}

.slide-in-nav-item-delay-2-reverse {
    -webkit-animation: slide-in-nav-item-reverse .3s linear 1 .3s both;
    animation: slide-in-nav-item-reverse .3s linear 1 .3s both;
}

.slide-in-nav-item-delay-3-reverse {
    -webkit-animation: slide-in-nav-item-reverse .3s linear 1 .2s both;
    animation: slide-in-nav-item-reverse .3s linear 1 .2s both;
}

.slide-in-nav-item-delay-4-reverse {
    -webkit-animation: slide-in-nav-item-reverse .3s linear 1 both;
    animation: slide-in-nav-item-reverse .3s linear 1 both;
}



.open-overlay {
    position: absolute;
    right: 0rem;
    top: 3.2rem;
    z-index: 100;
    width: 45px;
    display: block;
    cursor: pointer;
}

.open-overlay span {
    display: block;
    height: 1px;
    background-color: #fff;
    cursor: pointer;
    margin-top: 8px;
}

.animate-top-bar {
    -webkit-animation: animate-top-bar .6s linear 1 both;
    animation: animate-top-bar .6s linear 1 both
}

.animate-bottom-bar {
    -webkit-animation: animate-bottom-bar .6s linear 1 both;
    animation: animate-bottom-bar .6s linear 1 both
}

.animate-middle-bar {
    -webkit-animation: animate-middle-bar .6s linear 1 both;
    animation: animate-middle-bar .6s linear 1 both
}

.animate-out-top-bar {
    -webkit-animation: animate-out-top-bar .6s linear 1 both;
    animation: animate-out-top-bar .6s linear 1 both
}

.animate-out-bottom-bar {
    -webkit-animation: animate-out-bottom-bar .6s linear 1 both;
    animation: animate-out-bottom-bar .6s linear 1 both
}

.animate-out-middle-bar {
    -webkit-animation: animate-out-middle-bar .6s linear 1 both;
    animation: animate-out-middle-bar .6s linear 1 both
}


/* ====================================
Animation keyframes
==================================== */

@-webkit-keyframes slide-in-nav-item {
    from {
        -webkit-transform: translateY(-100%);
        transform: translateY(-100%)
    }

    to {
        -webkit-transform: translateY(0);
        transform: translateY(0)
    }
}

@keyframes slide-in-nav-item {
    from {
        -webkit-transform: translateY(-100%);
        transform: translateY(-100%)
    }

    to {
        -webkit-transform: translateY(0);
        transform: translateY(0)
    }
}

@-webkit-keyframes slide-in-nav-item-reverse {
    from {
        -webkit-transform: translateY(0);
        transform: translateY(0)
    }

    to {
        -webkit-transform: translateY(-100%);
        transform: translateY(-100%)
    }
}

@keyframes slide-in-nav-item-reverse {
    from {
        -webkit-transform: translateY(0);
        transform: translateY(0)
    }

    to {
        -webkit-transform: translateY(-100%);
        transform: translateY(-100%)
    }
}

@-webkit-keyframes animate-top-bar {
    0% {
        background-color: #fff;
    }

    50% {
        -webkit-transform: translateY(9px);
        transform: translateY(9px)
    }

    80% {
        -webkit-transform: translateY(5px);
        transform: translateY(5px);
        background-color: #fff
    }

    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        background-color: #29363B;
    }
}

@keyframes animate-top-bar {
    0% {
        background-color: #fff;
    }

    50% {
        -webkit-transform: translateY(9px);
        transform: translateY(9px)
    }

    80% {
        -webkit-transform: translateY(5px);
        transform: translateY(5px);
        background-color: #fff
    }

    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        background-color: #29363B;
    }
}

@-webkit-keyframes animate-bottom-bar {
    0% {
        background-color: #fff;
    }

    50% {
        -webkit-transform: translateY(-9px);
        transform: translateY(-9px)
    }

    80% {
        -webkit-transform: translateY(-5px);
        transform: translateY(-5px);
        background-color: #fff;
    }

    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        background-color: #29363B;
    }
}

@keyframes animate-bottom-bar {
    0% {
        background-color: #fff;
    }

    50% {
        -webkit-transform: translateY(-9px);
        transform: translateY(-9px)
    }

    80% {
        -webkit-transform: translateY(-5px);
        transform: translateY(-5px);
        background-color: #fff;
    }

    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        background-color: #29363B;
    }
}

@-webkit-keyframes animate-middle-bar {
    0% {
        background-color: #fff;
    }

    80% {
        background-color: #fff;
    }

    100% {
        background-color: #29363B;
    }
}

@keyframes animate-middle-bar {
    0% {
        background-color: #fff;
    }

    80% {
        background-color: #fff;
    }

    100% {
        background-color: #29363B;
    }
}

@-webkit-keyframes animate-out-top-bar {
    0% {
        background-color: #29363B
    }

    50% {
        -webkit-transform: translateY(9px);
        transform: translateY(9px)
    }

    80% {
        -webkit-transform: translateY(5px);
        transform: translateY(5px);
        background-color: #29363B
    }

    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        background-color: #FFF;
    }
}

@keyframes animate-out-top-bar {
    0% {
        background-color: #29363B
    }

    50% {
        -webkit-transform: translateY(9px);
        transform: translateY(9px)
    }

    80% {
        -webkit-transform: translateY(5px);
        transform: translateY(5px);
        background-color: #29363B
    }

    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        background-color: #FFF;
    }
}

@-webkit-keyframes animate-out-bottom-bar {
    0% {
        background-color: #29363B
    }

    50% {
        -webkit-transform: translateY(-9px);
        transform: translateY(-9px)
    }

    80% {
        -webkit-transform: translateY(-5px);
        transform: translateY(-5px);
        background-color: #29363B;
    }

    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        background-color: #FFF;
    }
}

@keyframes animate-out-bottom-bar {
    0% {
        background-color: #29363B
    }

    50% {
        -webkit-transform: translateY(-9px);
        transform: translateY(-9px)
    }

    80% {
        -webkit-transform: translateY(-5px);
        transform: translateY(-5px);
        background-color: #29363B;
    }

    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        background-color: #FFF;
    }
}

@-webkit-keyframes animate-out-middle-bar {
    0% {
        background-color: #29363B
    }

    80% {
        background-color: #29363B;
    }

    100% {
        background-color: #fff;
    }
}

@keyframes animate-out-middle-bar {
    0% {
        background-color: #29363B
    }

    80% {
        background-color: #29363B;
    }

    100% {
        background-color: #fff;
    }
}

.home a {
    font-family: "Work Sans", sans-serif;
    color: #fff;
    font-weight: 300;
    font-size: 12px;
    text-transform: uppercase;
    text-decoration: none;
    position: absolute;
    z-index: 10;
    top: 50px;
    left: 50px;
    padding-bottom: 3px;
    border-bottom: 1px solid #fff;
}

@media (max-width: 640px) {
    nav ul li a {
        font-size: 11px;
    }

    nav li a:after {
        font-size: 0.6rem;
    }

    .open-overlay {
        right: 1rem;
    }

    nav li a:before {
        width: 15px;
    }
}