/* Animated Border box styling */
body {
  overflow-x: hidden;
  font-family: "Courier New", Courier, monospace;
  font-weight: 400;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

@-webkit-keyframes rotate {
  100% {
    transform: rotate(1turn);
  }
}

@keyframes rotate {
  100% {
    transform: rotate(1turn);
  }
}
.service-bx.rainbow {
  position: relative;
  z-index: 0;
  width: 280px;
  height: 300px;
  border-radius: 10px;
  overflow: hidden;
  padding: 2rem;
}
.service-bx.rainbow::before {
  content: "";
  position: absolute;
  z-index: -2;
  left: -50%;
  top: -50%;
  width: 200%;
  height: 200%;
  background-color: #919191;
  background-repeat: no-repeat;
  background-size: 50% 50%, 50% 50%;
  background-position: 0 0, 100% 0, 100% 100%, 0 100%;
  background-image: linear-gradient(#919191, #919191),
    linear-gradient(#919191, #919191), linear-gradient(black, black),
    linear-gradient(black, black);
  -webkit-animation: rotate 4s linear infinite;
  animation: rotate 4s linear infinite;
}
.service-bx.rainbow::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 6px;
  top: 6px;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  background: white;
  border-radius: 5px;
}
/* ------------------------------ */

header .top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 30px;
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.5);
  background-color: #343a40;
  z-index: 99;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
}

.top-nav .icon .fa-lock {
  font-size: 30px;
  color: white;
}

.top-nav .buttons a {
  text-decoration: none;
  cursor: pointer;
  margin: 0 15px 0 0;
  padding: 10px 12px;
  border: 2px solid rgb(255, 255, 255);
  background: transparent;
  backdrop-filter: blur(10px);
  outline: 0;
  color: rgb(255, 255, 255);
  transition: background-color 0.8s ease-in-out;
  border-radius: 10px;
}
.top-nav .buttons a:hover {
  color: white;
  border-color: white;
  background-color: rgb(0, 0, 0);
}

.top-nav .logo {
  font-size: 26px;
  font-weight: 700;
  font-family: "Rampart One", cursive;
  color: rgb(255, 255, 255);
  text-align: center;
  letter-spacing: 2px;
}

/* End header styling */
.banner {
  background-image: url("img/banner.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom;
  min-height: 480px;
  width: 100%;
  margin-left: 0px;
  margin-right: 0px;
}

.banner-img {
  float: right;
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.add-div {
  padding: 80px;
  text-align: center;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px,
    rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
  transition: transform 0.5s ease-in;
}
.add-div:hover {
  box-shadow: #919191 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
  transform: scale(1.1);
}
.site-title > h2 {
  color: #919191;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 42px;
  font-weight: 700;
  opacity: 1;
  text-align: center;
  margin-bottom: 30px;
}

/* Gallery Styling  */

.gallery-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-bottom-left-radius: 40px;
  border-top-right-radius: 40px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.img-gallery > .container {
  position: relative;
}
.img-back {
  background-color: #919191; /* paste color code here ------------------ */
  height: 410px;
  width: 100%;
  position: absolute;
  z-index: -1;
  margin-top: 50px;
  margin-left: 0px;
}

.content-section {
  padding: 80px 0;
}
.section-title {
  font-size: 32px;
  margin-bottom: 30px;
  font-weight: 500;
  line-height: 1;
  color: #444444;
  text-align: center;
  font-family: "Merriweather", serif;
  text-transform: uppercase;
}
.service-bx {
  text-align: center;
  padding: 20px 20px;
  box-shadow: 1px 1px 4px 1px gray;
  transition: all 0.6s;
}
.service-bx:hover {
  transform: scale(0.96);
  box-shadow: 1px 5px 4px 1px #919191;
}
.service-bx > .fa {
  color: #000;
  font-size: 68px;
  margin: 30px auto;
}
.service-title {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  color: #919191;
  text-align: center;
  font-family: "Merriweather", serif;
  text-transform: uppercase;
}
.add-div {
  margin: 40px 0 30px;
  height: 100%;
  width: 100%;
  text-align: center;
}
.open-para {
  color: #334443;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 25px;
}

.add-div > .contact-btn {
  background-color: #919191 !important; /* paste color code here --------------------- */
  color: #fff !important;
}

.contact-btn,
.contact-foot-btn {
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  padding: 20px 30px;
  font-family: "Merriweather", serif;
  text-transform: uppercase;
  color: #ffffff;
  border: 2px solid #fff;
  background-color: #919191;
}
.contact-btn:hover {
  text-decoration: none;
  background-color: #ffffff !important;
  border-color: #919191 !important;
  color: #919191 !important;
  transition: all 0.4s;
}
.contact-foot-btn:hover {
  text-decoration: none;
  background-color: #ffffff;
  border-color: #919191;
  color: #919191;
  transition: all 0.4s;
}
.map-section {
  background-color: #919191;
  padding: 40px 0;
}
.map-col {
  display: flex;
  align-items: center;
}
.map-img {
  width: 100%;
  margin: 10px 0;
}
footer {
  padding: 30px 0;
  border-top: 1px solid #25019330; /* paste color code here ----------------- */
}
.footer-heading {
  color: #393e46;
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
}
.foot-text {
  color: #334443;
  font-size: 16px;
  font-weight: 400;
  padding: 0;
  margin: 0;
  list-style: none;
}

.foot-text > li > span {
  min-width: 45px;
  float: left;
}

.map-title {
  font-size: 32px;
  margin-bottom: 30px;
  font-weight: 500;
  line-height: 1;
  color: #000000;
  text-align: center;
  font-family: "Merriweather", serif;
  text-transform: uppercase;
}

@media only screen and (max-width: 991px) {
  .add-div {
    height: auto;
    width: 100%;
    padding-bottom: 100px;
  }
  .site-title h2 {
    font-size: 32px;
  }
}

@media only screen and (max-width: 767px) {
  .head-title,
  .head-subtitle {
    text-align: center;
  }
  .header-link {
    width: 50%;
    display: inline-block;
  }
  .flex-head {
    margin-top: 10px;
  }
  .fh1 {
    justify-content: flex-start;
  }
  .add-div {
    padding: 50px 15px 70px 15px;
  }
  .gallery-img {
    width: 100%;
    margin-bottom: 10px;
  }
  .add-div div {
    margin: 10px 0px;
    text-align: center;
  }
  .site-title h2 {
    font-size: 32px;
  }
  footer .row .col-md-4:first-child,
  footer .row .col-md-4:nth-child(2) {
    width: 50%;
  }
  footer .row .col-md-4:last-child {
    margin-top: 30px;
    text-align: center;
  }
  .foot-text > li > span {
    float: none;
    margin-right: 10px;
  }

  .banner-png {
    width: 75%;
    left: 20px;
  }
  .banner-btn {
    padding: 5px 2px;
    font-size: 14px;
  }
  .contact-foot-btn {
    padding: 15px 15px;
  }
}

@media screen and (max-width: 576px) {
  /* Top Header media query */

  header .top-nav {
    padding: 10px 3px;
    flex-flow: column;
  }

  header .top-nav .logo {
    font-size: 22px;
    padding-left: 5px;
    margin: 20px 0;
  }

  header .top-nav .buttons a {
    padding: 7px 5px;
    font-size: 14px;
    margin-bottom: 50px;
  }

  .add-div2 {
    display: none;
  }
  .banner-title {
    font-size: 25px;
  }
  /*End - Top Header media query */
}
@media only screen and (max-width: 320px) {
  .banner-title .head-title {
    font-size: 26px;
    font-weight: 800;
  }
  .banner-btn {
    padding: 15px 10px;
    font-size: 14px;
  }
  .contact-foot-btn {
    padding: 10px 5px;
  }
  header .top-nav {
    flex-flow: column;
  }
  .top-nav .logo {
    font-size: 14px;
    margin: 5px 0;
  }
}
