.hexagon {
  width: 100%;
  aspect-ratio: 1 / 0.866;
  overflow: hidden;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  background-color: #cccccc00;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hexagon img,
.hexagon video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hexagon .img-empty {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}

.hexagon-pointer {
  cursor: pointer;
}

.grid-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  padding: 2rem;
  border: 1px solid #000000;
  background-color: rgb(31, 31, 31);
  width: 100%;
  max-width: 500px;
}

.grid-box .hexagon {
  grid-column: 1;
  grid-row: 1;
  justify-self: center;
}

.grid-box h2, .grid-box h3, .grid-box h4 {
  margin: 0;
  grid-column: 2;
  grid-row: 1;
  text-align: center;
  justify-content: center;
  font-size: xx-large;
}

.grid-box p {
  margin: 0;
  grid-column: 1 / span 2;
  grid-row: 2;
  font-size: large;
  text-align: justify;
}

.honeycomb {
  display: grid;
  height: 100%;
  grid-template-columns: repeat(5, 1fr);
  justify-items: center;
  align-items: start;
}

.honeycomb-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.honeycomb-column:nth-child(odd) {
  margin-top: 50%;
}

.btn-primary {
  width: 150px;
  background-color: #1a1a1a;
  color: #ffffff;
  border-color: #5e5e5e;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: #8d8d8d;
  border-color: #3d3d3d;
  color: #ffffff;
}

.language-btn {
  background-color: #1a1a1a;
  color: #ffffff;
  border-color: #5e5e5e;
  padding: 0.25rem 0.25rem;
}

.language-btn img {
  width: 30px;
  height: 20px;
}

.language-btn:hover,
.language-btn:focus,
.language-btn:active {
  background-color: #8d8d8d;
  border-color: #3d3d3d;
  color: #ffffff;
}

.section {
  min-height: 100vh;
  max-width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgb(255, 255, 255);
  background-color: rgb(20, 20, 20);
}

.background-section {
  background: url('../media/background.jpg') no-repeat center center;
  background-size: cover;
}

.darken-background {
  background-color: rgba(0, 0, 0, 0.5);
}

html,
body {
  overflow-x: hidden;
  font-size: clamp(0.875rem, 2vw, 1rem);
  padding-top: 52px;
  background-color: rgb(20, 20, 20);
  width: 100vw;
  font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

header {
  position: fixed;
  z-index: 9999;
  top: 0;
}

figcaption,
small {
  font-family: Arial, sans-serif;
}

.table-container {
  width: 100%;
  overflow-x: auto;
}

.services {
  min-width: 100%;
  border-collapse: separate;
  border-spacing: 1rem 0rem;
  color: rgb(39, 39, 39);
  table-layout: fixed;
  padding: 5rem;
}

.separator {
  display: grid;
  height: 10vh;
  width: 100vw;
  background-color: rgb(29, 29, 29);
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 100%;
  overflow: hidden;
}

.separator .main-text {
  grid-column: 2;
  font-weight: bold;
  white-space: nowrap;
}

.separator .secondary-text {
  grid-column: 3;
  opacity: 0%;
  color: #000000;
  white-space: nowrap;
}

.separator .title-text {
  grid-column: 1;
  font-weight: bold;
  font-size: xx-large;
  color: white;
  align-self: center;
  padding-left: 2rem;
}

.gallery-separator {
  height: 7vh;
}

.title-separator {
  background-color: rgb(73, 73, 73); 
  height: 8vh; 
  width: 105vw;
}

.services td,
th {
  min-width: 20vw;
  width: 25%;
  border: 1px solid #444;
  padding: 1rem;
  text-align: center;
  vertical-align: top;
  background-color: #38383883;
}

.services thead th {
  height: 20%;
  font-size: x-large;
}

.services tfoot td {
  height: 20%;
  font-size: x-large;
}

.services tbody {
  font-size: large;
}


.footer-container {
  background-color: rgb(39, 39, 39);
  padding: 2rem;
}

.gallery-container {
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  padding: 1rem;
  background-color: rgb(65, 65, 65);
}

.gallery {
  display: flex;
  gap: 1rem;
  padding-inline: 1rem;
}

.gallery img,
video {
  flex: 0 0 auto;
  width: 20vw;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.form-container {
  min-width: 60vw;
  border-radius: 1rem;
  display: flex;
  margin-top: 3rem;
  margin-bottom: 3rem;
  margin-right: 2rem;
  margin-left: 2rem;
  padding: 2rem;
  background-color: rgb(53, 53, 53);
}

.form-container form {
  min-width: 100%;
}

.form-container h2 {
  text-align: left;
  margin-bottom: 1rem;
}

.form-container label {
  display: block;
  margin-top: 1rem;
}

.form-container input[type="text"],
.form-container input[type="tel"],
.form-container input[type="email"],
.form-container textarea {
  width: 60%;
  padding: 0.5rem;
  margin-top: 0.5rem;
  box-sizing: border-box;
}

.form-container input[type="radio"]{
  margin-right: 0.5rem;
}

.form-container fieldset {
  width: 60%;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid #ccc;
}

.form-container summary {
  color: rgb(114, 114, 114);
  font-size: small;
  font-family: Arial, sans-serif;
}

.form-container .terms {
  display: block;
  margin-top: 1rem;
}

.form-container .form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media(max-width: 480px) {
  .services td {
    min-width: 100vw;

  }

  .services {
    padding: 1rem;
  }

  .services tbody td {
    text-align: center;
    justify-content: center;
  }

  .gallery img,
  video {
    width: 85vw;
  }

  .form-container {
    width: 85vw;
  }

  .form-container fieldset,
  .form-container input[type="text"],
  .form-container input[type="tel"],
  .form-container input[type="email"],
  .form-container textarea {
    min-width: 90%;
  }

  html, body {
    padding-top: 51px;
  }
}

@media (min-width: 480px) and (max-width: 800px) {

  .services td {
    min-width: 50vw;

  }

  .gallery img,
  video {
    width: 50vw;
  }

  .form-container {
    width: 85vw;
  }

  .form-container fieldset,
  .form-container input[type="text"],
  .form-container input[type="tel"],
  .form-container input[type="email"],
  .form-container textarea {
    min-width: 75%;
  }

  html, body {
    padding-top: 52px;
  }
}

.modal-dialog{
  display: flex;
  align-items: center;
  min-height: 100vh;
}

.modal-content {
  background-color: transparent;
  border: none;
}

.modal-body {
  padding: 0;
}

.modal-body video {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: 100%;
  overflow: hidden;
  object-fit: cover;
}

.modal-body img {
  display: block;
  margin: 0 auto;
}

#logo {
  max-height: 80px;
}

model-viewer {
  min-height: 60vh; 
  min-width: 65vw;
  border-radius: 0.2rem;
  border-style: solid;
  border-color: rgb(29, 29, 29);
}

.copyright {
  background-color: black; 
  height: 3vh;
}

a:link {
  color: #1500ff;
}

a:visited {
  color: #aa00ff;
}

#services {
  margin-left: 3rem;
}

#org-name {
  font-size: x-large;
}

#motto {
  font-size: large;
}

.hexagon-figure {
  position: relative;
  display: inline-block;
}

.hexagon-figure figcaption {
  position: absolute;
  top: 0;
  width: 100%;
  padding: 0.5rem;
  color: rgb(255, 255, 255);
  text-align: center;
  font-weight: bold;
  pointer-events: none;
}

.bypass-block, .section-title {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}