/*** image bg***/
.accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.accent canvas {
    background-size: cover;
    width: 100%;
    height: 100%;
    background-position: center;
}

.image-holder{
  position: relative;
}

.image-holder canvas{
  display: block;
  height: 100%;
  width: 100%;
}

.image-holder img{
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}
/*** image bg***/


.max-container {
    max-width: 1140px;
}

#content .of-content-col h2 {
    font-family: var(--font-family-title);
    color: #000;
    font-weight: 400;
    font-size: 65px;
    line-height: 1;
    text-transform: uppercase;
    margin: 0;
    margin-bottom: 52px;
}

.of-content {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 68px;
}

.of-content-col:first-child {
    width: calc((459 / 1140)* 100%);
}

.of-content-col:last-child {
    width: calc((571 / 1140) * 100%);
}

#content .of-agents-title h2 {
    font-family: var(--font-family-title);
    color: #000;
    font-weight: 400;
    font-size: 65px;
    line-height: 1;
    text-transform: uppercase;
    margin: 0;
    margin-bottom: 52px;
    text-align: center;
}

.of-agents {
    margin-top: 80px;
}

.of-agents-list {
    width: calc((360 / 1140) * 100%);
}

.of-agents-lists {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}

#content .of-agents-list a h2 {
    font-family: var(--font-family-title);
    text-align: center;
    color: #000;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 35px;
    line-height: 1;
    margin: 0;
    margin-top: 26px;
}

#content .of-agents-list a p {
    text-align: center;
    line-height: 1;
    margin: 0;
    font-size: 14px;
    color: #767676;
    margin-top: 12px;
    letter-spacing: 0.012em;
}

.of-image-gallery {
    margin-top: 94px;
    margin-bottom: 78px;
}

.of-image-gallery-lists {
    display: flex;
    flex-flow: row wrap;
    gap: 28px;
    justify-content: center;
}

.of-image-gallery-list:nth-child(odd) {
    width: calc((458 / 1140) * 100%);
}

.of-image-gallery-list:nth-child(even) {
    width: calc((653 / 1140) * 100%);
}

.of-agents-list a img {
    transition: all 0.3s ease-in-out;
}

.of-agents-list a:hover img {
    opacity: 90%;
}

.of-image-gallery-list a img {
    transition: all 0.3s ease-in-out;
}

.of-image-gallery-list a:hover img {
    opacity: 90%;
}














@media (max-width: 991px) {


  #content .of-content-col h2 {
      font-size: 33px;
      text-align: center;
  }

  #content .of-agents-title h2 {
      font-size: 33px;
  }

  #content .of-agents-list a h2 {
      font-size: 22px;
  }

  #content .of-content-col {
      width: 100%;
  }

  .of-agents-list {
      width: calc((500 / 1140) * 100%);
  }


  #content .of-content-col .image-holder {
      max-width: 400px;
      margin-left: auto;
      margin-right: auto;
  }


  
}
