/*FONTS*/
@font-face { font-family: Seagram; src: url('/fonts/SeagramTfb.ttf'); } 
@font-face { font-family: Poltawski; src: url('/fonts/PoltawskiNowy.ttf'); } 
@font-face { font-family: NowAlt; src: url('/fonts/NowAlt.otf'); }
/*@font-face { font-family: Delicious; font-weight: bold; src: url('Delicious-Bold.otf');}*/

html {
    /*min-height: 100vh;*/
    position: relative;
    background-color: #0B121B;
    background-size: 1920px 1080px;
    background-position: top center;
    background-attachment: fixed;

    font-family: "NowAlt";
    color: white;

    z-index: -100;

    overflow-x: hidden;
    max-width: 100%;
}

#background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("/images/style/background.png");
    background-repeat: repeat-x;
    background-size: 1920px 1080px;
    background-position: top center;
    z-index: -90;
}

body {
    margin: 0px;
    margin-top: 135px;
    padding: 0px;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 135px); /* subtract the margin-top */

    overflow-x: hidden;
    max-width: 100%;
}

.contenu {
    width: 100vw;
    flex: 1; /* instead of height: 100vh */
}

#hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 10%; /* left and right breathing room */
}

#hero h1 {
    margin-bottom: 0%;
}

#hero p {
    width: 50%;
}

#accueil-hero-btns {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.italic-now {
    font-family: 'Poltawski Nowy';
    font-style: italic;
    font-weight: 400;
    font-size: 24px;
    line-height: 158%;
    letter-spacing: -0.02em;

    display: flex;
    align-items: center;
    text-align: center;

    color: #D2D5C5;
}

h1 {
    font-family: 'Seagram';
    font-style: normal;
    font-weight: 400;
    font-size: 10vh;
    line-height: 77px;

    text-align: center;
    letter-spacing: 1.4748px;

    color: #D2D5C5;
}

h2 {
    font-family: 'Poltawski';
    font-style: italic;
    font-weight: 600;
    font-size: 64px;
    line-height: 83px;
    text-align: center;

    text-align: center;
    letter-spacing: 1.4748px;

    color: #D2D5C5;
}


h3 {
    font-family: 'Poltawski';
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 31px;
    text-align: center;

    text-align: center;
    letter-spacing: 1.4748px;

    color: #D2D5C5;
}


#logo {
    margin: 16px;
}

header {
    position: fixed;
    display: flex;
    align-items: center;

    top: 0;
    width: 100%;
    height: 90px;

    background: #1e1e1e94; /* Fond semi-transparent */
    backdrop-filter: blur(12px);           /* L'effet blur */
    -webkit-backdrop-filter: blur(12px);   /* Pour Safari */

    z-index: 1000;
}

header nav[aria-label="Liens navigation"] {
    display: flex;
    justify-content: space-evenly;
    flex: 1;
    margin-left: auto;
    margin-right: auto;
}
header nav[aria-label="Liens navigation"] a{
    color: white;
    text-decoration: none;
}
header nav[aria-label="Liens navigation"] a:hover{
    transform: scale(1.05);
    color: #4C437C;
    cursor: pointer;
}

header nav[aria-label="Liens importants"] {
    margin-left: auto;
    margin-right: 32px;
}

header nav[aria-label="Liens importants"] a:has(img) {
    display: flex;
    align-items: center;
}

header nav[aria-label="Liens importants"] img{
    height: 50px;
}

footer {
    margin-top: auto;
    background: #0B121B;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 10%;
    padding-bottom: 32px;
    padding-top: 48px;
}

footer a {
    color: #D2D5C5;
    text-decoration: none;
    margin: 0 16px;
}

.full-button, .line-button, .full-button-beige, .line-button-beige, .full-button-dark {
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.full-button-beige:hover, .line-button-beige:hover .full-button-dark:hover {
    transform: scale(1.05);
    opacity: 0.85;
    cursor: pointer;
}

.full-button:hover, .full-button:visited:hover{
    background-image: url("/images/style/button_empty.svg");
    color: white;
}

.line-button:hover, .line-button:visited:hover {
    background-image: url("/images/style/button_full.svg");
    color: #0B121B;
}

.full-button {
    position: relative;
    background-image: url("/images/style/button_full.svg");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    padding: 16px 32px;
    margin: 8px;
    color: #0B121B;
    text-decoration: none;
    transition: color 0.3s ease;
}

.full-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("/images/style/button_empty.svg");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.full-button:hover {
    color: white;
}

.line-button:hover::before {
    opacity: 1;
}

.full-button-dark {
    background-image: url("/images/style/button_dark_full.svg");
    background-size: 100% 100%;
    padding: 16px 32px;
    margin: 8px;
    background-repeat: no-repeat;  /* prevents tiling */
    background-position: center;   /* centers the image */

    color: #D2D5C5;
    text-decoration: none;
}

.full-button-beige {
    background-image: url("/images/style/button_full_beige.svg");
    background-size: 100% 100%;
    padding: 16px 32px;
    margin: 8px;
    background-repeat: no-repeat;  /* prevents tiling */
    background-position: center;   /* centers the image */

    color: #0B121B;
    text-decoration: none;
}

.full-button:visited, .full-button-beige:visited {
    color: #0B121B;
    text-decoration: none;
}

.line-button {
    position: relative;
    background-image: url("/images/style/button_empty.svg");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    padding: 16px 32px;
    margin: 8px;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.line-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("/images/style/button_full.svg");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.line-button:hover {
    color: #0B121B;
}

.line-button:hover::before {
    opacity: 1;
}

.line-button-beige {
    background-image: url("/images/style/button_line_beige.svg");
    background-color: transparent;
    background-size: 100% 100%;
    padding: 16px 32px;
    margin: 8px;
    background-repeat: no-repeat;  /* prevents tiling */
    background-position: center;   /* centers the image */

    color: white;
    text-decoration: none;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: none;
    cursor: pointer;
    font-size: inherit;
    font-family: inherit;
}

.line-button:visited, .line-button-beige:visited {
    text-decoration: none;
    color: white;
}

.full-button-purple {
    background-image: url("/images/style/button_full_purple.svg");
    background-color: transparent;
    background-size: 100% 100%;
    padding: 16px 32px;
    margin: 8px;
    background-repeat: no-repeat;  /* prevents tiling */
    background-position: center;   /* centers the image */

    color: #D2D5C5;
    text-decoration: none;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: none;
    cursor: pointer;
    font-size: inherit;
    font-family: inherit;
}

.full-button-purple:visited {
    text-decoration: none;
    color: #D2D5C5;
}

#accueil-hero-btns {
    display: flex;
    align-items: center;
}

#accueil-hero-btns a {
    min-width: 200px;
    text-align: center;
    padding: 20px 48px;  /* bigger hit area */
    font-size: 18px;     /* bigger text */
}

#inline-icons, #inline-icons-alt {
    margin: 0% 10%;
    margin-bottom: 10%;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

#inline-icons-alt {
    text-align: center;
    margin: 16px 0 16px 0;
    padding-top: 32px;
    padding-bottom: 8px;
}

#icons-text {
    background-image: url("/images/banners/banner_blurple.png");
    background-size: cover; /* or "100% 100%", or "contain" depending on the image */
    background-repeat: no-repeat;
    background-position: center;
    padding: 32px 10%; /* give the background room to show, since the container had no padding before */
    margin-top: 64px;
    margin-bottom: 64px;
}

#icons-text h2 {
    text-align: left;
    font-family: "Seagram";
    font-style: normal;
    font-size: 48px;
    color: #D2D5C5;
}

#inline-icons > div, #inline-icons-alt > div {
    flex: 1 1 calc(25% - 24px); /* 4 per row */
}

#story {
    display: grid;
    margin: 64px 15%;
    margin-left: 10%;
    grid-template-columns: 8fr 2fr;
    gap: 24px;
}

#story div {
    text-align: left;
}

#story div h2 {
    text-align: left;
    font-family: "Seagram";
    font-style: normal;
    font-size: 48px;
    color: #D2D5C5;
}
#story div h3 {
    font-family: "Poltawski";
    font-style: italic;
    text-align: left;
    font-size: 32px;
}
#story div p {
    color: #D2D5C5;
    font-size: 20px;
    margin-bottom: 32px;
}

#story img {
    margin: 0 auto;
    margin-top: 64px;
    height: 60%;
}

.game-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content:end;
    text-align: center;
    gap: 4px; /* tighten space between icon and texts */
}

.game-info img {
    width: 80px; /* adjust to taste */
}

.game-info h2, .game-info h3 {
    margin: 0;
}

#story-div {
    background-color: #D2D5C5;
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-height: 500px;
    overflow: hidden;
    align-items: center; /* vertically centers children in the grid */
}

#story-div img {
    width: 100%;
    height: 100%;
    max-height: 500px; /* match #story-div's max-height */
    object-fit: cover;
    object-position: center bottom; /* shows more of the bottom */
}

#story-div .lore {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 5% 10%; /* less vertical padding so content fits */
    text-align: left;
    box-sizing: border-box;
}

.lore h2 {
    text-align: left;
    font-family: 'Seagram';
    font-style: normal;
    font-weight: 400;
    font-size: 48px;
    line-height: 60px;
    color: #0B121B;
    margin: 0; /* remove all default margins */
}

.lore p {
    color: #0B121B;
    padding: 0;
    margin: 8px 0; /* small uniform margin */
    box-sizing: border-box;
}

.lore .full-button-dark {
    align-self: center;
    margin-top: 2%;
    padding: 20px 48px;
    font-size: 18px;
}

.video-wrapper {
    position: relative;
    width: 560px;
    aspect-ratio: 16 / 9; /* maintains proportions */
}

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

.center-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 5%;
}

.center-content h2 {
    font-family: 'Seagram';
    font-style: normal;
    font-weight: 400;
    font-size: 8vh;
    line-height: 77px;

    text-align: center;
    letter-spacing: 1.4748px;

    color: #D2D5C5;
}

#planning {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

#planning > div {
    display: grid;
    grid-template-columns: 120px 1fr; /* more room for the hour */
    align-items: center;
    gap: 0;
    padding: 12px 0;
}

#planning h6 {
    font-size: 24px;
    font-family: 'Poltawski';
    margin: 0;
    padding-right: 24px;
    text-align: left;
    color: #D2D5C5;
    align-self: stretch; /* stretches to full row height */
    display: flex;
    align-items: center; /* keeps text vertically centered */
}

#planning > div > *:last-child {
    padding-left: 32px;
    color: #D2D5C5;
}

#footer-elements {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 5%;
}

#footer-elements > div:first-child img {
    width: 240px;
    margin-right: 120px;
}

#footer-elements > div:first-child {
    flex-shrink: 0; /* logo keeps its size */
}

#footer-navs {
    display: flex;
    flex: 1;
    min-width: 0;
}

#footer-navs > .nav-div {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.nav-div nav a {
    width: auto;
    color: #D2D5C5;
    opacity: 48%;
    margin: 2px 0;
    line-height: 1.2;
    white-space: normal;
    word-break: break-word;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-div nav a:hover {
    color: #4C437C;
    transform: translateX(4px);
}

.nav-div nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* prevents links from stretching full width */
}

.nav-div h5 {
    font-size: 20px;
    margin: 0 0 16px 0; /* reduce bottom margin */
}

#footer-socials {
    display: flex;
    flex-direction: row;
    gap: 24px;
    margin-top: 48px;
    margin: 0 5%;
    justify-content: flex-end;
}

.login-form-frame {
    position: relative;
    background-image: url("/images/frames/medium_frame.svg");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;

    display: flex;
    flex-direction: column;
    justify-content: space-between; /* spreads h2 / form / spacing evenly */

    aspect-ratio: 1 / 1;
    box-sizing: border-box;
    width: 90%;
    max-width: 500px;
    margin: 16px auto 4px;
    padding: 4% 4%; /* even padding all around, no special-casing top */
}

.login-form-frame-alt {
    position: relative;
    background-image: url("/images/frames/big_frame.svg");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    /* no aspect-ratio, no fixed height — let content determine height */

    box-sizing: border-box;
    width: 90%;
    max-width: 500px;
    margin: 16px auto 4px;
    padding: 4% 4%;
}

.frame-large {
    position: relative;
    background-image: url("/images/frames/large_frame.svg");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    /* no aspect-ratio — let content determine height */

    box-sizing: border-box;
    width: 100%;
    max-width: 710px;
    margin: 16px auto 4px;
    padding: 4% 4%;
}

.login-form-frame-alt h2, .frame-large h2, .login-form-frame h2{
    font-family: "Seagram";
    font-style: normal;
    text-decoration: none;
    margin: 0; /* let flex gap/justify handle spacing instead */
}

#contenu {
    text-align: left;
}

.login-form {
    display: flex;
    flex-direction: column;
    align-items: start;
    width: 100%;
    min-width: 0; /* allow shrinking below content's intrinsic width */
    gap: 12px;
}

.login-form label {
    color: #D2D5C5;
    font-size: 16px;
    margin: 0; /* gap handles spacing now */
}

.login-form input[type="text"], .login-form input[type="password"], .login-form input[type="text"], .login-form input[type="date"], .login-form input[type="number"]{
    width: 100%;
    padding: 12px;
    box-sizing: border-box;
    border: none;
    border-radius: 4px;
    background-color: #D2D5C5;
    color: #1e1e1e;
    font-family: inherit;
    font-size: 16px;
}

.login-form .line-button-beige {
    align-self: center;
    margin-top: 12px; /* slightly extra breathing room before the CTA */
}

.login-form-frame h1 {
    text-align: left;
}

.login-form-frame > div:last-child {
    width: 100%;
    text-align: left;
}

.login-form .line-button-beige {
    align-self: center;
    margin-top: 12px;
    padding: 20px 56px;
    font-size: 20px;
    box-sizing: border-box;
    max-width: 100%;
}

.centered {
    display: flex;
    flex-direction: column;
    flex: 1;
    align-items: center;
    margin-bottom: 32px;
}

.centered p {
    color: #D2D5C5;
    margin-bottom: 0px;
}

.centered .full-button-purple {
    padding: 32px 64px;
    font-weight: bolder;
    font-size: 28px;
}

#triple-layout {
    margin-left: 10%;
    margin-right: 10%;
}

#triple-layout h2 {
    text-align: left;
    font-family: "Seagram";
    font-style: normal;
    font-size: 48px;
    color: #D2D5C5;
}
#triple-layout h3 {
    font-family: "Poltawski";
    font-style: italic;
    text-align: left;
    font-size: 32px;
}

.triple {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 24px;
    align-items: start;
}

.triple-top {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    grid-column: 1;
    grid-row: 1;
    /* stagger it down slightly */
    margin-top: 0;
}

.triple-bottom {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    grid-column: 1;
    grid-row: 2;
    /* remove the debug color */
    background-color: unset;
    /* stagger down relative to triple-top */
    margin-top: 16px;
}

.triple-right {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    grid-column: 2;
    grid-row: 1 / 3;
    /* remove the debug color */
    background-color: unset;
    /* vertically center within the two rows */
    align-self: center;
}

/* Icons sit outside the bubble, to the left */
/*.triple-top > img,
.triple-bottom > img,
.triple-right > img {
    width: 64px;
    flex-shrink: 0;
}*/

/* Right bubble is bigger */
.triple-right .info-bubble-3 {
    max-width: 100%;
    width: 100%;
}

#inclus {
    background-color: #3C3B26;
    padding: 48px 10%;
    box-sizing: border-box;
    width: 100%;
}

#inclus h2 {
    font-family: "Seagram";
    font-style: normal;
    font-size: 48px;
    text-align: left;
    color: #D2D5C5;
    margin: 0 0 8px 0;
}

#inclus h3 {
    font-family: "Poltawski";
    font-style: italic;
    font-size: 28px;
    text-align: left;
    color: #D2D5C5;
    margin: 0 0 16px 0;
}

#inclus h6 {
    font-family: "NowAlt";
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    color: #D2D5C5;
    text-align: left;
    margin: 0 0 16px 0;
}

#inclus ul {
    list-style: disc;
    padding-left: 20px;
    margin: 0;
    color: #D2D5C5;
    font-size: 14px;
    line-height: 2;
}

#inclus ul li strong {
    font-weight: 600;
}

#planning-section {
    background-image: url("/images/banners/banner_beige.png");
    background-size: cover;
    background-position: center;
    padding: 48px 10%;
    box-sizing: border-box;
}

#planning-section h2 {
    font-family: "Seagram";
    font-style: normal;
    font-size: 48px;
    text-align: left;
    color: #0B121B;
    margin: 0 0 24px 0;
}

#planning-section h3 {
    font-family: "Poltawski";
    font-style: italic;
    font-size: 32px;
    text-align: center;
    color: #0B121B;
    margin: 0 0 32px 0;
}

#planning {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

#planning > div {
    display: grid;
    grid-template-columns: 120px 1fr;
    align-items: center;
    gap: 0;
    padding: 12px 0;
}

#planning h6 {
    font-family: "Seagram";
    font-size: 24px;
    font-weight: 400;
    margin: 0;
    padding-right: 24px;
    text-align: right;
    color: #0B121B;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

#planning > div > *:last-child {
    padding-left: 32px;
    color: #0B121B;
    border-left: 2px solid #0B121B;
    align-self: stretch;
    display: flex;
    align-items: center;
}

#reglement {
    padding: 48px 10%;
    box-sizing: border-box;
}

#reglement h2 {
    font-family: "Seagram";
    font-style: normal;
    font-size: 48px;
    text-align: left;
    color: #D2D5C5;
    margin: 0 0 8px 0;
}

#reglement h3 {
    font-family: "Poltawski";
    font-style: italic;
    font-size: 28px;
    text-align: left;
    color: #D2D5C5;
    margin: 0 0 48px 0;
}

.marquee-bar {
    background-color: #4C437C;
    color: #D2D5C5;
    padding: 8px 0;
    font-size: 13px;
    letter-spacing: 2px;
    width: 100%;
    overflow: hidden;
}

.marquee-bar marquee {
    color: #D2D5C5;
}

.regle-cards {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
    margin: 0 auto;
    margin-top: 48px;
}

.regle-card {
    position: relative;
    background-image: url("/images/frames/purple_frame.svg");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    padding: 10% 8%;
    box-sizing: border-box;
    color: #D2D5C5;
}

.regle-card h4 {
    font-family: "NowAlt";
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    text-align: left;
    color: #D2D5C5;
    margin: 0 0 12px 0;
}

.regle-card p {
    font-family: "NowAlt";
    font-size: 14px;
    line-height: 1.6;
    color: #D2D5C5;
    margin: 0;
}

@media (max-width: 900px) {
    .regle-cards {
        grid-template-columns: 1fr;
    }
}

/* MOBILE VERSION */
@media (max-width: 900px) {
    #hero img {
        width: 70%; /* smaller logo */
    }

    #hero h1 {
        padding-top: 20%;
        margin-bottom: 0%;
        font-size: 6vh; /* smaller title */
    }

    #hero p {
        width: 80%;
    }

    .italic-now {
        font-size: 16px; /* smaller subtitle */
    }

    header nav[aria-label="Liens navigation"] {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 90px; /* height of header */
        left: 0;
        width: 100%;
        background: #1e1e1e94;
        backdrop-filter: blur(12px);
        padding: 16px 0;
    }

    header nav[aria-label="Liens navigation"].open {
        display: flex;
    }

    header nav[aria-label="Liens importants"] {
        margin-left: auto;
        margin-right: 8px; /* reduce margin */
    }

    #accueil-hero-btns {
        flex-direction: column;
    }

    .full-button, .line-button, .full-button-beige , .line-button-beige, .full-button-dark{
        padding: 10px 16px; /* reduce padding so buttons are narrower */
        font-size: 12px;    /* optionally shrink text too */
    }

    #logo img {
        content: url("/images/style/picto_hamburger.svg");
    }

    nav[aria-label="Liens importants"] {
        display: flex;
    }

    #inline-icons, #inline-icons-alt {
        margin: 5% 20%;
    }

    #inline-icons-alt > div, #inline-icons > div {
        flex: 1 1 calc(50% - 24px);
    }

    #inline-icons-alt > div img, #inline-icons > div img{
        height: 25%;
    }
    
    #story-div {
        grid-template-columns: 1fr;
    }

    #story-div > :first-child {
        display: none;
    }

    #story-div > div:last-child {
        width: 100%;
        overflow: visible;
    }

    #story-div .lore {
        padding: 8%;
        overflow: hidden;
    }

    .lore p {
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .video-wrapper {
        width: 100%; /* full width on mobile */
    }

    #footer-navs {
        flex-direction: column;
    }

    .nav-div h5 {
        margin: 0 0 8px 0; /* reduce bottom margin */
    }

    .nav-div {
        margin: 0 0 20px 0; /* reduce bottom margin */
    }

    #footer-elements > div:first-child img{
        width: 120px;
        margin-right: 32px;
    }

    #footer-socials {
        justify-content: center;
    }

    .login-form-frame-alt {
        aspect-ratio: unset;
        padding: 10% 10%;
    }
    .frame-large {
        padding: 10% 10%;
    }

    #story {
        display: flex;
        flex-direction: column;
        margin: 10% 10%;
    }

    #story img {
        display: none;
    }

    .triple {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
    }

    .triple-top {
        grid-column: 1;
        grid-row: 1;
    }

    .triple-bottom {
        grid-column: 1;
        grid-row: 2;
        margin-top: 0;
    }

    .triple-right {
        grid-column: 1;
        grid-row: 3;
        align-self: unset;
    }

    .triple-right .info-bubble-3 {
        width: 100%;
        max-width: 100%;
    }

    .triple-top > img, .triple-bottom > img, .triple-right > img {
        display: none;
    }

}