* {
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
}

nav {
  width: 100%;
  background: hsl(200, 92%, 36%);
  position: fixed;
  top: 0;
  z-index: 1;
}

nav ul {
  padding: 0;
  margin: 0;
  list-style: none;
  text-align: center;
}

nav li {
  display: inline-block;
}

nav a,
nav p {
  padding: 20px;
  width: 150px;
  display: block;
  text-decoration: none;
  color: whitesmoke;
  text-transform: uppercase;
  font-weight: bold;
}

.opening {
  width: 100vw;
  height: 100vh;
  display: inline-block;
  background-color: rgb(7, 120, 176);
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  z-index: -1;
}

#openingtext {
  font-weight: 400;
}

.opening h6 {
  font-weight: 400;
}


.item {
  padding-top: 10vh;
  display: block;
  margin-left: 30vh;
  margin-right: 30vh;
  font-size: 16pt;
}

.about img {
  width: 35vh;
  padding: 5vh;
}

.about > div {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.meetus img {
  width: 300px;
  height: 300px;
}

.meetus > div {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.services > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5vh;
}

.greybg {
  margin-top: 10vh;
  width: 100%;
  background-color: rgb(242, 242, 242);
  padding-bottom: 10vh;
}

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

#footer-names {
  display: flex;
  flex-direction: column;
}

div > nav > ul {
  display: none;
}

.show {
  display: block;
}

@media screen and (max-width: 768px) {
  .services > div {
    flex-direction: column;
  }

  .hero1 {
    flex-direction: column;
  }

  .item {
    margin-left: 5vh;
    margin-right: 5vh;
  }

  nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px; /* Add margin to center-align nav items */
  }

  nav li {
    display: block;
    margin-bottom: 10px; /* Adjust spacing between vertical items */
  }

  nav a,
  nav p,
  nav button {
    padding: 10px;
    width: 100%;
    text-align: center;
  }

  div > nav > button {
    background: hsl(200, 92%, 29%);
    color: whitesmoke;
    text-transform: uppercase;
    border: none;
  }

  div > li {
    background: hsl(200, 92%, 36%);
  }

  #language {
    text-transform: uppercase;
    font-family: "Raleway", sans-serif;
    font-weight: bold;
    margin-top: 10px;
  }

  nav {
    top: 0px;
    position: absolute;
  }

  .language {
    display: none;
  }

  div > nav > ul > button {
    display: block;
  }
}

@media screen and (width <= 1700px) {
  .services > div {
    flex-direction: column;
  }

  .item {
    margin-left: 5vh;
    margin-right: 5vh;
  }

  .booking form {
    width: 90%;
  }
}

@media screen and (width >= 768px) {
  .language {
    top: 0;
    position: absolute;
    right: 0;
    z-index: 1;
  }

  .dropdown {
    display: none;
  }

  div > nav > button {
    display: none;
  }

  div > nav > ul {
    display: flex;
  }

  #mobile-language {
    display: none;
  }
}

.language {
  width: 200px;
  height: 64px;
  background: hsl(200, 92%, 36%);
  padding-top: 16px;
  margin-right: 70px;
}

div > nav > ul > button {
  display: none;
}

#breadcrumb {
  min-width: 10vw;
  margin: 20px 20px 20px 20px;
  background-color: rgb(186, 223, 242);
  height: 1em;
  transform: translateY(8vh);
  padding: 30px;
  display: flex;
  border-radius: 20px;
  gap: 1.5vw;
  align-items: center;
}

#breadcrumb a,
#breadcrumb span {
  text-decoration: none;
  color: #007bb6;
  font-weight: 500;
}

#breadcrumb > button {
  display: none;
}

@media screen and (width <= 768px) {
  #breadcrumb {
    display: flex;
    justify-content: center;
    gap: 30px;
    background-color: rgb(249, 249, 249);
    border-radius: 25px;
    
  }

  #breadcrumb button {
    display: flex;
    border: none;
    background: hsl(200, 92%, 36%);
    color: white;
    font-weight: 500;
    padding: 5px;
    min-width: 100px;
    display: flex;
    justify-content: center;
    border-radius: 25px;
    gap: 5px;
    align-content: baseline;
  }

  #breadcrumb button img {
    width: 20%;
  }

  #breadcrumb > div:nth-child(1) {
    display: none;
  }

  #breadcrumb > div {
    justify-content: space-between;
    display: flex;
  }
}

#content {
  transform: translateY(12vh);
  margin: 50px 50px 50px 50px;
  display: flex;
  flex-direction: column;
  gap: 100px;
  padding: 100px;
}

#content > .treatment > div {
  display: flex;
  align-items: flex-start;
  gap: 50px;
}

/* Form container styles */
.booking {
  justify-content: center;
  align-items: center;
}

.booking form {
  width: 95%;
  max-width: 95%;
  padding: 15px;
  background-color: #fff;
}

.booking > div {
  display: flex;
  min-width: 100%;
  justify-content: center;
  align-items: center;
}

.booking form label {
  display: block;
  margin-bottom: 8px;
}

form {
  margin-top: 30px;
}

.booking form input[type="text"],
.booking form input[type="tel"],
.booking form input[type="email"],
.booking form textarea {
  width: calc(100% - 20px);
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
}

.booking form button[type="submit"] {
  background-color: hsl(200, 92%, 36%);
  color: #fff;
  border: none;
  padding: 12px 20px;
  cursor: pointer;
  border-radius: 4px;
  font-size: 16px;
}

.booking form button[type="submit"]:hover {
  background-color: hsl(200, 92%, 29%);
}

.booking form textarea {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  min-height: 300px;
  margin-bottom: 10px;
  box-sizing: border-box;
  max-height: 300px;
}

.hidden {
  display: none;
}

#portrait {
  border-radius: 50%;
  height: 100%;
}

.opening > div > img {
  width: 10vh;
  height: 100%;
  margin-bottom: 10px;
}

.language button > img {
  width: 25px;
  height: 100%;
  margin: 0 5px 0 5px;
}

.language > div {
  display: block;
  text-wrap: nowrap;
  align-items: baseline;
  margin-bottom: 10px;
}

.language button {
  border: none;
  border-radius: 20px;
  margin-right: 10px;
  margin-left: 5px;
  padding: 5px;
  transform: translateY(-3px);
  font-weight: 500;
}

.language button:hover,
.hero-buttons button:hover,
.hero-buttons a:hover {
  background-color: rgb(228, 228, 228);
  transform: translateY(-4px);
  transition: 1s;
}

nav li:hover {
  color: rgb(228, 228, 228);
  transform: translateY(-2px);
  transition: ease-in-out 1s;
}

/* Temporary rule disabling service card images because ugly */

#contact {
  display: block;
  gap: 30px;
  max-width: 100%;
}

#contact > div > span {
  text-wrap: nowrap;
}

#mobile-language {
  display: flex;
  justify-content: space-between;
  margin-top: 2vh;
}

#mobile-language > button {
  border: none;
  border-radius: 20px;
  margin-right: 10px;
  margin-left: 5px;
  padding: 5px;
  transform: translateY(-3px);
  font-weight: 500;
  width: 100%;
}

#mobile-language img {
  width: 25px;
  height: 100%;
  margin: 0 5px 0 5px;
}

#contact a {
  text-decoration: none;
  color: white;
}

#about-button {
  background-color: white;
  border-radius: 20px;
  padding: 5px;
  text-decoration: none;
  color: black;
  font-weight: 500;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: content;
}

.contact {
  margin-bottom: 10px;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}

.service-card {
  background-color: #ffffff;
  padding: 20px;
  text-align: center;
  border-radius: 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

@media (max-width: 767px) {
  .service-cards {
    grid-template-columns: 1fr;
  }
}

.service-card img {
  width: 40%;
  margin: 30px;
}

.service-card > div {
  font-weight: 600;
  font-size: 18pt;
}

.service-card > a {
  background-color: #007bb6;
  color: white;
  text-decoration: none;
  padding: 5px;
  min-width: 150px;
  border-radius: 25px;
  font-weight: 500;
  font-size: 14pt;
  margin-top: 10px;
  margin-bottom: 10px;
}

.service-card > a:hover {
  background-color: #025f8a;
  transition: 1s ease;
}

.service-descs {
  display: flex;
  flex-direction: column;
  gap: 50px;
  width: 100%;
}



.service-desc {
  background-color: #ffffff;
  padding: 20px;
  text-align: center;
  border-radius: 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.service-desc img {
  width: 10%;
  margin: 30px;
}

.service-desc > div {
  font-weight: 600;
  font-size: 18pt;
}

.service-desc > a {
  background-color: #007bb6;
  color: white;
  text-decoration: none;
  padding: 5px;
  min-width: 150px;
  border-radius: 25px;
  font-weight: 500;
  font-size: 14pt;
  margin-top: 10px;
  margin-bottom: 10px;
}

.service-desc > a:hover {
  background-color: #025f8a;
  transition: 1s ease;
}

@media (max-width: 767px) {
  .service-descs {
    grid-template-columns: 1fr;
  }

  .service-desc img {
    width: 40%;
    margin: 30px;
  }

  
}

@media (min-width: 767px) {
  #mobile-language {
   display: none; 
  }
}

#opening-hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
}

.notification {
  background-color: grey;
  border-radius: 25px;
  padding: 10px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  width: 100%;
}
.notification > p {
  text-align: center;
  align-self: baseline;
}
.hidden {
  display: none;
}

#email-success {
  background-color: rgb(170, 238, 169);
}

#email-failure {
  background-color: rgb(236, 150, 147);

}

form > div:nth-child(6) {
  display: flex;
  flex-direction: column;
  align-items: baseline;
  gap: 20px;
}

.BROKEN {
  display: none;
}
