@import url('https://fonts.googleapis.com/css?family=Josefin+Sans:300|Josefin+Slab');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Josefin Sans';
}

h1 {
    font-family: 'Josefin Slab';
    font-size: 48px;
    color: white;
    margin: 20px;
}

#intro {
    text-align: center;
    background: url("https://app.bsd.education/resources/geometricrainbowbackground.png");
    background-size: cover;
  	background-position: center;
    height: 500px;
    width: 100vw;
    display: table-cell;
    vertical-align: middle;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, .5);
    position: relative;
    z-index: 2;
}

#intro img{
    width: 150px;
}

#aboutContainer {
    background: url("https://i.imgur.com/cBn4qQE.png");
    border: none;
    padding: 40px;
    min-height: auto;
}

#aboutContainer+div {
    position: relative;
    z-index: 2;
    box-shadow: 0px -2px 3px rgba(0, 0, 0, .25);
}

#aboutContainer h2 {
    display: block;
    width: 30%;
    margin: auto;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 1px dotted black;
}

.container {
 	width: 100%;
    padding: 40px;
    border-bottom: 1px solid silver;
  	background-color: mintcream;
    overflow:auto;
}

.container img {
    height: 200px;
    max-width: 90%;
}

.container div {
    display: inline;
}

.container div h2 {
    margin-top: 5px;
    margin-bottom: 10px;
    word-wrap: break-word;
    hyphens: auto;
}

.right {
    text-align: right;
}

.right img {
    float: right;
    margin-left: 20px;
}

.left img {
    float: left;
    margin-right: 20px;
}

@media screen and (max-width: 600px) {
    #aboutMe {
        width: 60%;
    }
    .container {
        text-align: center;
        padding: 30px;
    }
    .container div {
        display: block;
    }
    .container div p {
        text-align: left;
    }
    .container img {
        height: auto;
        max-height: 200px;
        max-width: 80%;
        display: block;
    }
    .left img,
    .right img {
        margin: 0 auto;
        float: none;
        margin-bottom: 20px;
    }
}