/* Global Styles */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font-family: 'Verdana', Geneva, Tahoma, sans-serif;
  overflow-x: hidden; /* Prevent horizontal scrolling */
}

/* Header Styles */
.header {
  display: flex;
  justify-content: flex-start; /* Align the logo to the left */
  align-items: center;
  padding: 10px 20px;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  background-color: white; /* Ensure background color for header */
}

/* Thyroid Aware Logo (now on the left) */
.logo {
  max-width: 250px;
  height: auto;
}

/* Banner Section */
.banner {
  background-image: url("../images/figmawelcome.png") !important;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  width: 100%;
  padding: 0 15px;
}
/* Flex container for dropdown and button */
.button-dropdown-container {
    display: flex;
    align-items: center;
    gap: 15px; /* Space between dropdown and button */
    margin-top: 20px; /* Add spacing above the container */
}

/* City Dropdown Styles */
.city-dropdown {
    padding: 10px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s;
}

.city-dropdown:focus {
    border-color: #5704e8;
    outline: none;
}
.row {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.banner .left,
.banner .right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 50%;
  padding: 20px;
}

.banner .left {
  position: relative;
}

.banner .left .animated-svg {
  position: absolute;
  top: -12vw;
  left: -8vw;
  z-index: 0;
  animation: myfirst 10s ease-in-out infinite;
  transform-origin: 50% 50%;
  width: 52vw;
  height: 52vw;
}

/* Flex container for dropdown and button */
.button-dropdown-container {
  display: flex;
  align-items: center;
  gap: 15px; /* Space between dropdown and button */
  margin-top: 20px; /* Add spacing above the container */
}

/* City Dropdown Styles */
.city-dropdown {
  padding: 10px;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: border-color 0.3s;
}

.city-dropdown:focus {
  border-color: #5704e8;
  outline: none;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .button-dropdown-container {
      flex-direction: column; /* Stack dropdown and button vertically */
      gap: 10px;
  }

  .city-dropdown,
  .btn-primary {
      width: 100%; /* Make both elements full width */
      text-align: center;
  }
}

@media (max-width: 480px) {
  .city-dropdown {
      font-size: 0.9em;
      padding: 8px;
  }

  .btn-primary {
      font-size: 0.9em;
      height: 45px;
  }
}

@keyframes myfirst {
  0% {
      transform: scale(1.1) translate(0.52vw, 1.56vw) rotate(10deg);
  }

  25% {
      transform: scale(1.1) translate(5vw, 3.64vw) rotate(60deg);
  }

  50% {
      transform: scale(1.1) translate(4vw, 2.6vw) rotate(160deg);
  }

  75% {
      transform: scale(1.1) translate(5vw, 3.64vw) rotate(-20deg);
  }

  100% {
      transform: scale(1.1) translate(0.52vw, 1.56vw) rotate(10deg);
  }
}

.banner .left .img_general {
  width: 100%;
  z-index: 1;
}

.banner .right p {
  text-align: left;
  width: 100%;
  margin: 0 0 20px 0;
}

.banner .right p:nth-child(1) {
  font-size: 2.5vw;
  line-height: 3.33vw;
  font-weight: bold;
  color: #25262a;
}

.banner .right p:nth-child(2) {
  font-size: 1.25vw;
  line-height: 1.77vw;
  color: #434346;
}

/* Button Styles */
.maki--arrow {
  display: inline-block;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 15'%3E%3Cpath fill='%23000' d='M8.293 2.293a1 1 0 0 1 1.414 0l4.5 4.5a1 1 0 0 1 0 1.414l-4.5 4.5a1 1 0 0 1-1.414-1.414L11 8.5H1.5a1 1 0 0 1 0-2H11L8.293 3.707a1 1 0 0 1 0-1.414'/%3E%3C/svg%3E");
  mask-size: 100% 100%;
  opacity: 0;
  margin-left: 0;
  transition: opacity 0.3s ease, margin-left 0.3s ease;
}

.btn-primary {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  font-weight: bold;
  color: white;
  background-color: #5800e6;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  text-align: center;
  text-decoration: none;
  width: 230px;
  height: 60px;
}

.btn-primary:hover {
  background-color: #fff;
  color: #5800e6;
  border: 3px solid #5800e6;
}

.btn-primary:hover .maki--arrow {
  opacity: 1;
  margin-left: 10px;
}

/* Responsive Design */

/* Tablets and smaller devices */
@media (max-width: 768px) {
  .banner {
      flex-direction: column;
      padding: 20px;
      background-image: url("../images/figmamobile.png") !important;
  }

  .banner .left,
  .banner .right {
      width: 100%;
      text-align: center;
      margin: 10px 0;
  }

  .banner .right p:nth-child(1) {
      font-size: 6vw;
      line-height: 5.33vw;
      margin-bottom: 20px;
  }

  .banner .right p:nth-child(2) {
      font-size: 4vw;
      line-height: 5.33vw;
      margin-bottom: 20px;
  }

  .btn-primary {
      width: 180px;
      height: 50px;
      font-size: 18px;
  }

  .banner .left .animated-svg {
      width: 90vw;
      height: 90vw;
      top: -20vw;
      left: -10vw;
  }
}

/* Mobile devices */
@media (max-width: 480px) {
  .banner {
      flex-direction: column;
      padding: 15px;
  }

  .banner .right p:nth-child(1) {
      font-size: 8vw;
      line-height: 8vw;
      margin-bottom: 20px;
  }

  .banner .right p:nth-child(2) {
      font-size: 5vw;
      line-height: 8vw;
      margin-bottom: 10px;
  }

  .btn-primary {
      width: 150px;
      height: 45px;
      font-size: 16px;
  }

  .banner .left .animated-svg {
      width: 100vw;
      height: 100vw;
      top: -25vw;
      left: -12vw;
  }
}
/* Footer */
footer {
  background-color: #fff;
  padding: 20px;
  text-align: center;
  margin-top: auto;
}
.merck-logo {
  font-family: Merck, sans-serif;
  font-size: 28px;
  margin-bottom: 10px;
  color: #000;
}

.footer-text {
  font-size: 14px;
  font-family: Verdana, sans-serif;
  color: #777;
}

.footer-links {
  margin-top: 10px;
}

.footer-links a {
  color: #060606;
  margin: 0 10px;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.social-links {
  margin-top: 20px;
}

.social-links a img {
  height: 25px;
  margin: 0 10px;
}
@font-face{
  font-family: myfont;
  src: url('../../Merck.ttf');
}
.merck-logo {
  font-family: myfont;
  font-size: 28px;
  margin-bottom: 10px;
  color: #5800e6;
}