* {
    font-family: "Fragment Mono", arial;
}

html, body {
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
}

nav ul{
    background-color: #b5c7d9f2;
    margin: 0;
    padding-top: 1em;; 
    padding-bottom: 1em;
    padding-left: 0.5em;
    
}

nav li {
    list-style-type: none;
    display: inline;
}

nav li:first-child {
    font-size: larger;
}

.nav__contact {
    margin-right: 1.5rem;
}

a:link {
    text-decoration: none;
    color: black;
}

a:visited {
    color: black;
}

a:hover {
    color: #183d64 ;
}

.overlay {
    max-width: 100%;
    overflow: clip;

} 

#banner {
    position: fixed;
    max-width: 100%;
    object-fit: cover;
    min-height: 100%;
    z-index: -1;
}

#bannerText {
    background-color:rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: space-around;
    width: 100%;
    justify-content: center;
}

.bannerContent {
    font-size: 3em;
    color: white;
    width: 100%;
    text-align: center;
    margin-bottom: 0;
}

main.home {
    display: flex;
    flex-flow: row wrap;
}

.singleHome {
    padding: 1em;
    margin: 2rem;
    background-color: white;
    padding-bottom: 0.5em;
}

.singleHome img {
    width: 100%;
}

.flex-div {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    gap: 1rem;
    margin: auto;
    margin: 0 2rem;
}

.projectHome, .project {
    flex: 1;
    padding: 1em;
    background-color: white;
    margin: 2em 0;
    padding-bottom: 0.5em;
}

.projectHome img {
    width: 100%;
    display: block;
    margin: auto;
}



/*Project pages*/
.project {
    display: flex;
    flex-direction: column;
    margin: 2em;
    margin-bottom: 2em;
}

.projectTitle {
    width: 100%;
    text-align: center;
}

.project h2, .project h3 {
    margin: 0;
    margin-bottom: 1em;
}

.video {
    display: block;
    width: 100%;
}

.iaProject {
    max-width: 85%;
    margin: auto;
    margin-top: 2em;
}

.iaProject .video {
    margin: auto;
    max-width: 95%;
}

.squareVideo {
    max-width: 70%;
    margin: auto;
    margin-top: 2em;
}

.squareVideo .video {
    margin: auto;
    max-width: 75%;
}

.projectDescription {
    margin: 1.5em 5em;
    text-align: center;
}
.projectDescription2 {
    margin: 0 5em 1.5em;
    text-align: center;
}

.squareVideo .projectDescription {
    margin: 1.5em 8em
}

.image-wrapper {  /*bitsy*/
    flex: 1;
    margin: 0 1em;
}

.image-wrapper>img {  
    width: 100%;    
}

footer p {
    opacity: 0;
}



.mySlides {display: none;
margin: auto;}
img {vertical-align: middle;}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  height: 15px;
  width: 15px;
  margin: 1rem 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .text {font-size: 11px}
}


.shifting-peace__img {
    display: flex;
    width: 90%;
    margin: 1rem auto;
    gap: 1rem;
}

.shifting-peace__img img {
    width: 50%;
    object-fit: contain;
}