body, html {
    margin: 0px;
}

/* mobile-friendly topnav */
.topnav {
  overflow: hidden;
  position: fixed;
  width: 100%;
  background-color: #5C668A;
  box-shadow: 3px 3px 3px #999;
  z-index: 15;
}

.topnav a {
  float: left;
  display: block;
  color: #E3DCCE;
  text-align: center;
  font-family: 'Raleway', sans-serif;
  padding: 15px 20px;
  text-decoration: none;
  font-size: 120%;
  transition-duration: 0.2s;
  cursor: pointer;
}

.dropdown {
    float: left;
    overflow: hidden;
}

.dropdown .dropbtn {
    border-left: none;
    border-right: none;
    border-top: #E3DCCE;
    outline: none;
    background-color: #5C668A;
    color: #E3DCCE;
    font-family: 'Raleway', sans-serif;
    padding: 15px 20px;
    text-decoration: none;
    font-size: 120%;
    transition-duration: 0.2s;
    cursor: pointer;
    margin: 0;
}

.dropdown-content {
    display: none;
    position: absolute;
    min-width: 150px;
    background-color: #5C668A;
    z-index: 1;
}

.dropdown-content a {
    float: none;
    display: block;
    color: #E3DCCE;
    text-align: center;
    font-family: 'Raleway', sans-serif;
    padding: 15px 20px;
    text-decoration: none;
    font-size: 120%;
    transition-duration: 0.2s;
    cursor: pointer;
}

.topnav a:hover, .dropdown:hover .dropbtn {
  color: white;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.topnav a:not(:first-child), .dropdown .dropbtn {
    display: none;
}

.topnav a.icon {
    float: right;
    display: block;
}

.topnav.responsive {
    position: fixed;
}

.topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
}

.topnav.responsive a {
    float: none;
    display: block;
    text-align: center;
}

.topnav.responsive .dropdown {
    float: none;
}

.topnav.responsive .dropdown-content {
    position: relative;
}

.topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: center;
}

/* texts */
#project-description p {
    text-align: left;
    font-size: 18px;
    font-family: 'Raleway', sans-serif;
    line-height: 25px;
    word-spacing: 1px;
}

#project-details p {
    text-align: left;
    padding-left: 20%;
    padding-right: 20%;
    font-size: 18px;
    font-family: 'Raleway', sans-serif;
    line-height: 25px;
    word-spacing: 1px;
}

#footer > p {
    text-align: center;
    font-size: 18px;
    font-family: 'Raleway', sans-serif;
    line-height: 25px;
    word-spacing: 1px;
}

h1, h2, h3, #project-details h4, h5 {
    text-align: center;
    font-family: 'Raleway', sans-serif;
    padding-left: 20%;
    padding-right: 20%;
}

#project-description h4 {
    text-align: center;
    font-family: 'Raleway', sans-serif;
    word-spacing: 15px;
    margin-top: -10px;
    margin-bottom: 50px;
}

/* button */
.button {
    background-color: #5C668A;
    border: 2px solid #5C668A;
    color: white;   /*text color*/
    font-family: 'Raleway', sans-serif;
    text-align: center;
    text-decoration: none;
    padding: 15px;
    margin: 4px 2px;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
    cursor: pointer;
}

.button:hover {
    background-color: #ffffff;
    color: #5C668A;
}

.center-button {
    text-align: center;
}

/* project */
#project-description {
    background-color: #E3DCCE;
    padding-top: 90px;
    padding-left: 20%;
    padding-right: 20%;
    padding-bottom: 10px;
}

#project-details {
    background-color: white;
    padding-top: 40px;
    padding-bottom: 40px;
}

#project-details img, video {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    margin-bottom: 40px;
    box-shadow: 2px 2px 8px grey;
}

/* carousel slideshow */
.carousel-container-1, .carousel-container-2 {
    width: 60%;
    margin: auto;
    overflow: hidden;
    position: relative;
}

.carousel-slides-1, .carousel-slides-2 {
    display: flex;
    width: 100%;
}

#prevBtn1, #prevBtn2 {
    position: absolute;
    top: 50%;
    z-index: 10;
    left: 5%;
    font-size: 30px;
    color: grey;
    opacity: 0.6;
    cursor: pointer;
}

#nextBtn1, #nextBtn2 {
    position: absolute;
    top: 50%;
    z-index: 10;
    right: 5%;
    font-size: 30px;
    color: grey;
    opacity: 0.6;
    cursor: pointer;
}

/* footer div */
#footer {
    background-color: #E3DCCE;
    padding-top: 5px;
    padding-bottom: 15px;
}

    /* contact */
    .contact-parent {
        display: flex;
        justify-content: center;
    }

    .contact-child {
        padding: 0px 15px 0px 15px;
    }

    .contact-child img {
        width: 40px;
        height: 40px;
    }

    .contact-child:hover {
        opacity: 0.7;
        transition-duration: 0.4s;
    }
