@font-face {
  font-family: 'Century Gothic';
  src: url('./assets/fonts/CenturyGothic.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: 'Century Gothic', Arial, sans-serif;
  background-color: #fff;
  color: #468DB3;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  background-color: #3B73B9;
  padding: 15px;
  text-align: center;
}

.logo {
  max-width: 150px;
  height: auto;
}

main {
  flex-grow: 1;
  display: flex;
  padding: 2vw;
}

.left-column {
  flex: 1;
  padding-right: 2vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.right-column {
  flex: 1;
  padding-left: 2vw;
  padding-right: 2vw;
  display: flex;
  justify-content: center;
  align-items: center;
}

.full-logo-img {
  max-width: 60%;
  height: auto;
  margin-bottom: 20px;
}

.address, .contact {
  font-size: clamp(1rem, 2vw, 1.65rem);
  margin-bottom: 20px;
}

a {
  color: #468DB3;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.image-container {
  position: relative;
  width: 100%;
  padding-bottom: 100%; /* Creates a 1:1 aspect ratio */
}

.background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.foreground-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50%;
  height: auto; /* Changed from fixed height to auto */
  aspect-ratio: 1 / 1; /* Ensures the image stays circular */
  max-width: 80%;
  max-height: 80%;
  object-fit: cover;
  border-radius: 50%;
}

footer {
  background-color: #3B73B9;
  color: #fff;
  padding: 10px;
  font-size: 0.8em;
  text-align: center;
}

@media (max-width: 768px) {
  main {
    flex-direction: column;
    padding: 4vw;
  }

  .left-column, .right-column {
    flex: none;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .right-column {
    margin-top: 4vw;
  }

  .image-container {
    padding-bottom: 100%; /* Maintain 1:1 aspect ratio */
  }

  .foreground-image {
    width: 60%;
    max-width: 60%;
    max-height: 60%;
  }
}

@media (max-width: 812px) and (orientation: landscape) {
  main {
    flex-direction: row;
    padding: 2vw;
  }

  .left-column {
    padding-right: 2vw;
  }

  .right-column {
    padding-left: 2vw;
    padding-right: 2vw;
  }

  .full-logo-img {
    max-width: 40%;
  }

  .image-container {
    padding-bottom: 100%; /* Maintain 1:1 aspect ratio */
  }

  .foreground-image {
    width: 70%;
    max-width: 70%;
    max-height: 70%;
  }
}
