body {
    margin: 0;
    padding: 0;
    position: relative;
    background-color: #000;
    background-image: url(../images/Background.png);
    background-repeat: repeat-x;
    background-size: cover;
    color: #fff;
    font-family: castaway;
    font-weight: 500;
    font-style: normal;
    text-align: center;
    font-size: 16px;
    min-height: 100vh;
}

@font-face {
  font-family: castaway;
  src: url(../fonts/LasVegas-Castaway.otf);
}

.logo {
    width: 600px;
    max-width: 100vw;
}

.form-logo{
    width: 400px;
}

label {
    align-self: flex-start;
    font-family: Arial, Helvetica, sans-serif;
}

p{
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
}

h2 {
    font-style: italic;
}

span{
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
}

.form-span{
    font-size: 2.3rem;
    font-family: castaway;
}

input {
    padding: 0.75rem 1rem;
    border-radius: 2rem;
    border: none;
    font-weight: 500;
    font-style: normal;
    font-size: 1.375rem;
}

input:focus {
    outline: none;
}


button {
    width: 250px;
    height: 80px;
    align-self: center;
    border: 2px solid #fff;
    border-radius: 1.25rem;
    background-image: url(../images/button.avif);
    background-repeat: no-repeat;
    background-position-x: -80px;
    color: #fff;
    font-family: castaway;
    font-weight: 800;
    font-style: normal;
    font-size: 2rem;
}

button:hover {
    filter: drop-shadow(0 0 0.15rem #a4a5b5f2);
}

button:active {
    background-image: url(../images/button_pressed.avif);
}

.cards-container {
    position: relative;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 20px;
    z-index: 10;
}

.card {
    width: 348px;
    height: 472px;
    text-align: center;
}

.card img {
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.logout-button {
    position: absolute;
    top: 30px;
    right: 30px;
    margin: auto;
    width: 190px;
    height: 60px;
    font-size: 1.8rem;
}

.login-form {
    position: relative;
    max-width: 400px;
    display: flex;
    flex-flow: column;
    row-gap: 0.75rem;
    padding: 1rem 2rem 3rem;
    margin:  0px auto 15px;
    border-radius: 0.5rem;
    border: 0.1rem solid #a1a1a1;
    background: #33373a;
    filter: drop-shadow(0 1rem 2rem #2b329996);
    z-index: 10;
}

.error {
    position: relative;
    max-width: 400px;
    padding: 1rem 2rem;
    margin: auto;
    border-radius: 0.5rem;
    border: 0.1rem solid #ec5959;
    background: #b91414;
    font-size: 22px;
    z-index: 10;
    font-family: Arial, Helvetica, sans-serif;
}

.custom-alert {
  display: block;
  position: fixed;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  padding: 16px 24px;
  background-color: #323232;
  color: white;
  font-size: 1rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.0;
  z-index: 10000;
  transition: top 0.4s ease, opacity 0.4s ease;
  pointer-events: none;
  font-family: Arial, Helvetica, sans-serif;
}

.custom-alert.show {
  top: 20px;
  opacity: 1.0;
}

.custom-alert.success {
  background-color: #4caf50;
}

.custom-alert.error {
  background-color: #f44336;
}


@media (max-width: 800px) {
    .card {
        width: 348px;
    }
}