body {
    margin: auto;
    padding: 2em 10em;
    background-color: white;
    max-width: 1600px;
}

#home {
    margin: 8em 0;
}

#work {
    margin: 5em 0;
}

h1, h2, .h3-i, .p-i, .up-next {
    color: #D9526A;
    font-family: 'Cormorant Garamond', serif;   
}

h3, h4, p, li {
    color: black;
    font-family: 'Raleway', sans-serif;
}

h1 {
    font-size: 4em;
    padding-bottom: 0.25em;
}

.stat {
    padding-top: 1.5em;
}

h2 {
    font-size: 2.5em;
}

h3 {
    font-size: 1.9em;
    text-align: center;
    font-weight: bold;
}

.h3-i {
    font-size: 1.3em;
    font-weight: bold;
}

h4 {
    font-size: 1.3em;
    font-weight: bold;
}

.h4-b {
    color: #D9526A;
    font-size: 0.9em;
}

a {
    text-decoration: none;
    color: white;
}

p, li {
    font-size: 1.1em;
    font-weight: 400;
}

.p-i {
    font-size: 1.3em;
}

.p-space {
    margin-top: 0.5em;
}

.list-title {
    margin: 0 0 0;
    font-weight: bold;
}

/* NAVIGATION BAR */
.navbar {
    background-color: white;
}

.navbar-nav {
    margin-left: auto;
}

a.nav-link {
    float: right;
}

a:hover {
    color: #D9526A;
}

.navbar-toggler {
    border: none;
}

/* PROJECT CARDS */
.card {
    box-shadow: 2px 2px 3px 2px rgba(0, 0, 0, 0.1);
    border-radius: 1em;
    margin: 2em 1em;
    max-width: 700px;
}

.card:hover {
    box-shadow: 2px 2px 3px 2px rgba(0, 0, 0, 0.20);
}

.card-title {
    color: #D9526A;
    font-family: 'Cormorant Garamond', serif; 
    font-size: 2em;
}

.card-img-top {
    margin: 0;
    width: 100%;
    height: 100%; 
    object-fit: cover;
    border-radius: 1em 1em 0em 0em;
}

.up-next-div {
    margin-left: auto; 
    margin-right: 0;  
}

.up-next {
    text-align: center;
    font-size: 1.3em;
    font-weight: bold;
    padding: 0.5em;
}

.up-next-img {
    margin: 0;
    width: 100%;
    height: 100%; 
    object-fit: cover;
    border-radius: 0em 0em 1em 1em;
}

/* FOOTER */
img.social {
    color: black;
    float: right;
    margin: 0 0.5em;
}

img.email {
    margin-top: 0.1em;
}

a.social:hover{
    filter: invert(41%) sepia(98%) saturate(1766%) hue-rotate(321deg) brightness(93%) contrast(82%);
}

.credit {
    text-align: center;
}

/* ABOUT PAGE */
.card.profile {
    box-shadow: none;
    border-radius: none;
    border: none;
    margin: auto;
    max-width: 1400px;
}

.profile-photo {
    padding-top: 1.5em;
    margin: auto;
    display: block;
}

/* VOICENOTED */
.vn {
    max-height: 25em;
}

.row {
    margin-bottom: 2em;
}

.steps {
    margin-bottom: 3em;
}

/* ERROR PAGE */

img.construction {
    display: block;
    margin: 3em auto;
}

.error {
    text-align: center;
}

/* CASE STUDY */
.header {
    height: 15em;
    padding: 3em 2em;
}

iframe {
    display: block;
    margin: 0 auto;
}

.header-img {
    display: block;
    object-fit: contain;
    width: 100%;
    height: 100%;
}

.quote {
    color: #D9526A;
    text-align: center;
    font-style: italic;
}

img {
    width: 100%;
    margin: 0.5em;
}

.narrow {
    max-width: 25em;
    border: 0.25px solid rgba(0, 0, 0, 0.3);
}

/* VOICENOTED */
.header.vn {
    background-color: #FAF3E6;
}

.persona {
    max-width: 22em;
    margin: 1em 1em;
}

/* PLANIT */
.header.pl {
    background-color: #0A2258;
}

.lofi {
    max-width: 20em;
    border: 0.25px solid rgba(0, 0, 0, 0.3);
}

/* THE EDITION */
.header.edition {
    background-color: #DAEADC;
    padding: 0.5em;
}

.sitemap {
    max-width: 25em;
}

.website-critique {
    max-width: 15em;
}

/* ERROR PAGE */
img.construction {
    display: block;
    margin: 3em auto;
    width: 30em;
}


/* PLAY */
.magazine {
    filter: drop-shadow(1px 1px 5px rgba(0, 0, 0, 0.7));
  }

.editionlink {
    color: #D9526A;
  }

.edition-iframe {
    position: relative;
	padding-bottom: 790px;
	padding-top: 25px;
	height: 0;
  }

.edition-iframe iframe {
    position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
  }

.row > .column {
    padding: 0 8px;
  }
  
  .row:after {
    content: "";
    display: table;
    clear: both;
  }
  
  /* Create four equal columns that floats next to eachother */
  .column {
    float: left;
    width: 25%;
  }
  
  /* The Modal (background) */
  .modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.75);
  }
  
  /* Modal Content */
  .modal-content {
    position: relative;
    background-color: transparent;
    border: transparent;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 1200px;
  }
  
  /* The Close Button */
  .close {
    color: white;
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 35px;
    font-weight: 200;
  }
  
  .close:hover,
  .close:focus {
    color: #999;
    text-decoration: none;
    cursor: pointer;
  }
  
  /* Hide the slides by default */
  .mySlides {
    display: none;
    text-align: center;
  }

  .modal-img {
    height: 50em;
    width: auto;
  }

  /* Next & previous buttons */
  .prev,
  .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: 370px;
    color: white;
    font-weight: regular;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
  }
  
  /* Position the "next button" to the right */
  .next {
    right: 0;
    border-radius: 3px 0 0 3px;
  }
  
  /* On hover, add a black background color with a little bit see-through */
  .prev:hover,
  .next:hover {
    background-color: transparent;
    color: #999;
  }
  
  /* Caption text */
  .caption-container {
    text-align: center;
    padding: 2px 16px;
    color: white;
  }

  a.editionlink:hover {
    color: #999;
  }
  
  img.demo {
    opacity: 0.6;
  }
  
  .active,
  .demo:hover {
    opacity: 1;
  }
  
  img.hover-shadow {
    transition: 0.3s;
  }
  
  .hover-shadow:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  }

/* RESPONSIVENESS STUFF */
@media only screen and (min-width: 1680px) {
    .content {
        margin: 1em auto 5em;
        max-width: 1400px;
    }
}

@media only screen and (max-width: 768px) {
    #home {margin: 0 0em;}
    #work {margin: 4em 0 3em 0;}
    body {
        margin: 0em;
        padding: 2em;
    }
    .content {margin: 1em 1em 2em;}

    .header {
        height: 10em;
        padding: 2em 1em;
    }

    h1 {
        font-size: 3em;
        margin: 1em 0 0.5em 0;
        line-height: 90%;
    }

    a.nav-link {
        float: left;
    }

    img.email {margin-top: 0.6em;}
    img.social {margin-top: 0.4em;}

    .modal-img {
        height: 20em;
    }
    .edition-iframe {
        padding-bottom: 300px;
      }
      .prev, .next {
        margin-top: 200px;
    }
}