/* ----------------- How to participate? ----------------- */

.rules {
    display: flex;
    padding: 0rem 2.6rem 1.8rem 2.6rem;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 2.0rem;
}

.rules .item {
    display: flex;
    height: 6rem;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 3.4rem;
}

.rules .item .number {
    display: flex;
    width: 3.4rem;
    color: var(--clr-gold);
    font-family: 'Degular Black', sans-serif;
    font-size: 5.5rem;
    line-height: 4.6rem;
    text-align: right;
    border-bottom: solid var(--clr-yellow) 0.3rem;
    justify-content: center;
}

.rules .desc {
    color: var(--clr-black);
    font-family: 'Degular Medium', sans-serif;
    font-size: 1.9rem;
    line-height: 2.5rem;
    text-align: left;
    text-wrap: nowrap;
}

.rules .desc a,
.rules .desc a:hover, 
.rules .desc a:visited {
    color: var(--clr-black);
    font-weight: 900;
    text-decoration: underline;
}

/*
.rules .dottedLine {
    position: absolute;
    top: 0;
    left: 2.6rem;
    margin: 4.5rem 1.75rem 0 1.75rem;
    position:absolute;
    height: 75%;
    width: 0;
    border-left: dashed 0.1rem #2A41A433;
}
*/


/* ----------------- Participate form ----------------- */

#participateForm {
    padding: 0.9rem;
}


/* ------- Prices ------- */

#prices {
    margin-top: 7rem;
    background-color: var(--clr-yellow-sheer);
}

#prices .h2 {
    margin-bottom: 1.2rem;
}

#prices .tilda {
    position: absolute;
    background-image: url("/public/images/soutez/assets/tilda.svg");
}

#prices .tilda.top {
    top: -1.6rem;
    left: -0.7rem;
    width: 12.5rem;
    height: 4.8rem;
}

#prices .tilda.bottom {
    bottom: 4rem;
    right: -0.8rem;
    width: 8.1rem;
    height: 3.1rem;
}


/* ----------------- Info and Error pages----------------- */

#status,
#error {

}

#status .h3,
#error .h3,
#win .h3,
#underage .h3 {
    margin-bottom: 3.2rem;
    color: var(--clr-white);
    font-family: 'Degular Black', sans-serif;
    font-size: 5.0rem;
    line-height: 5.4rem;
    font-weight: 500;
    letter-spacing: 0.2rem;
    text-shadow: 0.0rem 0.0rem 4.3rem #00000088,
        0.0rem 0.0rem 0.6rem #00000066;
}

#status .text,
#error .text,
#win .text {
    margin-bottom: 4.0rem;
    color: var(--clr-white);
    font-family: 'Degular Medium', sans-serif;
    font-size: 2.2rem;
    line-height: 2.7rem;
    font-weight: 400;
    text-shadow: 0.0rem 0.0rem 2.3rem #00000088,
        0.0rem 0.0rem 0.4rem #000000;
}

#win .text {
    margin-bottom: 0.0rem;
}

#status .buttonBackground,
#error .buttonBackground,
#win .buttonBackground {
    height: 6.2rem;
    width: 26.0rem;
}

#status .buttonBackground .button,
#error .buttonBackground .button,
#win .buttonBackground .button {
    padding: 1.4rem;
}


/* ----------------- Win Page ----------------- */

.priceDisplay {
    display: flex;
    margin-top: 1rem;
    margin-bottom: 2.6rem;
    width: 100%;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    flex-direction: column;
}

.priceDisplay .image {
    width: 80%;
    height: 16rem;
}

.priceDisplay .name {
    margin-top: 0.8rem;
    padding-bottom: 1.2rem;
    width: 17.7rem;
    color: var(--clr-white);
    font-family: 'Degular Bold', sans-serif;
    font-size: 2rem;
    line-height: 2.5rem;
    border-bottom: solid 0.3rem var(--clr-yellow);
}

#win form {
    padding: 1.4rem;
}

#win input[type=text],
#win input[type=email],
#win input[type=submit],
#win input[type=password],
#win textarea,
#win .input,
#win .photoInput,
#win .button,
#win .uploading,
#win .writeMessage {
    padding: 1.5rem 2.5rem;
    color: var(--clr-white);
    font-size: 2.0rem;
    line-height: 2.6rem;
    background-color: #FFD50033;
}

#win input[type=text]::placeholder,
#win input[type=email]::placeholder,
#win input[type=password]::placeholder,
#win textarea::placeholder,
#win .photoInput {
    color: #ffffff88;
}

#win input[type=submit],
#win .button {
    color: var(--clr-black);
}

#win .uploading {
    margin-left: auto;
    margin-right: auto;
    width: 26rem;
    padding: 1.8rem;
    background-color: transparent;
    color: var(--clr-black);
    font-size: 2.0rem;
    line-height: 2.6rem;
    font-weight: 500;
    border-radius: 1.8rem;
}


/* ------- Form ------ */

#win .buttonBackground {
    margin-left: auto;
    margin-right: auto;
}


/* ----------------- Download ticket ----------------- */

#win .uploading {
    transition: opacity 0.5s
}

#win .uploading.invisilbe {
    opacity: 0;
}

