html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
}

html, body {
  color: #2e2e2e;
  overflow-x: hidden;
}

body * {
  font-family: sans-serif;
}

a {
  text-decoration: none;
}
a:visited {
  text-decoration: none;
}
a:active {
  text-decoration: none;
}

.container {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  margin: auto;
  background-color: #f0f0f0;
}

.contact-bar {
  display: flex;
  position: fixed;
  width: 100%;
  height: 30px;
  z-index: 2;
  background-color: #37738C;
}
.contact-bar a {
  color: #f0f0f0;
  display: flex;
  margin: 0 20px;
  font-size: 15px;
  align-self: center;
}
.contact-bar a * {
  margin: 0 3px;
  align-self: center;
}
.contact-bar a:hover {
  color: rgb(59, 59, 59);
}
.contact-bar a:nth-child(1)::after {
  content: "";
  height: 20px;
  margin-left: 40px;
  width: 1px;
  background-color: #b9b9b9;
}
.contact-bar a:nth-child(2)::after {
  content: "";
  height: 20px;
  margin-left: 40px;
  width: 1px;
  background-color: #b9b9b9;
}

nav {
  display: flex;
  position: fixed;
  width: 100%;
  align-self: center;
  z-index: 2;
  height: 60px;
  top: 30px;
  background-color: #f0f0f0;
  -webkit-box-shadow: 0px 5px 25px -15px rgb(66, 68, 90);
  -moz-box-shadow: 0px 5px 25px -15px rgb(66, 68, 90);
  box-shadow: 0px 5px 25px -15px rgb(66, 68, 90);
}

.logo {
  font-size: 30px;
  font-weight: bold;
  margin: 0 20px;
  align-self: center;
  margin: 0 10vw 0 5vw;
}
.logo:hover {
  cursor: pointer;
}

ul {
  display: flex;
  width: 100%;
  justify-content: space-evenly;
  flex-wrap: wrap;
}

li {
  display: flex;
  padding: 20px;
  font-size: 20px;
  line-height: 100%;
  flex: 1;
  font-weight: bold;
  justify-content: center;
}
li a {
  display: flex;
  position: relative;
  color: #2e2e2e;
}
li a::after {
  content: "";
  position: absolute;
  height: 5px;
  bottom: -5px;
  width: 0;
  background: #37738C;
  transition: width 0.2s;
}
li .nav-item:hover {
  color: rgb(59, 59, 59);
}
li .nav-item:hover::after {
  width: 100%;
}

.nav-cta {
  background-color: #8C5637;
  position: absolute;
  color: #f0f0f0;
  padding: 15px;
  margin-top: -15px;
  margin-right: -15px;
  border-radius: 10px;
}
.nav-cta:hover {
  color: rgb(185, 185, 185);
  background-color: #683e25;
}

.phone-img {
  width: 40px;
  height: 40px;
  margin: 0;
}

.hero-section {
  --hero-height: 500px;
  --hero-image-position: center top;
  display: flex;
  flex-direction: column;
  position: relative;
  color: #2e2e2e;
  z-index: 1;
  text-align: center;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: var(--hero-height);
  margin: 90px auto 0;
  overflow: hidden;
}

.hero-section h1 {
  font-size: 45px;
  max-width: 1300px;
  margin-bottom: 20px;
}
.hero-section p {
  align-self: center;
  font-size: 25px;
  max-width: 850px;
  margin-bottom: 10px;

}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-image-position);
  display: block;
  z-index: 0;
}

.hero {
  display: flex;
  position: relative;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  z-index: 1;
  padding: 15px;
  border-radius: 10px;
}

.cta {
  display: flex;
  font-size: 30px;
  background-color: #8C5637;
  border-radius: 15px;
  width: 310px;
  height: 50px;
  margin-top: 15px;
  padding: 8px;
  justify-content: center;
  align-self: center;
}
.cta a {
  color: #f0f0f0;
  align-self: center;
}
.cta:hover {
  cursor: pointer;
  background-color: #683e25;
}
.cta:hover a {
  color: rgb(185, 185, 185);
}

.about-section {
  display: flex;
  width: 100%;
  background-color: #37738C;
  z-index: 2;
}

.about {
  display: flex;
  flex-direction: column;
  margin: 50px auto;
  padding: 20px;
  width: 40%;
}
.about p {
  font-size: 25px;
  color: black;
  line-height: 45px;
}

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

.section-div {
  display: flex;
  flex-direction: column;
  width: 70%;
  padding: 50px 50px 50px 50px;
}
.section-div h1 {
  display: flex;
  font-size: 30px;
  margin-bottom: 20px;
}
.section-div h1::before {
  content: "";
  height: auto;
  min-width: 8px;
  margin-right: 10px;
  background-color: #37738C;
}
.section-div p {
  font-size: 25px;
}

.inner-section-div {
  display: block;
}
.inner-section-div * {
  display: inline;
}
.inner-section-div b {
  font-size: 25px;
}

.contact-section {
  display: flex;
  width: 100vw;
  justify-content: center;
  border-top: 1px solid gray;
}

.contact {
  flex-direction: column;
  align-self: center;
  width: 40%;
  padding: 100px;
}
.contact * {
  margin: 10px;
}
.contact h1 {
  font-size: 40px;
  width: fit-content;
  border-bottom: 5px solid #37738C;
}
.contact p {
  font-size: 25px;
}

footer {
  display: flex;
  width: 100vw;
  border-top: 1px solid gray;
  background-color: #2e2e2e;
}

.info-column, .contact-column, .navigation-column {
  display: flex;
  flex: 1;
  flex-direction: column;
  margin-left: 100px;
  padding: 50px;
}
.info-column h1, .contact-column h1, .navigation-column h1 {
  margin: 15px;
  color: #d3d3d3;
}
.info-column p, .info-column a, .contact-column p, .contact-column a, .navigation-column p, .navigation-column a {
  margin: 15px;
  font-size: 20px;
  color: #d3d3d3;
  height: 21px;
}
.info-column a:hover, .contact-column a:hover, .navigation-column a:hover {
  font-size: 21px;
}

@keyframes enter-animation {
  0% {
    transform: translateY(100px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .element-animation {
    animation: enter-animation 1s 1;
  }
}