header {
  padding-top: 125px;
  position: relative;
  background-color: black;
  height: 500px;
  /* min-height: 25rem; */
  width: 100%;
  overflow: hidden;
}
header video {
  width: 100%;
  object-fit: fill !important;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  -ms-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}
.home header .container {
  align-items: baseline;
}
header .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(180deg, #793469 2%, transparent);
  opacity: 1;
  z-index: 1;
}

header .bottom-line {
  bottom: 0;
  text-align: center;
  position: absolute;
  left: 0;
  color: #fff;
  font-family: "Lato";
  font-weight: 500;
  font-size: 38px;
  letter-spacing: 12px;
}

@media screen and (max-width: 768px) {
  header .bottom-line {
    font-size: 28px;
    letter-spacing: 4px;
  }
}

@media (pointer: coarse) and (hover: none) {
  header {
    background: url("https://source.unsplash.com/XT5OInaElMw/1600x900") black
      no-repeat center center scroll;
  }
  header video {
    display: none;
  }
}
.page-header {
  margin-top: -8px;
  height: 35vh;
  color: #fff;
  justify-content: center;
  display: flex;
  align-items: center;
  height: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}
.page-header-text {
  position: relative;
  z-index: 1;
}
.page-template-page-contact header {
  background: none !important;
}

.page-template-page-contact .navbar {
  background-color: #fff !important;
}

.header-text {
  color: #fff;
  font-family: "Syncopate";
  text-transform: uppercase;
}
.header-text h1 {
  font-size: 102px;
  line-height: 82px;
  inline-size: 860px;
}
@media screen and (max-width: 860px) {
  .header-text h1 {
    inline-size: 320px !important;
  }
  .header-text h1 {
    font-size: 38px;
    line-height: 42px;
  }
}
@media screen and (max-width: 768px) {
  header {
    padding-top: 25px !important;
    height: 25vh !important;
    min-height: 300px !important;
  }
}
.header-cta {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}
.header-cta p {
  color: #fff;
  font-size: 18px;
  font-family: "Lato";
  padding-bottom: 12px;
}
/* Post Header */
.post-header.container {
  height: 100%;
  width: 100%;
}
.post-header h1 {
  font-family: "Lato";
  font-size: 48px;
  line-height: 52px;
  color: #fff;
}
/* Single Project Header */
.single header {
  height: 100% !important;
  padding-top: 0px !important;
  min-height: none !important;
  background-color: #fff !important;
}
.single .overlay {
  background: #fff;
  height: 100px;
}
.single .single-post-header {
  width: 100%;
  margin-top: 120px;
}
.single-post-header-img {
  width: 100%;
}
.single .single-post-header img {
  width: 100%;
  height: 100%;
}
@media screen and (max-width: 768px) {
  .single header {
    background: none !important;
  }
}
.archive header {
  height: 500px;
  max-height: 50vh;
  background: url(https://source.unsplash.com/XT5OInaElMw/1600x900);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
figure.image-archive {
  position: relative;
  margin: 0;
}
figure.image-archive img {
  object-fit: cover;
  width: 100%;
  height: 300px;
}
/* Projects */
#wrap {
  padding: 0 0 60px;
}
.grids {
  height: 100% !important;
  column-count: 2;
}
@media screen and (max-width: 768px) {
  .grids {
    column-count: 1;
  }
}
.grid-item {
  width: 100%;
  padding: 6px;
  transition-duration: 0.5s;
}
.grid-item img {
  width: 100%;
  height: 100%;
  transition: box-shadow 0.5s ease;
}
.grid-item > img:hover {
  box-shadow: 7px 7px 7px 0px #00000047;
  cursor: pointer;
  transition-duration: 0.5s;
}
@media screen and (max-width: 768px) {
  .grid-item {
    width: 100%;
  }
  .bottom-text {
    font-size: 26px !important;
  }
  .bottom-meta {
    font-size: 12px !important;
  }
}
.overlay-img {
  opacity: 0;
  background: linear-gradient(0deg, #0000009e 6%, transparent 94%);
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  transition-duration: 0.5s;
}
/* Text Wrap on Project */
figure.image-figure:hover .bottom-text {
  bottom: 34px;
}
figure.image-figure:hover .bottom-meta {
  bottom: 16px;
}
figure.image-figure:hover .bottom-text,
figure.image-figure:hover .bottom-meta,
figure.image-figure:hover .overlay-img {
  cursor: pointer;
  opacity: 1;
}
@media screen and (max-width: 768px) {
  figure.image-figure .bottom-text,
  figure.image-figure .bottom-meta,
  figure.image-figure .overlay-img {
    opacity: 1;
  }
  .bottom-text {
    bottom: 34px !important;
  }
  .bottom-meta {
    bottom: 16px !important;
  }
}
.bottom-meta {
  z-index: 2;
  transition: all 1s ease;
  opacity: 0;
  font-family: "Lato";
  position: absolute;
  bottom: 4px;
  left: 16px;
  color: #ffffff;
  font-size: 16px;
}
.bottom-text {
  z-index: 2;
  transition: all 1s ease;
  opacity: 0;
  font-family: "Syncopate";
  font-weight: bold;
  text-transform: uppercase;
  position: absolute;
  bottom: -8px;
  left: 16px;
  color: #9fe3f4;
  font-size: 32px;
  line-height: 32px;
}
/* Project Page */
.project-layout {
  margin-top: 60px;
}
.project-layout .title {
  color: #261f64;
  font-family: "Syncopate";
  text-transform: uppercase;
  font-weight: bold;
  font-style: normal;
}
.project-layout .sub-title {
  color: #484848;
  font-family: "Lato";
  font-size: 16px;
}
.project-layout .sub-heading {
  color: #484848;
  font-family: "Lato";
  font-weight: 600;
  font-size: 22px;
}
.project-layout p.author {
  margin-top: 22px;
  font-family: "Lato";
  color: #484848;
}
/* Project Image/s */
.project-image {
  margin-top: 60px;
}
.project-text {
  padding: 50px 0px 50px 0px;
}
.project-text p {
  font-size: 18px;
  font-family: "Lato";
  color: #000;
}
.project-layout .project-image img,
.project-layout .project-image-overlap img {
  height: 100%;
  width: 100%;
}
.container-fluid.pink-box {
  min-height: 500px;
  background-color: #df007d;
  margin-top: -120px;
  margin-bottom: 120px;
}
.pink-box-text {
  padding-top: 150px;
  padding-bottom: 22px;
}
.pink-box-text h1,
.pink-box-text h2,
.pink-box-text h3,
.pink-box-text h4 {
  font-family: "Syncopate";
  text-transform: uppercase;
  font-weight: bold;
  font-style: normal;
  color: #fff;
}
.pink-box-text p {
  font-family: "Lato";
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 1px;
}
.features {
  margin-top: 80px;
}
.row.features-title {
  margin-bottom: 30px;
}
.features-title h1 {
  font-weight: bold;
  color: #261f64;
  font-family: "Syncopate";
  text-transform: uppercase;
  font-size: 46px;
}
.col-md-3.single-feature span i {
  font-size: 32px;
  color: #000;
}
.single-feature h3 {
  font-size: 26px;
  margin-top: 10px;
  font-family: "Syncopate";
  text-transform: uppercase;
}
.single-feature {
  font-size: 16px;
  font-family: "Lato";
}
/* Project Gallery */
.glide__arrow--next {
  right: 0;
}
a.left-arrow,
a.right-arrow {
  position: absolute;
  z-index: 2;
}
a.left-arrow i,
a.right-arrow i {
  font-size: 20px;
  color: #261f64;
}
a.left-arrow {
  top: 45%;
  left: 3%;
}

a.right-arrow {
  top: 45%;
  right: 3%;
}
.glide__slide .slider-fig {
  position: relative;
  margin: 0;
}
.slider-fig img {
  object-fit: cover;
  width: 100%;
  height: 250px;
}
.glide__slide .overlay-slider {
  background-color: #00000059;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  transition-duration: 0.5s;
}
.glide__slide--active .overlay-slider {
  opacity: 0;
}

/* Project Page End */
/* Related Post */
figure.related-figure {
  position: relative;
  margin: 0;
}
figure.related-figure img {
  object-fit: cover;
  width: 100%;
  height: 160px;
}
.related-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  transition-duration: 0.5s;
}
.related-post {
  margin-top: 120px;
  margin-bottom: 120px;
}
.single-related img {
  position: relative;
}
.single-related h3 {
  position: absolute;
  z-index: 2;
  padding-left: 22px;
  color: #fff;
  font-family: "Lato";
  font-size: 28px;
}
/* First */
.single-related:nth-child(1) {
  margin-top: 0px;
}
.single-related:nth-child(1) h3 {
  top: 65%;
}
/* Second */
.single-related:nth-child(2) h3 {
  top: 55%;
}
.single-related:nth-child(2) {
  margin-top: -33px;
}
/* Third */
.single-related:nth-child(3) h3 {
  top: 45%;
}
.single-related:nth-child(3) {
  margin-top: -66px;
}
@media screen and (max-width: 976px) {
  .related-post {
    margin-top: 60px;
  }
  .single-related {
    margin-top: 6px !important;
  }
  .single-related h3 {
    top: 70% !important;
  }
  figure.related-figure img {
    width: 100% !important;
  }
}
/* Arrows */
.related-arrow {
  margin-bottom: 40px;
}
.related-arrow .left a,
.related-arrow .left a i {
  color: #000;
  float: left;
  margin-right: 12px;
}
.related-arrow a:hover {
  text-decoration: none;
  color: #261f64 !important;
}
.related-arrow a {
  font-family: "Lato";
  display: flex;
  align-items: center;
}
.related-arrow .right a,
.related-arrow .right a i {
  color: #000;
  float: right;
  margin-left: 12px;
}
/* Related Post End  */

/* Contact Form */
span.wpcf7-form-control-wrap.your-first,
span.wpcf7-form-control-wrap.your-last {
  width: 98% !important;
}
span.wpcf7-form-control-wrap.your-first {
  margin-right: 3px;
}
span.wpcf7-form-control-wrap.your-last {
  margin-left: 3px;
}
span.wpcf7-form-control-wrap.your-email input,
span.wpcf7-form-control-wrap.your-email {
  width: 98% !important;
}
span.wpcf7-form-control-wrap.your-subject input,
span.wpcf7-form-control-wrap.your-subject,
textarea.wpcf7-form-control.wpcf7-textarea {
  width: 98% !important;
}
/* Spacing Inputs */
span.wpcf7-form-control-wrap input {
  margin-bottom: 12px;
}
/* text inputs */
input.wpcf7-form-control,
textarea {
  padding: 8px 14px;
  font-family: "Lato";
  border: 1px solid rgba(0, 0, 0, 0.5) !important;
  border-radius: 6px;
  font-size: 14px;
}
div.wpcf7 {
  padding: 40px 64px;
}
.contact-text {
  font-family: "Lato", sans-serif;
  font-size: 18px;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  text-align: end;
}

.contact-text p {
  margin-bottom: 0px;
}
