
/* 
    Created on : June 24, 2019
    Author     : Dakota Sonnentag
*/



/*
###########
LANDING 
###########
*/
#landing {
    display: grid;
    height: 100vh;
    position: relative;
}

#landing--wrapper {
    align-self: center;
}

/*
###########
ABOUT 
###########
*/
#about {
    display: grid;
    height: 100vh;
    position: relative;
}
#about--wrapper {
    align-self: center;
    max-width: 800px;
    margin: 0 auto;
}
#about--header {
    margin-bottom: 44px;
}
#about--btn-projects {
    margin-top: 2rem;
    padding: 20px 53px;
    cursor: pointer;
    transition: .2s;
}
#about--btn-projects:hover {
    box-shadow: inset 0 -5px 0 rgba(0, 0, 0, 0.5);
    transition: .2s;
}

/*
###########
PROJECTS 
###########
*/
#projects {
    min-height: 100vh;
    position: relative;
}

#projects--wrapper {
    align-self: center;
    margin: 0 auto;
    padding-top: 400px;
    padding-bottom: 400px;
}
#projects--header {
    margin-bottom: 44px;
}
#projects--list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    grid-gap: 20px;
}
.projectPod {
    position: relative;    
    width: 400px;
    height: 400px;
    background-position: top;
    background-size: cover;
    filter: grayscale(100%);
    transition: .2s;
    overflow: hidden;
}
.projectPod:hover {
    filter: grayscale(0%);
    transition: .2s;
}
.projectLink {
    position: absolute;
    z-index: 1;
    bottom: -50px;
    right: 0;
    width: 50px;
    height: 50px;
    background-color: #121313;
}
.projectIconsWrapper {
    position: absolute;
    bottom: -50px;
    background-color: #252627;
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: left;
    align-content: center;
    transition: .2s;
}
.projectPod:hover .projectIconsWrapper, .projectPod:hover .projectLink {
    bottom: 0;
    transition: .2s;
    transition-delay: .4s;
}
.techIcon {
    width: 25px;
    height: 100%;
    margin: 0 5px;
}

/*
###########
CONTACT 
###########
*/
#contact {
    display: grid;
    height: 100vh;
    position: relative;
}
#contact--wrapper {
    align-self: center;
    max-width: 800px;
    margin: 0 auto;
}
#contact--header {
    margin-bottom: 64px;
}
.contactInput {
    padding: 20px;
    width: 100%;
}
#contact--msg {
    margin-top: 2rem;
}
#contact--btn-submit {
    margin-top: 2rem;
    padding: 20px 53px;
    cursor: pointer;
    transition: .2s;
}
#contact--btn-submit:hover {
    box-shadow: inset 0 -5px 0 rgba(0, 0, 0, 0.5);
    transition: .2s;
}
.sentAnimation {
    transform: rotateX(360deg);
    transition: 1000ms;
}
.grecaptcha-badge { /* remove google recaptha badge */
    display: none !important;
}




@media (max-width: 1600px) {
    #projects--list {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 992px) {
    #projects--wrapper {
        padding-top: 250px;
        padding-bottom: 250px;
    }
    .projectPod {
        position: relative;    
        width: 320px;
        height: 320px;
    }
    .projectIconsWrapper,.projectLink {
        bottom: 0;
    }
}

@media (max-width: 767px) {
    #projects--wrapper {
        padding: 100px 0px;
    }
    #projects--list {
        grid-template-columns: 1fr;
    }

    #contact--header {
        margin-bottom: 20px;
    }
    #contact--msg {
        margin-top: 10px;
        max-height: 180px;
    }
    #contact--btn-submit {
        margin-top: 20px;
    }
    .contactInput {
        margin-top: 10px;
    }
}