body {
    padding-top: 0%;
    background-color: rgb(251, 244, 231);
}

#warning-container {
    background: white;
    height: 100vh;
    width: 100%;
    display: none;
    font-size: 3em;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: 1s;
}

@media (max-width: 576px) {
    #warning-container {
        display: flex;
    }
}

.comic-container {
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    height: calc(100vh - 85px);
    scroll-behavior: smooth;
    /* position: relative;
    top: 90px; */
    margin-top: 85px;
}

.comic-page {
    position: relative;
    /*width: 100vw;*/
    height: calc(100vh - 85px);
    scroll-snap-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: rgb(251, 244, 231);
    overflow: hidden;
    /*border: #4CAF50 solid 5px;*/
}

.comic-content {
    position: relative;
    max-width: 100vw;
    max-height: 100vh;
    aspect-ratio: 1440/754;
    box-sizing: content-box;
    object-fit: contain;
    /* width: 1440px;
    height: 754px; */
    display: flex;
    justify-content: center;
    align-items: center;
    /*background-color: sienna;*/
    /*border: chocolate solid 5px;*/
    font-size: min(2.5vw, 5.18vh);
}

.comic-content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    /*border: blue solid 5px;*/
}

.text-box {
    position: absolute;
    /*padding: 10px;*/
    color: rgb(15, 15, 108);
    /*font-size: min(2.5vw, 5.18vh);*/
    font-weight: bold;
    text-align: left;
    line-height: 1.2;
    /*border: #c9f2fd solid 5px;*/
    overflow: visible;
    text-wrap: nowrap;
}

.text-box-interactive {
    transition: 0.3s;
}

.text-box-interactive:hover {
    font-size: 1.0em !important;
}

.page5person {
    position: absolute;
    left: 5%;
    bottom: 15%;
    width: 8em !important;
    height: 8em !important;
    z-index: 5;
    opacity: 0;
    transition: opacity 0.3s;
}

.opac1 {
    opacity: 1;
}

.phone-container {
    scroll-snap-type: x mandatory;
    overflow-x: scroll;
    width: 68.3%;
    height: 65%;
    scroll-behavior: smooth;
    /* border: black solid 5px; */
    position: absolute;
    top: 18%;
    left: 20.9%;
    border-radius: 1em;
    display: flex;
    flex-direction: row;
    font-size: 0.8em;
}

.phone-screen {
    position: relative;
    height: 100%;
    width: 100%;
    /* Ensure each screen takes up the full width of the container */
    flex: 0 0 100%;
    /* Ensure only one screen is visible at a time */
    scroll-snap-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    overflow: hidden;
}

.phone-screen img {
    width: 100%;
    height: auto;
    object-fit: contain;
}


/* Links Page */

.links-container {
    /* height: 100vh; */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    margin-top: 10px;
    gap: 100px;
    font-size: 1.5em;
    flex-wrap: wrap;
}

.links-container a {
    text-decoration: none;
}

.links-list img:hover {
    transform: scale(1.1);
}

.links-poster {
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    border-radius: 30px;
    padding: 10px;
    border: #051b6b solid 5px;
}

.links-title {
    font-size: 3em;
    font-weight: bold;
    color: #051b6b;
    text-align: right;
    background: white;
    border-radius: 30px;
    padding: 10px;
    border: #051b6b solid 5px;
    text-align: center;
    margin-top: 100px;
}

.links-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    background: white;
    border-radius: 30px;
    padding: 10px;
    border: #051b6b solid 5px;
    text-align: center;
    margin: 100px 0;
}

.links-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.links-btn img {
    width: 10vw;
    height: auto;
    object-fit: contain;
    transition: 0.5s;
}

.video-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: rgb(251, 244, 231);
}

.video-iframe {
    top: 16%;
    left: 25%;
    width: 60%;
    aspect-ratio: 16 / 9;
    position: absolute;
}

.jamboree-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 500px;
    background: url("https://static.igem.org/websites/jamboree/2024/photos/closing-section-bg.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    color: white;
    padding: 20px;
}