@font-face {
  font-family: "General Sans";
  src: url("./fonts/GeneralSans-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  text-align: center;
  color: #333;
  position: relative; /* Make body relative for positioning the pseudo-element */
}

.bg-image {
  background-image: url("../images/bgprofile.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  filter: blur(2px);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.card {
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  width: 28rem; 
  height: 24rem; 
  margin: auto;
  background-color: rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: center; 
  align-items: center; 
  text-align: center; 
  position: relative; 
  z-index: 1; 
}

.card-body {
  display: flex; 
  flex-direction: column; 
  justify-content: center; 
  align-items: center; 
  height: 100%; 
  padding: 2rem; 
}

.logo_image {
  width: auto;
  height: 50px;
  max-width: 80%;
}

.heading3 {
  font-family: "Barlow", sans-serif;
  margin-bottom: 0.5rem;
  line-height: 1.2;
  margin-top: 1.5rem;
  font-size: 1.5rem;
  color: black; 
  font-weight: 600;
}

p {
  font-family: "Barlow", sans-serif;
  font-weight: 400;
}

.button-connect {
  font-family: "Barlow", sans-serif;
  align-items: center;
  appearance: none;
  background-color: #1395bf; 
  background-image: linear-gradient(to right, #1395bf, #02ae69);
  border-radius: 100px;
  border: 0; 
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  font-size: 1rem;
  justify-content: center;
  line-height: 1.5;
  padding: 6px 20px;
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s;
  user-select: none;
  vertical-align: top;
  white-space: nowrap;
}

.button-connect:active {
  transform: scale(0.95); 
}

/* Styles for mobile devices */
@media (max-width: 768px) {
  .card {
      width: 90%; /* Adjust card width */
      height: auto; /* Make height flexible */
      padding: 20px; /* Adjust padding */
  }

  .logo_image {
      height: 40px; /* Adjust logo size */
  }

  .heading3 {
      font-size: 1.5rem; /* Adjust font size */
  }

  .button-connect {
      width: 100%; /* Make button full width */
      padding: 12px; /* Adjust padding */
  }
}
