/* Custom fonts */
@font-face {
  font-family: 'Bebas Neue';
  src: url('../fonts/BebasNeue-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* General styles */
html, body {
  overflow-x: hidden;
  width: 100vw;
}

/* Custom icon styles */
.icon-custom {
  fill: #888;
  width: 28px;
  height: 28px;
}

.icon-custom svg {
  width: 28px;
  height: 28px;
}

.content > p {
  text-align: justify;
  text-justify: inter-word;
}

/* Box content */
@media (max-width: 768px) { /* Adjust for mobile */
  .box .content {
    padding: 20px;
  }
}

/* Custom grid */
.grid-style {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px; /* Adjust spacing between grid items */
  align-items: stretch; /* Ensures all grid items take the same height */
  width: 100%; /* Ensures grid does not exceed container width */
  max-width: 100%; /* Prevents overflow */
  overflow: hidden; /* Prevents scrolling issues */
}

@media (max-width: 1024px) { /* Adjust for smaller screens */
  .grid-style {
    grid-template-columns: repeat(2, 1fr); /* 1 column on smaller screens */
  }
}

@media (max-width: 720px) { /* Adjust for mobile */
  .grid-style {
    grid-template-columns: 1fr; /* 1 column on smaller screens */
  }
}

.grid-style .box {
  height: 100%;
}

.image.fit img {
  width: 100%;
  height: auto;
  display: block;
  padding: 16px;
}

.grid-style .content {
  padding: 16px;
}

.grid-style .box header h2 {
  margin-bottom: 20px;
}

.grid-style footer {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: auto;
}

.grid-style  a {
  text-decoration: none;
}

/* Cards section */
.cards {
  padding-top: 0;
}

/* Main title */
.main-title {
  font-family: 'Bebas Neue', 'sans-serif';
  text-transform: uppercase;
  letter-spacing: 16px;
}

span.main-title {
  letter-spacing: 6px; /* Smaller letter spacing for the navigation title */
}

/* Banner */
section.banner {
  background-color: black;
}

.banner-nav {
  position: absolute;
  bottom: 32px;
  width: 100%;
  text-decoration: none;
  z-index: 1;
  padding: 0 32px 0 32px;
}

.banner-nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 28px;
}

.banner-nav li {
  padding: 0;
}

.button.alt2 {
  font-size: 24px;
  padding: 20px;
  min-width: 194px;
  background-color: transparent;
  /* box-shadow: inset 0 0 0 2px rgba(144, 144, 144, 0.25); */
  color: rgba(255, 255, 255, 0.65) !important;
  height: auto;
  line-height: auto;
}

@media (max-width: 480px) {
  .banner-nav ul {
    flex-direction: column; /* Stack the buttons vertically on small screens */
    gap: 16px; /* Reduce gap between buttons */
  }

  .banner-nav li {
    flex-grow: 1;
  }
  .button.alt2 {
    font-size: 16px;
    padding: 0;
    min-width: none;
    width: 100%;
  }
}

.button.alt2:hover {
  background-color: rgba(144, 144, 144, 0.075);
  color: white !important;
}

.button.alt2:active {
  background-color: rgba(144, 144, 144, 0.2);
  color: white !important;
}