/* Main Heading Section  */

body {
  font-family: "Josefin Sans", sans-serif;
}

nav {
  background-color: rgb(237 237 237);
  z-index: 5;
}

.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;
  line-height: 1.0;
}

/* Responsive Main Heading 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;
  }
}

/* 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;
  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';
  }
}

/* Imprint Section */

.name {
  font-size: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 25px;
}

.intro {
  font-size: 30px;
  display: flex;
  text-align: justify;
  margin-left: 300px;
  margin-right: 300px;
  font-weight: 200;
}

p {
  font-size: 30px;
  text-align: justify;
  margin-left: 300px;
  margin-right: 300px;
  font-weight: 200;
  justify-content: center;
  text-align: center;
}

p .li {
  font-size: 30px;
  text-align: justify;
  margin-left: 300px;
  margin-right: 300px;
}

/* Imprint Section Responsive */

@media screen and (max-width:768px) {

  .name {
    font-size: 32px;
    margin: 15px;
    text-align: center;
  }

  .intro {
    font-size: 22px;
    margin-left: 22px;
    margin-right: 25px;
  }

  p {
    font-size: 24px;
    margin-left: 23px;
    margin-right: 5px;
    font-weight: 200;
  }
}

/*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;

}

.footerrow {
  width: 85%;
  margin: auto;
  display: flex;
  justify-content: space-between;
}

.footerrow1 {
  width: 74%;
  margin: auto;
  display: flex;
  justify-content: space-between;
}

.col {
  flex-basis: 18%;
  padding: 7px;
  margin-right: -247px;
}

.col1 {
  flex-basis: 27%;
  padding: 10px;
  margin-right: -79px;
}

.col1 .fh3 {
  width: fit-content;
  margin-bottom: 30px;
  position: relative;
  line-height: 1.0;
}

.col1 .fh3 .a {
  text-decoration: none;
}

.col1 a {
  color: black;
  font-size: 22px;
}

.col1 a:hover {
  color: blue;
}

.col1 .fp {
  line-height: 1.0;
  color: black;
  margin-left: -12px;
  font-size: 22px;
  width: 306px;
  text-align: left;
}

.col .fh3 {
  width: fit-content;
  margin-bottom: 30px;
  position: relative;
  line-height: 1.0;
}

.col .fh3 .a {
  text-decoration: none;
}

.col .a {
  color: black;
  font-size: 22px;
}

.col .a:hover {
  color: blue;
}

.col .fp {
  line-height: 1.0;
  color: black;
  margin-left: 0;
  font-size: 22px;
  text-align: left;
}

.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%;
    padding-top: 0px;
  }

  .col1 {
    flex-basis: 100%;
  }

  .col .fp {
    display: none;
  }

  .col .fh3 {
    margin-bottom: -4px;
  }

  .footerrow {
    flex-direction: column;
    width: 60%;
  }

  .footerrow1 {
    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: 68px;
    font-size: 15px;
  }

  .terms {
    font-size: 15px;
  }

  .terms ul {
    margin: 15px;
    padding: 0px;
  }

  .terms ul li {
    width: 100px;
    margin: -5px;
    padding: 9px;
  }
}