html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  background-color: black !important;
  margin: 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;   /* center horizontally */
  align-items: flex-start;   /* default to top alignment */
  padding: 20px 0;           /* optional vertical padding */
}

@media (min-width: 768px) {
  body {
    align-items: center;     /* vertical center on desktop */
  }
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

img{
  border-radius: 15px;
}

.center{
  display: flex;
  justify-content: center;   /* centers horizontally */
  align-items: center;       /* centers vertically */
  height: 100vh;             /* 100% of viewport height */
  margin: 0;
}

.button{
  display: inline-block;
  margin-top: 50px;
  color: #B0B0B0;
  font-weight: bold;
  font-size: 20px;
  cursor: pointer;
  transition: transform 0.2s ease;
  text-decoration: none;   /* Remove underline */
}

.button:hover {
  border-radius: 15px;
  transform: scale(1.05);
}

.icon{
  cursor: pointer;
  transition: transform 0.2s ease;
}

.icon:hover{
  transform: scale(1.05);
}

@keyframes shake {
  0%   { transform: scale(1.05) translateX(0); }
  20%  { transform: scale(1.05) translateX(-4px); }
  40%  { transform: scale(1.05) translateX(4px); }
  60%  { transform: scale(1.05) translateX(-4px); }
  80%  { transform: scale(1.05) translateX(4px); }
  100% { transform: scale(1.05) translateX(0); }
}

.shake {
  animation: shake 0.4s ease;
}

.imgbutton{
  display: inline-block;
  color: #B0B0B0;
  font-weight: bold;
  font-size: 20px;
  cursor: pointer;
  transition: transform 0.2s ease;
  text-decoration: none;   /* Remove underline */
}

.imgbutton:hover{
  border-radius: 15px;
  transform: scale(1.05);
}
