.bg-image {
  background-image: url("main_img.jpg");
  height: 700px;
  background-size: cover;
  background-position: center;
}
#cursor-text {
  position: relative;
  cursor: caret; /* change the cursor shape to a caret */
  font-size: 36px; /* default font size */
  overflow: hidden; /* hide overflow text */
}

#cursor-text::after {
  content: ""; /* add a caret symbol */
  position: absolute;
  top: 0;
  left: var(--cursor-position, 0); /* dynamic left position */
  width: 2px;
  height: 100%;
  background-color: #000;
  animation: blink 1s infinite; /* animate the caret symbol */
}

@keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* Media queries for responsiveness */
@media only screen and (max-width: 768px) {
  #cursor-text {
    font-size: 24px;
  }
}

@media only screen and (max-width: 480px) {
  #cursor-text {
    font-size: 18px;
  }
}

.hov {
  background-color: brown;
  position: relative;
  padding: 0px;
  height: 350px;
  width: 250px;
  border-radius: 20px;
  flex-grow: 1;
  flex-basis: 250px;
  margin-top: 20px;
  transition: opacity 0.3s;
}

.cover {
  background-color: #d23f3f;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0px;
  left: 0px;
  opacity: 0.5;
  border: none;
  border-radius: 20px;
  padding-top: 250px;
}

.hov:hover .cover {
  display: block;
  opacity: 0;
  transform: scale(1.1);
  transition: transform 0.3s;
}

.text {
  display: flex;
  justify-content: center;
  align-items: center;
  height: fit-content;
  text-align: center;
}

.more {
  background-color: orangered;
  height: 60px;
  width: 180px;
  margin-top: 50px;
  margin-bottom: 100px;
  text-align: center;
  justify-content: center;
  font-size: 20px;
}

.more:hover {
  background-color: transparent;
  border: 2px solid black;
  color: black;
}

h3 {
  font-size: 50px;
  font-style: italic;
  margin: 100 0 100 0;
}

.dis {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mcar {
  margin-bottom: 100px;
  margin-top: 40px;
}

.dcard {
  background-image: url("phone_grees.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: top center;
  background-attachment: scroll;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.cart {
  margin: 0px;
  border-radius: 10px;
  overflow: hidden;
}

.card {
  border: none;
  background-color: transparent;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.card-body {
  padding: 20px;
}

.card-title {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 10px;
}

.card-text {
  font-size: 14px;
  color: #666;
}

.btn {
  padding: 10px 20px;
  font-size: 14px;
  border-radius: 10px;
  margin: 10px;
}

/* Add some padding to the cards on smaller screens */
@media (max-width: 768px) {
  .card {
    padding: 10px;
  }
}
.join {
  height: 100vh;
  width: 100%;
  background-image: url("dinp.jpg");
  background-attachment: fixed;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  margin-left: 10px;
}
.pop {
  margin-top: 43vh;
  margin-left: 20%;
}
.star {
  width: 100%;
  background-image: url("star.jpg");
  background-attachment: fixed;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  margin-left: 10px;
}
h2 {
  color: #007bff;
}

/* Form Labels */
label {
  font-weight: bold;
}

/* Form Inputs and Select */
.form-control {
  border: 1px solid #ced4da;
  border-radius: 4px;
}

/* Textarea */
textarea {
  resize: vertical; /* Allow vertical resizing */
}

/* File Input */
.form-control-file {
  padding-top: 5px;
}

/* Submit Button */
.btn-primary {
  background-color: #b42c03;
  border: none;
}

.btn-primary:hover {
  background-color: #b42c03;
}

/* Responsive Margin for Small Devices */
@media (max-width: 576px) {
  .container {
    padding: 15px;
  }
}

.wrapper {
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #fff;
}

.form-group {
  margin-bottom: 20px;
}

.form-control {
  height: 40px;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
}

.form-control:focus {
  border-color: #aaa;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

label {
  font-size: 20px;
  color: #022a39;
  margin-bottom: 10px;
  float: left;
}
.form-control::placeholder {
  color: #022a39;
  font-size: 20px;
}

.form-group textarea {
  padding: 10px;
  height: 200px;
  background-color: transparent;
  border: 1px solid #000;
  border-radius: 4px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}
.form-group textarea :focus {
  border-color: #0a315b;
  outline: 0;
  background-color: transparent;
  box-shadow: 0 0 0 0.3rem rgba(0, 123, 255, 0.25);
}
.form-group textarea:valid {
  border-color: #0a315b;
  outline: 0;
  background-color: transparent;
}

.form-group input {
  padding: 10px;
  background-color: transparent;
  border: 1px solid #000;
  border-radius: 4px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.form-group input:focus {
  border-color: #0a315b;
  outline: 0;
  background-color: transparent;
  box-shadow: 0 0 0 0.3rem rgba(0, 123, 255, 0.25);
}
.form-group select {
  padding: 10px;
  background-color: transparent;
  border: 1px solid #000;
  height: 50px;
  border-radius: 4px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.form-group select:focus {
  border-color: #0a315b;
  outline: 0;
  background-color: transparent;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-group input[type="file"]::file-selector-button {
  padding: 6px 12px;
  color: #022a39;
  font-size: 20px;
  background-color: transparent;
  border-color: #0a315b;
  border-radius: 4px;
  cursor: pointer;
}
.form-group input[type="file"]::-webkit-file-upload-button {
  visibility: hidden;
  display: none;
}
