/* Main Heading Section */

body {
  font-family: "Josefin Sans", sans-serif;
}

.clinicname {
  display: flex;
}

.navimg {
  height: 157px;
  width: 99%;
}

.navheading {
  text-align: center;
  color: red;
  justify-content: center;
  width: 100%;
  line-height: 20px;
  margin-top: -24px;
}

.navhead {
  font-size: 30px;
  margin-top: 66px;
  padding-bottom: -100px;
}

.navhead1 {
  margin-top: 20px;
  font-size: 55px;
  font-weight: 800;
  margin-bottom: 32px;
}

nav {
  background-color: rgb(237 237 237);
  z-index: 5;
}

.logo3 {
  height: 100px;
  width: 100px;
  margin-bottom: -51px;
}

/* Main Heading Responsive Section */

@media screen and (max-width: 768px) {

  .clinicname {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }

  .navimg {
    height: 109px;
    width: 196px;
    align-items: center;
    justify-items: center;

  }

  .navheading {
    text-align: center;
    color: red;
    justify-content: center;
    width: 100%;
    line-height: 33px;
  }

  .navhead {
    font-size: 25px;
    margin-top: 36px;
    padding-bottom: -100px;
  }

  .navhead1 {
    margin-top: -28px;
    font-size: 35px;
    font-weight: 800;
    margin-bottom: 17px;
  }

  .brand {
    margin-top: -74px;
    font-size: 20px;
    margin-left: 14px;
    margin-bottom: -12px;
    padding-bottom: 10px;
    padding-top: 27px;
  }

  .thumbanail {
    width: 360px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: -9px;
  }

  */ .logo3 {
    height: 70px;
    width: 70px;
    margin-bottom: -33px;
  }
}

/* Navbar Section */

nav:after {
  content: "";
  clear: both;
  display: table;
}

nav ul {
  list-style: none;
  position: relative;
  z-index: 5;
  text-align: center;
}

nav ul li {
  display: inline-block;
  background: rgb(237 237 237);
  margin: 0 5px;
  z-index: 5;
}

nav ul li a {
  color: black;
  line-height: 70px;
  text-decoration: none;
  font-size: 26px;
  font-family: "Josefin Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  padding: 30px 24px;
  z-index: 5;
  font-weight: bold;
}

nav ul li a:hover {
  color: blue;
  border-radius: 27px;
  box-shadow: 0 0 5px blue,
    0 0 10px blue;
  z-index: 5;
}

nav ul ul li a:hover {
  box-shadow: none;
  z-index: 5;
}

nav ul ul {
  position: absolute;
  top: 90px;
  border-top: 3px solid blue;
  margin-left: -39px;
  opacity: 0;
  visibility: hidden;
  transition: top .2s;
  z-index: 5;
}

nav ul li:hover>ul {
  top: 82px;
  opacity: 1;
  visibility: visible;
  z-index: 5;
}

nav ul ul li {
  position: relative;
  margin: 0px;
  padding: 16px;
  width: 192px;
  float: none;
  display: list-item;
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
  z-index: 5;
}

nav ul ul li a {
  line-height: 25px;
  margin-left: -24px;
  z-index: 5;
}

.show,
.icon1,
.input {
  display: none;
  z-index: 5;
}

.fa-plus {
  font-size: 15px;
  margin-left: 40px;
  z-index: 5;
}

/* Navbar Section Responsive */

@media all and (max-width: 968px) {
  nav ul {
    margin-right: 23px;
    margin-left: -31px;
    float: left;
  }

  nav ul li a {
    font-size: 22px;
    padding: 8px 24px;
    line-height: 37px;
    font-weight: bold;
    text-align: left;
  }

  .show+a,
  ul {
    display: none;
  }

  nav ul li,
  nav ul ul li {
    display: block;
    width: 100%;
    text-align: left;
  }

  nav ul li a:hover {
    box-shadow: none;
  }

  nav ul ul li a {
    line-height: 19px;
    margin-left: 77px;
    padding: 0px;
    display: flex;
    z-index: 5;
  }

  .show {
    display: block;
    color: black;
    font-size: 22px;
    padding: 0 20px;
    line-height: 37px;
    cursor: pointer;
    font-weight: bold;
    text-align: left;
  }

  .show:hover {
    color: blue;
    text-align: left;
  }

  .icon1 {
    display: block;
    color: black;
    position: absolute;
    top: 0;
    right: 40px;
    line-height: 70px;
    cursor: pointer;
    font-size: 25px;
  }

  nav ul ul {
    top: 70px;
    border-top: 0px;
    float: none;
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
  }

  nav ul ul a {
    padding-left: 40px;
  }

  nav ul ul ul a {
    padding-left: 80px;
  }

  nav ul ul ul li {
    position: static;
  }

  [id^=btn]:checked+ul {
    display: block;
  }

  nav ul ul li {
    border-bottom: 0px;
  }

  span.cancel:before {
    content: '\f00d';
  }
}

/* Background Image Section */

.section_top {
  min-height: 100%;
  min-width: 1024px;
  width: 100%;
  height: auto;
  overflow: hidden;
  position: relative;
  top: 0;
  left: 0;
  z-index: -4;
  background-image: url(img/backgroundimg.jpeg);
  background-position: top center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-size: cover;
  text-align: center;
  justify-content: center;
  align-items: center;
  padding-bottom: 1150px;
}

.content {
  position: absolute;
  top: 50%;
  left: 65%;
  width: 863px;
  transform: translate(-50%, -50%);
  color: black;
  font-size: 30px;
}

.content a {
  padding-top: 50px;
  font-size: 40px;
  font-family: "Josefin Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

.content h1 {
  font-family: "Titan One", sans-serif;
  font-weight: 400;
  font-style: normal;
}

/* Background Image Responsive */

@media screen and (max-width:600px) {
  .section_top {
    min-height: 100%;
    min-width: 357px;
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    background-image: url(img/backgroundimg.jpeg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    justify-content: center;
    padding-bottom: 586px;
  }

  .content {
    position: absolute;
    top: 50%;
    left: 51%;
    width: 401px;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 15px;
    text-shadow: 0 0 100px #fe0505, 0 0 16px #1303f5, 0 0 160px #1c03fa;
  }

  .content a {
    padding-top: 50px;
    font-size: 23px;
  }
}

/* Event section */

.main {
  display: flex;
}

.event {
  position: relative;
}

.event .img {
  padding-top: 2px;
  height: 1500px;
  width: 414px;
  display: block;
}

.box {
  position: absolute;
  width: 408px;
  height: 1307px;
  top: 0;
  margin-left: 30px;
  margin-top: 88px;
  overflow: scroll;
  overflow-x: hidden;
}

.box p {
  font-size: 30px;
  text-align: justify;
  width: 353px;
  line-height: 33px;
}

.box h3 {
  font-size: 35px;
  width: 50px;
}

.box h3 .gif {
  margin-bottom: -16px;
}

.gif1 {
  height: 28px;
  width: 55px;
}

/* Event Section responsive */

@media screen and (max-width:600px) {

  .main {
    flex-direction: column;
  }

  .event {
    position: relative;
  }

  .event .img {
    padding-top: 50px;
    height: 496px;
    width: 358px;
    display: block;
  }

  .box {
    position: absolute;
    width: 345px;
    height: 412px;
    top: 0;
    margin-left: 20px;
    margin-top: 91px;
    overflow: scroll;
  }

  .box p {
    font-size: 20px;
    text-align: justify;
    width: 312px;
    line-height: 25px;
  }

  .box h3 {
    font-size: 26px;
    width: 50px;
  }
}

/*Footer Section */

footer {
  background-color: rgb(202, 197, 197);
  width: 100%;
  bottom: 0;
  color: black;
  padding: 10px 0 30px;
  border-top-left-radius: 125px;
  font-size: 20px;
  line-height: 15px;
}

.row {
  width: 85%;
  margin: auto;
  display: flex;
  justify-content: space-between;
}

.row1 {
  width: 65%;
  margin: auto;
  display: flex;
  justify-content: space-between;
}

.col {
  flex-basis: 18%;
  padding: 10px;
}

.col1 {
  flex-basis: 27%;
  padding: 10px;
}

.col1 h3 {
  width: fit-content;
  margin-bottom: 30px;
  position: relative;
  line-height: 1.0;
}

.col1 h3 .a {
  text-decoration: none;
}

.col1 a {
  color: black;
}

.col1 a:hover {
  color: blue;
}

.col1 p {
  line-height: 1.0;
  color: black;
}

.col h3 {
  width: fit-content;
  margin-bottom: 30px;
  position: relative;
  line-height: 1.0;
}

.col h3 .a {
  text-decoration: none;
}

.col a {
  color: black;
}

.col a:hover {
  color: blue;
}

.col p {
  line-height: 1.0;
  color: black;
}

.qrcode {
  height: 240px;
  width: 240px;
}

.center {
  padding-top: 20px;
  padding-bottom: 61px;
  font-size: 20px;
}

.footer-logo {
  height: 85px;
  width: 209px;
}

.wrapper {
  display: inline-flex;
  padding-top: -6px;
  padding-bottom: -14px;
}

.wrapper .icon {
  margin: 0 20px;
  text-align: center;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  z-index: 2;
  text-decoration: none;
  transition: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .icon span {
  display: block;
  height: 60px;
  width: 60px;
  color: #000;
  background: #cfcfcf;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  box-shadow: 10px 10px 5px rgba(0, 0, 0, 0.5);
  transition: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .icon span i {
  line-height: 60px;
  font-size: 25px;
  align-items: center;
  color: black;
}

.wrapper .icon .tooltip {
  position: absolute;
  top: 0;
  z-index: 1;
  background: #fff;
  color: #fff;
  padding: 10px 18px;
  font-size: 20px;
  font-weight: 500;
  border-radius: 25px;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.1);
  transition: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .icon:hover .tooltip {
  top: -70px;
  opacity: 1;
  pointer-events: auto;
}

.icon .tooltip:before {
  position: absolute;
  content: "";
  height: 15px;
  width: 15px;
  background: inherit;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%) rotate(45deg);
}

.wrapper .icon:hover span {
  color: #fff;
}

.wrapper .icon:hover span,
.wrapper .icon:hover .tooltip {
  text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.4);
}

.wrapper .facebook:hover span,
.wrapper .facebook:hover .tooltip {
  background: #3B5999;
}

.wrapper .twitter:hover span,
.wrapper .twitter:hover .tooltip {
  background: #46C1F6;
}

.wrapper .instagram:hover span,
.wrapper .instagram:hover .tooltip {
  background: #e1306c;
}

.wrapper .youtube:hover span,
.wrapper .youtube:hover .tooltip {
  background: #DE463B;
}

.wrapper .whatsapp:hover span,
.wrapper .whatsapp:hover .tooltip {
  background: #2ae619;
}

.underline {
  width: 100%;
  height: 5px;
  background: #767676;
  border-radius: 3px;
  position: absolute;
  top: 25px;
  left: 0;
  overflow: hidden;
}

.underline span {
  width: 15px;
  height: 100%;
  background: black;
  border-radius: 3px;
  position: absolute;
  top: 0;
  left: 10px;
  animation: moving 2s linear infinite;
}

@keyframes moving {
  0% {
    left: -20px;
  }

  100% {
    left: 100%;
  }
}

.hr {
  width: 90%;
  border: 0;
  margin: 20px auto;
  border-bottom: 1px solid black;
}

/* Responsive Footer Section */

@media screen and (max-width:768px) {

  footer {
    bottom: unset;
  }

  .col {
    flex-basis: 100%;
  }

  .col1 {
    flex-basis: 100%;
  }

  .col p {
    display: none;
  }

  .col h3 {
    margin-bottom: -20px;
  }

  .row {
    flex-direction: column;
    width: 60%;
  }

  .row1 {
    width: 65%;
    flex-direction: column;
  }

  .wrapper .icon {
    margin: 0 10px;
  }

  .wrapper .icon span {
    display: block;
    height: 35px;
    width: 35px;
  }

  .wrapper .icon span i {
    line-height: 40px;
    font-size: 25px;
    align-items: center;
  }

  .center {
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 15px;
  }

  .wrapper {
    padding-top: 5px;
    padding-bottom: -14px;
  }
}

/* terms and conditions */

.terms {
  float: right;
  text-align: center;
  font-size: 22px;
}

.terms ul {
  display: inline-flex;
  list-style: none;
  color: black;
  margin: 15px;
  padding: 0px;
}

.terms ul li {
  width: 100px;
  margin: 10px;
  padding: 10px;
}

.terms ul li a {
  text-decoration: none;
  line-height: 1;
}

.terms ul li a:hover {
  color: red;
  text-decoration: underline;
}

.terms ul li:hover {
  color: blue;
  border-radius: 20px;
}

/* terms section responsive */

@media screen and (max-width:768px) {

  .center {
    padding-top: 20px;
    padding-bottom: 97px;
    font-size: 15px;
  }

  .terms {
    font-size: 15px;
  }

  .terms ul {
    margin: 15px;
    padding: 0px;
  }

  .terms ul li {
    width: 100px;
    margin: 4px;
    padding: 0px;
  }
}