:root {
  --canvas-color: rgba(224, 227, 215, 1);
  --header-bg-color: rgba(0, 0, 0, 0.138);
  --nav-bg-color: rgba(137, 108, 181, 0.9);
  --color-dark-brown: rgba(102, 50, 50, 1);
  --color-light-blue: rgba(91, 153, 197, 1);
  --contact-bg-color: rgba(85, 46, 144, 0.39);
  --input-bg-color: rgb(247, 237, 247);
  --p-font-size: 1.5rem;
  --ff-baloo: 'BalooChettan', sans-serif;
  --ff-mallanna: 'Mallanna', sans-serif;
  --ff-manjari: 'Manjari', sans-serif;
}

@font-face {
  font-family: 'BalooChettan';
  src: url('../assets/fonts/BalooChettan-Regular.ttf') format('woff2');
  font-weight: normal;
  font-style: normal;
}

html,
body,
div,
p,
h1,
h2,
s h3,
h4,
h5,
h6,
figure,
ul,
ol,
li,
dl,
dt,
dd,
form,
fieldset,
caption,
legend,
table,
tr,
td,
th,
address,
blockquote,
img {
  margin: 0;
  padding: 0;
}

html {
  background: var(--canvas-color);
  scroll-behavior: smooth;
  font-family: var(--ff-manjari);
}

h1,
h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.2rem;
}

h1 {
  font-size: 5.5rem;
  margin: auto;
  color: white;
  line-height: 1.7em;
  font-family: var(--ff-baloo);
  text-shadow: -1px 1px 2px #23430c, 1px 1px 2px #23430c, 1px -1px 0 #23430c,
    -1px -1px 0 #23430c;
}

h2 {
  margin: 40px 0 10px 0;
  font-size: 3rem;
}

h3 {
  margin: 20px 0 10px 0;
  font-size: 2rem;
  font-weight: 700;
}

input {
  width: 100%;
  height: 2.6rem;
  border-radius: 5px;
  border: none;
  margin: 2px 0 10px 0;
  background-color: var(--input-bg-color);
  font-family: var(--ff-manjari);
  font-size: 1rem;
  text-indent: 8px;
}

p {
  font-weight: 300;
  margin: 15px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--p-font-size);
  max-width: 900px;
  text-align: center;
}

header {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  background: linear-gradient(var(--header-bg-color), var(--header-bg-color)),
    url('../assets/painting-compressed.jpg');
  height: 80vh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background-color: var(--nav-bg-color);
}

nav > ul {
  display: flex;
  justify-content: space-around;
  list-style-type: none;
}

li {
  margin: 0 10px;
}

textarea {
  background-color: var(--input-bg-color);
  font-family: var(--ff-manjari);
  border: none;
  border-radius: 5px;
  height: 100px;
  font-size: 1rem;
  padding: 10px;
}

section {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

button {
  background-color: white;
  color: black;
  border: none;
  border-radius: 5px;
  padding: 0.4em 1em;
  font-size: 1.2rem;
  cursor: pointer;
  margin-top: 40px;
  width: 100%;
}

button:hover {
  background-color: var(--contact-bg-color);
  color: white;
}

nav a {
  color: white;
  text-decoration: none;
  font-family: var(--ff-mallanna);
  font-size: 1.1rem;
  margin: 0 10px;
}

form {
  margin: 80px 0;
}

form div {
  display: flex;
  flex-direction: column;
}

dialog {
  background-color: var(--canvas-color);
  padding: 40px;
  border-radius: 5px;

  border: none;
}

dialog button {
  background-color: var(--color-light-blue);
  color: white;
  border: none;
  border-radius: 5px;
  padding: 0.4em 1em;
  font-size: 1.2rem;
  cursor: pointer;
  margin-top: 40px;
}

dialog button:hover {
  border: none;
}

#services {
  ul > li {
    list-style-type: disc;
  }

  ul,
  ol {
    font-size: 1.5rem;
    margin: 1rem 0;
    padding: 0 1rem;
  }

  li {
    margin-bottom: 1.2rem;
  }

  ol {
    margin: 5rem 0 2rem 0;
  }

  > ol {
    > li {
      font-weight: bold;
    }

    li li {
      font-weight: normal;
    }
  }
}

#welcome {
  color: var(--color-dark-brown);
  margin: 30px 0 40px 0;
}

#welcome h2 {
  font-size: 4rem;
  font-weight: bold;
}

#our-mission {
  color: white;
  background-color: var(--color-light-blue);
}

#our-mission > p:last-child {
  margin-bottom: 2rem;
}

#contact {
  padding: 100px 0;
  background-color: var(--contact-bg-color);
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}

#contact p {
  font-size: 2rem;
}

#contact h2 {
  margin: 0 0 40px 0;
  padding: 0 100px;
}

#website {
  display: none;
}

.address-container a {
  color: rgb(88, 48, 48);
}

.schedule-item {
  font-weight: bold;
}

.fade-underline a {
  transition: all 0.35s ease-in-out;
  -moz-transition: all 0.25s ease-in-out;
  -webkit-transition: all 0.25s ease-in-out;
  border-bottom: 3px solid transparent;
}

.fade-underline a:hover {
  border-bottom: 3px solid currentColor;
}

.image-row {
  display: flex;
  justify-content: space-between;
  margin: 5px 0;
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  width: 30px;
  height: 30px;
  cursor: pointer;
  position: relative;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  background-color: #fff;
  height: 2px;
  width: 100%;
  position: absolute;
  transition: all 0.3s ease-in-out;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: '';
}

.nav-toggle-label span::before {
  top: -8px;
}

.nav-toggle-label span::after {
  top: 8px;
}

.form-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.form-row div {
  width: 46%;
}

@media (max-width: 900px) {
  form {
    margin: 40px 0;
  }
  section {
    padding: 0 1.5rem;
  }

  #services {
    ul,
    ol {
      font-size: 1.2rem;
      margin: 1.3rem 0;
      padding: 0 1rem;
    }
  }
  #contact {
    flex-direction: column-reverse;
  }

  #contact p {
    font-size: 1.5rem;
  }

  .address-container {
    margin-bottom: 50px;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 4rem;
  }

  h2 {
    text-align: center;
    font-size: 2.2rem;
  }

  h3 {
    text-align: center;
    font-size: 1.8rem;
  }

  header {
    height: 50vh;
  }

  p {
    font-size: 1.2rem;
  }

  nav {
    justify-content: start;
    padding: 0;
  }

  .nav-toggle-label {
    display: block;
    margin-top: 25px;
    margin-left: 20px;
  }

  .hamburger-icon {
    display: block;
    background-color: #fff;
    position: relative;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    background-color: var(--nav-bg-color);
    width: 100%;
    position: absolute;
    top: 50px;
    left: 0;
    padding: 1rem 0;
  }

  .nav-menu li {
    margin: 0.5rem;
  }

  .nav-menu a {
    font-size: 1.4rem;
  }

  .nav-toggle:checked ~ .nav-menu {
    display: flex;
  }

  .nav-toggle:checked ~ .nav-toggle-label span {
    background-color: transparent;
  }

  .nav-toggle:checked ~ .nav-toggle-label span::before {
    top: 0;
    transform: rotate(45deg);
  }

  .nav-toggle:checked ~ .nav-toggle-label span::after {
    top: 0;
    transform: rotate(-45deg);
  }
}

@media (max-width: 450px) {
  h1 {
    font-size: 3rem;
  }

  #welcome h2 {
    font-size: 2rem;
  }
}
