body {
    max-width: 1000px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    font-family: 'Geologica', sans-serif;
    background-color: #EACE09;
}

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

a:hover {
    text-decoration: underline;
}

.video-container {
    display: flex; /* Keeps everything looking good, not sure how. */
    flex-direction: column; /* Stack stuff vertically. */
}


/* Page Title & Navbar */
.title-nav-background {
    flex-shrink: 0;
    position: relative;

    background-color: black;

    padding: 0 10px 0;
    margin-top: 20px; /* Adds some space between the top of the page and the title/navbar */
    border-radius: 16px; /* Rounds off the corners */
}

.title {
    font-size: 32px;
    margin-top: 10px;
    text-align: center;
    color: white;
}

.navbar {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    margin-top: -30px;
    margin-bottom: 0;
    width: 100%;
}

.navbar-button-left {
    background-color: #9A9A9A; /* Sets the color of the button to indicate which page the user is on. */

    border-radius: 10px 0 0 10px; /* Adds some rounding to the left of the button. */
    padding: 10px 34px;
    border: none;

    cursor: pointer; /* Changes the cursor to a pointer, so the user knows the button is clickable. */
}

.navbar-button-middle-left {
    background-color: white; /* Sets the color of the button to indicate which page the user is on. */

    padding: 10px 20px;
    border: none;

    cursor: pointer; /* Changes the cursor to a pointer, so the user knows the button is clickable. */
}

.navbar-button-middle-right {
    background-color: #9A9A9A; /* Sets the color of the button to indicate which page the user is on. */

    padding: 10px 20px;
    border: none;

    cursor: pointer; /* Changes the cursor to a pointer, so the user knows the button is clickable. */
}

.navbar-button-right {
    background-color: #9A9A9A; /* Sets the color of the button to indicate which page the user is on. */

    border-radius: 0 10px 10px 0; /* Adds some rounding to the right of the button. */
    padding: 10px 20px;
    border: none;

    cursor: pointer; /* Changes the cursor to a pointer, so the user knows the button is clickable. */
}

/* Navbar colouring on Home. */
.navbar-button-left-inactive:hover {
    background-color: white; /* Sets the color of the button to indicate which page the user is on. */
}

.navbar-button-middle-left:hover {
    background-color: white; /* Sets the color of the button to indicate which page the user is on. */
}

.navbar-button-middle-right:hover {
    background-color: white; /* Sets the color of the button to indicate which page the user is on. */
}

.navbar-button-right:hover {
    background-color: white; /* Sets the color of the button to indicate which page the user is on. */
}


/**
 * Image and Stats
 */

.pic-stats-career {
    margin-top: 20px; /* Adds some space between the navbar/title & the image and info section. */

    display: flex; /* Keeps everything looking good, not sure how. */
    flex-direction: column; /* Stack stuff vertically. */
    align-items: center; /* Keeps stuff in the centre. */
}

.pic-stats-career h2 { /* The title for each 'box'. (Stats / Career) */
    margin-top: 0; /* Keeps the top of the title tight with the div. */
    margin-bottom: 0; /* Keeps the bottom of the title tight with the text. */
    padding: 5px;
    border-radius: 10px;

    color: black;

    font-size: 40px;
    background-color: white;
    text-align: center
}

.image-wrapper-main {
    background-color: black;
    border: 10px solid black;
    border-radius: 20px;
}

.image-wrapper-main img {
    width: 100%; /* Allows the image to fill the container, without overlapping the borders */
    max-width: 700px; /* Caps the amount the image can expand to 700px */

    border-radius: 10px; /* Rounds off the corners. Making the rounding smaller than the container looks better. */
}

.image-title {
    color: white; /* Makes the text white. */
    text-align: center; /* Aligns the text to the centre. */

    margin: 15px; /* Adds a margin around the text so its not touching the video, gives it some space. */
}

.info {
    margin-top: 20px; /* Adds some space between the image & the info section. */

    display: flex; /* Keeps everything looking good, not sure how. */
    flex-direction: row; /* Stack stuff vertically. */
}

.stats {
    border-radius: 16px;
    border: 10px solid black;
    background-color: black;

    width: 100%;
    max-width: 370px;
    margin-right: 20px;
}

.stats p {
    color: white;
    text-align: center;
    margin-bottom: 50px; /* Spreads out the text so it fills about the same space as the Career section */
}

.stats-top {
    margin-top: 0;
}

.stats-bottom {
    margin-bottom: 0;
}

.career {
    border-radius: 16px;
    border: 10px solid black;
    background-color: black;

    width: 100%;
    max-width: 370px;
}

.career p {
    color: white;
    text-align: center;
}

.career h3 {
    color: white;
    text-align: center;
}

.career i {
    background-color: white;
    color: black;
    padding: 5px;
    border-radius: 10px;
}


/* Video Player Container. */
.video-container {
    display: flex;
    flex-direction: column; /* Stack vertically by default. */

    margin-top: 40px; /* Adds some space between the video container and the navbar. */
}


/* Main Video Container. */
.main-video {
    margin: 0; /* Keeps everything looking good, not sure how. */
}


/**
 * Identifier for Section.
 */
.section-title {
    display: flex; /* Keeps everything looking good, not sure how. */
    flex-direction: row; /* Keeps stuff in a row form, so the two sub-divs appear next to each other. */
}

.section-title-clip-number {
    background-color: black; /* Sets the background of the div to black */
    border-radius: 15px; /* Rounds off the corners */
    margin-bottom: 10px; /* Adds some separation between the main video and the section title */

    display: flex; /* Keeps everything looking good, not sure how. */
    flex-direction: column; /* Keeps stuff in a column form, so the caption appears underneath the video. */

    width: 25%; /* Width of the section */
    margin-right: 10px; /* Adds some space between the two sub-divs. */
}

.section-title-clip-number p {
    color: white; /* Makes the text white. */
    text-align: center; /* Aligns the text to the centre. */
    margin: 10px; /* Adds some space between the text and the edge of the div. */

    display: flex; /* Keeps everything looking good, not sure how. */
    flex-direction: column; /* Keeps stuff in a column form, so the caption appears underneath the video. */
}

.section-title-career {
    background-color: black; /* Sets the background of the div to black. */
    border-radius: 15px; /* Rounds off the corners. */
    margin-bottom: 10px; /* Adds some separation between the main video and the section title. */

    display: flex; /* Keeps everything looking good, not sure how. */
    flex-direction: column; /* Keeps stuff in a column form, so the caption appears underneath the video. */

    width: 50%; /* Width of the section */
    margin-right: 10px; /* Adds some space between the two sub-divs. */
}

.section-title-career p {
    background-color: white; /* Sets the background of the div to white. */
    border-radius: 10px; /* Rounds off the corners. */

    color: black; /* Makes the text black. */
    text-align: center; /* Aligns the text to the centre. */
    margin: 10px; /* Adds some space between the text and the edge of the div. */

    display: flex; /* Keeps everything looking good, not sure how. */
    flex-direction: column; /* Keeps stuff in a column form, so the caption appears underneath the video. */
}

.section-title-number {
    background-color: black; /* Sets the background of the div to black */
    border-radius: 15px; /* Rounds off the corners */
    margin-bottom: 10px; /* Adds some separation between the main video and the section title */

    display: flex;
    flex-direction: column;

    width: 25%; /* Width of the section */
}

.section-title-number p {
    color: white; /* Makes the text white. */
    text-align: center; /* Aligns the text to the centre. */
    margin: 10px; /* Adds some space between the text and the edge of the div. */

    display: flex; /* Keeps everything looking good, not sure how. */
    flex-direction: column; /* Keeps stuff in a column form, so the caption appears underneath the video. */
}

/**
 * Main Video
 */

.video-wrapper {
    background-color: black; /* Adds the black background. */
    border-left: 10px solid black; /* Adds a black, solid, 10px rim around the video */
    border-right: 10px solid black; /* Adds a black, solid, 10px rim around the video */
    border-top: 10px solid black; /* Adds a black, solid, 10px rim around the video */
    border-radius: 16px; /* Rounds off the corners. */

    display: flex; /* Keeps everything looking good, not sure how. */
    flex-direction: column; /* Keeps stuff in a column form, so the caption appears underneath the video. */
}

.video-wrapper video {
    border-radius: 10px; /* Rounds off the corners */
}

.video-title {
    color: black; /* Makes the text black */
    text-align: center; /* Aligns the text to the centre. */

    background-color: white; /* Makes the text's background white */
    border-radius: 10px; /* Rounds off the background's corners */

    margin-top: 10px; /* Adds a margin above the text so its not touching the video, gives it some space. */
    margin-bottom: 10px; /* Adds a margin below the text, gives it some space. */
}


/* Other Videos Container*/
.other-videos {
    margin-top: 0;
}

.more-videos-title {
    text-align: center;
    margin-bottom: 5px;
}

.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.thumbnail-wrapper {
    background-color: black;
    border-radius: 10px; /* Rounds off the corners */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.thumbnail {
    width: 100%;
    border-radius: 10px; /* Rounds off the corners */
}

.thumbnail:hover {
    cursor: pointer;
}

.thumbnail-title { /* thumbnail-title */
    color: white;
    text-align: center;
}


/**
 * Statement
 */
.statement {
    /* margin-bottom: 100px; */ /* This was to add separation between the footer and the statement, not needed now. */
    text-align: justify;

    margin-top: 50px;
    font-size: 16px;
}

.statement h3 {
    text-align: right;
}


/**
 * Footer
 */
.footer {
    display: flex;
    flex-direction: row;
    padding-top: 50px;
    padding-bottom: 50px;
}

.footer p {
    color: black;
    font-family: sans-serif;
    font-weight: bold;
    text-align: center;
    padding-left: 20px;
    padding-top: 25px;
}


/**
 * Code for the FB Post images.
 */
.image-stack-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch; /* Ensures the items stretch to match heights */
    margin-top: 20px; /* Adds some space between the previous section and this section */
}

.image-stack {
    display: flex;
    flex-direction: column;
    gap: 10px; /* Adds space between the stacked images */
    justify-content: space-between;
    height: 100%; /* Ensures the stacked images fill the available height */
    margin-left: 10px; /* Adds the same gap size as between the stacked images */
}

.image-wrapper {
    background-color: black;
    border: 10px solid black;
    border-radius: 20px;
    flex: 1; /* Ensures the stacked images are evenly distributed */

}

.image-wrapper img {
    width: 100%; /* Allows the image to fill the container */
    height: 100%; /* Ensures the image fills the height of the container */
    object-fit: cover; /* Ensures the image covers the entire container while maintaining aspect ratio */
    border-radius: 10px; /* Rounds off the corners */
}


/**
 * Move the stats and career divs to flank the image when the page is the right width.
 */
@media (min-width: 1400px) {
    .stats {
        position: absolute;
        top: 191px;
        left: 50%;
        transform: translateX(-50%) translateX(-575px);
        height: 655px;
    }

    .stats p {
        margin-top: 65px;
    }

    .career {
        position: absolute;
        top: 191px;
        right: 50%;
        transform: translateX(50%) translateX(575px);
    }

    .video-wrapper {
        margin-top: 5px;
    }
}