:root {
    --image-gap: 10px;
    --img-border-radius: 15px;
}

nav a[href="/featured"] {
    text-decoration: var(--activePageTextDeco);
    text-underline-offset: var(--activePageTextUnderline);
}

h1 {
    display: none;
}

#content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 100px;
}

.text-container a {
    text-decoration: underline;
    color: #fae5ff;
}

.text-container a:hover {
    text-decoration: underline;
    color: #f8d8ff;
}

.segment {
    /*opacity: 0;*/
    margin-bottom: 3rem;
    width: 100%;
}

.fadein-segment {
    opacity: 0;
}

.entry {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 100%;

    margin-bottom: var(--image-gap);
}

.text-container {
    width: 50%;
    display: flex;
    align-items: flex-end;
    justify-content: right;
    flex-direction: column;
}

.text-container p {
    width: 30vw;
}

.entry .text {
    text-shadow: 0 0 20px #000000, 0 0 20px #000000, 0 0 20px #000000;
    color: white;
    font-family: 'Arial', sans-serif;
    font-size: 20px;
    text-align: right;
}

.entry img {
    box-shadow: 0px 0px 0px 0px white;
    transition: box-shadow 0.1s ease-in;
}

.entry img:hover {
    box-shadow: 0px 0px 7px 0px white;
    transition: box-shadow 0.2s ease-out;
}

.entry .image-container {
    display: flex;
    gap: var(--image-gap);
    width: 50%;
    padding-left: 3rem;
}

.media-container {
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
}

.expandable {
    cursor: pointer;
}

.entry .image {
    object-fit: cover;
}

.segment-title-container {
    margin-bottom: 5rem;
}

.segment-title-container h2 {
    text-shadow: 0 0 20px #000000, 0 0 20px #000000, 0 0 20px #000000;
    color: var(--secondary);
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    font-size: 30px;
    text-align: center;
}

.visible {
    animation: fadeIn 1s;
    opacity: 1;
}

.textcontainer {
    width: 50vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.textcontainer h2 {
    text-shadow: 0 0 20px #000000, 0 0 20px #000000, 0 0 20px #000000;
    color: var(--secondary);
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    font-size: 30px;
    text-align: center;
    margin: unset;
    margin-bottom: 7px;
    margin-top: 24px;
}

.textcontainer p{
    text-shadow: 0 0 20px #000000, 0 0 20px #000000, 0 0 20px #000000;
    color: white;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
    margin-top: auto;
}


.playbutton {
    background-color: white;

    width: 100px;
    height: 100px;
    border-radius: 100px;

    position: absolute;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0.8;
}

.media-container:hover > .playbutton {
    opacity: 0.9;
}
.media-container:hover .triangle {
    border-color: transparent transparent transparent #8f8f8f;
}

.triangle {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 17.5px 0 17.5px 30.3px;
    border-color: transparent transparent transparent #b6b6b6;
    transform: rotate(0deg);
    margin-left: 5px;
}

.entry-1 img {
    max-width: calc(28vw + var(--image-gap));
}

.entry-2 img {
    max-width: 14vw;
}

.entry-3 .image-container div:nth-child(1) img {
    max-width: 17vw;
}

.entry-3 .image-container div:nth-child(2) img {
    max-width: 17vw;
}

.entry-4 img {
    max-width: 40vw;
}

.entry-5 img {
    max-width: 40vw;
}

.entry-6 img {
    max-width: 40vw;
}

.entry-7 img {
    max-width: 40vw;
}

.entry-8 img {
    max-width: 40vw;
}

.entry-9 img {
    max-width: 35vw;
}


.entry-10 img:nth-child(1) {
    max-width: 13vw;
}

.entry-10 img:nth-child(2) {
    max-width: calc(21vw + var(--image-gap));
}

.entry-11 img {
    max-width: 35vw;
}

.entry-12 img {
    max-width: calc(17vw + calc(var(--image-gap) / 2));
}

.entry-13 img {
    max-width: 35vw;
}

.entry-14 img {
    max-width: 35vw;
}

.entry-15 .image-container div:nth-child(1) img {
    max-width: 20vw;
}

.entry-15 .image-container div:nth-child(2) img {
    max-width: 20vw;
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.first-segment-title {
    margin-bottom: 3rem;
}

@media (max-width: 800px) {
    .first-segment-title {
        margin-bottom: 2rem;
    }

    .entry {
        flex-direction: column;
    }

    .textcontainer {
        width: 80vw;
    }

    .textcontainer p {
        text-align: left;
    }

    .textcontainer p:first-of-type {
        text-align: center;
    }

    .text-container {
        width: 80vw;
        margin: unset;
        display: unset;
    }

    .text-container p {
        width: unset;
    }

    .entry .text {
        text-align: center;
    }

    .entry .image-container {
        padding: unset;
        width: unset;
    }

    .entry img {
        border-radius: unset !important;
    }

    .entry-1 img {
        max-width: calc(80vw + var(--image-gap));
    }

    .entry-2 img {
        max-width: 40vw;
    }

    .entry-3 .image-container div:nth-child(1) img {
        max-width: 40vw;
    }

    .entry-3 .image-container div:nth-child(2) img {
        max-width: 40vw;
    }

    .entry-4 img {
        max-width: 80vw;
    }

    .entry-5 img {
        max-width: 80vw;
    }

    .entry-6 img {
        max-width: 80vw;
    }

    .entry-7 img {
        max-width: 80vw;
    }

    .entry-8 img {
        max-width: 80vw;
    }

    .entry-9 img {
        max-width: 80vw;
    }

    .entry-10 img:nth-child(1) {
        max-width: 37vw;
    }

    .entry-10 img:nth-child(2) {
        max-width: calc(37vw + var(--image-gap));
    }

    .entry-11 img {
        max-width: 80vw;
    }

    .entry-12 img {
        max-width: 40vw;
    }

    .entry-13 img {
        max-width: 80vw;
    }

    .entry-14 img {
        max-width: 80vw;
    }

    .entry-15 .image-container div:nth-child(1) img {
        max-width: 37vw;
    }

    .entry-15 .image-container div:nth-child(2) img {
        max-width: 37vw;
    }

    .segment-title-container {
        margin-bottom: unset;
    }

    .segment {
        margin-bottom: 2rem;
    }
}