@charset "utf-8";

body {
	min-height: 100vh;
	color: #fff;
 font-family: 'Poppins', sans-serif;
	overflow-x: hidden;
	background: #000;
}
#video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
}
#video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
#video-container::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 50%;
	background: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.43) 100%);
	pointer-events: none;
	z-index:1;
}
#video-container::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
    transition: height 0.3s ease-in-out;
}

#video-container.scrolled::after {
    height: 100%;
}

.fallback-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.navbar-brand {
	max-width: 350px;
	display: block;
	margin-bottom: 10px !important;
}
.navbar-brand img {
	margin-bottom: -5px;
}
.porteur {
	max-width: 380px;
}
.rotating {
    position: relative;
}
.rotating::before {
    content: "";
    position: absolute;
    top: 180px;
    left: 50%;
    width: 150%;
    height: 150%;
    background: url('../img/deco.webp') no-repeat center center;
    background-size: contain;
    transform-origin: center;
    transform: translate(-50%, -50%) rotate(0deg);
    animation: rotateClockwise 30s linear infinite, glowEffect 3s ease-in-out infinite;
    z-index: -1;
}

@keyframes rotateClockwise {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes glowEffect {
    0% { filter: drop-shadow(0px 0px 10px #b4b3ad); }
    50% { filter: drop-shadow(0px 0px 25px #b4b3ad); }
    100% { filter: drop-shadow(0px 0px 10px #b4b3ad); }
}
.lead {
	font-size: 1.1rem;
	font-weight: 400;
}
.bg-primary {
	background-color: rgb(77, 36, 86) !important;
}
.bg-success {
	background-color: rgb(98, 194, 149) !important;
}
.text-primary {
	color: rgb(252, 241, 183) !important;
}
.text-danger {
	color: rgb(248, 145, 205) !important;
}
.text-warning {
	color: rgb(255, 209, 71) !important;
}
.btn-primary {
	background: linear-gradient(135deg, #ffd23e, #ffbe52);
	color: #43274a !important;
	font-size: 1.15rem;
	padding: 12px 28px;
	border-radius: 60px;
	box-shadow: 0 0 18px rgba(214, 176, 70, 0.5);
	transition: all 0.35s ease;
	text-transform: uppercase;
	position: relative;
	overflow: hidden;
	border: none;
}
.btn-primary:hover {
	background: linear-gradient(135deg, #ffbe52, #ffd23e);
	box-shadow: 0 0 28px rgba(214, 176, 70, 0.7);
	transform: scale(1.05);
}

.btn-primary:active {
	transform: scale(0.98);
	box-shadow: 0 0 22px rgba(214, 176, 70, 0.9);
}

.btn-secondary {
	background: linear-gradient(135deg, #d4af37, #f6e27a) !important;
	color: #2b1e08 !important;
	border:0 !important;
}
.btn-secondary:hover {
	opacity:.9;
}
.chat-container {
	height: 600px;
}
.card {
	background: rgba(255, 255, 255, 0.25);
		padding: 40px;
	border-radius: 20px;
}
.card .card {
	padding: 30px;
}
.chat-box {
	flex-grow: 1;
	overflow-y: auto;
	padding: 1rem;
	background: #fff url('../img/bg-chat.webp') center center scroll no-repeat;
	background-size: 200px;
	position:relative;
}
    .input-area {
      border-top: 1px solid #ddd;
      padding: 0.5rem;
      background: rgba(248,249,250,0.95);
    }
    .message-wrapper {
      display: flex;
      align-items: flex-end;
      margin-bottom: 0.5rem;
    }
.message-wrapper .flex-column {
	width: 100%;
}
    .message {
      max-width: 70%;
      padding: 10px 15px;
      border-radius: 20px;
      position: relative;
    }
.message.athena {
	background-color: #f1f0f0c9;
	color: #333;
	border-top-left-radius: 0;
}
.message.user {
	background-color: #656983;
	color: #fff;
	border-top-right-radius: 0;
}
    .avatar {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      margin: 0 8px;
    }
    .timestamp {
      font-size: 0.7rem;
      color: #666;
      margin-top: 2px;
    }
.typing {
	font-size: 0.9rem;
	color: #929292;
	font-style: italic;
	margin-bottom: 0.5rem;
	text-align: center;
	position: absolute;
	bottom: 120px;
	left: 50px;
}
    .btn-response {
      margin: 0.25rem;
      flex: 1;
    }
.countdown {
	width: 75px;
	display: inline-block;
	text-align: center;
}
.accordion-button:not(.collapsed) {
	color: #fff;
	background-color: #43274a;
}
.accordion-button {
	font-weight: bold;
}
.accordion-item {
	border: 0;
	border-bottom: 1px solid #e8e8e8;
}
footer, footer a {
	color: #fff !important;
}
#connected {
	position: absolute;
	right: 55px;
	top: 10px;
}
.form-check-input:checked {
	background-color: #25ab3a;
	border-color: #25ab3a;
}
.popover {
	position: absolute;
	top: 25px !important;
	left: 0 !important;
	width: 175px;
	font-size: .7rem
}
.px-3 h5 {
	position: absolute;
	top: -13px;
	background: #dee2e6;
	padding: 5px 10px;
	font-size: 13px;
	font-weight: bold;
	border-radius: 50px;
}
label {
	font-size: 14px;
}
.form-control, .form-select {
	min-height: 59px;
}
.input-group-text {
	color: #fff !important;
	background-color: #8563a6 !important;
}
a {
	color: rgb(0, 0, 0) !important;
}
#infoIcon {
cursor: pointer;
color:black;
}
.popover-header {
color:black;
}
@media (min-width: 1400px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    max-width: 1200px;
  }
}
@media (max-width: 1199px) {
.navbar-brand {
	max-width: 220px;
	margin-top: 10px;
}
#video-container {
	position: absolute;
	z-index: inherit;
	height: 500px;
}
.message {
	max-width: 100%;
}
h1.h4 {
	font-size: 1.2rem;
}
.card {
	padding: 10px;
}
.porteur {
	max-width: 300px;
}
.lead {
	font-size: 1rem;
}
.message-wrapper {
	font-size: .9rem;
}
body::before {
	content: "";
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background: url('../img/bg-mobile.webp') no-repeat center top;
	background-size: cover;
}
body::after {
	content: "";
	position: absolute;
	top: 500px;
	left: 0;
	width: 100%;
	height: 50%;
	background: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0) 100%);
	pointer-events: none;
	z-index: 0;
}
#connected {
	right: 0;
	width: 100%;
	text-align: center;
}
#who .card {
	padding: 10px;
}
label {
	font-size: 13px;
	line-height: 1.2;
}
.form-control, .form-select {
	min-height: 44px;
}
}
@media (max-width: 575px) {
#video-container {
	max-height: 350px;
}
#video-container::before {
	height: 30%;
}
body::after {
	top: 350px;
}
.countdown {
	width: 65px;
}
#video-container.scrolled::after {
	height:50%;
}
.popover {
	top: 35px !important;
}
}