/* Author - Nathan Erdahl */

@importurl('https://fonts.googleapis.com/css?family=Nunito:300,400,700');
*{box-sizing: border-box;}
:root{
    --white-color: #FFFFFF !important;
    --main-color: #557A95 !important;
}
body{
    background-color: #f4f4f4;
    margin: 0px;
    padding: 0px;
    font: 20px/1.5 'Nunito', sans-serif;
}
header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 5;
}
nav ul{
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-around;
    text-align: center;
    list-style-type: none;
    background: var(--white-color);
}
nav ul li{
    list-style: none;
    padding: 1em 0;
    flex: 1;
    position: relative;
}
nav a{
    color: var(--white-color);
    font-weight: 300;
    opacity: 0.6;
    text-decoration: none;
    display: block;
    transition: 0.3s all ease;
}
nav li a:hover{
    opacity: 1;
    color: var(--main-color);
}
.logo{
    text-transform: uppercase;
    letter-spacing: .2em;
    font-weight: 700;
    color: #fff !important;
    text-decoration: none;
}
.logo a{
    color: var(--main-color);
}
.logo a:hover{
    text-decoration: none;
}
header>div .logo{
    float: left;
    padding: 1em 3.5em 1em 0.5em;
}
header nav{
    background-color: var(--white-color);
}
nav a{
    padding: 1em 2.5em;
    display: var(--display-style);
    color: var(--main-color);
}
nav a{
    -webkit-transition:.3s all ease;
    -o-transition:.3s all ease;
    transition:.3s all ease;
    text-decoration: none;
}
nav a:hover{
    text-decoration: none;
}
/* dropdowns */
nav ul li ul{
    position: absolute;
    display: flex;
    flex-direction: column;
    display: none;
    width: 100%;
}
nav ul li:hover ul{
    display: block;
    padding-top: 1em;
}
nav ul li ul li{
    position: relative;
    
}

/* ----------------------------------- */

.heroimage{
    background-image: url(../images/showcase.jpg);
    background-size: cover;
    background-attachment: fixed;
    height: 100vh;
    color: white;
}

.heroitems{
    position: relative;
    width: 1200px;
    min-height: 550px;
    height: 100vh;
    text-align: center !important;
    display: table-cell;
    vertical-align: middle;
    margin: auto;
    z-index: 2;
    padding: 0 5em;
}
.heroitems h1{
    font-size: 5em;
}
.heroitems p{
    font-size: 1.6em;
}

/* ----------------------------------- */

.main-padding{
    padding: 5em 0em;
}
.sideleft{
    width: 50%;
    float: left;
}
.headshot{
    width: 100%;
}
.sideright{
    width: 47%;
    float: right;
    text-align: left;
}
.sub-heading{
    text-transform: uppercase;
    font-size: 12px;
    color: #CCCCCC;
    letter-spacing: .1em;
}
.heading{
    font-size: 50px;
    margin-bottom: 30px;
}


/* ----------------------------------- */

.footer{
    float: left;
    width: 33%;
    text-align: center;
    margin-bottom: 4em;
}
.main-footer{
    padding: 4em 0em .9em 0em;
    margin-top: 3em;
    background-color: var(--main-color);
}
.footer img{
    width: 30%;
}
.footer a{
    color: black;
}
.footer a:hover{
    text-decoration: none;
    color: var(--white-color);
}
.home-social{
    padding: 0em 1em;
}
.copyright{
    text-align: center;
    color: var(--white-color);
}

/* RESUME */
.resume-btn{
    background: var(--main-color);
    padding:0.5em;
    text-align: center;
    color:var(--white-color);
    width: 100%;
    display: block;
    text-transform: uppercase;
}
.resume-btn:hover{
    color: var(--white-color);
    text-decoration: none;
    border: #FFFFFF 2px solid;
    cursor: pointer;
}

/* CONTACT */
.contact-items{
    display: flex;
    align-items: center;
    flex-direction: column;
    margin: 2em 0;

}
.contact::before{
    position: absolute;
    height: 100%;
    width: 100%;
    top:0;
    left:0;
    background: rgba(0,0,0,0.5);
    z-index: -1;
}
.contact-items h2{
    color:var(--main-color);
    font-size: 40px;
    margin-bottom: 18px;
}
.contact-items input[type="text"]{
    border-radius: 0.5em;
    margin-bottom: 15px;
    width:50%;
    padding:15px;
}
.contact-items textarea{
    border-radius: 0.5em;
    margin-bottom: 15px;
    width:50%;
    padding:15px;
}
.button{
    background: var(--main-color);
    padding:0.5em;
    text-align: center;
    color:var(--white-color);
    width: 50%;
    display: block;
    margin-bottom: 1em;
    text-transform: uppercase;
}
.button:hover{
    color: var(--white-color);
    text-decoration: none;
    border: #FFFFFF 2px solid;
    cursor: pointer;
}
#particles-js{
    width: 100%;
    height: 110%;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    top: 100vh;
    position: absolute;
    z-index: -2;
}
.contact-items h2, .contact-items input, .contact-items textarea, .contact-items a {
    z-index: 2;
}
.contact-valid{
    width: 100%;
    text-align: center;
}
.contact-valid .button{
    margin-left: 25%;
    border: none;
}


/* EXPERIENCE / PROJECTS */
.selector{
    margin-top: 3em;
    color: black;
}

.education{
    box-shadow: 0 0 3px var(--main-color);
    width: 48%;
    float: left;
    padding: 2em;
    text-align: center;
}
.professional{
    box-shadow: 0 0 3px var(--main-color);
    width: 48%;
    float: right;
    padding: 2em;
    text-align: center;
}
.selector-icon{
    font-size: 10em;
}
.education:hover, .professional:hover{
    background-color: #CCCCCC;
    box-shadow: none;
    -webkit-transition:.75s all ease;
    -o-transition:.75s all ease;
    transition:.75s all ease;
    color: black;
    cursor: pointer;
}


/* PROJECTS */
.pic{
    width: 330px;
    display: inline-block;
    /* margin: 1rem; */
    position: relative;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.124);
    transition: all 0.3s cubic-bezier(0.025, 0.8, 0.25, 1);
}
.pic a img{
    width: 100%;
    height: 100%;
}
.pic a img:hover{
    box-shadow: 0 8px 16px rgba(0,0,0,0.25), 5px 5px rgba(0,0,0,0.22);
    cursor: pointer;
    filter: blur(1px) brightness(60%);
}
.container-gallery{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-columns: repeat(auto-fill, minmax(250, 1fr));
    justify-items: center;
    grid-gap: 20px;
}
.gallery{
    margin-top: 2em;
}
.slide-img{
    width: 100%;
    margin-top: 2em;
}
.web{
    width: 1000px;
    display: inline-block;
    /* margin: 1rem; */
    position: relative;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.124);
    transition: all 0.3s cubic-bezier(0.025, 0.8, 0.25, 1);
    margin-left: 55px;
}
.web a img{
    width: 100%;
    height: 100%;
}
.web a img:hover{
    box-shadow: 0 8px 16px rgba(0,0,0,0.25), 5px 5px rgba(0,0,0,0.22);
    cursor: pointer;
    filter: blur(1px) brightness(60%);
}
.port-bottom{
    bottom: 0;
}

/* EDUCATION */

.edu-left{
    width: 48%;
    float: left;
}
.edu-right{
    width: 48%;
    float: right;
}
.edu-left, .edu-right{
    /* border: var(--main-color) 2px solid; */
    padding: 1em;
    margin-top: 2em;
}


/* PROFESSIONAL */
.row-1{
    width: 100%;
    margin-top: 2em;
}
.row-main{
    margin-top: 4em;
}
.pro-left{
    width: 48%;
    float: left;
}
.pro-right{
    width: 48%;
    float: right;
}
.fa-futbol,.fa-wrench,.fa-box-open{
    font-size: 10em;
}
.fa-wrench{
    float: right;
}
.pro-description{
    display: table-cell !important;
    vertical-align: middle !important;
}
.pro-description p{
    font-size: 16px;
    color: grey;
    top: 0;
    
}


/* page loader */
.loader.spinner:before{
    width: 117px;
    height: 117px;
    border-color: var(--main-color);
    top: 0px;
    left: 0px;
    animation: rotate 1s linear 0s infinite;
}
.loader.spinner:after{
    width: 117px;
    height: 117px;
    border-color: var(--main-color);
    top: 0px;
    left: 0px;
    opacity: 0;
    animation: rotate 1s linear 0.5s infinite;
}
.loader{
    margin: auto;
    top: 30%;
    position: relative;
    width: 125px;
    height: 125px;
}
.loader:before, .loader:after{
    content: "";
    display: block;
    position: absolute;
    border-width: 4px;
    border-style: solid;
    border-radius: 50%;
}
@keyframes rotate{
    0%{
        transform: scale(0);
        opacity: 0;
    }
    50%{
        transform: scale(0.7);
        opacity: 1;
    }
    100%{
        transform: scale(1);
        opacity: 0;
    }
}
#loadingDiv{
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: #ddd;
    z-index: 99999999;
}