@import url("https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Raleway", sans-serif;
  background: white;
  color: black;
}

a {
  text-decoration: none;
  color: black;
  text-transform: lowercase;
}

ul {
  list-style: none;
}

p {
  margin-top: 20px;
  font-weight: 500;
}

.main-header {
  top: 0;
  left: 0;
  width: 100%;
  z-index: 4;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  height: 300px;
  background: white;
}

.logo {
  width: auto;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 35px;
}

.logo-img {
  height: 100px;
}

.logo a {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  transition: 0.4s;
}

.logo a:hover {
  opacity: 0.5;
  transition-duration: 0.4s;
}

.logo h1 {
  margin-right: 10px;
  font-size: 1.5em;
}

.logo h2 {
  font-weight: 300;
  font-size: 1.5em;
}

.main-header ul {
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-header ul li {
  position: relative;
  margin-right: 20px;
  margin-left: 20px;
  height: 100%;
  padding: 5px 0px;
}

.main-header ul li a {
  height: 100%;
  padding: 10px 0px;
  text-transform: lowercase;
  letter-spacing: 1px;
  font-weight: 700;
  font-size: 18pt;
}

.main-header ul li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: black;
  transform: scaleX(0);
  transition: transform 0.2s ease-in-out;
  transform-origin: right center;
}

.main-header ul li a:hover::after {
  transform: scaleX(100%);
  transform-origin: left center;
  transition-duration: 0.2s;
}

.active-nav a {
  text-decoration: none;
}

.main-header .active-nav a::after {
  transform: scaleX(100%);
}

h3 {
  font-size: 48pt;
}

h4 {
  font-size: 36pt;
  font-weight: 200;
}

.btn-container {
  margin-top: 30px;
  z-index: 3;
}

button {
  background: none;
  border: none;
  padding: 5px 0px;
  position: relative;
  margin-right: 17px;
  font: inherit;
}

button a {
  padding: 5px 0;
  text-transform: lowercase;
  letter-spacing: 1px;
  color: white;
  font-weight: 700;
}

button a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: white;
  transform: scaleX(0);
  transition: transform 0.2s ease-in-out;
  transform-origin: right center;
}

button a:hover::after {
  transform: scaleX(100%);
  transform-origin: left center;
  transition-duration: 0.2s;
}

.btn-alt {
  padding: 10px 16px;
}

.btn-alt a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 4;
  background: transparent;
  border: 1px solid white;
  padding: 10px 16px;
  transition: opacity 0.4s ease-in-out;
  height: 100%;
  transition-duration: 0.4s;
}

.btn-alt a:hover::before {
  opacity: 100%;
  transition: opacity 0.4s ease-in-out;
  transition-duration: 0.4s;
}

.btn-alt a::after {
  content: "Contact";
  color: black;
  height: 100%;
  width: 100%;
  padding: 10px 16px;
  transform: none;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}

.btn-alt a:hover::after {
  opacity: 100%;
}

.main-footer {
  min-height: 350px;
  background-color: black;
  padding: 0 6.75%;
  width: 100%;
  color: #faf9f6;
}

.main-footer-inner {
  width: 100%;
  height: 100%;
  display: flex;
}

.footer-column {
  width: 25%;
  height: 100%;
  padding: 50px;
}

.footer-column h4 {
  font-size: 1em;
}

.footer-column a {
  color: #faf9f6;
  position: relative;
  padding: 5px 0px;
  font-weight: 700;
}

.footer-column li {
  margin-bottom: 15px;
  padding: 5px 0px;
}

.footer-column ul li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: #faf9f6;
  transform: scaleX(100%);
  transition: transform 0.6s ease-in-out;
  transform-origin: left center;
}

.footer-column ul li a:hover::after {
  transform: scaleX(0);
  transform-origin: right center;
  transition-duration: 0.2s;
}

.practice-page-section {
  min-height: 500px;
  width: 100%;
  padding: 10% 10% 10% 10%;
  background-color: whitesmoke;
  display: flex;
  justify-content: left;
  align-items: center;
}

.practice-page-section-right {
  min-height: 500px;
  width: 100%;
  padding: 10% 10%;
  display: flex;
  justify-content: right;
  align-items: center;
}

.practice-container {
  width: 70%;
  display: flex;
  align-items: center;
  justify-content: left;
}

@media (max-width: 768px) {
  .about-section-text {
    background-color: rgba(255, 255, 255, 0.9);
    color: black;
    padding: 30px;
    width: 100%;
  }

  .about-section-inner {
    margin-top: -20%;
    margin-bottom: -20%;
    justify-content: center;
  }

  .practice-section-text {
    width: 100%;
  }

  .main-header {
    height: 450px;
  }

  .main-header ul {
    flex-direction: column;
  }

  .main-header ul li {
    margin-top: 15px;
  }

  .active-nav {
    margin-top: 0px;
  }

  .practice-text {
    width: 100%;
  }

  .contact-section {
    flex-direction: column;
    padding-bottom: 100px;
  }

  .contact-section-inner {
    width: 100%;
  }

  .contact-section-right {
    width: 75%;
  }

  .practice-page-section {
    min-height: 500px;
  }

  .practice-page-section-right {
    min-height: 500px;
  }

  .practice-container {
    min-height: 500px;
    width: 80%;
  }

  .main-footer-inner {
    flex-direction: column;
  }

  .footer-column {
    width: 100%;
  }
}
