/* Imported Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&family=PT+Mono&display=swap");

/* General styles */
body {
  /* Generic project styles */
  color: #252525;
  font-family: "Manrope", sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1 {
  font-family: "PT Mono", sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #252525;
  margin-top: 15px;
}
h2,
h3 {
  font-family: "PT Mono", sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #3a3a3a;
  margin-top: 5px;
}

p {
  color: #252525;
  margin-top: o.5rem;
  margin-left: 20px;
  margin-right: 20px;
}

.section {
  margin-top: 1rem;
  margin-bottom: 2rem;
  background-color: #e8cdea;
}

/* Navbar Stlyes (referenced from Code Institute) */

.logo {
  padding: 10px;
}

.navbar-bg-color {
  background-color: #e8cdea;
}

/* carousel section */

#carousel-margin {
  margin-top: 2rem;
}

.button-style {
  background-color: #e8cdea;
  color: #3a3a3a;
  border-radius: 6px;
  padding: 10px 20px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
}

/* Features and feature card styles (referenced from Youtube channel */

.feature {
  background-color: #e8cdea;
  text-align: center;
  margin-bottom: 50px;
}

.card-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 50px;
}

.card {
  width: 100%; /* Take full width of Bootstrap column */
  max-width: 700px;
  background-color: #d8e6f1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0px 2px 4px #3a3a3a;
  margin: 20px auto;
}

.card-img-top {
  margin-top: 10px;
}

/* responsive video player */

.video-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 20px;
  box-sizing: border-box; /* Ensures padding does not affect width */
}

video {
  width: 100%;
  max-width: 800px; /* Set a maximum size for the video player */
  height: auto; /* Maintain the aspect ratio of the video */
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Gallery Section */

.gallery-item {
  width: 100%;
  height: auto;
  max-width: 100%;
  box-sizing: border-box;
  margin: 10px;
}

/* Registration Page Styling (referenced from youtube channel) */

.register-page {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 130px; /* Adjusted padding for better centering */
  min-height: 100vh;
}

.form-container {
  width: 90%;
  max-width: 500px;
  padding: 25px;
  background-color: #d8e6f1;
  box-shadow: 0px 2px 4px #3a3a3a;
  border-radius: 8px;
}

.form-container h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.form-container p {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1rem;
  color: #3a3a3a;
}

.form-container .form {
  margin-top: 20px;
}

.form .input-box {
  width: 100%;
  margin-top: 20px;
}

.input-box label {
  color: rgb(58, 58, 58);
}

.form .input-box input {
  width: 100%;
  height: 50px;
  padding: 0 10px;
  font-size: 1rem;
  outline: none;
  border: 1px solid #3a3a3a;
  border-radius: 6px;
  padding-bottom: 10px;
}

.form .btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: rgb(153, 196, 232, 0.7);
  color: #3a3a3a;
  margin-top: 20px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.form button:hover {
  background-color: #e8cdea;
}

/*Thank you page styles  (referenced from yotube video) */

.thank-you-message {
  text-align: center;
}

.thank-you-message h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #050336;
}

.thank-you-message p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #3a3a3a;
}

.thank-you-message .btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: rgb(153, 196, 232, 0.7);
  color: #3a3a3a;
  margin-top: 20px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.thank-you-message .button:hover {
  background-color: #e8cdea;
}

/* Footer (referenced from Code Institute Love Running module) */
footer {
  background-color: #d8e6f1;
  box-shadow: 0 2px 2px #3a3a3a;
  margin-top: 50px;
}

.social {
  color: #3a3a3a;
}

.social-links {
  text-align: center;
  padding: 20px 0;
  list-style-type: none;
  display: flex;
  justify-content: space-evenly;
  color: #3a3a3a;
}

.social-links i {
  font-size: 150%;
  padding: 5%;
}

@media (min-width: 1440px) {
  .card.col-xl-3 {
    flex: 0 0 45%;
    max-width: 20%;
  }
}
