body {
  font-family: "Open Sans", sans-serif;
  margin: 0;
}
#nav {
  background-color: #282828;
  text-align: center;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 10000;
  cursor: default;
  height: 3.5em;
  line-height: 3.5em;
}

#nav li {
  display: inline-block;
  padding-left: 0;
}
#nav a {
  text-decoration: none;
  color: white;
  padding: 0 1.25em;
  font-weight: 600;
  border-radius: 8px;
  line-height: 2.5em;
  display: block;
}

#nav a:hover {
  background-color: #ff8c51;
  color: white;
}
.nav-list {
  list-style: none;
  margin-top: 0;
}

.header {
  background-repeat: no-repeat;
  background-size: cover;
  height: 340px;
  background-position-x: right;
  background-position-y: bottom;
  max-width: 1500px;
  margin: 45px auto 0 auto;
}

.large-header {
  background-image: url(./assets/ATTEMPT4.png);
}

.small-header {
  background-image: url(./assets/small-header.jpg);
  background-position-x: center;
}

.logo-header {
  font-size: 100px;
}

.logo-text {
  display: inline-block;
  position: absolute;
  top: 165px;
  font-size: 16px;
  color: white;
  background-color: #282828;
  margin-left: 50px;
  padding: 10px;
}

.small-logo-text {
  display: inline-block;
  position: absolute;
  top: 60px;
  font-size: 16px;
  color: white;
  background-color: #282828;
  margin-left: 5px;
  padding: 10px;
}

.revival {
  font-family: "Brush Script MT";
  font-size: 45px;
}

.section-header {
  margin: 30px auto 30px auto;
  text-align: center;
  font-weight: bold;
  font-size: 15px;
  width: 250px;
}

h2 {
  width: 100%;
  text-align: center;
  border-bottom: 1px solid #000;
  line-height: 0.1em;
  margin: 10px 0 20px;
}

h2 span {
  background: #fff;
  padding: 0 10px;
}

.content-table {
  margin: auto;
}

.table-Image {
  width: 250px;
  text-align: center;
}

.table-heading {
  font-size: 14px;
  font-weight: bold;
}

.table-body {
  font-size: 14px;
  text-align: left;
  width: 250px;
}

.services-banner {
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 280px;
  text-align: center;
  background-position: center;
}

.motor-banner {
  background-image: url("./assets/new\ car\ banner.png");
}

.lifestyle-banner {
  background-image: url("./assets/lifestyle\ banner.png");
}

.chair-banner {
  background-image: url("./assets/chairs\ banner.png");
}

.other-banner {
  background-image: url("./assets/new\ other\ banner.png");
}

.slideshow-container {
  position: relative;
  margin: auto;
  max-width: 1500px;
}

.main-slideshow-container {
  position: relative;
  margin: auto;
  width: 250px;
  height: 236px;
  max-width: 1500px;
}

.revival-slideshow-container {
  position: relative;
  margin: 0 auto 10px auto;
  width: 250px;
  max-width: 1500px;
}

.small-screen {
  display: none;
}

@media screen and (max-width: 800px) {
  .small-screen {
    display: block;
  }
  .large-screen {
    display: none;
  }
}

.mySlides {
  display: none;
}

.main-mySlides {
  display: none;
}

.revival-mySlides {
  display: none;
}

.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
}

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.main-dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.revival-dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active,
.dot:hover {
  background-color: #717171;
}

.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

.services-content {
  width: 350px;
  margin: auto;
  backdrop-filter: blur(5px);
  background-color: #0000008a;
  padding: 10px;
  margin: 100px auto 0 auto;
  display: inline-block;
  color: white;
}

@media screen and (max-width: 800px) {
  .services-content {
    width: 250px;
  }
}

/* The flip card container - set the width and height to whatever you want. We have added the border property to demonstrate that the flip itself goes out of the box on hover (remove perspective if you don't want the 3D effect */
.flip-card {
  background-color: transparent;
  width: 228px;
  height: 170px;
  border: 1px solid #f1f1f1;
  perspective: 1000px; /* Remove this if you don't want the 3D effect */
  margin: auto;
}

/* This container is needed to position the front and back side */
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

/* Do an horizontal flip when you move the mouse over the flip box container */
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card:focus .flip-card-inner {
  transform: rotateY(180deg);
}

/* Position the front and back side */
.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden; /* Safari */
  backface-visibility: hidden;
}

/* Style the front side (fallback if image is missing) */
.flip-card-front {
  color: black;
}

/* Style the back side */
.flip-card-back {
  transform: rotateY(180deg);
}

.table-position {
  margin: auto;
}

.revivals-card {
  background-repeat: no-repeat;
  background-size: cover;
}

.before-after-text {
  backdrop-filter: blur(5px);
  background-color: #0000008a;
  padding: 10px;
  margin: 125px 0 0 0;
  display: inline-block;
  color: white;
}

.table-contact {
  width: 68%;
}

.contact-banner {
  background-color: #282828;
  color: white;
  background-position: bottom;
  width: 100%;
  padding-top: 25px;
}

/* .blur-contact{
  margin-left: 10px;
  backdrop-filter: blur(1px);
  background-color: #0000008a;
  padding: 10px;
  width: 210px;
} */

.brush {
  font-family: "Brush Script MT";
}

/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: auto;
  border: 1px solid #888;
  width: 40%;
  background-repeat: no-repeat;
  background-size: cover;
}

.gallery {
  background-color: #fefefe;
  margin: auto;
  border: 1px solid #888;
  width: 500px;
  max-height: 70%;
  overflow-y: scroll;
}

.modal-blur {
  color: white;
  background-color: #0000008a;
  padding: 20px;
}

.aboutus-padding {
  padding-left: 10px;
  padding-right: 10px;
}

.orange {
  color: #ff8c51;
}

.click-outer {
  position: relative;
}

.click-inner {
  position: absolute;
  width: 60px;
  bottom: 10px;
  right: 0px;
}

.topnav {
  overflow: hidden;
  background-color: #333;
  text-align: center;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 10000;
}

.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.active {
  background-color: #ff8c51;
  color: white;
}

.topnav .icon {
  display: none;
}
.topnav a:hover,
.dropdown:hover .dropbtn {
  background-color: #ff8c51;
  color: white;
}

.operating {
    display: inline;
}

@media screen and (max-width: 800px) {
  .topnav a:not(:first-child) {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 800px) {
  .topnav.responsive {
    position: relative;
  }
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  .topnav.responsive {
    float: none;
  }
  .topnav.responsive {
    position: relative;
  }
  .topnav.responsive {
    display: block;
    width: 100%;
    text-align: left;
  }
}
