body {
    font-family: 'Segoe UI', Tahoma, Verdana, sans-serif;
    background-color:#ffffff;
    color: #fff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#pagesBackground {
    max-width: 900px;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 3.5rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    border-radius: 20px;
}

#searchPage {
    display: flex;
    margin-top: 1rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1.5rem;
}

#welcomeMsg {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #ffffff;
    text-align: center;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

#addressInput {
    width: 100%;
    max-width: 600px;
    /* largeur max pour les grands écrans */
    padding: 1rem 1.5rem;
    /* plus de hauteur */
    border-radius: 25px;
    border: none;
    font-size: 1.2rem;
    /* texte plus grand */
}

#suggestion {
    background-color: none#000000;
    color: #ffffff;
    width: 80%;
    max-height: 150px;
    overflow-y: auto;
    border-radius: 10px;
    padding: 0.5rem;
}

#suggestion div {
    padding: 0.3rem 0.5rem;
    cursor: pointer;
}

#suggestion div:hover {
    color: #f1c40f;
}

/* Slider */
input[type="range"] {
    width: 300px;
    height: 8px;
    appearance: none;
    background: #ffffff;
    margin-right: 0.4rem;
    margin-left: 0.5rem;
    border-radius: 5px;
    outline: none;
    cursor: pointer;
}

span {
    font-size: 1.3rem;
}

output {
    font-weight: bold;
    text-align: center;
    font-size: 1.3rem;
}

/* Bouton soumission */
#submissionBtn {
    padding: 0.6rem 1.2rem;
    background-color: #f1c40f;
    border: none;
    color: rgb(0, 0, 0);
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
        transition: background-color 0.3s ease;
}

#submissionBtn:hover {
    background-color: #e8d176;    
    transition: background-color 0.3s ease;
}

/* Résultats */
#resultPage {
    display: none;
    margin-top: 1rem;
}

#resultAddress {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #ffffff;
    text-align: center;
}

#cinemaList {
    list-style: none;
    display: block;
    padding-left: 0;
}

.cinemaButton {
    background: none;
    border: none;
    color: #fff;
    font-size: 1rem;
    text-align: left;
    padding: 0.5rem 0;
    width: 100%;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);

}

.cinemaButton:hover {
    color: #f1c40f;
    background: none;
}

#informationsPage {
    display: none;
    margin-top: 1rem;
}

#InformationsPageTitle {
    font-size: 1.8rem;
    margin-right: 2rem;
    margin-bottom: 1rem;
    color: #ffffff;
    text-align: left;
}

#informationsPage .content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

#informationsPage .info-section {
    flex: 1;
    min-width: 250px;
    padding-left: 1rem;
    text-align: left;
}

#informationsPage p {
    margin: 0.5rem 0;
    text-align: left;
}

#informationsPage a {
    color:#f1c40f;
}

iframe {
    margin-top: 1rem;
    width: 100%;
    max-width: 100%;
    border-radius: 15px;
    
    aspect-ratio: 4 / 3;
    height: auto;
}

#myChart {
    width: 350px; 
    height: 230px;
    flex-shrink: 0;
}

/* Bouton retour */
#previousButton {
    display: none;
    margin-top: 2rem;
    padding: 0.5rem 1rem;
    background-color:#f1c40f;
    color: black;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

#previousButton:hover {
    background-color: #e8d176;
    transition: background-color 0.3s ease;
}

/* Chargement */
#loader p {
    margin-top: 1rem;
    font-style: italic;
    color: #bdc3c7;
    text-align: center;
}

.video {
    position: fixed;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    z-index: -1;
    object-fit: cover;
}

#logo {
    max-width: 100%;
    width: 400px;
    height: auto;
    display: block;
    margin: 0 auto 1rem;
    align-items: center;
    animation: myAnim 2s ease 0s 1 normal forwards;
}

@keyframes myAnim {
	0% {
		animation-timing-function: ease-in;
		opacity: 0;
		transform: translateY(-250px);
	}

	38% {
		animation-timing-function: ease-out;
		opacity: 1;
		transform: translateY(0);
	}

	55% {
		animation-timing-function: ease-in;
		transform: translateY(-65px);
	}

	72% {
		animation-timing-function: ease-out;
		transform: translateY(0);
	}

	81% {
		animation-timing-function: ease-in;
		transform: translateY(-28px);
	}

	90% {
		animation-timing-function: ease-out;
		transform: translateY(0);
	}

	95% {
		animation-timing-function: ease-in;
		transform: translateY(-8px);
	}

	100% {
		animation-timing-function: ease-out;
		transform: translateY(0);
	}
}