
body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100vw;
    margin: 0;
    left: 0;
    right: 0;
    background-image: url('/images/BG.png');
    background-size: contain; /* Ensures the image covers the background */
    background-position: center; /* Centers the image */
    background-repeat: repeat; /* Prevents the image from repeating */
    background-attachment: fixed; /* Ensures the image stays in place when scrolling */
    color: #fff;
    font-family: 'Patrick Hand', cursive;
    overflow-x: hidden;
    margin-bottom: 100px;
}


h1 {
    display: block;
   margin-top: 40px; 
}


.icon {
    width: 25px;
    height: 25px;
    margin: 16px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50%;
    border: 1px solid white;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    animation: pulse 2s ease-in-out infinite;
    animation-delay: 1s;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

.delete-icon {
    position: absolute;
    right: 20px;
    top: 20%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.play-icon {
    top: 20%;
    left: 40%;
}

.places-container {
    flex-grow: 1;
    overflow-y: scroll;
    width: 100%;
    height: calc(100% - 260px); /* Subtract the top and bottom bar heights */
    box-sizing: border-box;
    scroll-margin-top: 120px; /* Add scroll-margin-top */
    scroll-margin-bottom: 140px; /* Add scroll-margin-bottom */
    padding: 0;
    align-items: center;
    justify-content: center;
    top: 140px;
    bottom: 150px; /* Add this to position the element correctly */
    position: absolute;
}

@media (max-width: 768px) {
    #chat-window {
        width: 100vw;
        height: 100vh;
    }
}

#bottom-bar {
    position: fixed;
    bottom: 0;
    background: #010156;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: 100%;
    white-space: nowrap;
    left: 0;
    z-index: 9999;
    border-top: 1px solid #0011ff;
}


#send-icon {
    width: 30px;
    height: 30px;
    cursor: pointer;
    align-self: center;
}

#send-icon:hover {
    background-color: #011fb7;
    border-radius: 0;
    transition: all 0.3s ease-in-out;
    transform: scale(1.1);
    box-shadow: 0 0 10px #555;
}

#start-recording, #stop-recording {
    color: red;
    cursor: pointer;
    transition: color 0.3s ease;
}

#start-recording:hover {
    color: red;
}

#stop-recording {
    color: #00ff00;
}

#stop-recording:hover {
    color: #00ff00;
}

footer {
    position: fixed;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 100%;
    font-family: "PT Serif", serif;
    z-index: 9999;
   
}

footer p {
    font-size: 14px;
    color: white;
}

@media (max-width: 768px) {
    /* Styles for small screens */
}

@media (min-width: 769px) and (max-width: 1024px) {
    /* Styles for medium screens */
}

@media (min-width: 1025px) {
    /* Styles for large screens */
}

#error-message { 
  z-index: 99999;
  color: red;
  text-align: center;
  margin-top: 30%;
  font-size: 2rem;
  font-family: 'PT Serif', serif;
  font-weight:lighter;
  padding: 10px;
}


#active-bro,
#idle-bro {
position: fixed;
bottom: 20px;
right: 5px;
width: 40%;
max-width: 200px;
height: auto;
z-index: 99999;
cursor: pointer;
}

#idle-bro:hover {
box-shadow: 0 0 60px rgb(0, 142, 250, 0.7);
border-radius: 10px;
}

#active-bro {
display: none;
}






.image-container {
    position: relative;
    display: inline-block;
}

.close-icon {
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 5px;
    border-radius: 50%;
}


#image-preview {
position: fixed;
top: 20%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 99999999999999999999999999999;
}


#upload-images {
position: fixed;
bottom: 50px;
left: 30px;
z-index: 99999;
font-size: 25px;
cursor: pointer;
color: white;
}
#upload-images:hover {
color: #00ff00;
}

#image-input {
display: none; 
}




#waiting-gif {
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
position: fixed;
width: 40%;
height: auto;
z-index: 99999999;
}