* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary-pink: #c22c4b;
  --secordary-pink: #7f4293;
  --primary-text-offwhite: #f8f4ec;
  --background: #111111;
  --background-button: #402b3a;
}

body {
  font-family: 'Libre Baskerville', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  background: var(--background);
  overflow: hidden;
}

#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000; /* Set background color to match your website's color */
  display: flex;
  align-items: center;
  justify-content: center;
}

#loading-gif {
  max-width: 100%;
  max-height: 100%;
}

.hidden {
  display: none !important;
}

a {
  text-decoration: none;
  color: var(--secordary-pink);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
}

/* Navbar */
.navbar {
  background: var(--background);
  padding: 0;
  box-shadow: inset 0 0 1px 1px rgba(255, 255, 255, 0.2),
    0 0 2px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.2),
    0 3px 6px rgba(0, 0, 0, 0.3);
  position: -webkit-sticky; /* Safari */
  position: sticky;
  top: 0;
  z-index: 10000;
}

.navbar .logo {
  flex: 1;
}

.navbar-toggle {
  display: none;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 10vh;
}

.navbar .main-menu ul {
  display: flex;
}

.navbar ul li a {
  padding: 1vh 2vw;
  display: block;
  font-weight: 600;
  transition: 0.5s;
}

.navbar ul li a:hover {
  color: var(--primary-pink);
}

.navbar ul li a i {
  margin-right: 10px;
}

.navbar ul li:last-child a {
  margin-left: 10px;
}

/* Hero */

.hero {
  background: #111111;
  position: relative;
  padding-top: 1vh;
  height: 90vh;
}

.hero .hero-content {
  width: 70%;
  position: relative;
  z-index: 1;
  height: 80vh;
}

.hero-content img {
  position: absolute;
  border-radius: 50px;
  top: 0;
  right: -50%;
  width: 60%;
  height: auto;
  z-index: -1;
}

.hero-preview {
  margin-bottom: 20px;
}

.hero .hero-text {
  width: 80%;
  margin-bottom: 20px;
}

.hero-buttons {
  position: absolute;
  bottom: 20px; /* Adjust as needed */
}

.hero-buttons a {
  margin-right: 10px; /* Adjust as needed */
}
/* About Me */

.about-me {
  background-color: var(
    --primary-text-offwhite
  ); /* Set background color to white */
  position: relative;
  height: 90vh;
  overflow: hidden; /* Ensure the overlay doesn't overflow */
  display: flex; /* Make the section a flex container */
  justify-content: center; /* Center content horizontally */
  align-items: center; /* Center content vertically */
}

.about-me::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%; /* Set the width to half of the container */
  height: 100%;
  background-image: url('../images/MiesInAuto.jpeg');
  background-size: cover;
  background-position: right;
}

.about-me .container {
  display: flex;
  justify-content: space-between; /* Space content evenly */
  align-items: stretch;
  height: 100%;
  width: 100%; /* Adjust width as needed */
}

.about-me .about-me-content {
  flex: 1; /* Take up all available space */
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Center content vertically */
  height: 100%; /* Set height to fill the container */
}

.about-me .about-me-content h2 {
  padding-top: 40px;
  text-align: center;
  margin-top: 0;
}

.about-me .about-me-text {
  padding: 0 40px;
  text-align: left;
  margin-top: auto;
  margin-bottom: auto;
}

.about-me .btn-light {
  align-self: center;
  margin-bottom: 40px;
  margin-top: 20px; /* Adjust margin as needed */
  width: fit-content; /* Set button width to auto */
}

.about-me .about-me-image {
  flex: 1;
}

/* Testimonials */
.testimonials {
  height: 90vh;
  padding-top: 2vh;
}

.testimonials .testimonials-heading {
  width: 700px;
  margin-bottom: 40px;
}

.testimonials .testimonials-grid {
  display: grid;
  align-items: stretch;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonials .card {
  align-self: center;
}

.testimonials .card p:nth-child(3) {
  margin-top: 30px;
  font-weight: bold;
}

/* Pricing */

.pricing {
  background: var(--background-button);
  padding-top: 2vh;
  height: fit-content;
  padding-bottom: 2vh;
}

.pricing .pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 30px;
}

.pricing .card {
  position: relative;
  padding-top: 0px;
  margin-top: 0px;
  min-height: 65vh;
  height: fit-content;
}

.pricing .pricing-card-subheading {
  margin-bottom: 10px;
}

.pricing .pricing-card-price {
  margin-bottom: 10px;
  padding: 20px 0;
  border-bottom: 1px solid var(--primary-pink);
}

.pricing .pricing-card-body {
  position: absolute;
  align-self: center;
  top: 30%;
  width: 80%;
  bottom: 20px;
}

.pricing .pricing-card-body .a {
  bottom: auto;
}

.pricing .pricing-card-body .p {
  font-weight: bold;
}

.pricing-container {
  display: flex;
  justify-content: center;
}

.pricing-container-card {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.empty-part {
  flex: 1;
}

.pricing ul {
  flex: 1;
  margin-right: 10px;
  margin-bottom: 4vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Align items to the start of the container */
}

.pricing ul li {
  margin-bottom: 0vh;
  display: flex; /* Allow aligning the icon and text */
}

.pricing ul li i {
  margin-right: 10px;
}

.list-container {
  flex: 1;
  display: flex;
  align-items: flex-start;
  padding-right: 20px;
}

.mobile-pricing-list {
  display: none;
}

/* Contact */

.contact {
  background: var(--background);
  position: relative;
  height: fit-content;
  overflow: hidden; /* Ensure the overlay doesn't overflow */
  display: flex; /* Make the section a flex container */
  justify-content: center; /* Center content horizontally */
  align-items: center; /* Center content vertically */
  margin-bottom: calc(min(24vh, 200px));
  padding: 5vh 0;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%; /* Set the width to half of the container */
  height: 100%;
  background-image: url('../images/Mercerdes.jpeg');
  background-size: cover;
  background-position: left;
  opacity: 0.6;
}

.contact .container {
  display: flex;
  justify-content: space-between; /* Space content evenly */
  align-items: stretch;
  height: 100%;
  width: 100%; /* Adjust width as needed */
}

.contact .contact-content {
  flex: 1; /* Take up all available space */
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Center content vertically */
  height: 100%; /* Set height to fill the container */
}

.contact-container {
  max-width: 40vw;
  margin: 0 auto;
}

.contact .contact-image {
  flex: 1;
}

.contact h1 {
  margin-top: 0%;
}
.contact .text-md {
  padding-bottom: 4vh;
}

form {
  display: grid;
  grid-gap: 10px;
}

label {
  color: var(--primary-text-offwhite);
}

input[type='text'],
input[type='tel'],
input[type='email'],
textarea {
  font-family: 'Libre Baskerville', sans-serif;
  width: 100%;
  padding: 10px;
  border: 2px solid var(--secondary-pink);
  border-radius: 5px;
  background-color: var(--background-button);
  color: var(--primary-text-offwhite);
}

button {
  width: 100%;
  padding: 10px;
  background-color: var(--background-button);
  color: var(--primary-text-offwhite);
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background-color: var(--secondary-pink);
}

/* Initial state of the footer */
.footer {
  position: fixed;
  padding: 20px 0;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 24vh;
  max-height: 200px;
  text-align: center;
  background: var(--primary-text-offwhite);
  z-index: -1;
  box-shadow: inset 0 6px 12px rgba(0, 0, 0, 0.5),
    inset 0 0 1px 1px rgba(255, 255, 255, 0.2), 0 0 2px rgba(0, 0, 0, 0.1),
    0 1px 3px rgba(0, 0, 0, 0.2);
}

.footer h4 {
  margin-bottom: 10px;
  color: var(--primary-pink);
}

.footer ul li {
  line-height: 1.5;
}

.footer a {
  color: var(--background-button);
}

.footer i {
  font-size: 1.5rem;
  margin-right: 10px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  justify-content: center;
  align-items: center;
}

.footer .card {
  margin: 20px 30px 30px 0;
}

/* Social-media Sidebar */
/* Styles for Social Media Sidebar */
#social-sidebar {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 9999;
}

.social-btn {
  display: block;
  text-align: center;
  font-size: 4vh;
  color: var(--secordary-pink);
  width: 6vh; /* Set width and height to ensure perfect circle */
  height: 6vh; /* Set width and height to ensure perfect circle */
  margin-bottom: 10px;
  padding: 0;
  margin-right: 20px;
  border-radius: 50%;
  line-height: 6vh; /* Set line-height to center the icon vertically */
}

.social-btn:hover {
  opacity: 0.8;
  transition: 0.5s;
  color: var(--primary-pink);
}

.social-btn i {
  line-height: 6vh; /* Set line-height to center the icon vertically */
}

.instagram {
  background-color: #402b3a;
}

.whatsapp {
  background-color: #402b3a;
}

.email {
  background-color: #402b3a;
}

/* Privacy and Terms & Conditions */
.privacy {
  background: var(--background);
  height: fit-content;
  padding-top: 0vh;
  margin-bottom: calc(min(24vh, 200px));
  padding: 4vh;
}

.privacy-container {
  max-width: 40vw;
  margin: 0 auto;
}

/* Utility classes */
.container {
  width: 70vw;
  margin: 0 auto;
  padding: 0 15px;
}

.container-sm {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Card */
.card {
  display: flex;
  flex-flow: column;
  background: var(--background-button);
  color: var(--primary-text-offwhite);
  text-align: center;
  border-radius: 10px;
  padding: 20px;
  height: 100%;
}

.card .pricing-card-body {
  flex-grow: 1; /* Allow this div to grow and take up remaining space */
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Align content vertically with space-between */
}

.card .btn-light {
  padding: 13px 20px;
  background: var(--primary-pink);
  color: var(--primary-text-offwhite);
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: 10px;
  transition: 0.5s;
  margin-top: auto; /* Ensure the button is pushed to the bottom of the container */
}

.card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 10px;
}

.card .info {
  flex-grow: 1;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 20px;
  background: var(--background-button);
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: 10px;
  transition: 0.5s;
}

.btn:hover {
  opacity: 0.8;
  transition: 0.5s;
  color: var(--primary-pink);
}

.btn-light {
  display: inline-block;
  padding: 13px 20px;
  background: var(--primary-pink);
  color: var(--primary-text-offwhite);
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: 10px;
  transition: 0.5s;
}

.btn-light:hover {
  transition: 0.8s;
  background: var(--secordary-pink);
}

.btn-block {
  display: block;
  width: 100%;
}

/* Text Classes */
.text-title-gradient {
  font-size: 7.2vh;
  background: -webkit-linear-gradient(
    left,
    var(--secordary-pink),
    var(--primary-pink)
  );
  background: -o-linear-gradient(
    right,
    var(--secordary-pink),
    var(--primary-pink)
  );
  background: -moz-linear-gradient(
    right,
    var(--secordary-pink),
    var(--primary-pink)
  );
  background: linear-gradient(
    to right,
    var(--secordary-pink),
    var(--primary-pink)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
  font-weight: bold;
  margin: 4vh 0 2vh;
}

.text-heading-gradient {
  font-size: 5.4vh;
  background: -webkit-linear-gradient(
    left,
    var(--secordary-pink),
    var(--primary-pink)
  );
  background: -o-linear-gradient(
    right,
    var(--secordary-pink),
    var(--primary-pink)
  );
  background: -moz-linear-gradient(
    right,
    var(--secordary-pink),
    var(--primary-pink)
  );
  background: linear-gradient(
    to right,
    var(--secordary-pink),
    var(--primary-pink)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
  font-weight: 600;
  margin: 4vh 0 2vh;
}

.text-heading-dark-purple {
  font-size: 5.4vh;
  color: var(--background-button);
  line-height: 1.2;
  font-weight: 600;
  margin: 4vh 0 2vh;
}

.text-heading-white {
  font-size: 5.4vh;
  color: var(--primary-text-offwhite);
  line-height: 1.2;
  font-weight: 600;
  margin: 4vh 0 2vh;
}

.text-xl {
  font-size: 3.96vh;
  color: var(--primary-text-offwhite);
  line-height: 1.4;
  font-weight: normal;
  margin: 4vh 0 2vh;
}

.text-lg {
  font-size: 3.24vh;
  color: var(--primary-text-offwhite);
  line-height: 1.4;
  font-weight: normal;
  margin: 3vh 0 2vh;
}

.text-lg-dark {
  font-size: 3.24vh;
  color: var(--background-button);
  line-height: 1.4;
  font-weight: normal;
  margin: 3vh 0 2vh;
}

.text-md {
  font-size: 2.16vh;
  color: var(--primary-text-offwhite);
  line-height: 1.4;
  font-weight: normal;
  margin: 2vh 0 1vh;
}

.text-md-dark {
  font-size: 2.16vh;
  color: var(--background-button);
  line-height: 1.4;
  font-weight: normal;
  margin: 2vh 0 1vh;
}

.text-sm {
  font-size: 1.62vh;
  color: var(--primary-text-offwhite);
  line-height: 1.4;
  font-weight: normal;
  margin: 1vh 0 0.5vh;
}

.text-sm-dark {
  font-size: 1.62vh;
  color: var(--background-button);
  line-height: 1.4;
  font-weight: normal;
  margin: 1vh 0 0.5vh;
}

.text-center {
  text-align: center;
}

/* Background  */
.bg-white {
  background: var(--primary-text-offwhite);
  color: var(--background-button);
}

.bg-dark {
  background: var(--background-button);
  color: var(--primary-text-offwhite);
}

/* Placeholder text */
.placeholderText::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  font-family: 'Libre Baskerville', sans-serif;
  opacity: 1; /* Firefox */
}

.placeholderText:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  font-family: 'Libre Baskerville', sans-serif;
}

.placeholderText::-ms-input-placeholder {
  /* Microsoft Edge */
  font-family: 'Libre Baskerville', sans-serif;
}

/* Add mobile styles here */
/* Example: */
@media only screen and (max-width: 768px) {
  .navbar {
    background: var(--background);
    padding: 0;
    box-shadow: inset 0 0 1px 1px rgba(255, 255, 255, 0.2),
      0 0 2px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.2),
      0 3px 6px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 10000;
  }

  .navbar .container {
    display: flex;
    flex-direction: column;
    height: auto;
  }

  .navbar .navcontainer {
    width: 70vw;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    flex-direction: row;
    height: auto;
  }

  .navbar-toggle {
    display: flex;
  }

  /* Styles for the toggle button */
  .navbar-toggle button {
    background: none;
    border: none;
    padding: 0;
    font-size: 20px;
    cursor: pointer;
  }

  .navbar .main-menu {
    display: none;
    width: 100%;
  }

  .navbar .main-menu.active {
    display: flex;
    justify-content: center;
  }

  .navbar .main-menu ul {
    flex-direction: column;
    align-items: left;
  }

  .navbar .main-menu ul li {
    margin: 10px 0;
  }

  .navbar .main-menu ul li:last-child {
    margin-bottom: 0;
  }

  .navbar .btn {
    margin-bottom: 10px;
  }

  .navbar ul li a {
    padding: 10px;
  }
  .main-menu ul {
    display: none; /* Hide menu by default on small screens */
  }
  .main-menu.show {
    display: block; /* Show menu when toggled */
  }

  /* Adjustments for hero section */

  .hero {
    height: 95vh;
  }

  .hero-heading {
    font-size: 4vh; /* Adjust font size for smaller screens */
  }
  .hero-text {
    font-size: 2vh; /* Adjust font size for smaller screens */
  }

  .hero img {
    height: 50vh;
    width: 50vw;
    opacity: 0.5;
  }
  .hero-buttons {
    flex-direction: column; /* Stack buttons vertically */
  }
  .hero-buttons a {
    margin-bottom: 10px; /* Add space between buttons */
  }
  /* Adjustments for other sections */

  /* About Me */

  .about-me {
    background-color: var(--primary-text-offwhite);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content vertically */
  }

  .about-me::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background-image: url('../images/MiesInAuto.jpeg');
    background-size: cover;
    background-position: center;
  }

  .about-me .container {
    height: 90vh; /* Set height to 100% of viewport height */
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Align items at the bottom */
    align-items: center;
  }

  .about-me .about-me-content {
    padding: 0px;
    text-align: center;
  }

  .about-me .about-me-content h2 {
    font-size: 3vh;
    padding-top: 100%; /* Align title to the bottom */
  }

  .about-me .about-me-text {
    margin-bottom: auto; /* Align text to the bottom */
    font-size: 1.4vh;
  }

  .about-me .btn-light {
    margin-top: 20px;
  }

  /* Pricing */

  .pricing {
    background: var(--background-button);
    height: fit-content;
    padding-top: 2vh;
  }

  .pricing .pricing-heading {
    font-size: 3vh;
  }
  .pricing .pricing-grid {
    grid-template-columns: 1fr; /* Change to a single column layout */
    padding-bottom: 20px;
  }

  .pricing .text-lg {
    font-size: 2vh;
  }

  .pricing .text-md {
    font-size: 1.4vh;
  }

  .pricing .card {
    height: auto; /* Allow the card height to adjust based on content */
  }

  .pricing .text-md {
    font-weight: normal;
  }

  .pricing-container {
    display: none;
    justify-content: center;
  }

  .mobile-pricing-list {
    display: contents;
    align-content: center;
  }

  /* Contact */
  .contact {
    height: fit-content;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content vertically */
  }

  .contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background-image: url('../images/Mercerdes.jpeg');
    background-size: cover;
    background-position: center;
  }

  .contact .container {
    height: fit-content; /* Set height to 100% of viewport height */
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Align items at the bottom */
    align-items: center;
  }

  .contact-container {
    max-width: 90%;
    margin: 0 auto;
  }

  .contact .contact-content {
    padding: 0px;
    text-align: center;
  }

  .contact .contact-content h1 {
    font-size: 3vh;
    padding-top: 150%; /* Align title to the bottom */
  }

  .contact .text-heading-gradient {
    font-size: 3vh;
  }

  .contact .text-md {
    font-size: 1.4vh;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer ul li {
    line-height: 1.5;
    font-size: 1.5vh;
  }

  .footer i {
    font-size: 1rem;
    margin-right: 2px;
  }

  /* Button */

  .btn {
    font-size: 1.6vh;
  }

  .btn-light {
    font-size: 1.6vh;
  }
  /* Privacy and Terms & Conditions */
  .privacy-container {
    max-width: 90%;
    margin: 0 auto;
  }

  .privacy .text-title-gradient {
    font-size: 4vh;
  }

  .privacy .text-lg {
    font-size: 3vh;
  }

  .privacy .text-md {
    font-size: 1.8vh;
  }
}
