/* Base styles */
body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Roboto', sans-serif;
}

/* Background image with dark overlay */
body {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
              url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e') no-repeat center center/cover;
}

.enjoytravelText{
    font-family: 'Roboto', sans-serif;
}

/* Centered container */
.overlay {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.login-container {
  text-align: center;
  color: white;
  max-width: 400px;
  padding: 2rem;
  background-color: rgba(0,0,0,0.5);
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(0,0,0,0.6);
}

.login-container h1 {
  margin-bottom: 0.5rem;
  font-size: 2.5rem;
}

.login-container p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* Google button */
.google-btn {
  display: inline-block;
  background: white;
  color: #444;
  font-weight: bold;
  padding: 12px 24px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.google-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}

.google-btn-official {
  display: inline-flex;
  align-items: center;
  background: white;
  color: #5f6368;
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease;
}

.google-btn-official img {
  height: 20px;
  margin-right: 12px;
}

.google-btn-official:hover {
  background-color: #f7f7f7;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 220px;
  height: 100px;
  margin-right: 0.5rem;
  object-fit: contain;
}


/* Overlay styles */
#overlay {
  z-index: 1050; 
 position: fixed;
 display: none;
 width: 100%;
 height: 100%;
 top: 0;
 left: 0;
 right: 0;
 bottom: 0;
 background-color: rgba(0,0,0,0.5);
 cursor: none;
 vertical-align: middle;
 
}
#overlayload{
 display: block; 
 vertical-align: middle;
}

.footerWidth{
    width:80%;
}

.loader {
  z-index: 1100; 
  width: 64px;
  height: 64px;
  border: 8px solid #ffc000;
  border-top: 8px solid #3399ff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 2rem auto;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/* Safari */
@-webkit-keyframes spin {
 0% { -webkit-transform: rotate(0deg); }
 100% { -webkit-transform: rotate(360deg); }
}


.background-slideshow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: -1;
  background-color: black; /* fallback color */
}

.background-slideshow .bg-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 100vh;
  width: auto;
  transform: translate(-50%, -50%);
  object-fit: contain;
  object-position: center center;
  opacity: 0;
  transition: opacity 2s ease-in-out;
}


.background-slideshow .bg-slide.active {
  opacity: 1;
}
