
@media only screen and (max-width: 500px) {
  footer{
    position: inherit !important;
  }
  body{
    display: block !important;
  }

  .form-container{ 
    min-height: calc(100vh - 144px) !important;
  }
}

@font-face {
  font-family: Flame;
  src: url(./../fonts/FlameBold.otf);
  font-weight: 700;
}

@font-face {
  font-family: Flame;
  src: url(./../fonts/FlameRegular.otf);
  font-weight: 400;
}

body {
    background: #fff8e7;
    font-family: 'Flame';
    display: flex;
    font-weight: 400;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    flex-direction: column;
}

.form-container {
    background-color: #fff;
    border-radius: 20px;
    padding: 2rem 3rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    max-width: 400px;
}

.burger-emoji {
    font-size: 3rem;
    margin-bottom: 1rem;
}

h1 {
    font-size: 1.8rem;
    color: #d32f2f;
    margin-bottom: 0.5rem;
}

p {
    color: #555;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

input[type="email"] {
    box-sizing: border-box;
    padding: 0.8rem;
    border-radius: 10px;
    border: 2px solid #f4b400;
    width: 100%;
    font-size: 1rem;
    margin-bottom: 1.2rem;
}

button {
    min-width:180px;
    height:44px;
    background-color: #d32f2f;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #b71c1c;
}

.note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #999;
}

#message {color:#502214;}

#message-error{color:#d32f2f;}

#loader {
    width: 15px;
    height: 15px;
    border: 3px solid #FFF;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    margin:auto;
}

#loader-2 {
    width: 48px;
    height: 48px;
    border: 5px solid #d32f2f;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    margin:auto;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
} 

footer{
    position: absolute;
    bottom: 0px;
    height: 80px;
    width: 100%;
    left: 0;
    right: 0;
    margin: auto;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #502314;
    color: #FFF;
    font-size: 30px;
}