/*
    HEADER
*/

.header {
    margin-top: 84px;
    background-image: url('images/header.png');
    height: 94vh;
    width: 100%;
    background-attachment: fixed;
    background-position: right;
    background-repeat: no-repeat;
    background-size: cover;
}

.mobile-header {
    background-image: url('images/mobile-header.jpg');
    height: 60vh;
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
}

/*
    ABOUT
*/

@media (min-width: 992px) {
    .about-me {
        margin-left: .5vw;
        margin-right: 2vw;
    }
}
@media (max-width: 992px) {
    .about-me {
        margin: 0;
    }
}

.about-me .col-lg-7 {
    flex-direction: column;
}

.about-me .col-lg-7 .row {
    margin: 2vh 0;
    padding: 2vh 0;
    background-color: #c8cacd;
    color: #545657;
}

.about-me .col-lg-7 .row .col-lg-2 {
    height: 100%;
    display: unset;
}
.about-me .col-lg-7 .row .col-9 {
    text-align: left;
    flex-direction: column;
}
.about-me .col-lg-7 h5 {
    font-family: gesta, sans-serif;
}
@media (max-width:768px) {
    .about-me .col-lg-7 h1 {
        font-size: 1.75rem;
    }
    .about-me .col-lg-7 h5 {
        font-size: 1rem;
    }
}

.icon {
    width: 100%;
    height: auto;
    filter: invert(35%) sepia(6%) saturate(164%) hue-rotate(156deg) brightness(90%) contrast(92%);
}

/*
    Expereience
*/

.experience {
    background-color: #c8cacd;
    margin: 0;
}

.experience .col-lg-11 {
    margin: 7vh 0 7vh 0;
}

p {
    margin: 0
}

.line {
    align-self: unset;
}
.line div {
    height: 100%;
    border-left: 2px solid white;
}
.line span {
    z-index: 2;
    position: absolute;
    top: 50%;
    transform: translate(0,-50%);
    background-color: #4fac3e;
    border-radius: 50px;
    height: 5em;
    width: 5em;
}
.line img {
    z-index: 3;
    position: absolute;
    top: 50%;
    transform: translate(0,-50%);
    height: 3.2em;
    width: 3.2em;
}

.timeline-box p, .timeline-box li {
    font-family: gesta, sans-serif;
    font-weight: 400;

}

.timeline-box {
    background-color: white;
    color: #545657;
    padding: 2%;
}

.resume {
    margin-left: 1vw;
    margin-top: 7vh;
}

@media (min-width:992px) {
    .experience h1 {
        margin-left: 1vw;
    }
    .experience .col-lg-11 {
        padding: 0 2vw;
    }
    .timeline-inverted:before {
        position: absolute;
        top: 50%;
        right: 100%;
        content:"";
        transform: translate(0,-50%);
        
        border-top: 30px solid transparent;
        border-bottom: 30px solid transparent;
        border-right: 30px solid white;
    }
    .timeline-odd:after {
        position: absolute;
        top: 50%;
        left: 100%;
        content:"";
        transform: translate(0,-50%);
        
        border-top: 30px solid transparent;
        border-bottom: 30px solid transparent;
        border-left: 30px solid white;
    }
    .timeline-box {
        margin-left: 2%;
    }
    .timeline-inverted {
        margin-left: -2%;
    }
}

@media (max-width: 992px) {
    .experience .col-lg-11 {
        margin: 4vh 0 7vh 0;
    }
    .experience .col-12 .row {
        margin: 0;
    }
    .timeline-box {
        padding: 5% 5% 1% 5%;
        margin: 2vh 0;
    }
    .resume {
        margin-top: 4vh !important;
    }
}


.date {
    display: flex;
    align-items: center;
    margin-left: -3%;
    font-size: 1.7em;
    color: #545657;
}
.date-inverted {
    justify-content: flex-end;
    margin-left: 3%;
}


/*
    Projects
*/

#Projects {
    margin: 6vh 0 8vh;
}

.projects {
    height: 90vh;
}

.projects .col-lg-4 img {
    height: 30vh;
    width: 30vh;
    margin: 3vh 0 4vh 0;
}

.projects a {
    color: white;
}

.project-circle {
    align-items: center;
    flex-direction: column;
}

@media(max-width: 992px) {
    #Projects {
        margin: 6vh 0 3vh; 
    }
    .projects {
        height: unset;
    }
    
    .projects .col-lg-4 img {
        height: 30vh;
        width: 30vh;
        margin: 3vh 0;
    }
}

/*
    Contact
*/

.contact {
    background-color: #c8cacd;
    color: #545657;
}

.contact .col-lg-11 {
    padding: 2% 5%;
}

.contact-blurb {
    font-size: 1.7em;
    margin-bottom: 7vh;
}

.submit { 
    width: 100%;
    float: right;
}

#Success {
    color: #5cb85c
}

#Error {
    color: red;
}
@media(min-width: 992px) {
    .status-row {
        margin-top: 4vh;
    }
    .contact h1 {
        margin-left: 1vw;
    }
}
@media (max-width:992px) {
    .contact-blurb {
        font-size: 1.2em;
        margin-top: 1vh;
        font-family: gesta, sans-serif;
        margin-bottom: 0;
    }
    .col-lg-6 {
        margin-top: 4vh;
    }
    .status-row .col-lg-10 {
        margin: 3vh 0;
    }
    #Error, #Success {
        font-size: 1.3rem;
        text-align: center;
        margin-bottom: 0;
    }
}
