/*

Footer Animation: https://codepen.io/MarioDesigns/pen/PjjRWm

*/





/* Code to put something or a container over the header motherboard image

.testOverimageheader {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    width: 500px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    color: white;
    font-size: 6em;
    font-family: sans-serif, Arial;
    
}

*/





/* Image Related */

.logo {
    height: 60px; 
    float: left; 
    padding-left: 30px;
}

@media only screen and (max-width: 500px) {
  .logo {
    padding-left: 0px;
  }
}

/* ------------------------ */





/* HTML Elements/Tags */

html {
    font-family: sans-serif, Arial;
    height: auto;
}

body {
    margin: 0;
    padding: 0;
    background: url(images/motherboard.jpg) top right no-repeat;
    background-size: 100% auto;
    background-attachment: fixed;
    backface-visibility: hidden;
}

main {
    padding: 0px 10px;
}

/* ------------------------ */









/* Containers */

.container-0 {
    margin: -10px 0px -40px 0px;
    padding: 10px 10px 0px 10px;
    background-image: linear-gradient(to bottom right, rgb(10, 45, 69), rgb(62, 130, 158), rgb(4, 19, 29));
    
    
    /*
    background-image: linear-gradient(to bottom,
            rgba(10, 45, 69, 0.1) 0.1%,
            rgba(10, 45, 69, 0.5) 0.3%,
            rgba(10, 45, 69, 0.7) 0.5%,
            rgba(10, 45, 69, 0.9) 0.7%,
            rgba(10, 45, 69, 1) 3%,
            rgba(62, 130, 158, 1) 50%,
            rgba(4, 19, 29, 1) 100%);*/
    height: auto;
    min-height: 3000px;
    box-shadow: 0px 10px 600px #111;
    z-index: 2;
}

.footer {
    height: 400px;
    background-color: #eee;
    background-image: linear-gradient(to bottom right, rgba(21, 33, 43, 1), rgba(2, 11, 22, 1));
    padding: 10px;
    box-shadow: 0 -5px 5px -3px #222;
}

/* ------------------------ */





/* Transitions using Swup */

/* Fade left */

.transition-fade {
    opacity: 1;
    transition: 500ms;
    transform-origin: left;
    overflow: hidden;
}

html.is-animating .transition-fade {
    opacity: 1;
    transform: translateX(100%);
}

html.is-leaving .transition-fade {
    opacity: 0;
    transform: translateX(0);
}

/* Fade left */



/* Swipe */
.transition-swipe {
    transition: 500ms;
}

html.is-animating .transition-swipe {
    transform: translateY(500px);
}

/* Swipe */

/* ------------------------ */





/* Nav Bar */

header {
    position: sticky;
    top: 0;
    height: 65px;
}

nav {
    vertical-align: middle;
    height: 40px;
    padding: 12.5px 0px;
    padding-right: 20px;
    background-color: rgba(51, 51, 51, 0);
}

nav ul {
    list-style-type: none;
    margin: 0;
    overflow: hidden;
    background-color: transparent;
    position: -webkit-sticky;
    /* Safari */
    position: sticky;
    width: auto;
    top: 0;
}

nav li {
    float: left;
    padding: 5px 10px;
    vertical-align: middle;
}

nav li a {
    display: block;
    color: #fff;
    text-shadow: -1px -1px 0 #0088de, 1px -1px 0 #0088de, -1px 1px 0 #0088de, 1px 1px 0 #0088de, 2px 2px #333;
    text-align: center;
    text-decoration: none;
    font-weight: 900;
}

nav li a:hover {
    border-bottom: 3px;
    border-bottom-style: solid;
    border-bottom-color: #0088de;
}

.active {
    border-bottom: 3px;
    border-bottom-style: solid;
    border-bottom-color: #0088de;
}

/* ---------------------------- */



























.footer h1 {
    font-size: 24px;
    margin: 10px 0 0 0;
    font-weight: lighter;
    text-transform: uppercase;
    color: #eeeeee;
}

.footer p {
    font-size: 12px;
    font-weight: light;
    color: #333333;
}

.footer span a {
    font-size: 18px;
    color: #cccccc;
    text-decoration: none;
    margin: 0 10px;
    transition: all 0.4s ease-in-out;

    &:hover {
        color: #ffffff;
    }
}

@keyframes float {
    0% {
        box-shadow: 0 5px 15px 0px rgba(0, 0, 0, 0.6);
        transform: translatey(0px);
    }

    50% {
        box-shadow: 0 25px 15px 0px rgba(0, 0, 0, 0.2);
        transform: translatey(-20px);
    }

    100% {
        box-shadow: 0 5px 15px 0px rgba(0, 0, 0, 0.6);
        transform: translatey(0px);
    }
}

.footer .container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer .avatar {
    width: 150px;
    height: 150px;
    box-sizing: border-box;
    border: 5px white solid;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 5px 15px 0px rgba(0, 0, 0, 0.6);
    transform: translatey(0px);
    animation: float 6s ease-in-out infinite;
}

.footer .avatar img {
    width: 140px;
    height: 150px;
}

.footer .content {
    width: 100%;
    max-width: 600px;
    padding: 20px 40px;
    box-sizing: border-box;
    text-align: center;
}
