:root {
  --primary-color: #edede9;
  --secondary-color: #bfa0d1;
  --tertiary-color: #b4cadb;
  --antique-white: antiquewhite;
  --sea-blue: #a2d2ff;
  --background-color: #0077b6;
  --background-color-light: #2bace2;
  --black-text: #333;
  --box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  --box-shadow-light-second: #edede9 0px 6px 12px -2px, #edede9 0px 3px 7px -3px;
  --box-shadow-light: #edede9 0px 5px 15px;
  --border-bottom: 0.125rem solid var(--primary-color);
}

* {
  padding: 0;
  margin: 0;
  font-family: "Host Grotesk", serif;
  background-color: var(--background-color-light);
}

header {
  width: auto;
  height: auto;
  padding: 0.5rem;
  background-color: white;
}

header a {
  display: flex;
  justify-content: center;
  text-decoration: none;
  color: var(--black-text);
  background-color: #555;
}

header img {
  border-radius: 2rem;
  max-width: 200px;
  height: auto;
}

nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
  padding: 1rem;
}

nav .menu {
  padding: 10px 15px;
  margin: 0;
  color: var(--primary-color);
  border: none;
  max-width: 100%;
  box-sizing: border-box;
  border-radius: 2rem;
  border: 1px solid var(--primary-color);
  text-align: center;
  box-shadow: var(--box-shadow-light-second);
}

nav a {
  text-decoration: none;
  color: var(--black-text);
  transition: 0.3s ease-in;
}

nav a:hover {
  background-color: var(--primary-color);
  color: var(--black-text);
}

.banner {
  display: flex;
  justify-content: center;
}

.banner img {
  width: 100%;
  height: auto;
  background-size: 100%;
}

.gallery {
  background-color: var(--primary-color);
}

.image-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-items: center;
  padding: 1rem;
  gap: 1.875rem;
}

.image {
  border-radius: 1rem;
  box-shadow: var(--box-shadow);
  width: 300px;
  margin: 1rem;
}

#about {
  height: 130px;
  margin: 2rem;
}

.hero .text-image {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.hero {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.hero h1 {
  text-align: center;
  padding: 1.5rem;
  color: var(--primary-color);
}

.text-image {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
  padding: 1rem;
  box-shadow: var(--box-shadow-light-second);
  margin: 1rem;
  border-radius: 2rem;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

button:hover {
  cursor: pointer;
}

.text-image h3 {
  padding: 0.5rem;
  font-size: 1.3rem;
}

.text-image h3:hover {
  cursor: pointer;
}

.text-image img {
  max-width: 100%;
  height: auto;
}

.text-container,
.image {
  flex: 1;
}

.before-after-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
}

.before-after-container h1 {
  margin: 0.5rem;
}

.big-container {
  display: flex;
  flex-direction: row;
}

.ba-container {
  color: var(--primary-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  margin: 1rem;
}

.ba-container h2 {
  margin: 0.5rem;
}

.mini-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  box-shadow: var(--box-shadow-light-second);
  border-radius: 2rem;
  max-width: 800px;
  width: 600px;
  margin: 1rem;
  border: 1px solid var(--primary-color);
}

.mini-container h4 {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  padding: 0.3rem;
}

.mini-container p {
  margin: 1rem;
  text-align: center;
}

.mini-container img {
  border: 1px solid var(--black-text);
}

.services {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.services h1 {
  margin: 0.5rem;
  text-align: center;
}

.services h2 {
  margin: 0.5rem;
  text-align: center;
}

.services p {
  text-align: center;
}

.services h3 {
  padding-top: 0.5rem;
  text-align: center;
}

.services-table {
  display: flex;
  justify-content: center;
}

.text-container {
  margin: 0.5rem;
  padding: 0.5rem;
}

table {
  margin: 1rem;
  border-radius: 2rem;
  box-shadow: var(--box-shadow);
  background-color: var(--secondary-color);
  border: none;
  padding: 1rem;
}

caption {
  font-weight: bold;
  padding: 0.5rem;
}

td {
  border: none;
  text-align: center;
  padding: 0.3rem;
}

.divider {
  margin: 1rem 0;
  border-bottom: var(--border-bottom);
}

.contact {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  text-align: center;
  padding: 2rem;
  margin: 2rem 0;
}

.contact h3 {
  color: var(--primary-color);
  margin: 1rem 0;
}

form {
  width: 70%;
}

form h2 {
  text-align: center;
  padding: 0 0 2rem;
  color: var(--primary-color);
}

.form-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* padding: 0.5rem; */
  color: var(--primary-color);
}

form select,
form input,
form textarea {
  margin: 0.625rem 0;
  padding: 1.25rem;
  outline: none;
  background: var(--black-text);
  font-size: 1rem;
  text-align: center;
  border-radius: 0.625rem;
  width: 100%;
  color: var(--primary-color);
}

form button {
  padding: 0.9375rem;
  background: var(--black-text);
  color: var(--primary-color);
  border-radius: 1rem;
  margin-top: 0.625rem;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  width: 100%;
  transition: 0.3s ease-in;
}

form button:hover {
  background: var(--primary-color);
  color: var(--black-text);
  font-weight: bold;
}

.form-details {
  border-radius: 0.3rem;
  border: 1px solid var(--primary-color);
  flex: 1;
}

.form-card {
  background-color: var(--primary-color);
  margin: 1rem;
  padding: 1.7rem;
  border-radius: 0.3rem;
}

.form-container {
  display: flex;
  justify-content: center;
  flex: 1;
}
.map {
  width: 100%;
  border-radius: 1.25rem;
}

.contact-map {
  background-color: var(--black-text);
  padding: 3rem;
}

.contact-map h3 {
  background-color: var(--black-text);
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 1rem;
}

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

footer a {
  font-weight: 600;
  padding: 1rem 0 0.5rem;
}

footer a {
  margin: 0.5rem;
  text-decoration: none;
  color: var(--primary-color);
  text-align: center;
}

footer p {
  color: var(--primary-color);
  padding: 0.5rem;
  text-align: center;
}

.footer-text {
  padding: 2rem;
}

.social-links {
  margin-top: 0.5rem;
}

.social-links a {
  padding: 0.5rem;
  border-radius: 2rem;
  transition: 0.3s ease;
}

.social-links a:hover {
  background: var(--primary-color);
  color: var(--black-text);
}

.links {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-top: 0.5rem;
}

.links a {
  border-radius: 1rem;
  padding: 0.5rem 1rem;
  transition: 0.3s ease-in;
}

.links a:hover {
  background: var(--primary-color);
  color: var(--black-text);
}

@media (max-width: 768px) {
  nav {
    flex-direction: column;
  }

  nav .menu {
    width: 100%;
    margin-bottom: 5px;
  }

  footer a {
    flex-direction: column;
  }
}

@media (max-width: 830px) {
  .text-image {
    flex-direction: column;
  }
}

@media (max-width: 660px) {
  .links {
    flex-direction: column;
  }

  .mini-container {
    flex-direction: column;
    width: 100%;
  }
  .contact {
    flex-direction: column;
  }

  .form-container {
    margin: 2rem 0 0;
  }
}
@media (max-width: 1050px) {
  .big-container {
    flex-direction: column;
  }
}
@media (max-width: 1023px) {
  .hero {
    display: flex;
    flex-direction: column;
  }
}
@media (max-width: 900px) {
  .services-table {
    flex-direction: column;
  }
}

/* USA FLAG */
/* 
.flag {
  position: absolute;
  width: 100px;
  height: 60px;
  background: linear-gradient(to bottom, #b22234 50%, #fff 50%);
  border: 1px solid #000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.flag::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #3c3b6e;
  background-image: url("https://upload.wikimedia.org/wikipedia/commons/thumb/a/a4/Flag_of_the_United_States.svg/1920px-Flag_of_the_United_States.svg.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

@keyframes move {
  0% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(calc(100vw - 100px), 0);
  }
  50% {
    transform: translate(calc(100vw - 100px), calc(100vh - 60px));
  }
  75% {
    transform: translate(0, calc(100vh - 60px));
  }
  100% {
    transform: translate(0, 0);
  }
}

.flag {
  animation: move 15s linear infinite;
} */

/* DOLLAR */

/* .flag {
  position: absolute;
  width: 100px;
  height: 40px;
  background: #fff;
  border: 1px solid #000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.flag::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("https://upload.wikimedia.org/wikipedia/commons/2/23/US_one_dollar_bill%2C_obverse%2C_series_2009.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

@keyframes move {
  0% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(calc(100vw - 100px - 10px), 0);
  }

  100% {
    transform: translate(0, 0);
  }
}

.flag {
  animation: move 15s linear infinite;
} */

/* ADD FOR WHOLE PAGE */
/* 50% {
    transform: translate(calc(100vw - 100px - 10px), calc(100vh - 60px - 10px));
  }
  75% {
    transform: translate(0, calc(100vh - 60px - 10px));
  } */
