/*
 __            __  __                        __  __                        __
|  |          |  ||  |                      |  ||  |                      |  |
 |  |        |  |  |  |        ____        |  |  |  |        ____        |  |
  |  |      |  |    |  |      |    |      |  |    |  |      |    |      |  |
   |  |    |  |      |  |    |  ||  |    |  |      |  |    |  ||  |    |  |
    |  |  |  |        |  |  |  |  |  |  |  |        |  |  |  |  |  |  |  |
     |  ||  |          |  ||  |    |  ||  |          |  ||  |    |  ||  |
      |____|            |____|      |____|            |____|      |____|

Copyright (C) 2019 Vanparijs Wim Websites www.vanparijswimwebsites.com
*/

/***************
 *             *
 * Bg & Header *
 *             *
 ***************/

#background-image {
    width: 110%;
    height: 100%;
    left: -5%;
    top: 0;
    position: absolute;
    background: url('/static/images/bg/bg1.jpg') no-repeat left center / cover;

    z-index: 1;
}

header {
    display: none;
}

#bg1, #bg2 {
    display: none;
}



/****************
 *              *
 * Page Content *
 *              *
 ****************/
section {
    position: fixed;
    margin: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.4);
}

#animated-logo-wrapper {
    display: inline-block;
}

img.animated-logo {
    cursor: pointer;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    transition: top 1s;
}

#animated-logo-wrapper:hover img.animated-logo.animate {
    top: 48.5%;
    animation-name: up-and-down;
    animation-delay: 1s;
    animation-duration: 4s;
    animation-iteration-count: infinite;
}



/**********
 *        *
 * Footer *
 *        *
 **********/

#bottom-popup {
    position: fixed;
    right: 0;
    bottom: 4.30em;
    width: 17.5em;
    background-color: #90D68D;
    padding: 1.25em 2.25em;
    padding-bottom: 0.75em;
    z-index: 25;
}

#bottom-popup form {
    margin-bottom: 0;
    padding-bottom: 0;
    font-size: 0.9em;
}

#bottom-popup .button-wrapper {
    text-align: right;
}

#bottom-popup input {
    border-radius: 1em;
    /*Width: 16em; but font-size is only 0.9em!*/
    width: 17.777em;
    border: none;
    margin: 0.5em 0;
    padding: 0.25em 0.75em;
}

#bottom-popup input.pure-button {
    width: 7.5em;
    background-color: #000;
    color: #fff;
}

#bottom-popup #newsletter-msg {
	overflow-wrap: break-word;
}

#bottom-popup .error-message {
    padding: 0.5em;
    margin: 0;
    background-image: none;
    color: #fff;
    border: none;
    font-weight: normal;
}

#bottom-popup .success-message {
    padding: 0;
    margin: 0;
    background: none;
    border: none;
    font-weight: normal;
    color: #000;
}

footer {
    margin-bottom: 0 !important;
    padding: 0;
    position: fixed;
    bottom: 0;
    left: 0;

    background-color: transparent;
    background-image: url(/static/images/bg/footer_production.png);
    background-position-x: -7.5em;
    background-repeat: no-repeat;
    background-size: 110% 100%;
    background-color: transparent;
}

footer .wrapper {
    padding-bottom: 0;
    position: relative;
}

footer .wrapper .icon-wrapper {
    display: block;
    width: 22em;
    text-align: center;

    position: absolute;
    bottom: -.5em;
    right: 1em;
}

footer .wrapper p {
    padding-top: 5em;
}

footer a {
    display: inline-block;
    margin: 0 auto;
    padding: 0 0.5em;
}

footer img {
    max-width: 2em;
    max-height: 2em;
}



/*****************
 *               *
 * Media Queries *
 *               *
 *****************/

/* <= 1280px */
@media screen and (max-width: 80em) {
    footer {
        background-size: auto;
    }
}

/* <= 1024px */
@media screen and (max-width: 64em) {
    #main-logo {
        padding-bottom: 25%;
    }

    #bottom-popup {
        bottom: 7em;
    }

    footer {
        background-size: auto;
    }

    footer .wrapper .icon-wrapper {
        bottom: 2.25em;
    }
}

/* <= 768px */
@media screen and (max-width: 48em) {
    #main-logo {
        margin-bottom: 7em;
    }

    #bottom-popup {
        width: 90%;
        padding: 5%;
        bottom: 7.75em;
    }

    #bottom-popup .button-wrapper {
        text-align: left;
    }

    footer .wrapper .icon-wrapper {
        width: auto;
        position: initial;
    }

    footer .wrapper p {
        margin-top: 0.5em;
        margin-left: 0;
        padding-top: 0;
    }
}

/* HEIGHT <= 680px */
@media screen and (max-height: 40em) {
	#bottom-popup {
		bottom: 0;
	}

    footer {
        display: none;
    }
}



/**************
 *            *
 * Animations *
 *            *
 **************/

@keyframes up-and-down {
    0% {top: 48.5%;}
    50% {top: 51.5%;}
    100% {top: 48.5%;}
}
