/* Created By Kalen */
:root {
    --background-color: 20, 20, 20;
    --text-color: 255, 255, 255;
    --pop-color: 238, 68, 152;
    --saturated-pop: 255, 0, 126;
}

body {
    background-color: rgb(var(--background-color));
    color: rgb(var(--text-color));
    font-family: "Inter", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

img {
    max-width: 100%;
}

header a {
    position: relative;
    display: block;
    margin:  auto;
    width: max-content;
}

header img {
    height: min(150px, max(100px, 10vw)); /* 10vw default, 100px min, 150px max */
    display: block;
    margin-inline: auto;
}

header .section {
    position: absolute;
    bottom: 0;
    right: 0;
    color: rgb(var(--pop-color));
    font-size: calc(0.35 * min(150px, max(100px, 10vw)));
    transform: rotate(-15deg) translate(35%, 35%);
    z-index: 5;
}

#castImg {
    position: relative;
}

#castImg > div {
    position: relative;
}

#castImg img {
    max-height: calc(100vh - 250px);
    min-height: min(calc(0.5 * 100vw), 500px);
    width: 100%;
    object-fit: cover;
    position: relative;
}

#castImg .gradient {
    position: absolute;

    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgb(var(--background-color)) 0%, #20202000 40%, #20202000 60%, rgb(var(--background-color)) 100%);
    z-index: 1;
}

#castImg .buttons {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1000px;
    font-size: min(3vw, 30px);
    color: rgb(var(--pop-color));
    display: flex;
    flex-direction: row;
    align-items: baseline;
    flex-wrap: wrap;
    justify-content: space-evenly;
    z-index: 5;
}

.link {
    display: block;
    border: 1px solid rgb(var(--pop-color));
    color: rgb(var(--pop-color));
    text-decoration: none;
    padding: min(1.5vw, 15px) min(2vw, 20px);
    border-radius: 12px;
    width: fit-content;
    max-width: 25vw;
    margin-top: 20px;
}

.link:hover {
    background: rgb(var(--pop-color));
    color: rgb(var(--background-color));
}

h1 {
    color: rgb(var(--pop-color));
    font-size: min(60px, max(40px, 10vw)); /* 10vw default, 50px min, 100px max */
    font-weight: 400;
    text-align: center;
    margin-inline: 25px;
}

section p {
    text-align: center;
    font-size: calc(0.6 * min(60px, max(40px, 10vw)));
    margin-inline: 25px;
}

.medium {
    font-size: calc(0.5 * min(60px, max(40px, 10vw)));
}

.small {
    font-size: calc(0.4 * min(60px, max(40px, 10vw)));
}

section p span {
    color: rgb(var(--pop-color));
}

.address {
    color: rgb(var(--text-color));
    text-align: center;
    font-size: 1.75rem;
    text-decoration: none;
}

.address:hover {
    text-decoration: underline;
}

footer {
    background: linear-gradient(180deg, #00000000 0%, #000000 60%);
    padding-block: 40px;
    padding-inline: 25px;
    display: flex;
    flex-direction: column;
    font-size: calc(0.35 * min(60px, max(40px, 10vw)));
    text-align: center;
}

footer a {
    color: rgb(var(--text-color));
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* cast */

.cast {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-inline: 12.5%;
}

.cast > div {
    margin: 25px;
    text-align: center;
}

.cast > div p {
    color: transparent;
    background:
        linear-gradient(
            45deg,
            rgb(var(--pop-color), 0.75) 0%,
            rgb(var(--pop-color), 1) 50%,
            rgb(var(--pop-color), 0.75) 100%
        )
        border-box;
    -webkit-background-clip: text;
    background-clip: text;
    transition: 0.25s;
}

.cast > div p span {
    color: white;
}

.cast > div > h2 {
    margin: 0;
    font-weight: 400;
}

.cast > div p {
    margin: 0;
}

/* media */
.media {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-inline: 50px;
}

.media img {
    object-fit: cover;
    width: 400px;
    height: 400px;
    margin: 25px;
}

.media img:hover {
    filter: brightness(1.25);
}

.mediaPopup {
    background-color: rgb(var(--background-color), 0.75);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    height: 100%;
}

.mediaPopup img {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-height: 70%;
}

/* ads */

#paymentInfo {
    color: rgb(var(--pop-color));
    font-size: 24px;
    text-align: center;
}

#paymentInfo a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

#paymentInfo a:hover {
    text-decoration: underline;
}

#paymentInfo svg {
    height: 32px;
    width: 32px;
    padding-right: 5px;
}

svg path {
    fill: currentColor;
}