body {
    min-width: 1240px;
}

#container {
    padding-top: var(--topbar-height);
    height: 100%;
    background-size: cover;
    box-sizing: border-box;
}

#container.error404 {
    padding-top: 0;
    background: #f5f5f5;
}

.page-main-container {
    background-image: url(/static/img/new-layout/pet/treasure-hunt/backgrounds/1.jpg);
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    min-height: calc(100vh - var(--topbar-height));
}

#main-section {
    width: 1240px;
    padding: 159px 20px 30px;
    margin: auto;
    box-sizing: border-box;
    position: relative;
}

/* Reserre la main-section sur les écrans avec peu de place verticalement */
@media (max-height: 800px) {
    #main-section {
        padding: 103px 20px 0;
    }
}

.section-title {
    color: var(--title-text-color);
    font-family: "Alegreya Sans SC", sans-serif;
    font-size: 45px;
    line-height: 45px;
    font-weight: 900;
    text-transform: uppercase;
    margin: 10px auto;
    text-shadow: 0 0 4px rgba(255, 255, 255, 0.5);
}

.section-title.white {
    color: #fff;
}

.section-subtitle {
    color: var(--title-text-color);
    font-family: "Alegreya Sans SC", sans-serif;
    font-size: 30px;
    line-height: 30px;
    font-weight: 700;
    text-transform: uppercase;
    margin: auto;
    text-align: left;
    text-shadow: 0 0 4px rgba(255, 255, 255, 0.5);
}

.section-subtitle.white {
    color: #fff;
}

.section-content {
    padding: 10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 7px;
    border: solid 3px rgba(255, 255, 255, 0.25);
}

#layout-2col {
    display: flex;
    min-height: calc(100vh - var(--topbar-height));
}

#layout-2col > div {
    box-sizing: border-box;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 110px 30px 30px;
}

#layout-2col #layout-2col-left {
    padding-right: 60px;
    flex: 0.35;
}

#layout-2col #layout-2col-right {
    background: rgba(255, 255, 255, 0.9);
    padding-left: 0;
    flex: 0.65;
    z-index: 2;
}

#layout-2col-left:before {
    content: '';
    background: url(/static/img/home/wave.png) no-repeat right;
    background-size: 100% 100%;
    width: 149px;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0.9;
    z-index: 2;
}
