/* Custom props */
/* Custom props */
:root {
    --ff-primary: 'Poppins', sans-serif;
}

/* Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body,
h1,
h2,
h3,
p {
    margin: 0;
}

/* CSS */

img {
    max-width: 100%;
    height: auto;
    display: block;
}

body {
    background-image: url("../img/background.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    width: 90%;
    margin: 0 auto;
    font-family: var(--ff-primary);
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

header img {
    padding: 2rem;
    max-height: 150px;
    margin: auto;
}

.hide{
    display: none;
}

.card{
    background-color: #FFFFFF;
    box-shadow: 0 4px 17px -3px rgba(0, 0, 0, 0.25);
    border-radius: 25px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.success{
    padding: 2rem;
    flex-direction: column;
    display: none;
}

.card img{
    max-height: 200px;
    margin: auto;
}
.success-img img{
    max-height: 400px;
    margin: auto;
    margin-top: 4rem;
}

footer{
    margin-bottom: 1rem;
}

footer a{
    text-decoration: none;
    color: whitesmoke;
    font-weight: 600;
    cursor: pointer;
}
footer a:visited{
    text-decoration: none;
    color: whitesmoke;
}

.success a{
    text-decoration: underline;
    color: black;
    font-weight: 600;
    cursor: pointer;
}
.success a:visited{
    text-decoration: none;
    color: black;
}

.text-center{
    text-align: center;
}

.card-info, .success-info{
    margin-top: 2rem;
}

.success-info > * {
    margin-bottom: 2rem;
}

.title-success{
    font-size: 1.2rem;
}

.p-success{
    font-weight: 400;
}

.card-info h1{
    text-transform: uppercase;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}
.card-info p{
    font-size: 0.8rem;
}

form{
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
}

.alert{
    margin-top: 1rem;
    background-color: #f7a7a3;
    color: darkred;
    padding: 1rem;
    font-size: 0.7rem;
    border-radius: 5px;
    display: none;
}

.input-email{
    background: #EFEFEF;
    border-radius: 5px;
    border: none;
    font-size: 0.9rem;
    padding: 10px;
}
.input-email::placeholder{
    color: rgba(0, 0, 0, 0.35);
    font-family: var(--ff-primary);
}
.input-submit{
    background: #242424;
    box-shadow: 0 4px 11px -5px rgba(0, 0, 0, 0.25);
    border-radius: 5px;
    border: none;
    color: white;
    font-family: var(--ff-primary);
    padding: 10px;
    font-size: 0.8rem;
    margin-top: 0.6rem;
    cursor: pointer;
    transition: 0.3s;
}
.input-submit:hover{
    background: whitesmoke;
    box-shadow: 0 4px 11px -5px rgba(0, 0, 0, 0.25);
    border-radius: 5px;
    border: 1px solid black;
    color: black;
    font-family: var(--ff-primary);
    font-weight: 600;
    padding: 10px;
    font-size: 0.8rem;
    margin-top: 0.6rem;
    cursor: pointer;
}