body {
    background-color: #657481;
    color: #ffffff;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    align-content: center;
}

header {
    background-color: #26424e;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-left, .logo-right {
    height: 40px;
    margin: 0 auto;
}

.logo-left:hover, .logo-right:hover {
    cursor: pointer;
}

main {
    text-align: center;
    display: flex;
    justify-content: center;
    margin: 0 auto;
    flex-flow: column nowrap;
    min-height: calc(100vh - 120px);
    width: 70vw;
    max-width: 1200px;
}

.category {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}

.hexOut {
    width: 150px;
    height: 120px;
    transform: skew(30deg);
    padding: 0px;
    overflow: hidden;
    margin: 0 auto;
    font-size: 10px;
}

.hexIn {
    margin: 0px;
    width: 150px;
    height: 120px;
    transform: skew(-30deg);
    overflow: hidden;
}

.hexContent {
    margin: 0px;
    width: 150px;
    height: 120px;
    transform: skew(-30deg);
    overflow: hidden;
}

.category-link {
    transform: skew(30deg);
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto;
    background-color: #da1d6e;
    color: #ffffff;
    cursor: pointer;
}

.category-link:hover {
    color: #da1d6e;
    background-color: #ffffff;
    transform: skew(30deg);
}

.category-link * {
    height: fit-content;
    margin: auto 0;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    padding: 20px;
}

.video-link {
    background-color: #ffffff;
    text-decoration: none;
    color: #000000;
    text-align: center;
    font-size: 0.7rem;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 2px 2px 15px rgb(0, 0, 0);
    width: 60vw;
}

.video-link img {
    max-width: 100%;
}

.video-link:hover {
    transform: scale(1.05);
    box-shadow: 2px 2px 20px rgb(0, 0, 0);
    cursor: pointer;
}

iframe {
    width: 70vw;
    max-width: 1200px;
    height: calc(70vw/16*9);
    max-height: calc(1200px/16*9);
    margin: 0 auto;
    border: none;
}

.button-28 {
  appearance: none;
  background-color: transparent;
  border: 2px solid #1A1A1A;
  box-sizing: border-box;
  color: #3B3B3B;
  cursor: pointer;
  display: inline-block;
  font-family: Roobert,-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
  margin: 0;
  min-height: 60px;
  min-width: 0;
  outline: none;
  padding: 16px 24px;
  text-align: center;
  text-decoration: none;
  transition: all 300ms cubic-bezier(.23, 1, 0.32, 1);
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  width: 100%;
  will-change: transform;
}

.button-28:disabled {
  pointer-events: none;
}

.button-28:hover {
  color: #fff;
  background-color: #1A1A1A;
  box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
  transform: translateY(-2px);
}

.button-28:active {
  box-shadow: none;
  transform: translateY(0);
}

footer {
    background-color: #26424e;
    padding: 10px;
    display: flex;
    justify-content: center;
    gap: 20px;
    min-height: 60px;
}

footer a {
    color: #ffffff;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

svg:hover {
    cursor: pointer;
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    .category {
        flex-direction: row;
    }
    .hexOut {
        width: 30vw;
        height: 24vw;
        font-size: 1rem;
    }
    
    .hexIn {
        width: 30vw;
        height: 24vw;
    }
    
    .hexContent {
        width: 30vw;
        height: 24vw;
    }

    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .video-link {
        width: 32vw;
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    .video-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .video-link {
        width: 22vw;
    }
} 