body {
    background-color: #85c3be;

    font-family: "Calibri", "Arial", sans-serif;
    font-size: 21px;
    color: #fff;
}

img {
    max-width: 100%;
}

.navbar-default .navbar-nav>li>a {
    color: #fff;
    -webkit-transition: color 0.15s ease-in;
}

.navbar-default .navbar-nav>li>a:hover {
    color: #00a99d;
}

.navbar-default .navbar-collapse, .navbar-default .navbar-form {
    border: none;
}

.navbar-default .navbar-toggle {
    margin-top: 15px;
    margin-bottom: -5px;
    border: none;
}

.navbar {
    background-color: transparent;
    padding: 5px 10px 5px 10px;
    text-align: left;
    font-family: "Arial", sans-serif;
    font-size: 18px;
    border: 0 solid transparent;
    border-bottom-width: 2px;
}

.scrolled {
    background-color: #d4d4d4;
    border-color: #c2c2c2;
    -webkit-transition: all 0.2s ease-in;
}

.scrolled .navbar-brand {
    opacity: 1;
    -webkit-transition: all 0.2s ease-in;
}

.navbar-brand {
    opacity: 0;
}

.navbar-header {
    margin-top: -6px;
    margin-bottom: 6px;
}

.container-fluid {
    max-width: 1200px;
}

.content {
    max-width: 980px;
    text-align: left;
    margin: -140px auto auto;
}

#header {
    background: url('../img/bgheader.png') no-repeat center;
    height: 895px;
    display: flex;
    align-items: center;
}

#header-content {
    text-align: center;
    color: #00a99d;
    font-size: 24px;
    width: 100%;
}

#header img {
    margin: 70px 0 20px 0;
}

#header p {
    max-width: 500px;
    margin: 30px auto 30px auto;
}

#header-subtitle {
    font-size: 14px;
}

h1 {
    color: #01887e;
    font-size: 34px;
    font-family: "Consolas", monospace;
}

.indent {
    padding-left: 70px;
}

#about {
    display: flex;
    align-items: center;
}

#about .content {
    margin: -50px auto 50px auto;
    z-index: 12;
}

#internships {
    background-color: #fff;
    color: #282d2d;
    z-index: 10;
    padding-bottom: 40px;
}

.section {
    position: relative;
    margin-top: -20px;          /* so the angle is smooth */
    margin-bottom: 50px;
}

.section h1 {
    padding-top: 120px;
    text-align: center;
    background: url('../img/bgsection.png') no-repeat bottom center;
    height: 280px;
}

.logo {
    text-align: center;
    padding: 90px 30px 30px 30px;
}

.internship-subtitle {
    text-align: center;
    font-size: 24px;
}

.internship-sub-subtitle {
    color: #939a9a;
    font-style: italic;
    font-size: 18px;
}

.internship-images {
    text-align: center;
    padding: 10px 0 20px 0;
}

.internship-images img:first-child {
    float: left;
}

.internship-images img:last-child {
    float: right;
}

#projects {
    background-color: #ebebeb;
    color: #282d2d;
    z-index: 7;
    padding-bottom: 40px;
}

#projects .content {
    padding-top: 90px;
}

.project-image {
    float: left;
    padding: 0 25px 25px 0;
}

.project-description {
    min-height: 342px;
    padding-bottom: 30px;
}

.project-button {
    padding-top: 20px;
    text-align: center;
}

h2 {
    font-size: 30px;
    color: #00a99d;
    padding-bottom: 15px;
}

#projects .subtitle-subtitle {
    padding-bottom: 20px;
    font-style: italic;
}

.github {
    text-align: center;
}

.github img {
    padding-bottom: 20px;
    padding-top: 40px;
}

.image-link img {
    -webkit-transition: opacity 0.2s ease-in;
}

.image-link img:hover {
    opacity: 0.5;
}

.email-logo {
    display: inline;
    padding-right: 50px;
}

#contact p {
    text-align: center;
    max-width: 400px;
    margin: auto;
    padding-top: 30px;
}

#contact .image-link {
    text-align: center;
    padding-top: 90px;
    padding-bottom: 10px;
}

#footer {
    background-color: #757575;
    color: #dcdcdc;
    padding: 40px 20px 40px 20px;
    font-size: 14px;
}

#footer .content {
    margin-top: auto;
}

#footer a {
    color: #dcdcdc;
}

.angle {
    height: 100px;
    width: 100%;
    position: relative;
    background: #85c3be;
    margin-top: -150px;
    z-index: 11;
}

.white-angle {
    background: #fff;
    z-index: 8;
}

.grey-angle {
    background: #ebebeb;
    z-index: 6;
}

.angle:after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    background: inherit;
    z-index: 1;
    bottom: 0;
    transform-origin: right bottom;
    transform: skewY(-3deg);
}

/* Max size for name image */
@media (max-width: 640px) {
    #header img {
        width: 90%;
    }
}

@media (max-width: 980px) {
    .internship-images img {
        padding: 5px;
    }

    .internship-images img:first-child {
        float: none;
    }

    .internship-images img:last-child {
        float: none;
    }
}