html, body {
    height: 100%;
}

body {
    overflow: hidden;

    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.parallax {
    height: 110%;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    display: flex;

    -webkit-animation: pulsate-fwd 15s ease-in-out infinite both;
	        animation: pulsate-fwd 15s ease-in-out infinite both;
}

@-webkit-keyframes pulsate-fwd {
    0% {
        -webkit-transform: scale(1.1);
                transform: scale(1.1);
    }
    50% {
        -webkit-transform: scale(1.2);
                transform: scale(1.2);
    }
    100% {
        -webkit-transform: scale(1.1);
                transform: scale(1.1);
    }
}
@keyframes pulsate-fwd {
    0% {
        -webkit-transform: scale(1.1);
                transform: scale(1.1);
    }
    50% {
        -webkit-transform: scale(1.2);
                transform: scale(1.2);
    }
    100% {
        -webkit-transform: scale(1.1);
                transform: scale(1.1);
    }
}

.page-holder {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* TESTING */
    /* border: 3px solid #ffffff; */
}

.page {
    display: none;
    padding: 10px;
    color: #ffffff;
    width: 100%;
    height: 100%;
}

.page-active {
    display: block;
}

.home {
    text-align: center;
}

.home .center {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.second {
    background-attachment: initial;
    background-position: right bottom;
    background-repeat: no-repeat;
}

.inset {
    margin: auto;
    width: 80%;
    padding-top: 40px;
}

.second .inset .about-box {
    width: 60%;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    border: 2px solid #9c8b8b;
    text-align: center;
}

.contact {
    background-attachment: initial;
    background-position: right bottom;
    background-repeat: no-repeat;
}

.inset2 {
    margin: auto;
    width: 80%;
    padding-top: 40px;
}

input[type=text] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
}

textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
}

input[type=submit] {
    background-color: #4CAF50;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

input[type=submit]:hover {
    background-color: #45a049;
}

.form-container {
    display: flex;
    position: absolute;
    width: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.form-50 {
    width: 100%;
}

.navbar {
    height: 15%;
    width: 100%;
    padding-left: 10%;
    padding-right: 10%;
    position: absolute;
    top: 90%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.nav-logo {
    float: left;
    width: 33%
}

.nav-logo img {
    height: 100%;
}

.nav-buttons {
    margin: auto;
    width: 300%
}

.nav-buttons ul {
    list-style-type: none;
    margin: auto;
    padding: 0;
    width: 70%;
    overflow: hidden;
    text-align: center;
}

.nav-buttons li {
    display: inline-block;
}

.nav-buttons .pad {
    padding-left: 20px;
}

.nav-buttons li svg:hover {
    color: #0066ff;
}

.icons {
    color: #ffffff;
}

.icon-active {
    color: #0066ff;
}

.nav-3 {
    float: right;
    width: 33%
}

/* Mobile alterations */
@media only screen and (max-device-width: 767px)
{
    body {
        overflow-y: visible;
    }

    .inset {
        width: 100%;
        height: 90%;
    }

    .second .inset .about-box {
        width: 100%;
        height: 300px;
        overflow-y: auto;
    }

    .inset2 {
        width: 100%;
    }

    .form-container {
        width: 80%;
    }

    .navbar {
        position: sticky;
        padding-left: 10px;
        padding-right: 10px;
    }

    .nav-logo {
        width: 100%
    }

    .nav-logo img {
        margin: auto;
    }

    .nav-buttons {
        width: 100%
    }

    .nav-buttons .pad {
        padding-left: 0px;
    }
}