.project-img {
  width: 45%;
  margin-bottom: 0;
}

.image-container {
  margin-top: 1.5em;
  position: relative;
  display: inline-block;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8); /* 50% opacity black overlay */
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.image-overlay:hover {
  opacity: 1;
}

.image-description {
  color: white;
  font-size: 1.3rem;
  font-weight: 300;
  padding: 20px;
}

.green-background .img-split{
  display: grid;
  grid-template-columns: 40% 25% 20%;
  justify-content: space-between;
  align-items: end;
}

.img-split{
  display: flex;
  justify-content: space-between;
  align-items: end;
}

.img-split img{
  width: 100%;
}

.poster{
  margin: 4em 0;
}

.right-poster{
  margin-right: 4rem;
}

/* DRINKWATCH STYLING*/
.dw-intro {
  display: flex;
}

.intro-text {
  align-self: flex-end;
  margin-bottom: 0.8rem;
}

.intro-text p {
  width: 90%;
}

.intro-text strong {
  font-weight: 500;
  color: #0f8c85;
}

.intro-text h1 {
  margin-bottom: 1.5rem;
}

.dw-intro img {
  width: 60%;
  margin-right: 4rem;
  margin-left: -1.2rem;
}

.green-background {
  margin: 0;
  background-color: #0f8c85;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.green-background p{
  color: white;
}

.separator{
  border-top: solid #0f8c85 1px;
}
.white-section-text{
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.white-section-text h3 {
  margin-bottom: 0;
  color: white;
  margin-left: 4rem;
}

.white-section-text h4{
  color: white;
  margin-left: 4rem;
}

.white-section-text p {
  margin: 0 4rem 1.2em;
  color: white;
  width: 90%;
}

.section-text p {
  margin-bottom: 1.2em;
}

.dw-process {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.dw-process img {
  margin-top: 3em;
  width: 50em;
}

.medium-centralized {
  display: block;
  width: 60%;
  margin-top: 2em;
  margin-left: auto;
  margin-right: auto;
}

.centralized p{
  width:60%;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.project-overview{
  display: flex;
}

.project-overview .left-col{
  width:20%
}

.project-overview .right-col{
  width:80%
}

.regular-analysis {
  display: flex;
  align-items: flex-end;
  padding-bottom: 1em;
  margin-top: 2em;
  margin-bottom: 2em;
  border-top: solid #0f8c85 1px;
}

.regular-analysis-left {
  display: flex;
  align-items: flex-end;
  margin-bottom: 5em;
  text-align: left;
  justify-content: right;
}

.section-text {
  width: 49.7%;
}

.regular-analysis-left .section-text {
  margin-left: 4rem;
}

.one-third-img{
  width:36%;
}

.one-third-img img{
  margin-left: -1rem;
}

.two-thirds-img{
  width:55%;
}

.application-img-left{
  margin-top: 4em;
  margin-bottom: 4em;
  width:25%;
}

.application-img-right{
  margin: 4em 4rem;
  width: 15%;
}

.analysis-img {
  width: 55%;
  margin-left: 3em;
  padding: 2em 0 1em 1em;
}

.analysis-col{
  width:55%;
  margin: 4rem 4rem 1.2em 4rem;
}

.analysis-col img{
  width: 100%;
  margin-bottom: 2rem;
}

.analysis-img-left {
  display: block;
  width: 30%;
  margin: 3em 7em 0 0;
  padding-bottom: 1em;
}

.small-centralized {
  display: block;
  width: 30%;
  margin-top: 2em;
  margin-left: auto;
  margin-right: auto;
}

.full-screen {
  display: block;
  margin: 0;
  width: 100%;
}

.img-grid {
  display: grid;
  grid-template-columns: 42% 42%;
  justify-content: space-between;
  align-items: end;
}

.img-grid img{
  width: 100%;
}

/* SSFB STYLING*/

.ssfb-intro {
  display: flex;
  justify-content: end;
}

.ssfb-intro img {
  width: 55%;
  margin-left: 4rem;
}

.ssfb-intro .intro-text {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: end;
  margin-bottom: 0;
  width: 35%;
}

.white-background .section-text {
  margin-top: 4em;
  width: 100%;
}

.white-background img {
  margin-top: 2em;
}

.figma-presentation {
  display: flex;
  justify-content: center;
  padding-bottom: 2em;
  border-bottom: solid #0f8c85 1px;
}

.figma-presentation iframe{
  width: 80vw;
  height:45vw;
  border: solid #0f8c85 1px;
}

@media screen and (orientation:portrait) {
  .dw-intro{
    flex-direction: column;
  }

  .dw-process img{
    width: 35em;
  }

  .dw-intro img{
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

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

  .intro-text p{
    margin-left: auto;
    margin-right: auto;
  }

  .white-section-text p{
    width: 80%;
  }

  .medium-centralized{
    width:80%;
  }

  .regular-analysis{
    flex-direction: column;
    align-items: flex-start;
  }

  .section-text{
    width: 100%;
  }

  .regular-analysis img{
    width:100%;
    margin-right: auto;
    margin-left: auto;
    padding: 0;
  }

 
  .regular-analysis-left{
    flex-direction: column;
    align-items: flex-start;
  }

  .regular-analysis-left img{
    width: 70%;
    margin-left: auto;
    margin-right: auto;
  }

  .regular-analysis-left .section-text{
    width: 100%;
    text-align: center;
    margin-left: 0;
  }

  .ssfb-intro{
    flex-direction: column;
  }

  .ssfb-intro img{
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .ssfb-intro .intro-text{
    align-items: flex-start;
    text-align: left;
    width: 100%;
    margin-bottom: 4rem;
  }

  .ssfb-intro .intro-text p{
    width: 100%;
    margin-left: 0;
  }

}
