* {
    box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  font-size: 1rem;
}

.row{
    display: flex;
    justify-content:space-between;
    width: 100%;
    margin: 0;
    background-color: #ffffff; 

    border-radius: 8px;
}
.mobile .row{
    flex-direction: column;
}
.block{
    display: flex;
    justify-content:space-between;
    width: 100%;
}
.col{
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 0px;
    margin: 0px;
    border-radius: 8px;
}

.work{
    display: flex;
    justify-content:center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    margin: 0;
    background-color: #ffffff; 
    border-radius: 8px;
}

.work img{
    width: 100%;
    height:auto;
}

.w100{
    width:100%;
}
.w50{
    width: 50%;
}
.w33{
    width: 33%;
}

.w25{
    width: 25%;
}

.w20{
    width: 20%;
}

.w15{
    width: 15%;
}

.w1{
    width: 1%;
}

/* CONTENT */
/*#mission{
    margin-top: 150px;
}*/

.banner h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  padding: 25px 0px 25px 0px;
  z-index: 2;
  background-color: #55800b;
  text-align: center;
  margin-top: 10px;
  border-bottom: 1.5px solid #000;
  border-top: 1.5px solid #000;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  color: #fff;
}

.content { 
  position: relative;
  max-width: 70%;
  margin: 0 auto 0px;
  z-index: 1;
  margin-top: 25px;
  margin-bottom: 50px;
  color: #000;
}

.content p {
  font-size: 1.4rem;
  padding: 5px 20px 5px 20px;
  text-align: left;
}

.boxed{
    display: flex;
    justify-content:space-between;
    flex-direction: column;
    width: 100%;
    margin: 0;
    background-color: #ffffff; 
    color: #000000;
    border-radius: 8px;
}
.boxed h2{
    text-align: center;
    color: #000000;
    font-size: 3rem;
    font-family: 'Playfair Display', serif;
}

.boxed p{
    text-align: center;
}

.pg-box h2{
    text-align: center;
    color: #ffffff;
    font-size: 2rem;
}
.pg-box div{
    background-color: #000000;
    border-bottom: 1.5px solid #7EBB17;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    border-top-right-radius: 8px;
    width: 100%;
}


.mobile .pg-box div{
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
}

.heightcap{
    height: 400px;
}

.row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.desktop .row img{
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

.desktop .flipped img{
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
}

.desktop .flipped div{
    border-top-right-radius: 0px;
    border-top-left-radius: 8px;
}

.desktop .row {
    border: 1.5px solid #7EBB17;
}

.mobile .row {
    border: 1.5px solid #7EBB17;
}


@media (max-width: 1130px) {
    .content p{
        font-size: 1.25rem;
    }
}

@media (max-width: 950px) {
    html {
      font-size: 0.9rem;
      transition: all ease-out 0.1s;
    }
}

@media (min-width: 800.1px){
    .mobile{
        display: none;
    }
}

@media (max-width: 800px) {
    .desktop{
        display: none;
    }
    html {
      font-size: 0.9rem;
      transition: all ease-out 0.1s;
    }
    .content{
        max-width: 95%;
    }
    .nav-down{
        padding-left: 0%;
        padding-right: 0%;
    }
}