﻿html {
  height: 100%; /* Ensure html takes up full viewport height */
}

:focus {
    outline: none !important;
}

* {
  /* Désactiver la mise en surbrillance lors du clic/tap pour tous les éléments */
  -webkit-tap-highlight-color: transparent;
}

:root {
    --background: 0 0% 100%;
    --foreground: 20 14.3% 4.1%;
    --card: 0 0% 100%;
    --card-foreground: 20 14.3% 4.1%;
    --popover: 0 0% 100%;
    --popover-foreground: 20 14.3% 4.1%;
    --primary: 24.6 95% 53.1%;
    --primary-foreground: 60 9.1% 97.8%;
    --secondary: 60 4.8% 95.9%;
    --secondary-foreground: 24 9.8% 10%;
    --muted: 60 4.8% 95.9%;
    --muted-foreground: 25 5.3% 44.7%;
    --accent: 60 4.8% 95.9%;
    --accent-foreground: 24 9.8% 10%;
    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 60 9.1% 97.8%;
    --border: 20 5.9% 90%;
    --input: 20 5.9% 90%;
    --ring: 24.6 95% 53.1%;
    --radius: 0.3rem;
    --color_konyks: #f6b220; /* Rouge */
	--font_secondary: "Source Sans Pro";
	--main_font_old:"Poiret One", sans-serif;
}

h1 {
  margin: 0;
  padding: 0;
  color:#000
}

/*@font-face {
  font-family: 'chat_font';
  src: url("../fonts/PPHatton-Regular.eot");
  src: url("../fonts/PPHatton-Regular.eot?#iefix") format("embedded-opentype"), url("../fonts/PPHatton-Regular.woff2") format("woff2"), url("../fonts/PPHatton-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}*/

body {
  font-family: Arial, sans-serif;  
  background-size: cover;
  background-repeat: no-repeat; /* This prevents the image from tiling */
  background-attachment: fixed; /* Ensure background image covers the full page */
  margin: 0;
  padding: 0;
  width: 100%; /* Ensure body takes up full viewport height */
  height: 100%; /* Ensure body takes up full viewport height */
}

.back_overlay{
	background-color: #00000022;
}

.title {	    
	position: absolute;	   	
    left: 50%;	
    transform: translate(-50%, -10%);	
    text-align: center;	   
	font-family: "Poiret One", sans-serif;    
    font-size: 6vw;	
    color:	#000;
	margin: 0px 0px 0px 10px;
	width: 40%;
	align-items: center;
}

/* Adjustments for larger screens */
@media (min-width: 1024px) {
  .title {
    font-size: 3vw;		
  }
}

/* Adjustments for larger screens */
@media (min-width: 768px) {
  .title {
    font-size: 3vw;		
  }
}

.my_selected_language{
	  font-family: var(--main_font);
      font-size: clamp(10px, 3.5vw, 16px);  
}

.close_icon {
	height: 30px; 
	margin-right: 15px;
	-webkit-transition: .2s ease-in-out;
	transition: .2s ease-in-out;	
}

.close_icon:hover {
	cursor:pointer;
	 -webkit-transform: rotate(90deg) scale(0.8);
	transform: rotate(90deg) scale(0.8);    
	
	-webkit-transition: .2s ease-in-out;
	transition: .2s ease-in-out;	
}

/* Dropdown Button */
.language-dropdown {
  position: relative;
  display: inline-block;
  margin-right: 0px;
  align-items: center; /* Aligns items vertically in the center */
}

.right-part {
  position: relative;
  display: inline-block
}

.flag:hover {
   cursor: pointer;
}

.flag {
  height: 30px; /* Adjust the height as needed */
  object-fit: cover;
  border-radius: 50%;
  margin: 5px 2px 0px 0px;
}

/* Adjustments for larger screens */
@media (min-width: 400px) {
  .flag {
    height: 25px;
  }
}
/* Adjustments for larger screens */
@media (min-width: 700px) {
  .flag {
    height: 40px;
  }
}

#selected-language {
  text-align: center;
  margin-bottom: 0px; /* Adjust spacing as needed */
  color: black;  
}

.dropbtn {
  background-color: #ffffff;
  color: white;
  font-size: 16px;
  padding: 5px;
  border: none;
  cursor: pointer;
}

.language-dropdown:hover .dropbtn {
  background-color: #ffffff;
}


/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #ffffff;
  min-width: 60px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  background-color: #fff;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #f1f1f1}

.dropbtn img {
  width: 20px; /* Adjust based on your design needs */
  height: auto; /* Example height, adjust as necessary */
  cursor: pointer;
  display: block;
}

/* Show the dropdown menu on hover */
/*.language-dropdown:hover .dropdown-content {
  display: block;
}*/

.service-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 5px;
  background-color: #fff;
  color: #fff;
  height: 100px  
}

.features {
  flex-grow: 1;
  justify-content: center;
  align-items: center;
}

.hotel-logo {
  /*height: 100px; /* Adjust the height as needed */  
  position: absolute;	   	
  left: 50%;	
  transform: translate(-50%, -50%);	
  color:	#000;
  margin: 0px 0px 0px 0px;  
  padding: 0px 40px 0px 0px;  
  align-items: center;
  max-width:70%;
}


.logo-hotel:hover {
	cursor:pointer;
}


.full_page {
	display: flex;
    flex-direction: column;
    height: 100%;
	margin: auto;
}

.service-container {
  padding: 20px;
  text-align: center;
}

.service-buttons {
  display: flex;  
  /*justify-content: space-between;*/
  justify-content: space-evenly;
  align-items: center;
  height: 29%;
  margin: 5px;
}

.service-buttons.center-me{
	justify-content: center;    
}

.service-btn.vshift1{
	margin-bottom: 30px;
}

.service-btn.vshift2{
	margin-top: 30px;
}

.service-btn.vshift3{
	margin-top: 60px;
}

.service-btn.vshift_step_down_right{
	margin-top: 120px;
	margin-right: 50px;
}

.service-btn.vshift_step_down_left{
	margin-top: 120px;
	margin-left: 50px;
}

.service-btn.vshift_step_down{
	margin-top: 120px;	
}



.service-btn {
  position: relative; /* Needed for the positioning of pseudo-elements */
  display: inline-flex; /* Use flexbox for centering content */
  align-items: center; /* Center items vertically */
  justify-content: center; /* Center items horizontally */
  flex-direction: column; /* Stack items vertically */
  height: 110px; /* Example fixed height */
  width: 110px; /* Example fixed width */
  background-image: url('./images/background_bouton_transparent.png');
  background-size: cover; /* Cover the button area */
  background-repeat: no-repeat;
  background-color: rgba(255, 255, 255, 0.0);
  border: none;
  padding: 3px 5px 8px 5px;
  margin: 5px; /* Adds space around each button */
  color: #000; /* Change text color to black */  
  cursor: pointer;
  transition: transform 0.3s ease;
  font-family: var(--main_font);
  font-size: clamp(10px, var(--main_size_font), 20px);  
}

.button_link  { 
font-size: 10vw;  
text-decoration: none; 
-webkit-tap-highlight-color: transparent;}


/*.button_link:active {  
  background-color: #FF00066;
}*/

/* Adjustments for larger screens */
@media (min-width: 300px) {
  .service-btn {
    height: 100px; /* Adjust as necessary */
    width: 100px; /* Adjust the percentage for larger screens */
	font-size: clamp(10px, var(--main_size_font), 20px);
  }
}

/* Adjustments for larger screens */
@media (min-width: 400px) {
  .service-btn {
    height: 120px; /* Adjust as necessary */
    width: 120px; /* Adjust the percentage for larger screens */
	font-size: clamp(10px, var(--main_size_font), 20px);
  }
}

/* Adjustments for larger screens */
@media (min-width: 410px) {
  .service-btn {
    height: 120px; /* Adjust as necessary */
    width: 120px; /* Adjust the percentage for larger screens */
	font-size: clamp(10px, var(--main_size_font), 20px);
  }
}

/* Adjustments for larger screens */
@media (min-width: 500px) {
  .service-btn {
    height: 130px; /* Adjust as necessary */
    width: 130px; /* Adjust the percentage for larger screens */
	font-size: clamp(10px, var(--main_size_font), 20px);
  }
}

/* Adjustments for larger screens */
@media (min-width: 768px) {
  .service-btn {
    height: 140px; /* Adjust as necessary */
    width: 140px; /* Adjust the percentage for larger screens */
	font-size: clamp(10px, var(--main_size_font), 20px);
  }
}

/* Further adjustments for extra large screens */
@media (min-width: 1024px) {
  .service-btn {
    height: 150px; /* Adjust as necessary */
    width: 150px; /* Adjust the percentage for extra large screens */
	font-size: clamp(10px, var(--main_size_font), 20px);
  }
}

.service-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.0); /* Example: white background with 50% transparency */
  z-index: -1; /* Ensure the overlay is behind the content */
}

.link_feature {  
  position: absolute;
  top: 0;
  right: 0;
  width: 30px; 
  height: 30px; 
  z-index: 1; /* Assure que cette image est superposée à l'image 1 */
}

.service-btn img {
  max-height: 70%;
  margin-bottom: 5px;
  min-height: 50%;
}

.service-btn span {
  margin-top: auto; /* Pushes the text to the bottom */
}

.service-btn:hover {
  transform: translateY(-5px);
}


/* For the chat bot */
.chat-container {
        display: flex;
        flex-direction: column;
        width: auto;
        margin: 20px 15px 10px 15px;
		overflow-y: auto;
    }

.text_container1
{
	margin: 5px 5px 5px 5px;
	overflow-wrap: break-word;
	word-break: break-word;
}

.add_transition
{	
   animation: fadeIn 0.2s;
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.tempo_message{
	animation: fadeOut 1s;
}

@keyframes fadeOut {
  0% { opacity: 1; }
  100% { opacity: 0; }
}


.text_container2
{
	margin: 5px 5px 5px 5px;
}

.message {
	margin-bottom: 10px;	
	font-size: 15px;
	font-family: "Open Sans";  
}

.message .icon {
	width: 40px;
	height: 40px;	
	border-radius: 50%;
	background-color: #ccc;
	flex-shrink: 0;
	margin: 5px 5px 5px 5px;
}

.ia_icon
{
  position: absolute;
  top: 0px;
  left: 10px;
  width: 40px;
  margin: 5px 5px 5px 5px;
}

.message.interlocuteur1 {
	justify-content: flex-start;
}

.message.interlocuteur2 {
	justify-content: flex-end;
}

.message.interlocuteur1 .icon {
	margin-right: 20px;				
}

.message.interlocuteur2 .icon {
	margin-left: 10px;
	background-color: #66ccff; /* Couleur de l'interlocuteur 2 */
}

.text {
	font-family: ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;
	font-feature-settings: normal;
    font-variation-settings: normal;	
}

a.text {
	text-decoration: underline; /* Ajout d'un soulignement */
	color: blue; 
}

.message .text {
	position: relative;
	padding: 5px;	
	border-radius: 10px;
	display: flex;
    flex-direction: row;
}

.message.interlocuteur1 .text {	
	margin-right: 0px;
	background-color: #FFFFFF;
	
}

.message.interlocuteur2 .text {
	align-self: flex-end;
	margin-left: 0px;
	background-color: #FFFFFFaa;	
}

.rounded-normal {
    border-radius: 15px;
}

.fire_button {  
  width: 40px;
  height: 40px;
  display: inline-block;  
}

.fire_button:hover {
   /*filter: brightness(100%);  */
   cursor: pointer;   
}

.button_image_send  {
	background-image: url(images/arrow.png);
	
	-webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    opacity: 0.4;
	filter: alpha(opacity=100);
	 
    background-size: cover;
    background-repeat: no-repeat;
    width: 40px;
    height: 40px;	  
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;		
}

.button_image_send:hover  {
    -webkit-transform: rotate(0deg) scale(0.8);
	transform: rotate(0deg) scale(0.8);    
	
	-webkit-transition: .2s ease-in-out;
	transition: .2s ease-in-out;	
}

.button_image_send:enabled  {
    -webkit-filter: grayscale(0%);
    filter: grayscale(0%);
    opacity: 1;
    filter: alpha(opacity=100);
}

.button_image_stop  {
	background-image: url(images/stop.png);
    background-size: cover;
    background-repeat: no-repeat;
    width: 40px;
    height: 40px;	  
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;		
}

.button_image_stop:hover  {
    -webkit-transform: rotate(0deg) scale(0.8);
	transform: rotate(0deg) scale(0.8);    
	
	-webkit-transition: .2s ease-in-out;
	transition: .2s ease-in-out;	
}


