@import url("https://fonts.googleapis.com/css2?family=ADLaM+Display&family=Abhaya+Libre:wght@400;300;500;600;700;800&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

@font-face {
  font-family: "poppins";
  src: url("../gilroyFont/Gilroy-Medium.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* @font-face {
  font-family: "gilroy semibold";
  src: url("../gilroyFont/Gilroy-SemiBold.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
} */

body {
  font-family: "Poppins", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  background-color: #F5EEEE;
  --primary-red: #f06d65;
  --primary-green: #61a983;
  --primary-yellow: #ffb43a;
  --primary-grey: #818181;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

button,
a,
textarea {
  font-family: "poppins";
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

input {
  font-family: "poppins";
}

input:focus {
  outline: none;
}

input::placeholder, textarea::placeholder {
  font-size: 16px;
  color: #ccc;
}

input[type="radio"] {
  accent-color: var(--primary-yellow);
  padding: 10px;
  cursor: pointer;
}

footer {
  background-color: black;
  display: flex;
  color: white;
  flex-direction: column;
  justify-self: flex-end;
  padding: 20px 50px;
  padding-bottom: 0;
}
.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30vw; /* 80% of the viewport width */
  height: 80vh; /* 80% of the viewport height */
  padding: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.logo-letter {
  border-radius: 31% 24% 16% 26% / 31% 24% 16% 26%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  background-color: var(--primary-yellow);
  padding: 3px 8px;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5); /* Dark overlay */
  z-index: 999; /* Lower than the modal but still above everything else */
}


.modal .expandable-card.active::-webkit-scrollbar {
  width: 0;
  display: none;
}

.modal .expandable-card.active {
  max-width: 100%;
  max-height: 100%;
  overflow: auto;
  scrollbar-width: none;
  width: 100%;
  overflow-y: auto; /* Enables vertical scrolling */
}

.modal .expandable-card.active .image-grid {
  width: 80%;
  justify-content: center;
}

.modal .expandable-card.active .wide-image {
  max-height: 250px;
  max-width: 400px;
}

.modal .expandable-card.active .restaurant-desc-header {
  margin-top: 8px;
  font-size: 18px;
}

.modal .expandable-card.active .restaurant-desc {
  margin: 5px 0;
}

.modal .expandable-card.active .selector-options {
  margin: 5px 0;
}

.restaurant-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

#restaurant-container {
  display: flex;
  flex-direction: column;
  padding: 0 150px;
  gap: 20px;
}

#restaurant-container .section-header {
  display: flex;
  justify-content: space-between;
}

.restaurant-row {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.restaurant-column {
  flex: 1;
  /* max-width: 48%; */
  /* Ensures two columns fit side-by-side with a small gap */
  display: flex;
  gap: 30px;
  flex-direction: column;
}


#restaurant-container .search-bar {
  padding: 10px 20px;
  border: 1px solid #aaa;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
  flex-grow: 0;
  align-self: center;
}

#restaurant-container .search-bar img {
  width: 15px;
  height: auto;
}

#restaurant-container .search-bar input {
  border: none;
  background-color: transparent;
  font-size: 18px;
}

#restaurant-container .main-btn {
  margin-top: 40px;
  color: var(--primary-yellow);
  border: 1px solid var(--primary-yellow);
  background-color: transparent;
}

.restaurant-desc-header {
  margin-bottom: 0;
}

.restaurant-desc {
  color: #939393;
}

.expandable-card {
  background-color: white;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.05);
  display: flex;
  padding: 20px;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  /* Ensure content stays inside */
  transition: max-height 0.3s ease;
  max-height: 25px;
  /* Initial height to only show the header */
}

.expandable-card.active {
  max-height: 2000px;
}

.expandable-card .card-header {
  display: flex;
  cursor: pointer;
  justify-content: space-between;
  align-items: center;
  color: var(--primary-red);
}

.expandable-card .card-header * {
  margin: 0;
}

.expandable-card .card-header h4 {
  font-family: 'ADLaM Display';
  font-size: 18px;
}

.image-grid {
  display: flex;
  flex-direction: column;
  margin-top: 30px;
  gap: 10px;
  width: 85%;
}

.image-grid img {
  object-fit: cover;
}

.img-row {
  display: flex;
  gap: 10px;
}
#no-restaurants-found {
  color: var(--primary-grey);
  font-weight: normal;
  display: none;
}

.wide-image {
  width: 100%;
  height: auto;
  max-height: 300px;
  border-radius: 10px;
  flex: 1 1 100%;
  /* First image takes up the full width of the first row */
}

.image-grid img:not(.wide-image) {
  width: 100%;
  height: auto;
  border-radius: 10px;
  max-width: calc(25% - 5px);
}

.restaurant-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
}

.restaurant-socials a {
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  padding: 10px 8px;
  color: white;
}

.restaurant-socials a p {
  margin-top: 30px;
  font-size: 14px;
  margin-bottom: 0;
}

.restaurant-socials a:first-child {
  align-self: flex-end;
}

.restaurant-socials a:last-child {
  align-self: flex-start;
}

@media screen and (max-width: 1024px) {
  .expandable-card {
      max-width: 80%;
  }

  .modal {
    width: 50vw;
  }

  .restaurant-list {
      flex-direction: column;
      align-items: center;
      padding: 0;
  }

  #restaurant-container .section-title {
      text-align: center;

    }

    #restaurant-selector .section-title {
      margin-left: 50px;
    }

  #restaurant-container {
      padding: 0;
      gap: 40px;
  }

  #restaurant-container .main-btn {
      margin-top: 0;
  }

  #restaurant-container .section-header {
      flex-direction: column;
      margin: 0 auto;
  }

  #restaurant-container input {
      width: 100%;
  }

  .restaurant-column {
      max-width: 100%;
      align-items: center;
  }

  .restaurant-row {
      flex-direction: column;
      gap: 20px;
  }
}

#restaurant-selector {
  background-color: white;
  margin: auto;
  width: 60%;
  padding: 30px 20px;
  border-radius: 20px;
}
#restaurant-selector h1 {
  font-family: 'ADLaM Display';
}

.surprise-me-results {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 20px 50px;
}

.surprise-me-results .card-container {
  padding: 0;
}

#restaurant-selector .main-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

#restaurant-selector .section-title {
  margin-left: 150px;
}

.selector-options button.selected {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

.surprise-animation {
  width: 350px;
  height: auto;
}

.centered-content {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  flex-direction: column;
  width: auto;
}

@media screen and (max-width: 600px) {
  #restaurant-selector {
    width: auto;
  }
}

@media screen and (max-width: 420px) {
  #restaurant-selector .section-title {
    margin: 20px;
    margin-left: 30px;
  }
  
  .modal {
    width: 80vw;
  }
}

.form-row {
  display: flex;
  gap: 10px;
}

.form-row input,
.form-row textarea {
  padding: 10px;
  border-radius: 12px;
  width: 100%;
  cursor: unset;
}

.form-row textarea {
  resize: none;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 30px auto;
}

.contact-form-container form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form-container {
  gap: 10px;
}

.contact-form-container input,
.contact-form-container textarea, .email-form input {
  font-size: 18px;
  border: 1px solid transparent;
}

@media screen and (max-width: 1024px) {
  .contact-form {
      width: 80%;
  }
}

@media screen and (max-width: 769px) {
  .contact-form-container .main-btn {
      width: 100%;
  }
}

@media screen and (max-width: 420px) {
  .contact-form-container {
      padding: 20px;
  }

  .contact-form-container input,
  .contact-form-container textarea {
      font-size: 14px;
  }
}

/* CLEAN UP THE MEDIA QUERIES HERE, THIS IS WHERE YOU PUT THE LOCAL STYLES FOR SOME PAGES */


.sticky-note {
  position: fixed; /* Ensures the note stays at the specified position even when scrolling */
  display: flex;
  flex-direction: column;
  gap: 10px;
  bottom: 5%; /* Adjust the vertical position */
  right: 50px; /* Adjust the horizontal position */
  background-color: var(--primary-red); /* Sticky note yellow */
  padding: 15px;
  width: 200px;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2); /* Adds depth to the note */
  border-radius: 10px; /* Soft rounded corners */
}

.note-text {
  margin: 0; /* Space below the text */
  font-size: 16px;
  color:white;
}

.note-button {
  display: block;
  width: 100%; /* Full-width button */
  padding: 8px;
  font-size: 14px;
  color: var(--primary-red);
  background-color: white; /* Button color */
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.sticky-note .close-button {
  background-color: transparent;
  border: none;
  color: var(--primary-yellow);
}

.sticky-note .close-button i {
  font-size: 20px;
}

.footer-top {
  display: flex;
  margin: 30px 0;
  margin-top: 20px;
  justify-content: space-between;
}
.footer-links {
  display: flex;
  align-items: center;
}

.footer-copyright {
  color: white;
  padding: 20px 0;
  font-size: 14px;
  align-self: flex-end;
  margin: 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header {
  padding: 20px;
}

.burger-menu {
  display: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 20px;
  cursor: pointer;
  border: none;
  background: none;
  z-index: 1100;
}

#primary-hero .navbar .burger-menu div {
	background-color: white;
}

.burger-menu div {
  width: 100%;
  height: 2px;
  background-color: black;
  transition: all 0.3s ease;
}

.burger-menu.open div:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
  background-color: white;
}

.burger-menu.open div:nth-child(2) {
  opacity: 0;
}

.burger-menu.open div:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
  background-color: white;
}
.mobile-service-options {
  padding-top: 50%;
  box-sizing: border-box;
}

#primary-hero {
  background-image: url("../images/image.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.secondary-hero {
  background-color: var(--primary-red);
  background-image: url("../images/hero-bg.png");
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 50px 0;
  align-items: center;
  color: white;
  text-align: center;
  margin-bottom: 50px;
}
.hero-header {
  background-color: var(--primary-red);
  background-image: url("../images/hero-bg.png");
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: white;
  margin: 30% auto;
  margin-bottom: -3%;
  width: 50%;
  border-radius: 20px;
  padding: 20px 5%;
}

.hero-header h1,
.secondary-hero h1, .contact-card h1 {
  font-size: 56px;
  line-height: 63.2px;
  font-weight: 500;
  margin-bottom: 0;
  font-family: 'ADLaM Display';
}

.hero-header p,
.secondary-hero p, .main-btn, .contact-card p{
  font-size: 16px;
}

.contact-card {
  background-image: url("../images/hero-bg-1.jpg");
  background-repeat: no-repeat;
  background-color: white;
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: white;
  border-radius: 20px;
  margin: 30px 150px;
  color: #1e1e1e;
  padding: 40px 10%;
}

.contact-card h1 {
  font-size: 64px;
  font-weight: 500;
  margin-bottom: 0;
}

.contact-card p {
  font-size: 18px;
}

h3 {
  font-size: 24px;
  line-height: 36px;
}

.navbar {
  padding: 10px 40px;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.services-dropdown {
  position: relative;
}

.dropdown-content {
  position: absolute;
  margin-top: 3px;
  background-color: white;
  min-width: 160px;
  z-index: 1;
  border-radius: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.2s ease, transform 0.1s ease, visibility 0.1s ease;
  pointer-events: none; /* Prevent hover from expanding the hoverable area */
}

.services-dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto; /* Re-enable pointer events when dropdown is visible */
}

.dropdown-content div {
  color: var(--primary-black);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-size: 14px;
  opacity: 0;
  transform: translateY(-5px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  /* transition-delay: 0.1s; */
}

.services-dropdown:hover .dropdown-content div {
  opacity: 1;
  transform: translateY(0);
}

.dropdown-content div:hover {
  background-color: #f1f1f1;
}

#primary-hero .navbar {
  background-color: transparent;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.google-ads {
  background-color: #FFBCAD;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 150px 0;
  align-items: center;
  color: white;
  text-align: center;
  margin: 50px 0;
}

.google-ads h1 {
  color: var(--primary-red);
}

#logo {
  color: var(--primary-red);
  margin: 0;
  font-weight: normal;
  cursor: pointer;
}

.navbar-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

.navbar-list.show {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: black;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 2rem;
  z-index: 1000;
}

.navbar-item {
  margin-right: 20px;
  text-align: center;
}

.navbar-link {
  padding: 10px;
  text-decoration: none;
  font-size: 16px;
  text-align: center;
  transition: color 0.2s;
}

#primary-hero .navbar-link {
  color: white;
}

.navbar-link:hover,
#primary-hero .navbar-link:hover {
  color: var(--primary-red);
}

.navbar-dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 160px;
  padding: 10px;
  list-style: none;
}

.dropdown-item {
  color: white;
  text-decoration: none;
  padding: 8px 12px;
  display: block;
}

.dropdown-item:hover {
  background-color: #f4a261;
}

.selector-options, .restaurant-tags {
  width: 90%;
  margin: 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.selector-options button {
  border: 1px solid var(--primary-red);
  background-color: transparent;
  padding: 10px 15px;
  color: var(--primary-red);
  border-radius: 5px;
  font-size: 16px;
  transition: color .2s, background-color .2s;
  cursor: pointer;
}

.restaurant-tags p {
  border: none;
  background-color: #FFE5DD;
  padding: 5px 10px;
  color: var(--primary-red);
  border-radius: 5px;
  font-size: 16px;
  margin: 0;
  transition: color .2s, background-color .2s;
}

.expandable-card .selector-options button {
  pointer-events: none;
}

#restaurant-selector .selector-options button:hover,
.selector-options button.selected {
  color: white;
  background-color: var(--primary-red);
}

.selector-options button.selected {
  transition: transform 0.2s ;
}

.selector-options button.selected {
  transform: scale(1.1);
}


.navbar-dropdown:hover .dropdown-menu {
  display: block;
}

.main-btn {
  color: white;
  background-color: var(--primary-red);
  border-radius: 50px;
  padding: 15px 30px;
  font-size: 18px;
  border: none;
  line-height: 22px;
  align-self: center;
}

.secondary-btn {
  background-color: transparent;
  border: 1px solid var(--primary-red);
  color: var(--primary-red);
  border-radius: 12px;
  font-weight: normal;
  padding: 10px 25px;
  font-size: 18px;
  line-height: 22px;
  align-self: center;
}

.flexible-section {
  display: flex;
  justify-content: center;
  margin: 60px auto;
  padding: 0 150px;
}

.flexible-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
}
.flexible-content h1  {
  font-family: 'ADLaM Display';
  font-size: 56px;
  margin-bottom: 0;
  font-weight: 500;
}

.flexible-content h3 {
  font-weight: 400;
  width: 70%;
  font-size: 18px;
  line-height: 25px;  
}

.flexible-section img {
  max-width: 50%;
  border-radius: 20px;
  object-fit: cover;
}

.flexible-content img {
	border-radius: 12px;
}

.section-title {
  font-size: 40px;
  font-family: 'ADLaM Display';
}

.flexible-content p {
  line-height: 200%;
}

.flexible-content .main-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
}

.email-form {
  display: flex;
  align-items: center;
  width: 100%;
}

.email-form input {
  border-radius: 50px;
  padding: 15px 10px;
  font-size: 18px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border: 1px solid transparent;
  width: 100%;
  line-height: 22px;
}

.email-form .main-btn {
	font-weight: normal;
}

.card-container-wrapper {
  display: flex; 
  flex-direction: column;
  gap: 30px;
  padding: 0 150px;
  margin: 60px 0;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  margin-bottom: 20px;
  align-self: stretch;
}

.main-section {
  padding: 0 150px;
}

.offer-card, .restaurant-card {
  width: calc(33.33% - 40px);
  background-color: white;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  display: flex;
  flex-grow: 1;
  flex-direction: column;
}
.offer-card {
  cursor: pointer;
}

.restaurant-card h3 {
  margin: 5px 0;
}


.offer-card:hover .card-content {
	background-color: var(--primary-red);
	cursor: pointer;
}

.offer-card:hover .card-content * {
	color: white;
}


.card-content {
  padding: 10px;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  transition: .2s background-color;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-content * {
	transition: .2s color;
}

.card-content h3 {
  margin-top: 0;
  font-size: 18px;
}

.card-content .restaurant-name {
  color: var(--primary-red);
  margin: 0;
}

.card-content .offer-duration {
  color: var(--primary-grey);
  margin-top: 10px;
  font-weight: 400;
}

.card-img {
  width: 100%;
  height: 50%;
  object-fit: cover;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

/* Media Queries */

@media screen and (max-width: 1200px) {
  .hero-header {
    padding: 20px 5%;
  }
  .hero-header h1,
  .secondary-hero h1, .contact-card h1 {
    font-size: 40px;
    line-height: 50px;
  }
  .hero-header p, .main-btn, .contact-card p {
    font-size: 12px;
  }
}

@media screen and (max-width: 1024px) {
  .flexible-section,
  .card-container-wrapper {
    padding: 0 50px;
  }
  .hero-header {
    margin-bottom: -8%;
  }
  .section-title {
    font-size: 32px;
  }
}

@media (max-width: 767px) {
  .burger-menu {
    display: flex;
  }
  .hero-header  {
    width: 70%;
  }
  .secondary-hero {
    margin-bottom: 20px;
  }
  .navbar-list {
    display: none;
    flex-direction: column;
    width: 100%;
  }

  .navbar-list.show {
    display: flex;
  }

  .navbar {
    flex-wrap: wrap;
  }

  .navbar .main-btn {
    display: none;
  }
  .card-container {
    flex-direction: column;
    align-items: center;
  }

  .offer-card, .restaurant-card {
    width: 100%;
  }

  .contact-card {
    margin: 30px 50px;
  }

  .footer-top {
    flex-direction: column;
    align-items: center;
  }
  .footer-copyright {
    align-self: center;
    text-align: center;
  }
  .footer-bottom {
    flex-direction: column;
  }
  .footer-links {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 10px;
  }

  #logo {
    text-align: center;
    font-size: 32px;
  }
  .email-form {
	  flex-direction: column;
	  align-items: flex-start;
  }
}

@media screen and (max-width: 600px) {
  .navbar-link {
    padding: 10px;
    font-size: 14px;
  }
  .navbar {
    padding: 10px 20px;
  }

  .hero-header {
    gap: 10px;
  }

  .hero-header h1 .contact-card h1 {
    font-size: 32px;
    line-height: 40px;
  }
  .hero-header p, .main-btn {
    line-height: 14px;
  }
  .flexible-section
  {
    flex-direction: column;
    align-content: center;
  }

  .flexible-section img {
    align-self: center;
    max-width: 100%;
    order: -1;
  }

  .navbar-item {
    margin-right: 0;
  }
  .contact-card {
    padding: 40px 5%;
  }
  .contact-card h1 {
    font-size: 48px;
  }
  .contact-card p {
    font-size: 18px;
  }

}

@media screen and (max-width: 420px) {
  .contact-card {
    margin: 30px;
  }
  .flexible-section,
  .card-container-wrapper {
    padding: 0 30px;
  }
  .flexible-section {
    margin: 30px 0;
  }
  
  .hero-header {
    gap: 0;
  }

  .sticky-note {
    display: none;
  }
  .contact-card h1,
  .hero-header h1,
  .secondary-hero h1 {
    font-size: 32px;
    line-height: 40px;
  }
  .contact-card p, .secondary-hero p, .main-btn {
    font-size: 14px;
  }

  .secondary-hero {
    padding: 20px 10px;
  }

  #logo {
    font-size: 24px;
  }
  .section-title, .flexible-content h2, .flexible-content p {
    font-size: 24px; 
    text-align: center;
  }
  

  .flexible-content h1  {
    font-size: 48px;
  }


}

@media screen and (max-width: 350px) {
  .hero-header {
    width: 80%;
  }
  .hero-header h1, .contact-card h1 {
    font-size: 24px;
    line-height: 30px;
  }
}

@media screen and (max-height: 800px) {
  .flexible-section {
    margin: 80px auto;
  }
  .hero-header {
    margin: 20% auto;
    margin-bottom: -2%;
  }
  .hero-header h1, .secondary-hero h1, .contact-card h1 {
    margin-top: 0;
  }
  .flexible-content .section-title {
    margin: 0;
  }
  .flexible-content {
    justify-content: flex-start;
  }
}


