html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: #f8f8f8;
    font-family: "Inter", sans-serif;
}

h1 {
    font-family: "Cinzel", serif;
    font-optical-sizing: auto;
    color: #8b0000;
    margin: 0;
    font-weight: 400;
  }
  
  h2 {
    font-family: "Cinzel", serif;
    font-optical-sizing: auto;
    color: #8b0000;
    font-weight: 600;
  }

main {
    flex-grow: 1;
}

body {
   
    text-align: center;
    font-family: 'Roboto', sans-serif;
}

.wrapper {
    max-width: 760px;
    margin: 0 auto;
    padding: 20px;
}

header {
    background-image: url(conclave.jpg);
    background-position: center;
    background-size: cover;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    padding: 20px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.newsletter {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    text-align: left;
    max-width: 480px;
    position: relative;
}

.newsletter.loading::after {
    content: "ISCRIZIONE IN CORSO...";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #4CAF50;
    font-weight: bolder;
}

.newsletter input[type="email"] {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.newsletter button[type="submit"] {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: #4CAF50;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

.button {
    background-color: #8b0000;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 12px;
    margin-bottom: 12px;
    display: inline-block;
    /* font-size: 16px; */
}

a.button {
    color: white;
    text-decoration: none;
}

.social-links {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 20px;
}

.social-links a {
    margin: 0 10px;
    fill: #8b0000;
    text-decoration: none;
    width: 40px;
}

a {
    color: #8b0000;
    text-decoration: none;
}
