@font-face {
    font-family:'Apercu Pro Bold';
    src: url('/assets/fonts/apercu-pro/apercu_bold_pro.otf') format('opentype'); 
    font-weight: normal; 
    font-style: normal; 
}

@font-face {
    font-family:'Apercu Pro Medium';
    src: url('/assets/fonts/apercu-pro/apercu_medium_pro.otf') format('opentype'); 
    font-weight: normal; 
    font-style: normal; 
}

@font-face {
    font-family:'Sky';
    src: url('/assets/fonts/skyfont.otf') format('opentype'); 
    font-weight: normal; 
    font-style: normal; 
}

* {
    font-family:'Apercu Pro Bold', sans-serif;
    letter-spacing: 0.3px;
}

html, body {
    margin: 0;
    padding:0;
    width:100%;
    height:100%;
    min-height:100vh;
    _overflow: hidden;
}

a {
    text-decoration: none;
    _margin:14px;

}

h2 {
    font-family:'Apercu Pro Bold', sans-serif;
    font-size: 18px;
    margin: 0 0 10px 0;
}

div {
    _margin-bottom: 5px;
}


#app {
    width: 100%;
    height: 100%;
}

/* ASK PAGE */

.ask-content {
    width:90%;
    max-width:394px;
    margin: auto;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-top: 10px;
    margin-bottom: 5px;
    text-align: center;
    background-color: white;
    color:black;
}

.ask-header {
    position: relative;
    color: white;
    display: flex;
    _margin: 5px 5px;
    _padding: 2px;
    _margin-bottom: 5px;
    text-align: center;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    background-color: #005EBA;
    _border-radius: 5px;
    border: 1px solid #005EBA;
    margin-top:0px;
}

.ask-header h2 {
    color: white;
    display: flex;
    margin: 5px 0px 0 5px;
    text-align: center;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    _padding: 5px;
    font-size: 17px;
}

.ask-header p {
    color: white;
    padding: 1px;
    font-size: 12px;
    margin:0;
}

.ask-header div {
    margin-bottom: 10px;
}

.ask-content p {
    font-size: 18px;
}


.ask-header img {
    position: absolute;
    left:-2px;
    top:10px;
    width: 50px;
}

#responseMessage {
    margin-top:20px;
    font-size: 18px;
}

form.form-question {
    max-width: 400px;
    _margin: auto;
    padding: 10px 10px 10px 10px;
    _border: 1px solid #ccc;
    _border-radius: 5px;
}

.form-question h2 {
    font-family: 'Bogart-Semi-Bold', sans-serif;
    font-size: 16px;
    /* margin: 10px 0 10px 0; */
    padding: 5px 15px 0 15px;
}

#destination {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding:10px;
}

label {
    display: block;
    margin-bottom: 5px;
}

label.startinput {
    margin-bottom: 0;
    font-size: 12px;
    font-family: Arial;
}

input[type="text"], input[type="email"], textarea {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid grey;
    border-radius: 4px;
    height: 45px;
    font-size:14px;
    margin: 0 0 10px 0;
}


form.form-participate {
    max-width: 400px;
    _margin: auto;
    padding: 10px 10px 10px 10px;
    _border: 1px solid #ccc;
    _border-radius: 5px;
}

.form-participate h2 {
    font-family: 'Bogart-Semi-Bold', sans-serif;
    font-size: 18px;
    /* margin: 10px 0 10px 0; */
    padding: 5px 15px;
}


.form-participate label {
    display: block;
    margin-bottom: 5px;
    display: flex;
    font-size: 12px;
    margin: 0 10px;
}

/*label {
    display: block;
    margin-bottom: 5px;
}

label.startinput {
    margin-bottom: 0;
    font-size: 12px;
    font-family: Arial;
}*/


#text-field  {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid grey;
    border-radius: 4px;
    _height: 48px;
    font-size:14px;
}


.radio-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    margin-bottom:0px;
    flex-wrap: wrap;
}

.radio-list li {
    display: block;
    margin: 0px 5px;
/*    width:40%;*/
}

.radio-list label {
    display: block; /* Make the label fill the li, so the whole area is clickable */
    padding: 10px 15px; /* Add padding to create button shape */
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer; /* Change cursor to pointer to indicate interactivity */
    background-color: #f4f4f4;
    transition: background-color 0.3s;
    line-height: 20px;
}

.radio-list label:hover {
  background-color: #e9e9e9;
}

/* Hide the default radio input visually */
.radio-list input[type="radio"] {
  _display: none;
  -webkit-appearance: none;
  appearance: none;
  /* or position: absolute; opacity: 0; */
  /* Maintain accessibility by keeping it focusable */
  width: 0;
  height: 0;
  opacity: 0;
  margin: 0; /* Important for consistency */
}

/* Style the label (the "li-like" element) when its associated radio is checked */
.radio-list input[type="radio"]:checked + label {
  background-color: #E1F4FB; /* Blue background for selected item */
  color: black; /* White text for better contrast */
  border-color: #ccc;
}



/* Submit */
button.ask {
    background-color: #005EBA;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
}

button.ask:hover  {
    background-color: white;
    color:black;
    border:1px solid black;
}



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

    .start {
        display: flex;
        margin: auto;
        padding: 2px;
        _border: 1px solid #ccc;
        _border-radius: 5px;
        margin-bottom: 5px;
        text-align: center;
        flex-wrap: wrap;
        justify-content: center;
    }

    .player-list {
        display: flex;
        width:100%;
    }

}


/* CARTE PAGE */


#carte {
    display:block;
    width:100%;
    height:100%;
}

#depart {
    position: absolute;
    top:20px;
    left:20px;
    width: 350px;
    height:400px;
    _background-color: black;
    border-radius: 10px;
    z-index: 10;
    text-align: center;
    font-family: Sky, sans-serif;
}

.depart-header {
    padding:10px;
    align-items: center;
    _background-color: black;
    color:white;
    border-radius: 10px 10px 0 0;
    font-family: Sky, sans-serif;
    font-size: 34px;
}



.depart-liste {
    display: flex;
    list-style-type: none; 
    flex-direction: column;
    padding: 0 0 0 0;

}
/*
.depart-liste li {
    display: inline;
    list-style-type: none;


}*/
.depart-li{
    display: flex;
    list-style-type: none;
    flex-direction: row;
    justify-content: space-between;

}

.depart-name {
    font-family: Sky, sans-serif;
    font-size: 30px;
    text-align: left;
    color:white;

}

.depart-destination {
    font-family: Sky, sans-serif;
    font-size: 30px;
    text-align: right;
    color:white;

}




#infos {
    position:absolute;
    bottom:14px;
    left:20%;
    transform:translateX(-50%);
    background:rgba(0,10,30,0.72);
    color:#e8f0fe;
    font-family:sans-serif;
    font-size:12px;
    padding:6px 18px;
    border-radius:20px;
    white-space:nowrap;
    border:1px solid rgba(100,160,255,0.25);
    letter-spacing:.04em;

}


body.carte-body {
    background-image: url("/assets/images/carte.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh; /* Ensure the body spans the full viewport height */
    margin: 0;
}

.stats-header {
    position: relative;
    color: white;
    display: flex;
    _margin: 5px 5px;
    _padding: 2px;
    _margin-bottom: 5px;
    text-align: center;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    background-color: #953B8E;
    border-radius: 5px;
    border: 1px solid #953B8E;
    margin-top: 30px;
    margin-bottom: 30px;
    height: 250px;
    align-items: center;
}

.stats-header h2 {
    color: white;
    display: flex;
    margin: 5px 0px 0 5px;
    text-align: center;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    _padding: 5px;
    font-size: 82px;
}

.stats-header p {
    color: white;
    padding: 1px;
    font-size: 58px;
    margin:0;
}


.stats-header img {
    position: absolute;
    left:-2px;
    _top:-30px;
    width: 300px;
}


#error-messages {
    color:red;
}

#accept {
    scale:2;
    margin-right:15px;
}

.accept {
    display: flex;
    flex-direction: row-reverse;
    margin-bottom: 20px;
}

.accept label {
    width:400px;
    margin-top: 10px;
}
.accept label {
    width:300px;
}

input[type="checkbox"]#accept  {
  accent-color: #953B8E;
}

.boarding {
    font-size: 30px !important;
    background-color: black;
    color: white;
    padding: 20px;
    letter-spacing: 5px;

}


#all-code {
    display: flex;
    list-style-type: none;
    flex-direction: column;
    padding: 0 0 0 0;
    width: 100%;
    align-items: center;
}

.code-liste {
    display: flex;
    list-style-type: none;
    padding: 0 0 0 0;
    flex-wrap: wrap;
    justify-content: center;
}

.code-liste li {
    border: 1px solid black;
    border-radius: 10px;
    padding: 10px;
    margin:5px;
    min-width:120px;

}



/* BOARDING PAGE */
.boarding-content {
    display: flex;
    width: 90%;
    _max-width: 394px;
    margin: auto;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-top: 10px;
    margin-bottom: 5px;
    text-align: center;
    background-color: white;
    color: black;
    flex-direction: column;
    align-content: center;
    align-items: center;
}

.boarding-content input[type="text"] {
    width: 30%;
    min-width: 300px;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid grey;
    border-radius: 4px;
    height: 45px;
    font-size: 14px;
    margin: 0 0 10px 0;
}

.boarding-header {
    position: relative;
    color: white;
    display: flex;
    _margin: 5px 5px;
    _padding: 2px;
    _margin-bottom: 5px;
    text-align: center;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    background-color: #005EBA;
    _border-radius: 5px;
    border: 1px solid #005EBA;
    margin-top:0px;
}
.boarding-name {
    font-size:12px;
    color:grey;
}
.boarding-header h2 {
    color: white;
    display: flex;
    margin: 5px 0px 0 5px;
    text-align: center;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    _padding: 5px;
    font-size: 17px;
}

.boarding-header p {
    color: white;
    padding: 1px;
    font-size: 12px;
    margin:0;
}

.boarding-header div {
    margin-bottom: 10px;
}

.boarding-content p {
    font-size: 12px;
}

button {
    background-color: white;
    border: none;
}
.boarding-header img {
    position: absolute;
    left:-2px;
    top:10px;
    width: 50px;
}