

/*section#urseroi {*/
/*    margin: 120px auto 0;*/

/*}*/
section#urseroi a {
    color: #ffffff;
}
section#urseroi .bearsContainer {
    display: flex;
    justify-content: center;
    gap: 4em;
    background: #ffffff;
    padding: 3em 0;
    position: relative;

}
section#urseroi .bearsContainer:nth-of-type(even) {
    background: rgba(214,241,235,1);
}
section#urseroi .bearsContainer:nth-of-type(even) .bearsImage {
    order: 2;
}
section#urseroi .bearsContainer:first-of-type {
    background: url("../../images/gamesPresentationBg.jpg?v=3") center/cover no-repeat;
    padding: 12em 0 10em;
}
section#urseroi .bearsContainer:nth-of-type(3),
section#urseroi .bearsContainer:nth-of-type(5),
section#urseroi .bearsContainer:nth-of-type(7) {
    margin: 4em auto;
}
/*section#urseroi .bearsContainer:first-of-type .bearsImage img {*/
/*    max-width: 450px;*/
/*}*/
section#urseroi .bearsContainer .bearsImage img {
    /*max-width: 325px;*/
    z-index: 2;
    position: relative;
}
section#urseroi .bearsContainer .bearsDescription {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2em;
    z-index: 2;
}
section#urseroi .bearsDescription h1.title {
    text-align: left;
    max-width: 15ch;
    margin: unset;
}
section#urseroi .bearsDescription h2 {
    text-align: left;
}
section#urseroi .bearsDescription p {
    font-size: 1.2rem;
    font-weight: 500;
    text-align: left;
    max-width: 40ch;
    margin: 0;
}
section#urseroi .bearsContainer:first-of-type .animatedWave {
    display: none;
}
section#urseroi .animatedWave {
    position: absolute;
    top: -71%;
    left: 0;
    z-index: -1;
}
section#urseroi .bearsContainer:nth-of-type(even) .animatedWave:first-of-type {
    transform: rotate(1turn);
    position: absolute;
    top: -32%;
    left: 0;
    z-index: 1;
}
section#urseroi .bearsContainer:nth-of-type(even) .animatedWave {
    transform: rotate(0.5turn);
    bottom: -35%;
    top: unset;
    z-index: 1;
}
section#urseroi .bearsContainer:nth-of-type(even) .animatedWave .wavePath {
    fill: rgba(217,242,236,1);
}


@media screen and (max-width: 960px) {
    section#urseroi .bearsContainer {
        align-items: center;
        padding: 3em 0;
    }

    /*section#urseroi .bearsContainer .bearsImage img {*/
    /*    max-width: 235px;*/
    /*}*/

    section#urseroi .bearsContainer:first-of-type .bearsImage img {
        max-width: 275px;
    }

    section#urseroi .bearsContainer:nth-of-type(even) .animatedWave:first-of-type {
        top: -68%;
    }

    section#urseroi .bearsContainer:nth-of-type(even) .animatedWave {
        bottom: -62%;
    }

    section#urseroi .bearsDescription p {
        font-size: 1rem;
        max-width: 28ch;
    }

    section#urseroi .bearsDescription .button {
        font-size: 1.2rem;
        max-width: 205px;
    }
}

@media screen and (max-width: 420px) {
    section#urseroi .bearsContainer {
        flex-direction: column;
    }
    section#urseroi .bearsContainer:first-of-type {
        background: url(../../images/gamesPresentationBgMobile.jpg?v=2) left/cover no-repeat;
    }
    section#urseroi .bearsContainer .bearsDescription {
        align-items: flex-start;
        min-width: 250px;
    }
    section#urseroi .bearsContainer:first-of-type .bearsImage img {
        max-width: 350px;
    }
    section#urseroi .bearsContainer:first-of-type  .bearsDescription{
        max-width: 250px;
    }
    section#urseroi .bearsDescription h1.title {
        align-self: flex-start;
    }
    section#urseroi .bearsContainer:nth-of-type(even) .bearsImage {
        order: unset;
    }
    section#urseroi .bearsDescription p {
        font-size: 1.1rem;
    }
    section#urseroi .bearsContainer {
        padding: 1em 0;
        /*margin: 1em 0;*/
    }
    section#urseroi .bearsContainer:nth-of-type(even) .animatedWave:first-of-type {
        top: -20%;
    }
    section#urseroi .bearsContainer:nth-of-type(even) .animatedWave {
        bottom: -20%;
    }
    section#urseroi .bearsContainer:first-of-type {
        padding: 6em 0 3em;
    }
}
