*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
}

body,
h1,
h2,
h3,
p,
ul,
ol,
li {
  margin: 0;
}

ul,
ol {
  padding-left: 1rem;
}

body {
  font-family: "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  background: #1d5f77;
  color: #ffffff;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  height: 55px;
  padding: 0 1rem;
  background: linear-gradient(to right, #046c9d, #63b1c7);
}

header > div {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

a[href="/go/"] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  background: #f7ca39;
  color: #000000;
  font-weight: 700;
}

header > div a:nth-child(2),
main > div:nth-of-type(3) > div > div > div a:nth-child(2) {
  background: #036a89;
  color: #ffffff;
}

main {
  display: grid;
  gap: 1.5rem;
  padding-top: 55px;
}

main > div:first-child,
main > div:first-child > div > div {
  position: relative;
}

main > div:first-child > div > div > div {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.6);
}

main > div:first-child p {
  font-size: clamp(1rem, 4vw, 1.5rem);
  font-weight: 700;
  text-align: center;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.8);
}

main > div:first-child img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

main > div:nth-of-type(2),
main > div:nth-of-type(3),
main > div:nth-of-type(4) {
  padding: 0 1rem;
}

main > div:nth-of-type(3) > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

main > div:nth-of-type(3) > div > div {
  position: relative;
  display: flex;
  overflow: hidden;
  width: min(250px, calc(50% - 0.5rem));
  aspect-ratio: 5 / 3;
  border-radius: 1rem 0;
}

main > div:nth-of-type(3) > div > div > div {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: rgba(0, 0, 0, 0.75);
  opacity: 0;
  transition: 0.2s ease-in-out;
}

main > div:nth-of-type(3) > div > div:hover > div {
  z-index: 1;
  opacity: 1;
}

main > div:nth-of-type(3) picture,
main > div:nth-of-type(3) img {
  width: 100%;
  height: 100%;
}

main > div:nth-of-type(3) img {
  object-fit: cover;
}

main > div:nth-of-type(4) {
  display: grid;
  gap: 1rem;
}

h1 {
  font-size: clamp(2rem, 2.5vw, 3rem);
  font-weight: 700;
}

h2 {
  padding-top: 1rem;
  font-family: Georgia, serif;
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  font-weight: 400;
  line-height: 1.2;
}

h3 {
  font-size: clamp(1.5rem, 2.5vw, 1.75rem);
  font-weight: 400;
}

table {
  width: min(100%, 714px);
  margin: 0 auto;
  border-collapse: collapse;
}

th,
td {
  border: 1px solid #000000;
  padding: 0.5rem 1rem;
}

th {
  font-weight: 700;
}

main > div:nth-of-type(4) > div {
  overflow-x: auto;
}

main > div:nth-of-type(4) > div:nth-of-type(3) {
  display: grid;
  place-items: center;
  gap: 1rem;
}

main > div:nth-of-type(4) > div:nth-of-type(3) > div {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

summary {
  display: block;
  cursor: pointer;
}

details {
  overflow: hidden;
  border-radius: 1rem 0;
}

details h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  font-family: "Segoe UI", sans-serif;
}

details > div {
  padding: 0.5rem 1rem;
  background: rgba(0, 0, 0, 0.25);
}

main > div:nth-of-type(4) > div:nth-of-type(4),
main > div:nth-of-type(4) > div:nth-of-type(5) {
  display: grid;
  gap: 1rem;
}

main > div:nth-of-type(4) > div:nth-of-type(5) > div {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 1rem 0;
}

main > div:nth-of-type(4) > div:nth-of-type(5) > div > div {
  display: flex;
  align-items: center;
  gap: 1rem;
}

main > div:nth-of-type(4) > div:nth-of-type(5) > div > div p:first-child {
  font-size: 1.25rem;
  font-weight: 600;
}

main > div:nth-of-type(4) > div:nth-of-type(5) > div > div p:nth-child(2) {
  font-size: 0.875rem;
}

footer {
  min-height: 90px;
  margin-top: 1.5rem;
  background: linear-gradient(to bottom, #63b1c7, #046c9d);
  text-align: center;
  padding-top: 20px;
}

@media (min-width: 768px) {
  main > div:nth-of-type(4) > div:nth-of-type(3) {
    grid-template-columns: auto auto;
  }
}

@media (max-width: 768px) {
  header a[href="/go/"] {
    padding: 0.5rem;
    font-size: 0.875rem;
  }

  main > div:first-child > div > div > div {
    padding: 0.5rem;
    gap: 0.4rem;
  }

  main > div:first-child img {
    height: 360px;
  }
}
