/*
Theme Name: Off The Wall Custom Theme
Theme URI: https://yourwebsite.com/theme
Author: Josh Davey
Author URI: http://joshportfolio.yoobee.site/
Version: 1.0.0
Text Domain: my-custom-theme
Tags: custom-background
*/



/* Pre Styled Elements */

/* Header Set */
h1 {
    font-size: 90px;
    color: #444444;
    font-family: "Roboto";
    font-weight: 700;
}

h2 {
    font-size: 44px;
    color: #444444;
    font-family: "Roboto";
    font-weight: 700;
}

h3 {
    font-size: 36px;
    color: #444444;
    font-family: "Roboto";
    font-weight: 700;
}

h4 {
    font-size: 32px;
}

h5 {
    color: #444444;
    font-family: "Roboto";
    font-weight: 700;
    font-size: 28px;
}

h6 {
    font-size: 22px;
    font-weight: 600;
    color: #444444;
}

/* Buttons */
.primary-button {
    background-color: #99311A;
    padding: 8px 25px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    font-family: "Roboto";
}

.contact-link {
    color: #99311A;
    font-weight: 700;
}

/* Button Styles */
/* Sweep To Bottom */
.hvr-sweep-to-bottom {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    position: relative;
    -webkit-transition-property: color;
    transition-property: color;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
  }
  .hvr-sweep-to-bottom:before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    border: 3px solid #99311A;
    -webkit-transform: scaleY(0);
    transform: scaleY(0);
    -webkit-transform-origin: 50% 0;
    transform-origin: 50% 0;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
  }
  .hvr-sweep-to-bottom:hover, .hvr-sweep-to-bottom:focus, .hvr-sweep-to-bottom:active {
    color: #99311A;
  }
  .hvr-sweep-to-bottom:hover:before, .hvr-sweep-to-bottom:focus:before, .hvr-sweep-to-bottom:active:before {
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
  }

  /* Grow */
.hvr-grow {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    transition-property: transform;
  }
  .hvr-grow:hover, .hvr-grow:focus, .hvr-grow:active {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }


/* Header Styling */
.navbar-collapse {
    justify-content: center;
}

.navbar {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

#navbarNav {
    background-color: #374F6B;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 9999;
}

.nav-link {
    color: white !important;
    font-weight: bold;
}

.navbar-nav > li > .dropdown-menu {
    background-color: white;
}

.navbar-toggler:focus,.navbar-toggler:active {
    outline: none !important;
    box-shadow: none;
 }

 /* Media Query for header */
@media only screen and (max-width: 992px) {

    .show {
        background-color: white !important;
    }

    .collapsing {
        background-color: white !important;
    }

    .nav-link {
        color: #374F6B !important;
    }

    #navbarNav {
        position: relative;
        background-color: #f8f9fa !important;
    }
    
    .navbar-nav {
        padding-left: 50px;
    }

    .navbar {
        background-color: #374F6B !important;
    }

    .navbar-toggler-icon {
        color: white !important;
    }

    .navbar-toggler {
        border: none !important;
    }

  }

  /* ====== Footer Styles ====== */
  footer {
      padding-top: 20px;
  }

  .footer {
    background-color: #374F6B !important;
    
  }

  .fa-facebook-f {
    margin-right: 1rem !important;
  }

  .link-footer {
      text-decoration: none !important;
  }

  .footer h6 {
      color: white !important;
  }

  .footer-credit a,
  .footer-credit {
    color: white !important;
  }

  footer p,
  footer a {
    color: white !important;
    text-decoration: none !important;
  }
  
  #square-logo {
      width: 120px;
  }

  /* ===== Home Page ===== */
  .landing-section-container {
      display: flex;
  }

  .landing-section-text {
      width: 50%;
      display: flex;
      flex-direction: column;
      align-items:flex-end;
      justify-content: space-evenly;
      padding-right: 5%;
  }

  .landing-section-text h6 {
    font-size: 20px;
    text-align: right;
    width: 70%;
}

  .landing-section-head {
      text-align: right;
  }

  .landing-section-image {
      width: 50%;
  }

  #landing-image {
      width: 50vw;
  }

  /* Services Section */
  .services-container {
      background-color: #E9EDF2;
      padding-bottom: 100px;
  }

  .services-header {
      text-align: center;
      padding-top: 100px;
  }

  .services-subheader {
      padding-top: 50px;
      text-align: center;
      padding-bottom: 30px;
  }

  .services-icons-container {
      /* padding-top: 100px; */
      width: 60%;
      margin: auto;
      display: flex;
      justify-content: space-around;
      flex-wrap: wrap;
  }

  .icon-container {
      text-align: center;
      width: 33%;
      padding-top: 70px;
  }

  #service-icon {
      width: 10vw;
      padding-bottom: 20px;
  }

  .service-icon-info {
    color: #777777;
  }

  /* Recent Projects Section */
  .recent-projects-header {
      padding-top: 100px;
      text-align: center;
  }

  .projects-container {
      width: 60%;
      margin: auto;
      display: flex;
      justify-content: space-around;
      flex-wrap: wrap;
      padding-bottom: 50px;
  }

  .single-project-card {
      width: 30%;
      margin-top: 100px;
  }

  .more-projects-button {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      padding-bottom: 100px;
      width: 20%;
      margin: auto;
  }

  .more-projects-button-style {
    text-decoration: none !important;
    color: #444444;
    font-family: "Roboto";
    font-weight: 700;
    font-size: 22px;
  }

  .projects-container-link {
      text-decoration: none !important;
  }

  .more-projects-button-style:hover {
    color: #444444;
  }

  .line-more-projects-1 {
      height: 3px !important;
      width: 220px;
      color: #99311A;
      opacity: 1;
      margin: 0;
      margin-bottom: 10px;
  }

  .line-more-projects-2 {
    height: 3px !important;
    width: 180px;
    color: #99311A;
    opacity: 1;
    margin: 0;
}

/* ====== Projects Page ====== */
.all-projects-container {
    width: 80%;
    margin: auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding-bottom: 50px;
}

.card-link {
    text-decoration: none !important;
}

.card-body {
    background-color: #E9EDF2;
    padding-bottom: 40px;
    padding-top: 40px;
}

.card-body p {
    color: #444444 !important;
}

.single-card-view {
    margin-top: 20px;
}

.all-projects-card-title {
    color: #99311A;
}

.single-project-card img {
    object-fit: contain;
    height: auto;
}

.card-title-all-projects {
    color: #99311A;
    text-decoration: none !important;
}

/* ====== Single Project Container */
.single-project-container {
    padding-top: 100px;
    width: 60%;
    margin: auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
}


.single-project-page-title {
    text-align: center;
}

.n2-section-smartslider {
    padding-top: 75px;
    width: 70% !important;
    height: 100% !important;
    margin: auto;
}

.single-project-icons-container {
    display: flex;
    justify-content: space-around;
    margin-top: 100px;
    padding-top: 50px;
    padding-bottom: 50px;
    background-color: #E7E7E7;
    width: 100%;
}

.single-project-icon-container {
    display: flex;
    flex-direction: column;
}

.single-project-icon-info,
.single-project-icon-title {
   text-align: center;
   font-family: "Roboto";
}

.single-project-icon-info {
    color: #777777;
}

#single-project-icon {
    width: 5vw;
    margin: auto;
    padding-bottom: 20px;
}

/* ====== Contact Page ====== */

#contact {
    padding-top: 100px;
    text-align: center;
    padding-bottom: 50px;
}

.contact-section {
    width: 60%;
    margin: auto;
    display: flex;
    justify-content: space-around;
    padding-bottom: 100px;
}

.asterix {
    color: #99311A;
}

.contact-form-style {
    font-family: "Roboto";
    font-weight: 700;
    color: #444444;
}

.wpcf7-submit {
    background-color: #99311A;
    padding: 8px 25px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    font-family: "Roboto";
    border: none;
}

.wpcf7-textarea {
    border: 1px solid #777777 !important;
}

.icon {
    margin-top: auto;
    margin-bottom: auto;
    padding-right: 20px;
}

.icon .fa-envelope {
    font-size: 44px;
    color: #99311A;
}

.icon .fa-phone {
    font-size: 44px;
    color: #99311A;
}

.icon .fa-facebook {
    font-size: 44px;
    color: #99311A;
}

.details {
    display: flex;
    padding-bottom: 60px;
}

.details .text a {
    text-decoration: none;
    font-family: "Roboto";
    font-weight: 500;
    color: #99311A;
}

.details .text p {
    font-family: "Roboto";
    font-weight: 500;
    color: #444444;
}
  
  /* ====== About Us Page */
  .about-header {
      text-align: center;
      padding-top: 100px;
      color: #99311A;
  }

  .about-image-text-container {
    display: flex;
    justify-content: space-between;
}

  #main-logo {
      width: 25vw;
  }

  .main-logo-container {
      display: flex;
      justify-content: center;
  }

  .about-container {
      width: 70%;
      margin: auto;
      padding-top: 100px;
      padding-bottom: 100px;
  }

  .about-us-text {
      width: 60%;
  }

  .about-contact-link {
      text-align: center;
      padding-top: 50px;
  }

  .about-us-contact-icons {
      display: flex;
      justify-content: center;
      padding-top: 50px;
  }

  .about-us-contact-icons .fa-facebook {
      font-size: 40px;
      padding-right: 15px;
  }

  .about-us-contact-icons .fa-envelope {
    font-size: 40px;
    padding-left: 15px;
}

.about-us-fb,
.about-us-contact {
    color: #374F6B;
}

.about-us-fb:hover,
.about-us-contact:hover {
    color: #374F6B;
}



/* Media Queries */
/* Medium Desktop */
@media only screen and (max-width: 1700px) {
    h1 {
        font-size: 60px ;
    }

    .primary-button {
        padding: 4px 15px;
        font-size: 16px;
    }

    .projects-container {
        width: 80%;
    }

    
}

/* Small Desktop */
@media only screen and (max-width: 1312px) {

    /* Header Set */
h1 {
    font-size: 50px;
}

h2 {
    font-size: 36px;
    padding-top: 75px !important;
}

h3 {
    font-size: 32px;
}

h4 {
    font-size: 28px;
}

h5 {
    font-size: 24px;
}

h6 {
    font-size: 20px;

}

.landing-section-text h6 {
    font-size: 20px;
    text-align: right;
    width: 70%;
}

.service-icon-info {
    width: 80%;
    margin: auto;
}

.projects-container {
    width: 80%;
}

.single-project-card {
    margin-top: 50px;
}

/* All Projects Page */
.single-project-container {
    width: 80%;
}

/* About Us Page */
.about-image-text-container {
    flex-direction: column;
    align-items: center;
}

#main-logo {
    width: 40vw;
}

.about-container {
    padding-top: 50px;
}

.about-us-text {
    width: 100%;
    padding-top: 50px;
}

/* Contact Page */
.contact-section {
    width: 80% !important;
}



  }

/* Tablet */
@media only screen and (max-width: 992px) {

/* Header Set */
h1 {
    font-size: 48px;
}

h2 {
    font-size: 30px;
    padding-top: 40px !important;
}

h3 {
    font-size: 28px;
}

h4 {
    font-size: 26px;
}

h5 {
    font-size: 24px;
}

h6 {
    font-size: 18px;
}

.hide-on-tablet {
    display: none;
    visibility: hidden;
}

.services-subheader {
    padding-top: 30px;
    width: 80%;
    margin: auto;
}

.icon-container {
    padding-top: 35px;
}

.services-icons-container {
    width: 80%;
}

.projects-container {
    width: 90%;
}

/* Home Page */
.more-projects-button {
    padding-bottom: 50px !important;
}

/* Projects Page */
.all-projects-container {
    width: 90%;
}

/* Single Project */
.single-project-container img {
    width: 50vw;
}

/* Contact Page */
.contact-section {
    flex-direction: column;
    align-items: center;
    padding-bottom: 0px;
}

.contact-details-parent {
    /* display: flex; */
    justify-content: space-between;
    width: 80%;
}

.icon {
    padding-right: 0;
    padding-bottom: 20px;
}

.details .text {
    text-align: center;
}

.details {
    flex-direction: column;
    align-items: center;
    
}

.contact-details-parent {
    padding-top: 75px;
}


/* Media Query Ends */
}

/* Mobile */
@media only screen and (max-width: 688px) {
    .hide-on-mobile {
        display: none;
        visibility: hidden;
    }

    /* About Page */
    #main-logo {
        width: 80vw;
    }
    .about-container {
        width: 90%;
    }

    .about-container {
        padding-top: 40px;
    }

    .landing-section-container {
        flex-direction: column;
    }

    .landing-section-text {
        width: 80%;
        padding-right: 0;
        align-items: flex-start;
        margin: auto;
        padding-bottom: 5vh;
        padding-top: 5vh;
    }

    .landing-section-head,
    .landing-section-text h6 {
        text-align: left;
    }

    .landing-section-text h6 {
        padding-top: 2vh;
        padding-bottom: 2vh;
        width: 90%;
    }

    #landing-image {
        width: 100vw;
    }

    .services-container {
        padding-bottom: 75px;
    }

    .services-icons-container {
        width: 90%;
    }

    .icon-container {
        width: 50%;
    }

    #service-icon {
        width: 20vw;
    }

    .service-icon-info {
        width: 90%;
    }

    .projects-container {
        flex-direction: column;
        align-items: center;
    }

    .single-project-card {
        width: 90%;
    }

    .more-projects-button {
        width: 50%;
    }

    /* Single Project Page */
    .single-project-container {
        padding-top: 50px;
        width: 90%;
    }

    .single-project-container img {
        width: 80vw;
        padding-top: 30px;
    }
    
    .n2-section-smartslider {
        width: 100% !important;
    }

    .single-project-icons-container {
        margin-top: 60px;
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .single-project-icon-container {
        max-width: 30vw;
        width: 30vw;
    }

    #single-project-icon {
        width: 10vw;
    }

    .single-project-icon-title {
        font-size: 16px;
    }
}