@import url('https://fonts.googleapis.com/css?family=Poppins');

/* Talha CSS */

*{
  font-family: 'Poppins';
}


@media (max-width: 205px) {
  #quiz, #zone {
   font-size: xx-small;
  }
}
/* Index Html */
div > ul{
  display: inline-block;
}


li{
  display: inline-block;
  color : black;
  font-size:150%;;
  margin-left: 40px;
  font-style: bold;

}

#card_title
{font-size: 30px; font-weight: bolder; }

.bg-cover {
  background-size: cover;
  background-position: center;
}

.position-relative {
  position: relative;
}

.text-white {
  color: white;
}


.hero-section {
  background-image: url('../Images/home2.jpeg'); 
  background-size: cover;
  background-position: center;
  height: 100vh;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
}

.hero-text {
  font-size: 5rem;
  font-weight: bolder;
  z-index: 2;
  animation: fadeInUp 2s ease-in-out;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card-horizontal {
  display: flex;
  flex: 1 1 auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add elevation */
  border-radius: 15px; /* Add rounded corners */
  overflow: hidden; /* Ensure child elements respect the border radius */
}

.card-horizontal img {
  width: 100%;
  object-fit: cover;
}

.card-horizontal .card-body {
  flex: 1 1 auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.btn-rounded {
  border-radius: 20px !important; 
  border: 2px solid #0d47a1 !important; /* Border color */
  background-color: #e3f2fd !important; /* Background color */
  color: #0d47a1 !important; /* Text color */
  padding: 10px 20px !important; 
  margin-top: auto !important; 
}

.btn-rounded:hover {
  background-color: #bbdefb !important; /* Background color on hover */
  color: #0d47a1 !important; 
}

/* Buy Page */

.search-section {
  padding: 20px 0;
  text-align: left;
}

.search-bar {
  width: 100%;
  max-width: 600px; 
  margin: 0 auto;
}

.search-bar input {
  height: 80px; 
  padding: 10px 20px;
  width: 100%;
}


/* SELL Page */

.custom-container {
background-color: #007BFF; /* Blue background */
color: white;
border-radius: 15px; /* Rounded corners */
position: relative; /* Allows positioning of the image relative to the container */
padding: 20px; /* Padding inside the container */
width: calc(100% - 20px); /* Full width minus margin */
box-sizing: border-box; /* Ensures padding and border are included in the total width */
overflow: hidden; /* Ensures no overflow of content */
}

.right-image {
position: absolute;
right: 10px; /* Margin from the right edge of the container */
max-width: 200px; /* Maximum width of the image */
top: 3px;
height: auto; /* Maintains aspect ratio */
border-radius: 0 0 15px 15px; /* Matches container's rounded corners */
}

.form-container {
  border-radius: 15px;
  background-color: #f8f9fa; /* Light background for the form */
  padding: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-section {
  margin-bottom: 20px;
}

.form-section label {
  font-weight: bold;
}

.form-section select,
.form-section input {
  width: 100%;
}







/* Footer */
footer {
  padding: 40px 0;
  background: #343a40;
}

footer h5 {
  margin-bottom: 20px;
  font-weight: bold;
}

footer p {
  margin-bottom: 10px;
  font-size: 14px;
}

footer a {
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

footer .list-unstyled {
  padding-left: 0;
}

footer .list-unstyled li {
  margin-bottom: 10px;
}

footer .bi {
  margin-right: 8px;
  font-size: 18px;
}

footer .text-white {
  color: #ffffff !important;
}

footer .text-white:hover {
  color: #f8f9fa !important;
}

footer .me-2 {
  margin-right: 16px !important;
}

footer .mb-3 {
  margin-bottom: 24px !important;
}

