@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&family=Young+Serif&display=swap');

:root {
    --primary-color: #E9E7E1;
    --text-color: black;
    --text-alt-color: white;
    --alt-color: #3A4A15;
    padding: 0;
    margin: 0;
    font-size: 20;

}

a {
    text-decoration: none;
    color: inherit;
    z-index: 1000;
}

h2 {
    font-family: 'Roboto';
    font-size: 36px;
    letter-spacing: -7%;
    text-align: center;
    font-weight: 400;
}


h3 {
    font-family: 'Roboto';
    font-size: 24;
    text-align: center;
    font-weight: 500;

}

p {
    font-family: 'Young Serif';
    font-size: 20px;
    font-weight: 300;
    line-height: 1.5em;
    letter-spacing: 0.07em;
}

body {
    margin: 0;
    background-color: var(--primary-color);
}

header {
    display: flex;
    justify-content: top;
    flex-direction: column;
    height: 10vh;
    width: 100%;
    margin: 0;


}



.title {
    z-index: 100;
    display: flex;
    flex-direction: column;
    justify-content: bottom;
    align-items: center;
    align-self: center;
    width: 100%;
    padding-bottom: 1em;
    position: fixed;
    background-color: var(--primary-color);
    padding-top: 1em;
    height: 63px;


}

.sup {
    font-family: 'Young serif';
    letter-spacing: -0.1em;
    font-weight: 300;
    color: var(--text-alt-color);
    border-bottom: var(--text-alt-color) 2px solid;
    padding-left: 0.6em;
    padding-right: 0.6em;
    padding-bottom: -10px;
    text-align: center;
    color: var(--text-color);
    border-bottom: var(--text-color) 1.5px solid;
    font-size: 40px;
}

.sub {
    margin-top: 0.2em;
    font-family: 'Young serif';
    color: white;
    text-align: center;
    color: var(--text-color);
    font-size: 15px;
    letter-spacing: 0.08em;

}


.underline {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: bottom;
    align-items: center;
    border-bottom: var(--text-color) 2px solid;
    box-shadow: 0px 10px 5px -6px rgba(0, 0, 0, 0.452);
    width: 90%;


}


.section2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 90%;
    margin: 0;
    margin-left: auto;
    margin-right: auto;
    margin-top: 3em;

}

.cast-container {
    margin: 0;
    margin-top: 6em;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    width: 100%;

}

.cast-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1em;


}

img {
    width: 400px;

}

.role {

    font-size: 18px;
    font-weight: 400;
    border-top: var(--text-color) 1px solid;
    width: 60%;
    padding-top: 0.5em;
    margin-top: -1em;


}

@media (max-width: 1340px) {
    .cast-container {
        width: 100%;
    }

    img {
        width: 300px;
    }

}

@media (max-width: 768px) {
    :root {
        font-size: 16px;
    }

    .title {
        font-size: 1.2em;
        margin-top: 0vh;
        position: fixed;
        padding: 0.5em;

    }

    .sup {
        font-size: 1.2em;

    }

    .sub {
        font-size: 0.7em;
        margin-top: 0em;
        letter-spacing: 0.1em;

    }

    img {
        width: 200px;
    }

    .cast-container {
        width: 90%;
    }

}

@media (max-width: 700px) {
    .cast-container {
        width: 100%;
    }

    .section2 {
        width: 100%;
    }

}