/*
Theme Name: Eppic Films
Theme URI: https://eppicfilms.com/
Description: Bootstrap 5 Enabled Theme.
Version: 1.0
Tags: Multi-Column, Responsive, Bootstrap
*/

/* -------------------------------------------------------------------------- */
/* Base styles                                                                */
/* -------------------------------------------------------------------------- */
:root {
  --primary-color: #1a1a1a;
  --text-color: #d3d3d3;
  --dark-color: #0d0d0d;
}

.text-gray {
  color: var(--text-color);
}

body {
  background-color: var(--primary-color);
}
section {
  margin: 6rem 0px;
}
.custom-container {
  max-width: 80%;
  margin: auto;
}

.large-container {
  width: 1601px;
  margin: 0 auto;
}

a {
  text-decoration: none;
}

.map {
  filter: grayscale(100%) invert(92%) contrast(83%);
}

.map-section {
  margin: 2rem 0 6rem 0;
}

/* -------------------------------------------------------------------------- */
/* Header                                                                     */
/* -------------------------------------------------------------------------- */
header {
  height: fit-content;
  width: 100%;
  overflow: hidden;
}

.logo {
  width: 46%;
}
.mosaic {
  width: 74%;
}

.navbar a, .navbar a:visited {
  color: #FFF;
  text-transform: uppercase;
}

.navbar-brand {
  width: 250px;
}

/* -------------------------------------------------------------------------- */
/* Video styles                                                               */
/* -------------------------------------------------------------------------- */
.videowrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}
.videowrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}
header .videowrapper {
  padding-top: 45%;
}

.faded-border {
  position: absolute;
  z-index: 1000000;
  width: 100%;
  height: 50px;
  bottom: 0px;
  background-image: linear-gradient(transparent, #1a1a1a 80%);
}

.eppic-films-logo {
  position: absolute;
  bottom: 60px;
  left: 60px;
  z-index: 100;
}

/* -------------------------------------------------------------------------- */
/* Home Page Content                                                          */
/* -------------------------------------------------------------------------- */
/**** Meet our team ****/
.image-gallery {
  height: fit-content;
  overflow: hidden;
}

.gallery-item {
  width: 100%;
}

.image-wrapper {
  overflow: hidden;
  box-sizing: border-box;
}

.colleague {
  filter: grayscale(100%);
  transition: all .4s ease-in-out;
  width: 100%;
  height: 537px;
  object-fit: cover;
}

/* Border and animation */
.image-wrapper::before {
  position: absolute;
  content: '';
  height: 0;
  width: 0;
  left: 10px;
  bottom: 10px;
  box-sizing: border-box;
  border-left: 6px solid transparent;
  border-bottom: 6px solid transparent;
  z-index: 12;
  transition: all .8s ease;
}

.image-wrapper::after {
  position: absolute;
  content: '';
  height: 0;
  width: 0;
  right: 10px;
  top: 10px;
  box-sizing: border-box;
  border-top: 6px solid transparent;
  border-right: 6px solid transparent;
  z-index: 12;
  transition: all .8s ease;
}

.gallery-item:hover .image-wrapper::before,
.gallery-item:hover .image-wrapper::after {
  border-color: white;
  height: 70%;
  width: 70%;
}

.image-wrapper:hover .colleague {
  transform: scale(1.1);
  filter: grayscale(0%);
  z-index: 10;
}

.name-badge {
  width: 250px;
  margin: 0 auto;
  bottom: 30px;
  left: 50%;
  z-index: 1000;
  transform: translateX(-50%);
  background-color: white;
  border-radius: 20px 0;

  font-family: 'Montserrat', sans-serif;
  border: none;
}

.name-badge:first-child {
  font-size: 1rem;
}

.title {
  font-size: 0.625rem;
}


/**** Carousel styles ****/
.carousel__container {
  position: relative;
  height: 60%;
  overflow: hidden;
  height: fit-content;
}


/**** Owl carousel styles ****/
.owl-nav {
  margin-top: 0;
  position: absolute;
  width: 100%;
  padding: 0 50px;
  display: flex !important;
  justify-content: space-between;
  z-index: 1000;
  top: 42%;
}
.owl-prev, .owl-next {
  width: 15px;
  color: white !important;
}

.owl-prev i, .owl-next i {
  transform: scale(3);
}


/**** Our clients styles ****/
.our-clients img {
  filter: grayscale(100%);
}

.box {
  background-color: #0d0d0d;
  height: 215px;
  width: 215px;
  margin-inline: 20px; /* 0 auto 20px */
}

.heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 4rem;
  background-image: linear-gradient(#ffffff 30%, #3e3e3f);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/**** Draggable carousel ****/
.slide-container {
  width: 100%;
  left: 50%;
  position: relative;
  transform: translateX(-50%);
  height: 350px;
  overflow: hidden;
}

.inner-slider {
  width: fit-content;
  display: flex;
  gap: 10px;
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
}

/**** Contact info styles ****/
section.contact-info-1 {
  height: fit-content;
}
.side-bar {
  padding-bottom: 26px;
}
.contact-icons {
  height: 70px;
  width: 70px;
}
.contact-icons i {
  font-size: 32px;
}
.gs_reveal {
  opacity: 0;
  visibility: hidden;
  will-change: transform, opacity;
}

/* -------------------------------------------------------------------------- */
/* About                                                                      */
/* -------------------------------------------------------------------------- */
.wid-100 {
  width: 100%;
}

/* -------------------------------------------------------------------------- */
/* Services                                                                   */
/* -------------------------------------------------------------------------- */
.workflow-box {
  height: 300px;
  width: 300px;
  padding: 20px;
  background-color: #3e3e3f;
}

.top-services-section {
  margin-top: 10rem;
}

.p-12 {
  padding: 12px;
}
/* -------------------------------------------------------------------------- */
/* Video Gallery | Rotating image panels                                      */
/* -------------------------------------------------------------------------- */
.video-gallery {
  background-color: var(--primary-color);
  background-position: 0px;
  background-size: cover;
  background-repeat: no-repeat;
  height: fit-content;
  background-attachment: fixed;
}

.thumbnail-container {
  top: -12rem;
  left: 4rem;
}

.thumbnail-column-2 {
  transform: translateX(-2rem) translateY(0.4rem);
}

.thumbnail-column-3 {
  transform: translateX(-17.3rem) translateY(13.9rem);
}

.thumbnail {
  width: 90%;
  position: relative;
}

.shift-50 {
  transform: translateX(55%) translateY(45%);
}

.shift-100 {
  transform: translateX(110%) translateY(91%);
}

/* -------------------------------------------------------------------------- */
/* Form block 1 and form 1                                                    */
/* -------------------------------------------------------------------------- */
.form-1 {
  padding: 20px;
  display: grid;
  row-gap: 100px;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 1fr fit-content fit-content;
}

.form-1 #name,
.form-1 #email,
.form-1 #phone,
.form-1 #project-type,
.form-1 #project-info {
  background: transparent;
  border-top: none;
  border-left: none;
  border-right: none;
}

.form-1 #button {
  color: white;
  margin-top: 8px;
  padding: 10px 16px;
  border: none;
  background-color: #6c757d;
}

input:focus {
  outline: none;
}

/* -------------------------------------------------------------------------- */
/* Form block 2 and form 2                                                    */
/* -------------------------------------------------------------------------- */
.form-section-2 {
  margin-top: 10rem;
}

.form-block-2 {
  width: 100%;
}

.form-2 {
  margin: 0 auto;
  width: fit-content;
}

.form-2 #name,
.form-2 #company,
.form-2 #email,
.form-2 #phone,
.form-2 #project-type,
.form-2 #project-info {
  width: 600px;
  background-color: white;
  border: none;
}

.form-2 input,
.form-2 #project-info {
  padding: 10px;
}

.form-2 #project-info {
  height: 150px;
  margin-bottom: 0;
}

.form-2 #button {
  background-color: var(--dark-color);
  border: none;
  font-size: 0.9rem;
  margin-top: 0;
  text-transform: uppercase;
  padding: 3px 10px;
  color: white;
}

.contact-info-2 {
  background-color: black;
  padding-inline: 15rem;
}

.block {
  flex: 1 1 0px;
  width: 0;
}

.block-middle {
  border-left: 1px solid gray;
  border-right: 1px solid gray;
}

.contact-icon {
  height: 40px;
  width: 40px;
}

.contact-icon i {
  font-size: 24px;
}

/* -------------------------------------------------------------------------- */
/* Single / Page / Archive                                                    */
/* -------------------------------------------------------------------------- */
/* Production services */
section.production-services {
  background-color: #0b0b0b;
  background-position: 0px;
  background-size: contain;
  background-repeat: no-repeat;
  height: 700px;
}

.font-size {
  font-size: 1.3rem;
}

/* Custom grid solution */
.custom-grid {
  width: fit-content;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.custom-grid .col:last-child {
  grid-column: 2 / 4;
}


/* Work section */
.panel {
  transition: opacity 0.3s;
}
.panel:hover {
  opacity: 30%;
}
/* .work-content {
  height: 216px;
  top: 50px;
  left: 40px;
} */

.work-section {
  margin-top: 14rem;
}

.panel-btn {
  position: absolute;
  bottom: -20px;
}

/* -------------------------------------------------------------------------- */
/* Comments                                                                   */
/* -------------------------------------------------------------------------- */
.comments-box {
  margin-top: 35px;
}
ol.comment-list {
  margin: 30px 0px;
  padding: 0px;
  list-style-type: none;
}
ol.children {
  margin: 0px;
  padding: 0px;
  list-style-type: none;
}
ol.comment-list li {
  margin-bottom: 30px;
  padding-left: 52px;
  padding-bottom: 30px;
  position: relative;
  border-bottom: 1px solid #ddd;
}
ol.comment-list li:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none
}
ol.comment-list li .avatar {
  top: 0;
  left: 0;
  position: absolute;
  border-radius: 50%;
}
ol.children {
  margin-top: 30px;
  padding-top: 30px;
  padding-left: 50px;
  border-top: 1px solid #DDD;
}
.comment-heading, .comment-form {
  margin-top: 0;
  margin-bottom: 30px;
}
.comment-form label {
  display: block;
}
.comment-metadata a {
  color: #888;
  font-size: 11px;
}
#cancel-comment-reply-link {
  color: #C00;
  font-size: 12px;
}
.form-allowed-tags code {
  white-space: normal;
}
.form-submit {
  display: none;
}
.left-indent {
  padding-left: 10px;
}

/* -------------------------------------------------------------------------- */
/* Sidebar                                                                    */
/* -------------------------------------------------------------------------- */
/**** Custom polygon styles ****/
.polygon {
  position: absolute;
  background-color: black;
  height: 300px; /* 116% 293px */
  width: 475px; /* 50% */
  clip-path: polygon(0 0, 80% 0, 95% 100%, 0% 100%);
  overflow: auto;
}
.polygon-2 {
  left: 70px;
  bottom: -41px;
  position: absolute;
  background-color: #323232;
  height: 150px; /* 76% */
  width: 475px; /* 50% */
  clip-path: polygon(0 0, 85% 0, 94% 100%, 0% 100%);
}

/* -------------------------------------------------------------------------- */
/* Footer                                                                     */
/* -------------------------------------------------------------------------- */
footer {
  height: fit-content;
}
footer .col {
  height: 100%;
}
.footer-logo {
  width: 75%;
  position: absolute;
  top: 54%;
  left: 40%;
  transform: translate(-50%, -50%);
}
.footer-icons {
  height: 43px;
  width: 43px;
}
.privacy-policy {
  height: 100%;
  width: 100%;
}

/* -------------------------------------------------------------------------- */
/* Media Queries                                                              */
/* -------------------------------------------------------------------------- */

/* Large Devices */
@media only screen and (min-width : 992px) {
  .navbar-expand-lg {
    position: absolute;
    width: 100%;
    z-index: 100;
    background-color: rgba(0,0,0,0.5);
  }
}

/* X Large Devices */
@media only screen and (max-width : 1100px) {
  form {
    grid-template-columns: 1fr;
    row-gap: 30px;
  }
  form input {
    width: 100%;
  }
  .name-badge {
    width: 100px;
  }
  .name-badge:first-child {
    font-size: 0.75rem;
  }
  .title {
    font-size: 0.5rem;
  }
}

/* Special media query for polygon shapes */
@media only screen and (min-width : 2131px) {
  .polygon {
    height: 264px;
  }
}

/* XX Large Devices */
@media only screen and (max-width : 1400px) {
  .name-badge {
    width: 200px;
  }

  .form-1 #name,
  .form-1 #email,
  .form-1 #phone,
  .form-1 #project-type,
  .form-1 #project-info {
    width: 80%;
  }

}

@media only screen and (max-width : 1350px) {
  .contact-info {
    height: 600px;
  }
}

/* `xl` applies to large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {

  .text-group p {
    width: 100%;
  }

  .eppic-films-logo {
    left: 40px;
    bottom: 40px;
    width: 20%;
  }
}

@media only screen and (max-width: 1125px) {
  .custom-grid {
    width: fit-content;
    display: flex;
    flex-direction: column;
    margin: 0;
  }

  .font-size {
    font-size: 1rem;
  }
}

/* `lg` applies to medium devices (tablets, less than 992px) */
@media only screen and (max-width: 991.98px) {

  .contact-info-2 {
    padding-inline: 0;
  }

  .eppic-films-logo {
    left: 30px;
    bottom: 30px;
    width: 20%;
  }

  .form-section-2 {
    margin-top: 4rem;
  }
}

@media only screen and (min-width: 768px) {
  .wid-md-75 {
    width: 75%;
  }
  .contaniner-test {
    margin: 5rem auto;
    position: relative;
    flex-grow: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    grid-gap: 2vmin;
    justify-items: center;
    align-items: center;
  }
}

@media only screen and (min-width: 1190px) {
  .contaniner-test {
    flex-grow: 1;
    max-width: 1400px;
    max-height: 1400px;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(4, 1fr);
  } 
  .contaniner-test a {
    z-index: 1;
    grid-column: span 2;
    max-width: 100%;
    margin-bottom: -52%;
    -webkit-clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
            clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    -webkit-transform: scale(1);
            transform: scale(1);
    transition: all .25s;
  }
  .contaniner-test a:nth-child(7n + 1) {
    grid-column: 2 / span 2;
  }
  .contaniner-test a:hover {
    z-index: 2;
    -webkit-transform: scale(1.25);
            transform: scale(1.25);
  }
}

/* Medium Devices */
@media only screen and (max-width : 768px) {

  .form-2 #name,
  .form-2 #company,
  .form-2 #email,
  .form-2 #phone,
  .form-2 #project-type,
  .form-2 #project-info {
    width: 100%;
    background-color: white;
    border: none;
  }

  .block {
    flex: 0 1 auto;
    width: 100%;
  }

  .block-middle {
    border: none;
  }

  .form-1 {
    grid-template-columns: 1fr;
  }

  .eppic-films-logo {
    left: 10px;
    bottom: 20px;
    width: 20%;
  }

  .form-1 #name,
  .form-1 #email,
  .form-1 #phone,
  .form-1 #project-type,
  .form-1 #project-info {
    width: 100%;
  }
}



@media only screen and (max-width: 1650px) {
  .custom-grid {
    max-width: 1058px;
    margin: 0 auto;
    /* display: flex; */
    flex-wrap: wrap;
  }
}

/* Between small and medium devices */
@media only screen and (max-width : 600px) {
  .name-badge {
    width: 250px;
  }
  .name-badge:first-child {
    font-size: 1rem;
  }
  .title {
    font-size: 0.625rem;
  }
  .colleague {
    height: 700px;
  }
}

@media only screen and (max-width: 576px) {
  .custom-grid {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
  }

  .custom-grid .col:last-child {
    height: 300px;
    grid-column: 1fr;
  }

  .more-content {
    margin: 30px 0;
  }

  section {
    margin: 3rem;
  }

  .form-section-2 {
    margin-top: 2rem;
  }

  .heading {
    font-size: 3rem;
  }
}

@media only screen and (max-width: 400px) {
  .form-1 {
    display: block;
  }

  .form-1 #project-info {
    width: 100%;
  }

  .heading {
    font-size: 2.4rem;
  }
}
