:root {
    --stoic-navbar-color: #5187be;
    --stoic-background-color: #222323;
    --stoic-text-color: #ffffff;
    --stoic-link-color: #b63c35;
}

@font-face {
  font-family: "Stoic";
  src: url('Fonts/04b_25__.woff2') format('woff2');
  font-size: 16px;
  line-height: 16px;
  font-weight: normal;
  font-style: normal;
  font-display: swap; /* Helps text load faster */
  -webkit-font-smoothing: none;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: none;
  -moz-text-size-adjust: none;
  font-smooth: 16px;
  text-rendering: crispEdges;
  text-size-adjust: none;
  filter: contrast(100.00001%);
}

/* Resets styling of every element */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Changing scroll in html */
html {
    scroll-behavior: smooth;
}

/* Anchor Tags */
a {
    color: var(--stoic-link-color);
    text-decoration: none;
}


/* EVERYTHING ABOVE IS MOSTLY STANDARD FOR ALL CSS FILES */

/* Setting up body text */
.body-two {
    font-family: 'Stoic', sans-serif;
    background-color: var(--stoic-background-color);
    text-align: center;
    
}

.body-two p {
    color: var(--stoic-text-color);
}

.page-two {
    background-color: var(--stoic-background-color);
}


/* NAVBAR */
.stoic-nav {
    background-color: var(--stoic-navbar-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    height: 80px;
}

.stoic-nav .left i {
    color: var(--stoic-text-color);
    font-size: 20px;
    padding: 10px;
}

/* NAVBAR LEFT */
.stoic-nav .left a{
    color: var(--stoic-text-color);
    font-size: 24px;
    font-weight: 600;
}

/* NAVBAR RIGHT */
.stoic-nav .right a{
    color: var(--stoic-text-color);
    font-size: 16px;
    margin: 0 10px;
}

.stoic-nav .right a:last-child {
    color: var(--stoic-background-color);
    background-color: var(--stoic-text-color);
    padding: 5px 15px;
    border-radius: 5px;
}

.stoic-nav .right a span {
    margin-left: 5px;
}

.stoic-title-div {
    text-align: center;
}

.stoic-title-div .stoic-title-img {
    width: 20%;
    height: auto;
}

.stoic-title-div p {
    font-family: 'Fira Sans';
    font-size: 24px;
    font-weight: 400;
    font-style: normal;
    margin-bottom: 80px
}

.link-to-steam {
    color: var(--stoic-navbar-color);
    width: 10%;
    margin: 30px auto;
    border: 2px solid var(--stoic-navbar-color);
    border-radius: 15px;
}

.link-to-steam span {
    color: var(--stoic-navbar-color);
}

.link-to-steam i {
    color: var(--stoic-navbar-color);
}

/* Centers the row vertically and horizontally on the viewport */
.page-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  
  background-color: #222; /* Matches your dark background */
}

/* The horizontal flex row containing the two blocks */
.row-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;        /* Controls the exact distance between the two boxes */
  width: 90%;       /* Prevents the boxes from touching the screen edges */
  max-width: 1200px; /* Limits the overall width so text doesn't stretch too thin */
}

/* The magic step: Forces both boxes to have the exact same size */
.box-column {
  flex: 1;          /* Distributes space completely evenly (50% / 50%) */
  
  /* Optional: Adds styling to match your box drawing layout */
  border: 2px solid white; 
  border-radius: 20px;
  padding: 24px;
  color: white;
}

.stoic-video {
    flex: 1; 
    margin-top: 0px;
}

.box-column p {
    font-family: 'Fira Sans';
    font-weight: 400;
    font-style: normal;
    text-align: justify;
    max-width: 65ch;
    margin: 20px 0;
}

.stoic-artwork-title p {
    padding: 80px 0;
    font-size: 32px;
}

/* Constrain the outer Bootstrap frame box */
#stoicCarousel {
  width: 100%;
  max-width: 600px;     /* Set your desired width limit */
  margin: 0 auto;       /* Centers it in the column */
  border-radius: 8px;
  overflow: hidden;
}

/* Force the Bootstrap images to crop cleanly to a fixed height */
.carousel-custom-img {
  height: 400px;        /* Set your desired height limit */
  object-fit: cover;    /* Crops the images seamlessly without stretching */
}

.stoic-artwork-title {
    margin-bottom: 80px;
}
.stoic-artwork-title img {
    margin: 0 auto;
    margin-bottom: 30px;
    display: block;
}

.stoic-video {
  position: relative;
  width: 100%;
  max-width: 800px; /* Optional: Sets a maximum size for desktop screens */
  aspect-ratio: 16 / 9; /* Maintains perfect video proportions */
}

.stoic-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Tablet View (Max-width: 992px) */
@media (max-width: 992px) {
    .stoic-nav {
        padding: 0 20px;
    }

    .row-container {
        flex-direction: column;
        gap: 40px;
        width: 90%;
    }

    .stoic-title-div .stoic-title-img {
        width: 40%;
    }

    .link-to-steam {
        width: 30%;
    }

    .stoic-artwork-title img {
        max-width: 80%;
        height: auto;
    }
}

/* Mobile View (Max-width: 768px) */
@media (max-width: 768px) {
    .stoic-nav {
        height: 60px;
        padding: 0 15px;
    }

    /* Hide text labels in navbar, leaving only icons visible */
    .stoic-nav .left a {
        font-size: 0px; 
    }
    .stoic-nav .left a i {
        font-size: 20px; 
        padding: 0;
    }

    .stoic-nav .right a {
        font-size: 0px; 
        margin: 0 4px;
    }
    .stoic-nav .right a i {
        font-size: 18px; 
    }

    /* Fixed email button cropping: reset padding/dimensions 
    so it shapes around the icon */
    .stoic-nav .right a:last-child {
        padding: 8px 10px;
        font-size: 0px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 5px;
    }
    .stoic-nav .right a:last-child i {
        font-size: 16px;
        margin: 0;
    }
    .stoic-nav .right a:last-child span {
        display: none;
    }

    .stoic-title-div .stoic-title-img {
        width: 60%;
    }

    .link-to-steam {
        width: 50%;
    }

    .stoic-artwork-title img {
        max-width: 90%;
        height: auto;
    }

    .carousel-custom-img {
        height: 280px;
    }

    #stoicCarousel {
        max-width: 90%;
    }
}

/* Small Mobile View (Max-width: 480px) */
@media (max-width: 480px) {
    .stoic-title-div .stoic-title-img {
        width: 80%;
    }

    .stoic-title-div p {
        font-size: 18px;
        margin-bottom: 40px;
    }

    .link-to-steam {
        width: 70%;
    }

    .stoic-artwork-title img {
        max-width: 100%;
        height: auto;
    }

    .carousel-custom-img {
        height: 220px;
    }
}