/* ------- Top ------- */

.head {
    padding: 0;
    margin: 0;
    width: 100%;
    height: 66.0rem;
    background-color: #000000;
}

.head .background {
    width: 100%;
    height: 100%;
    background-image: url('/public/images/soutez/header-background.png?v=1');
    background-size: cover;
    mask-image: linear-gradient(transparent -18%, #ffffff 18%, #ffffff 82%, transparent 103%);
    -webkit-mask-image: linear-gradient(transparent -18%, #ffffff 18%, #ffffff 82%, transparent 103%);
}

.head .frame {
    top: 3.9rem;
    width: 41.6rem;
    height: 61.4rem;;
    background-image: url('/public/images/soutez/header-frame.svg?v=1');
}

.head .logo {
    top: 2.8rem;
    width: 13.4rem;
    height: 8.6rem;
    background-image: url('/public/images/soutez/logo.svg?v=1');
}

.head .titleContainer {
    position: absolute;
    top: 13.2rem;
    width: 90%;
    color: var(--clr-white);
    font-family: 'Akzidenz-Grotesk Pro', sans-serif;
    text-transform: uppercase;
    background: radial-gradient(#00000049 50%, transparent 75%);
}

.head .titleContainer .title {
    color: var(--clr-white);
    font-family: 'Akzidenz-Grotesk Pro', sans-serif;
    font-size: 3.2rem;
    line-height: 4.00rem;
}

.head .titleContainer .title.smaller {
    font-family: 'Akzidenz-Grotesk Pro', sans-serif;
    font-size: 3.2rem;
    line-height: 4.0rem;
}

.head .goldenGradient {
    background: linear-gradient(90deg, #E7D090 0%, #BD8D3A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.head a.middle {
    top: 55rem;
}

.head .buttonContainer {
    position: absolute;
    bottom: 4.6rem;
    left: 0;
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: center;
    gap: 1.4rem;
}

.head .buttonContainer > a {
    display: block;
    width: 31.5rem;
}

.head .buttonContainer .buttonBackground {
    width: 100%;
    height: 6.0rem;
    background: linear-gradient(252.01deg, #002418 13.85%, #023F2C 122.53%);
    border-radius: 0.5rem;
}

.head .buttonContainer .button{
    width: calc(100% - 0.4rem);
    padding: 1.5rem;
    background: transparent;
    color: var(--clr-white);
    font-family: 'Akzidenz-Grotesk Pro', sans-serif;
    font-size: 1.8rem;
    line-height: 2.2rem;
    text-transform: uppercase;
    text-align: center;
    border-radius: 0.4rem;
    border: solid #D0AB5E 0.2rem;
    text-wrap: nowrap;
}


/* ------- How to participate? ------- */

#gameAnchor {
    padding: 0;
    background-color: #023525;
}


/* ------- How to participate? ------- */

.rules {
    display: flex;
    margin-top: 4.4rem;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    gap: 3rem;
}

.rules .item {
    display: flex;
    height: 6rem;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 3.8rem;
}

.rules .item .number {
    width: 3.0rem;
    color: var(--clr-gold);
    font-family: 'Akzidenz-Grotesk Pro', sans-serif;
    font-size: 4.0rem;
    line-height: 5.2rem;
    text-align: right;
}

.rules .item .image {
    width: 5rem;
}

.rules .item .image1 {
    height: 4.2rem;
    background-image: url("/public/images/soutez/desc-01.svg?v=3");
}

.rules .item .image2 {
    height: 5.8rem;
    background-image: url("/public/images/soutez/desc-02.svg?v=3");
}

.rules .item .image3 {
    height: 5.9rem;
    background-image: url("/public/images/soutez/desc-03.svg?v=2");
}

.rules .item .image4 {
    height: 4.2rem;
    background-image: url("/public/images/soutez/desc-04.svg?v=1");
}

.rules .desc {
    width: 15.0rem;
    color: white;
    font-family: 'brandon-grotesque', sans-serif;
    font-weight: 300;
    font-size: 1.6rem;
    line-height: 2.1rem;
    text-align: left;
    text-transform: uppercase;
}

.rules a {
    color: var(--clr-gold);
    text-decoration: underline;
}

.rules a:hover {
    text-decoration: underline;
}


/* ------- Photo form ------- */

#participateAnchor {
    padding-bottom: 0;
}

#formCont {
    width: calc(100% + 3.4rem);
    transform: translateX(-1.7rem);
    padding: 0 1.7rem;
}

#formCont .writeMessage {
    color: var(--clr-white);
    background-color: var(--clr-white-transparent);
    background-image: url('/public/images/soutez/icons/icon-pen.svg?v=1');
    background-position-x: 29.6rem;
    background-size: 1.6rem;
}

#formCont .messageArea.hidden .textarea {
    max-height: 0;
    transition: max-height 0.5s;
}

#formCont .textarea {
    height: 14.6rem;
    max-height: 14.6rem;
    transition: max-height 0.5s;
}


/* ------- Rest of Index Page ------- */

#tourLink {
    margin-bottom: 3.6rem;
}

#tourLink .image {
    margin-bottom: 3.6rem;
    height: 9.6rem;
    width: 100%;
    background-image: url('/public/images/soutez/360.svg?v=1');
}

#tourLink > a {
    display: block;
    padding: 0 3.4rem;
}

#tourLink > a .button {
    font-size: 1.8rem;
    text-wrap: nowrap;
}


#map {
    height: 57.7rem;
    width: 100%;
}

#map .indexMap {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-image: url('/public/images/soutez/map.jpg?v=1');
}

#map .h2 {
    padding: 7.4rem 0 24.0rem 0;
    font-size: 3.2rem;
    line-height: 4.0rem;
    text-shadow: 0 0 0.6rem #000000;
}

#map > a {
    display: block;
    width: 19.0rem;
    margin: 0 auto;
    padding: 0;
}

#map > a .buttonBackground {
    width: 100%;
    height: 5.1rem;
    background: #ffffff;
}

#map > a .button {
    width: calc(100% - 0.4rem);
    padding: 0.7rem;
    color: var(--clr-green);
    font-size: 2.0rem;
    line-height: 2.9rem;
    text-wrap: nowrap;
    text-transform: none;
}


/* ------- Messages ------- */

#messagesLink {
    margin-top: 4rem;
}

#messagesLink .images {
    margin: 4rem auto 5rem auto;
    height: 18.4rem;
}

#messagesLink .image {
    position: absolute;
    top: 1.8rem;
    height: 15.0rem;
    width: 16.0rem;
    box-shadow: 
        0 0.5rem 1.2rem 0 #0000001A,
        0 2.2rem 2.2rem 0 #00000017,
        0 4.9rem 2.9rem 0 #0000000D,
        0 8.6rem 3.5rem 0 #00000003,
        0 13.5rem 3.8rem 0 #00000000;
}

#messagesLink .image.image1 {
    left: 2.9rem;
    background-image: url('/public/images/soutez/messages-link-01.svg?v=1');
}

#messagesLink .image.image2 {
    right: 2.9rem;
    background-image: url('/public/images/soutez/messages-link-02.svg?v=1');
}

#messagesLink .image.image3 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 18.4rem;
    width: 19.6rem;
    background-image: url('/public/images/soutez/messages-link-03.svg?v=1');
}

#messagesLink .button.innerBorderInput,
#mapLink .button.innerBorderInput {
    margin: 4rem auto 5rem auto;
    color: var(--clr-green);
    font-family: 'brandon-grotesque', sans-serif;
    font-weight: 500;
    font-size: 2.0rem;
    line-height: 2.8rem;
    text-transform: none;
    padding: 1.1rem;
    width: 19.0rem;
    height: 5.1rem;
    background-color: var(--clr-white);
    box-shadow: 9.837995455991896e-16px 16.066667556762695px 49.400001525878906px 0px #33333340;
    border-radius: 4.1rem;
    border: none;
}

#mapLink {
    margin-top: 10rem;
}


/* ------- Photo popup ------- */
#photoPopup {
}

#photoPopup .dialogFrame {
    padding: 1.6rem;
    background-color: var(--clr-white);
    width: 91%;
    border-radius: 1.2rem;
}

#photoPopup .h2 {
    margin-bottom: 1.6rem;
    padding-top: 0.4rem;
    color: var(--clr-green);
    font-size: 2.8rem;
    line-height: 3.5rem;
    text-shadow: none;
}

#photoPopup .text {
    margin-bottom: 1.6rem;
    color: #484848;
    font-size: 1.6rem;
    line-height: 2.3rem;
    font-weight: 400;
    text-transform: uppercase;
}

#photoPopup .image {
    margin-bottom: 1.6rem;
    width: 100%;
    height: 36.1rem;
    background-image: url('/public/images/soutez/photo-popup.png?v=1');
    border-radius: 1.2rem;
    background-size: cover
}

#photoPopup .buttonBackground {
    display: block;
    padding: 0.3rem;
}

#photoPopup .button {
    width: 100%;
    font-size: 1.8rem;
}

#photoPopup .closeButton {
    position: absolute;
    top: 1.6rem;
    left: 1.6rem;
    height: 1.4rem;
    width: 1.4rem;
    background-image: url('/public/images/soutez/icons/icon-cross-grey.svg?v=1');
}


/* ------- Other Pages ------- */

.goldenBox {
    margin: 4.7rem auto;
    padding: 1.8rem 1.8rem 1.8rem 1.8rem;
    width: calc(100% - 3.6rem);
    border-width: 0.3rem;
    border-style: solid;
    border-image: linear-gradient(180deg, #E7CF8F 0%, #C0913B 100%) 1;
    box-shadow: 0 0.4rem 1rem 0 #00000080;
}

.goldenBox * {
    width: 100%;
}

.goldenBox .headerLogo {
    margin: -3.4rem auto 4rem auto;
    width: 12.1rem;
    height: 7.1rem;
    background-image: url('/public/images/soutez/logo-header.svg');
}

.goldenBox .text {
    font-size: 2.3rem;
    line-height: 2.5rem;
}


/* ------- Status Page ------- */

#status .goldenBox {
    padding-bottom: 3.6rem;
}

#status .button.innerBorderInput {
    margin: 4rem auto 2.4rem auto;
    color: var(--clr-green);
    font-family: 'brandon-grotesque', sans-serif;
    font-weight: 500;
    font-size: 2.0rem;
    line-height: 2.8rem;
    text-transform: none;
    padding: 1.1rem 3.0rem;
    max-width: 100%;
    width: max-content;
    height: 5.1rem;
    background-color: var(--clr-white);
    box-shadow: 9.837995455991896e-16px 16.066667556762695px 49.400001525878906px 0px #33333340;
    border-radius: 4.1rem;
    border: none;
}

#status .button.innerBorderInput div {
    width: max-content;
    font-size: 1.8rem;
    text-transform: uppercase;
}


/* ------- Win Page ------- */

#win .h1,
#ticket .h1 {
    margin-bottom: 3.0rem;
    font-size: 3.9rem;
    line-height: 4.8rem;
}

#win .h2 {
    margin-bottom: 0.4rem;
    font-size: 3.0rem;
    line-height: 3.7rem;
}

#win .priceDisplay,
#ticket .priceDisplay {
    display: flex;
    margin-bottom: 4rem;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2.6rem;
}

#win .priceDisplay .image,
#ticket .priceDisplay .image {
    width: 100%;
    height: 16.7rem;
}

#win .priceDisplay .name,
#ticket .priceDisplay .name {
    width: 90%;
    color: white;
    font-family: 'Akzidenz-Grotesk Pro Thin', sans-serif;
    font-weight: 300;
    font-size: 2.2rem;
    line-height: 2.4rem;
    text-transform: uppercase;
}

#win .text,
#ticket .text {
    
}


/* ------- Download ticket ------- */

#ticket .uploading {
    transition: opacity 0.5s
}

#ticket .uploading.invisilbe {
    opacity: 0;
}

