* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: cursive, sans-serif;
  font-weight: bold;
}

/* ------------------------GLOBAL CSS----------------------- */

a {
  text-decoration: none;
}

.logo img {
  height: 60px;
  width: 60px;
}

/* -----------------------------NAVIGATION BAR------------------------- */

header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  background: rgba(223, 210, 210, 0.98);
  position: sticky;
  top: 0;
  padding-bottom: 20px;
  z-index: 2;
}

header .logo img {
  height: 80px;
  width: 80px;
  margin-left: 20px;
}

nav {
  margin-right: 0;
  margin-left: auto;
}
nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  list-style: none;
}
nav ul li {
  margin: 18px 22px;
}
nav ul li a {
  padding: 9px 17px;
  transition: all 0.5s linear;
  background-color: rgba(138, 132, 132, 0.3);
  box-shadow: inset 5px 5px 8px rgba(0, 0, 0, 0.3);
  border-radius: 5px;
}

nav ul li:hover a {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 15px;
  color: #ffffff;
}

form .input-box {
  display: flex;
  box-sizing: border-box;
  flex-wrap: wrap;
  padding: 0 6px 0 40px;
  position: relative;
  min-width: 200px;
}
header form input {
  text-align: center;
  width: 90%;
  outline: none;
  border: 3px solid rgba(0, 255, 255, 0.5);
  background: transparent;
  box-shadow: inset 2px 5px 5px rgba(163, 103, 53, 0.863);
  border-radius: 6px;
}

/* ------------------------------------BODY CONTENTS----------------------------------- */

.section {
  width: 100%;
  height: 120vh;
  position: relative;
  margin-bottom: 1px;
  background: #ccc;
  margin-bottom: 20px;
}
#first-section {
  background: #ecececd9;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.video-banner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  margin-top: 0px;
}

.video-banner video {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  object-fit: cover;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

#first-section-content {
  position: relative;
  z-index: 1;
  width: 90%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.first-section-box {
  min-width: 300px;
  text-align: center;
  height: 450px;
  margin-left: 12px;
}

.first-section-box h1 {
  font-size: 3em;
  color: rgba(0, 0, 0, 0.1);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}
.first-section-box h3 {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 2em;
  color: gray;
}

/* -------------second section-------------------- */

#second-section {
  display: flex;
  flex-wrap: wrap;
  height: auto;
  justify-content: space-around;
  background: rgba(216, 208, 208, 0.1);
  color: #ffffff;
  padding-bottom: 40px;
  /* margin-bottom: -16px; */
  box-sizing: border-box;
}

.second-section-box {
  box-sizing: border-box;
  flex-basis: 40%;
  height: 60vh;
  flex-shrink: 1;
  flex-grow: 0;
  margin-right: 20px;
  margin-top: 30px;
}
.second-section-box img {
  width: auto;
  height: 100%;
  object-fit: cover;
  filter: blur(5px);
  transition: 500ms;
}
.second-section-box img:hover{
  filter: none;
  transform: scale(1.5);

}

.second-section-content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.second-section-content h1:hover {
  border: 2px solid rgba(70, 58, 58, 0.2);
  box-shadow: inset 4px 4px 8px rgba(0, 0, 0, 0.7),
    inset -4px -4px 8px rgba(0, 0, 0, 0.7);
  color: rgb(255, 255, 255);
  background-color: rgba(0, 0, 0, 0.0);
  border-radius: 16px;
}

#second-section-content-h1-span {
  font-size: 2em;
  transition: 300ms;
  color: rgb(209, 187, 187);
  border-radius: 12px;
}
.second-section-content h1:hover #second-section-content-h1-span {
  border: 2px solid rgba(70, 58, 58, 0.2);
  box-shadow: inset 4px 4px 8px rgba(0, 0, 0, 0.7),
    inset -4px -4px 8px rgba(0, 0, 0, 0.7);
  color: rgb(255, 255, 255);
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 16px;
}

.second-section-content h1 span {
  font-size: 3em;
  transition: all 0.6s linear;
  background-color: rgba(187, 174, 174, 0.466);
  color: #523f3fa4;
  border-radius: 12px;
}

.second-section-content h1 span:hover {
  border: 2px solid rgba(70, 58, 58, 0.2);
  box-shadow: inset 4px 4px 8px rgba(0, 0, 0, 0.7),
    inset -4px -4px 8px rgba(0, 0, 0, 0.7);
  color: rgb(255, 255, 255);
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 24px;
}



/* -------------FOOTER--------------- */

/*  footer global css */
footer {
  background: #eee;
}

.footer-links {
  text-decoration: none;
  list-style: none;
  margin: 12px 20px;
  font-weight: bold;
  font-family: cursive, sans-serif;
  transition: all 0.3s linear;
}
.footer-links:hover {
  border-bottom: 2px solid grey;
  color: black;
}

/* --------footer logo------ */
.footer-logo-img {
  display: block;
  height: 150px;
  width: 150px;
  margin: 0px auto;
}

/* -----------------------More footer items---------------------- */
.footer-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 30px;
}

.footer-list a {
  display: inline-block;
  margin: 20px 40px;
  font-size: 1.5em;
  font-weight: bold;
  font-family: cursive;
}

/* - -------------SOCIAL MEDIA ICONS-------------- */

.social-media-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.footer-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 13px 12px;
  height: 100px;
  width: 100px;
  background: linear-gradient(0deg, #ddd, #fff);
  position: relative;
  border-radius: 50%;
  padding: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
  transition: all 0.5s;
}
.footer-box:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.inside-box {
  display: flex;
  flex-wrap: wrap;
  height: 100%;
  border-radius: 50%;
  width: 100%;
  background: linear-gradient(0deg, #fff, #ddd);
  position: relative;
}

.footer-img {
  height: 50px;
  width: 50px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: invert();
  transition: all 0.5s;
}
.footer-box:hover .footer-img {
  filter: none;
}

/* ----------------------Terms and condition part of footer-------------------------- */

.lowest-footer {
  display: flex;
  flex-wrap: wrap;
  margin: 50px auto;
  justify-content: center;
  align-items: center;
}

.lowest-footer .footer-links{
  text-decoration: none;
color: gray;
  margin: 12px 20px;
  font-weight: bold;
  font-family: cursive, sans-serif;
  transition: all 0.3s linear;
}
.lowest-footer .footer-links:hover {
  border-bottom: 1px solid rgb(32, 27, 27);
  color: black;
}