* {
    box-sizing: border-box;
}

body, html {
    margin: 0;
    padding: 0;
    overflow-x: clip;
    width: 100%;
}

body {
    background-color: black;
}

.video {
    display: block;
    position: static;
    top: 0;
    left: 0;
    width: 100%;
    /* height: 95vh;  */
    object-fit: cover; 
    z-index: -1;
}

#intro {
    width: 100%;
    max-height: 95vh;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: black;
}

#introVideo {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 95vh;
    object-fit: contain;
}

#outroVideo{
    max-height: 85vh;
}

#reel {
    display: block;
    width: 100%;
    max-width: 1080px;
    /* height: auto; */
    min-height: 250px;
    border-radius: 25px;
    overflow: hidden;
    margin: 0 auto;
}

#bg1 {
    background-attachment: fixed;
    background-image: url('images/work.JPG');
    height: auto;
}

#bg1-overlay {
    background-image: linear-gradient(rgba(121, 18, 20, 1), rgb(0, 0, 0, 0.5));
    /* display: flex; */
    /* justify-content: center;
    align-items: flex-start;
    padding-top: 40px; */
}

#bg1 h1 {
    margin-top: 0;
}

#bg2{
    background-attachment: fixed;
    background-image: url('images/services.jpg');
}

#bg2-overlay{
    background-image: linear-gradient(rgb(0, 0, 0, 1), rgb(0, 0, 0, 0.75));
}


#bg3 {
    background-attachment: fixed;
    background-image: url('images/clients.JPG');
}

#bg3-overlay {
    background-image: linear-gradient(rgba(0, 0, 0, 1), rgba(68, 68, 68, 0.75));
}

#client-slider-1{
    margin-top: 20px;
}

#client-slider-2,
#client-slider-3 {
    width: 100%;
    max-width: 1200;
    margin: 0 auto;
}

#bg4 {
    background-image: url('images/aboutus.JPG');
}

#bg4 p {
    text-align: left;
    width: 80%;
}

#bg4-overlay {
    background-color: rgba(68, 68, 68, 0.5);
}

#bg5{
    background-image: url('images/certs.JPG');
}

#bg5 h2 {
    /* -webkit-text-stroke: 2px black; */
    /* color: black; */
    /* background-color: rgba(0, 0, 0, 0.1); */
}
#bg5 hr {
    /* background-color: black !important; */
    -webkit-text-stroke: 2px black;
}

#bg5-overlay {
    background-color: rgba(255, 255, 255, 0.2);
}

#certs {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
    padding-top: 20px;
    padding-right: 25vw;
    text-align: center;
}

#bg6 {
    background-image: url('images/contactus.JPG');
    /* max-height: 50vh; */
    min-height: 85vh !important;
}

#bg6-overlay {
    background-color: rgba(0, 0, 0, 0.5);
}

.bg{
    width: 100%;
    min-height: 100vh;
    height: auto;
    background-color: rgb(0, 0, 0);
    background-size: cover;
    /* background-attachment: fixed; */
    position: relative;
}

.bg hr {
    background-color: white;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#contactUs{
    display: flex;
    flex-direction: row;
    column-gap: 20px;
}

.content {
    position: static;
    color: rgb(255, 255, 255);
    text-align: center;
    display: flex;
    flex-direction: column;
    padding-top: 2em;
    align-items: center;
    gap: 1em;
    /* width: 100%; */
    height: fit-content;
    margin: 0 auto;
    padding-bottom: 5em;
}

.sliders {
    width: 80vw;
    max-width: 1900px;
}

.work-slider {
    padding-top: 30px;
}

.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  background-color: #111;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}

.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.sidenav a:hover {
  color: #f1f1f1;
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

.header{
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: rgba(121, 18, 20, 1);
    height: 5vh;
    min-height: 64px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 20%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

#runner{
    margin-right: auto;
}

header p {
    margin: 0;
}

.header .navlink {
    font-family: "Trebuchet MS", Arial, sans-serif;
    transition: 0.3s;
    color: white;
    text-decoration: none;
}

.header a {
    padding: 5px 15px;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
}

.header a:hover {
    color: rgba(255, 255, 255, 0.2);
}

.header span {
    color: white;
    display: none;
}

hr {
    border: 0;
    height: 2px;
    /* background-color: white; */
    width: 80%;
    max-width: 1200px;
}

h2{
    font-size: 48px;
    font-family: Futura, "Trebuchet MS", Arial, sans-serif;
    margin-bottom: 0;
    max-width: 1200px;
}

/* Make hr adjacent to or inside a .revealUp expand left -> right */
.revealUp hr,
.revealUp + hr,
.revealUp ~ hr {
    transform-origin: left center;
    transform: scaleX(0);
    will-change: transform;
}

h3{
    font-family: Futura, "Trebuchet MS", Arial, sans-serif;
    font-size: 18px;
}

.slider {
    margin: 0 auto;
}

.slider-container{
    width: 100%;
}

.slider-item {
    height: 200px;
}

p{
    font-size: 24px;
    font-family: "Trebuchet MS", Arial, sans-serif;
    line-height: 2.0;
    max-width: 1200px;
}

.footer {
    position: sticky;
    top: 5vh;
    background-color: rgba(68, 68, 68, 1);
    height: 10vh;
    min-height: 127px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.revealUp {
  opacity: 0;
  visibility: hidden;
}

.services{
    display: grid;
    grid-template-columns: auto auto auto auto;
    gap: 25px 25px;
}

.service-card{
    border: 1px solid #555;
    padding: 10px;
    font-size: 30px;
    text-align: center;
    width: auto;
    max-width: 250px;
    /* height: 200px; */
    height: auto;
    border-radius: 5%;
    background-color: black;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.service-card:hover{
    background-color: rgb(32, 9, 9);
    box-shadow: 0px 5px rgba(0, 0, 0, 0.2);
}

.services div p{
    font-size: 14px;
}

.service-title{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-height: 190px;
    /* gap: 1em; */
    /* margin: 0.1em; */
    /* height: 50px; */
}

.service-title img{
    width: 150px;
    height: 140px;
    object-fit: contain;
    display: block;
    margin-bottom: 8px;
}

.service-title h3{
    margin: 0;
    min-height: 2.6em;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.description {
    text-align: center;
    width: 100%;
    margin: 8px 0 0;
}

.collapsible {
  background-color: #000000;
  color: rgb(255, 255, 255);
  cursor: pointer;
  padding: 18px;
  /* padding-left: 20vw; */
  /* padding-right: 20vw; */
  max-width: 1200px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 32px;
  font-family: "Trebuchet MS", Arial, sans-serif;
}

.active, .collapsible:hover {
  background-color: #555;
}

.hidden {
  padding: 0 0px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  background-color: #000000;
}

.hidden p{
    font-size: 18px;
}

.hidden span {
    display: none;
}

.collapsible:after {
  content: '+'; /* Unicode character for "plus" sign (+) */
  font-size: 32px;
  color: rgb(255, 255, 255);
  float: right;
  margin-left: 5px;
  /* font-weight: bold; */
}

.coll_active:after {
  content: '-'; /* Unicode character for "minus" sign (-) */
  color: rgb(255, 255, 255);
  font-size: 32px;
  /* font-weight: bold; */
}

.container {
  display: flex;
  gap: 20px;
  padding: 40px;
  max-width: 1200px;
}

.item:nth-child(1),
.item:nth-child(2),
.item:nth-child(3) {
  flex-grow: 1;
}

.menu hr{
    background-color: gray;
    height: 1px;
}

.social_btn {
  height: 50px;
  width: 50px;
  border-color: #ccc;
  border-style: solid;
  border-radius: 50%;
  display: inline-block;
  margin-inline: 5px;
  background-size: 40px 40px;
  background-repeat: no-repeat;
  background-position: center;
}

#facebook{
  background-image: url('images/facebook1.svg');
}

#facebook:hover{
  background-image: url('images/facebook2.svg');
}

#x{
  background-image: url('images/x1.svg');
}

#x:hover{
  background-image: url('images/x2.svg');
}

#linkedin{
    background-image: url(images/linkedin1.svg);
}

#linkedin:hover{
    background-image: url(images/linkedin2.svg);
}

#instagram{
    background-image: url(images/instagram1.svg);
}

#instagram:hover{
    background-image: url(images/instagram2.svg);
}

.social_btn:hover{
	background-color: #ccc;
}

.socials{
    margin-top: 20px;
}

.footer p{
    font-size: 12px;
    color: #ccc;
    line-height: 1.0;
}

#topBtn{
    display: none;
    position: fixed;
    z-index: 99;
    bottom: 10px;
    right: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255);
    background-image: url('images/arrow.svg');
    box-shadow: 0px 5px rgba(0, 0, 0, 0.2);
    border-style: none;
    width: 48px;
    height: 48px;
    cursor: pointer;
}

#topBtn:active {
    border-style: none;
}

.logo{
    width: 150px;
    /* height: 150px; */
}

.owl-item{
    background: transparent;
}

.owl-dot{
    width: 24px;
    height: 20px;
}

.owl-prev,
.owl-next{
    width: 100px;
    height: 50px;
}

.owl-theme .owl-dots .owl-dot span{
    background: white;
    display: inline-block;
    width: 10px !important;
    height: 10px !important;
    border-radius: 50%;
}

.owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span{
    background: rgba(121, 18, 20, 1);
}

.no-video{
    width: 420px;
    height: 236px;
    background-color: lightgrey;
    border-radius: 25px;
}

.contactInfo {
    display: flex;
    gap: 2em;
}

.responsive-form {
  max-width: 600px;
  width: 100%;
  border-radius: 4px;
  /* border: 2px solid #04AA6D; */
  /* background-color:  rgba(68, 68, 68, 0.75); */
  padding: 20px;
  align-items: left;
}

.responsive-form p{
    text-align: left;
    font-size: 18px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

form {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between;
}

label {
  min-width: 48%;
  margin-bottom: 10px;
  text-align: left;
  font-family: "Trebuchet MS", Arial, sans-serif;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

input[type=text], input[type=email], select {
  min-width: 45%;
  margin-bottom: 10px;
  background-color: rgba(217, 217, 217, 0.75);
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 5px 5px 15px 0px rgba(0, 0, 0, 0.20);
  border-radius: 10px;
}

textarea {
  min-width: 45%;
  height: 150px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 10px;
  background-color: rgba(217, 217, 217, 0.75);
  padding: 10px;
  resize: vertical;
  box-shadow: 5px 5px 15px 0px rgba(0, 0, 0, 0.20);
  border-radius: 10px;
}

input[type=submit] {
  width: 25%;
  background-color: rgba(121, 18, 20, 1);
  color: white;
  padding: 14px;
  margin: 8px 0;
  border: none;
  border-radius: 0px;
  cursor: pointer;
  font-family: "Trebuchet MS", Arial, sans-serif;
}

input[type=submit]:hover{
    background-color: rgba(121, 38, 40, 1);
}

@media only screen and (max-width: 2000px){
    .header {
        gap: 8px 12px;
        padding: 12px 16px;
        min-height: auto;
        height: auto;
    }

    #runner {
        margin-right: 0;
        width: 100%;
        display: flex;
    }

    .header a {
        padding: 6px 10px;
    }

    #intro{
        min-height: 20vh;
    }
}

@media only screen and (max-width: 841px) {
    .header .navlink {
        display: none;
    }

    .header span {
        display: initial;
    }

    #bg2 .services {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 420px;
        gap: 16px;
    }

    #bg2 .service-card {
        max-width: 100%;
        width: 100%;
        height: auto;
        min-height: 180px;
    }

    #contactUs{
        flex-direction: column-reverse;
        align-items: center;
    }

    label,
    input[type=text],
    input[type=email],
    input[type=submit],
    select, textarea {
        flex: 100%;
        min-width: 100%;
    }

    label, .responsive-form p {
        text-align: center;
    }

    #certs{
        padding-left: 0px;
        align-items: center;
    }

    #certs img{
        width: 300px;
        /* height: 150px; */
    }

    p {
        font-size: 18px;
        text-align: left;
        width: 80%;
    }
    
}