html, body{
    margin: 0;
    padding: 0;
    background-color: black;
}

body {
    font-family: 'Playfair Display', serif;
    font-weight: 200;
    color: aliceblue;
}

p {
    text-align: center;
    margin: 20px 20% 20px 20%;
}

h1 {
    text-align: center;
    font-size: 20px;
}

h1 img{
    max-width: 1000px;
    width: 100%;
}
a {
    color: aliceblue;
    text-decoration: none;
}

.iframe {
    display: flex;
    justify-content: center;
}

.container {
    margin: 0 auto;
    max-width: 940px;
    padding: 0 10px;
}

.header img {
    display: block;
    height: 100%;
    width: 100%;    
}

.nav {
    height: 100px;
    width: 100%;
}

.nav ul {
    height: 80px;
    list-style: none;
    margin: 0 auto;
    font-size: 50px;
    text-align: center;
    margin-top: 20px;
}

.nav ul li {
    display: inline-block;
    list-style: none;
    height: 80px;
    line-height: 80px;
    padding: 0 10%;
}

.nav ul li img {
    height: 50%;
}

.nav ul li:hover {
    background: #ff0000;
    cursor: pointer;
    transition: background .5s;
}

.portfolio img {
    height: 100%;
    width: 100%;
}

.portfolio ul {
    list-style: none;
    margin: 0 auto;
    margin-top: 20px;
}

.portfolio ul li {
    height: 50%;
    width: 100%;
    margin: 20px;
    position: relative;
    display: block;
}

.overlay-text{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 10px 20px;
    font-size: 50px;
    mix-blend-mode: exclusion;
}

.portfolio ul li:hover {
    opacity: 50%;
    transition: .5s;
}

.title_image {
    display: flex;
    justify-content: center;
    margin: auto;
    padding-top: 20px;
    padding-bottom: 20px;
    width: 100%;
    max-width: 500px;
}

.homepage {
   display: flex;
   justify-content: center;
}

.homepage img {
    height: 50%;
    padding: 20px;
}

.homepage img:hover{
    background-color: #ff0000;
    transition: .5s;

}

@media only screen and (max-width: 600px) {
    .nav ul li {
    padding: 0;
}
}


