@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

:root {
    font-size: 16px;
    --main__yellow: #FFD11B;
    --main__black: #000000;
    --main__white: #FFFFFF;
    --main__burnedBlack: #1E1E1E;
    --level__color: white;
    --border__size: 0.45rem;
    font-family: "Nunito",
    sans-serif;
    /* 0.75rem == 12px
    1.25rem == 20px
    1.5rem == 24px
    1rem == 16px */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.body__container {
    background-color: var(--main__burnedBlack);
    width: 100%;
    height: auto;
    padding: 10rem calc(0.45rem + var(--border__size));
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
}

.content__container {
    width: 55%;
    max-width: 75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: var(--main__yellow);
    padding: 4rem 0rem;
    border-radius: 2.5rem;
    border: var(--main__black) var(--border__size) solid;
    /*level color outline*/
    outline: var(--level__color) 0.4rem solid;
    position: relative;
    gap: 1rem;
}

@media only screen and (max-width: 1025px) {
    .content__container {
        width: 80%;
    }
}

@media only screen and (max-width: 602px) {
    .content__container {
        width: 95%;
    }
}

/*POINTS + LEVEL */
.points__container {
    position: absolute;
    top: -6rem;
    left: -3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 0.5rem;
}

.points {
    max-width: 10rem;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 1rem;
    border-radius: 50%;
    border: var(--main__black) var(--border__size) solid;
    background-color: var(--level__color);
    text-align: center;
}

.points p.points__amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--main__yellow);
    line-height: 2.75rem;
    text-shadow: rgb(0, 0, 0) 2px 0px 0px, rgb(0, 0, 0) 1.75517px 0.958851px 0px, rgb(0, 0, 0) 1.0806px 1.68294px 0px, rgb(0, 0, 0) 0.141474px 1.99499px 0px, rgb(0, 0, 0) -0.832294px 1.81859px 0px, rgb(0, 0, 0) -1.60229px 1.19694px 0px, rgb(0, 0, 0) -1.97998px 0.28224px 0px, rgb(0, 0, 0) -1.87291px -0.701566px 0px, rgb(0, 0, 0) -1.30729px -1.5136px 0px, rgb(0, 0, 0) -0.421592px -1.95506px 0px, rgb(0, 0, 0) 0.567324px -1.91785px 0px, rgb(0, 0, 0) 1.41734px -1.41108px 0px, rgb(0, 0, 0) 1.92034px -0.558831px 0px;
}

.points p.points__description {
    font-size: 0.75rem;
    color: rgba(0, 0, 0, 50%);
    line-break: normal;
}

.level__title {
    padding-bottom: 2rem;
    font-size: 2rem;
    font-weight: 800;
    color: var(--level__color);
    text-transform: uppercase;
    text-shadow: rgb(0, 0, 0) 1px 0px 0px, rgb(0, 0, 0) 0.540302px 0.841471px 0px, rgb(0, 0, 0) -0.416147px 0.909297px 0px, rgb(0, 0, 0) -0.989992px 0.14112px 0px, rgb(0, 0, 0) -0.653644px -0.756802px 0px, rgb(0, 0, 0) 0.283662px -0.958924px 0px, rgb(0, 0, 0) 0.96017px -0.279415px 0px;
}

@media only screen and (max-width: 950px) {
    .level__title {
        padding-bottom: 3rem;
    }
}

@media only screen and (max-width: 600px) {
    .points {
        min-width: 7rem;
        max-width: 9rem;
        padding: 0.75rem;
    }

    .points p.points__amount {
        font-size: 3rem;
    }

    .points p.points__description {
        font-size: 0.7rem;

    }

    .level__title {
        padding-bottom: 3rem;
        font-size: 1.5rem;
    }
}

@media only screen and (max-width: 450px) {

    .points {
        max-width: 9rem;
        padding: 0.75rem;
    }

    .points p.points__amount {
        font-size: 2.5rem;
        text-shadow: rgb(0, 0, 0) 1px 0px 0px, rgb(0, 0, 0) 0.540302px 0.841471px 0px, rgb(0, 0, 0) -0.416147px 0.909297px 0px, rgb(0, 0, 0) -0.989992px 0.14112px 0px, rgb(0, 0, 0) -0.653644px -0.756802px 0px, rgb(0, 0, 0) 0.283662px -0.958924px 0px, rgb(0, 0, 0) 0.96017px -0.279415px 0px;

    }

    .points p.points__description {
        font-size: 0.65rem;
    }

    .level__title {
        font-size: 1.25rem;
    }
}

@media only screen and (max-width: 380px) {
    .points__container {
        position: absolute;
        top: -4rem;
        left: -2.5rem;
    }

    .level__title {
        padding-bottom: 4rem;
    }
}

/*LINKS*/
.links__container {
    width: 60%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
}

.links__container > a {
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--main__white);
    background-color: var(--main__black);
    width: 100%;
    text-align: center;
    padding: 0.75rem 0rem;
    border-radius: 3rem;
    transition: 0.3s ease-in-out;
}

a.snakesButton {
    border: 0.25rem solid #60EFA4;
    color: #60EFA4;
    text-align: left;
    padding-left: 1rem;
    position: relative;
    /*odleglosc od innych elementów */
    margin-top: 2rem;
}

a.snakesButtonDisabled {
    border: 0.25rem solid #919090;
    color: #919090;
    text-align: left;
    padding-left: 1rem;
    position: relative;
    /*odleglosc od innych elementów */
    margin-top: 2rem;
}

a.snakesButton img, a.snakesButtonDisabled img {
    height: 7rem;
    width: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto 0;
    right: 0;
    transition: 0.3s ease-in-out;
}


.links__container > a:hover, .links__container > a:focus {
    color: var(--main__black);
    background-color: var(--main__white);
}

a.snakesButton:hover img, a.snakesButton:focus img {
    rotate: 360deg;
}
a.snakesButton:hover, a.snakesButton:focus {
    border: 0.25rem solid var(--main__black);
    background: black;
    color: var(--main__white);
}
a.snakesButtonDisabled:hover, a.snakesButtonDisabled:focus {
    background: black;
    color: #919090;
}

@media only screen and (max-width: 1403px) {
    .links__container {
        width: 65%;
    }
}

@media only screen and (max-width: 1200px) {
    .links__container {
        width: 75%;
    }
}

@media only screen and (max-width: 720px) {
    .links__container {
        width: 90%;
    }

    .links__container > a {
        font-size: 1.125rem;
    }
}

/*FOOTER*/
.footer__container {
    padding: 1rem 2rem;
    text-align: center;
    text-transform: uppercase;
}

.footer__container a {
    text-decoration: none;
    color: rgba(0, 0, 0, 33%);
    transition: 0.3s ease-in-out;
}

.footer__container a:hover {
    text-decoration: none;
    color: rgba(0, 0, 0, 75%);
}

a.goBack__container {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 0.75rem;
    text-decoration: none;
    border: 0.125rem solid var(--main__black);
    padding: 0.25rem 1rem;
    border-radius: 2rem;
    transition: 0.3s ease-in-out;
}

a.goBack__container:hover {
    opacity: 60%;
}

p.goBack__txt {
    color: var(--main__black);
    opacity: 50%;
}

p.goBack__X {
    font-size: 2rem;
    font-weight: 800;
    color: var(--main__black);
}


@media only screen and (max-width: 720px) {
    a.goBack__container {
        position: absolute;
        right: 1rem;
        top: 1rem;
        padding: 0.125rem 0.5rem;
        gap: 0.5rem;
    }

    p.goBack__X {
        font-size: 1.5rem;
    }
}
