/* 
    This is file is for the wrapper around each page and shouldn't 
    be used for other files

*/

/* 
start defualt rules for common items
*/
button {
    padding: 10px 20px;
    border: 1px solid #b2b2b2;
    outline: none;
    border-radius: 0.25em;
    color: white;
    font-size: 15px;
    cursor: pointer;
    margin-top: 15px;
    margin-bottom: 10px;
    background-color: #008000ad;
    transition: 0.3s background-color;
}

button:hover {
    text-decoration: underline;
}

/*
 end default rules for common items 
 */



@media screen and (max-width: 768px) {
  .hero-section {
    height: auto; /* Allow the section to adapt to the content height */
    overflow-y: auto; /* Enable vertical scrolling if content overflows */
    padding-top: 60px; /* Ensure it doesn't overlap with the header bar */
  }

  .hero-content {
    transform: translateY(0); /* Reset any offset */
    padding: 20px; /* Add spacing for readability */
  }
}

/* Reset some default browser styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  background-color: #a4a4a4;
  color: #333;
}

/* Hero Section */
.hero-section {
  background: url('/images/background.jpg') no-repeat center center/cover ;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}

.hero-content h1 {
  font-size: 3rem;
  padding-bottom: 2rem;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.nav-btn {
  background-color: transparent;
  padding: 0.75rem 1.5rem;
  color: black;
  text-transform: uppercase;
  font-weight: 600;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

.cta-btn {
  background-color: #ff4b5c;
  padding: 0.75rem 1.5rem;
  color: white;
  text-transform: uppercase;
  font-weight: 600;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  text-decoration: none;
}

.cta-btn:hover {
  background-color: #ff6b7d;
}



/* Footer */
footer {
  position: relative;
  bottom: 0;
  width: 100%;
 background-color: #333;
  color: white;
  padding: 1rem 0;
  text-align: center;
    z-index: 100;
}

footer a {
  color: #ff4b5c;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}
.main-container {
    background-color: rgba(0, 0, 0, 0.7); /* Black semi-transparent background */
    padding: 20px;
    border-radius: 8px;
    color: white;
    width: 50vw;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex: 1;
}

.info-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 50%;
}


.page-container {
    display: flex;
}
#main-page{
    display: flex;
    flex-direction: column;
}

/*start pop-up*/
.modal {
  display: none;
  position: fixed;
  z-index: 100000;
  min-height: fit-content;
  left: 25vw;
  top: 25vh;
  width: 50%;
  height: 60%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #fefefe;
  padding: 20px;
  border: 1px solid #888;
  width: 100%;
  overflow-y: auto;
  position: relative;
  height: 100%;
}

.customer-list-container {
  max-height: 80%;
  overflow-y: auto;
}

.close {
  color: #aaa;
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  /* mobile modal */
  .modal {
    width: 90%;
    height: auto;
    top: 10vh;
    left: 5vw;
  }

  .modal-content {
    padding: 10px;
    width: 100%;
    height: auto;
    z-index: 1;
  }

  .customer-list-container {
    max-height: 50vh;
  }

  .close {
    font-size: 24px;
    top: 5px;
    right: 5px;
  }
}
/*end pop-up*/


/* HTML: <div class="loader"></div> */
.loader {
  width: 50px;
  padding: 8px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #25b09b;
  --_m: 
    conic-gradient(#0000 10%,#000),
    linear-gradient(#000 0 0) content-box;
  -webkit-mask: var(--_m);
          mask: var(--_m);
  -webkit-mask-composite: source-out;
          mask-composite: subtract;
  animation: l3 1s infinite linear;
}
@keyframes l3 {to{transform: rotate(1turn)}}