body{
    background: #ffc4eb;
    color: #7e303b;
    font-family: "Quicksand", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 500;
    margin: 0;
    font-size: 18px;
    position: relative;
    padding-top: 100px;
    padding-bottom: 100px;
    height: 100%;
}

header, main, footer{
    max-width: 780px;
    width: 90%;
    margin: 0 auto;
}

header{
    text-align: center;
    margin-bottom: 3rem;
}

.heart-icon{
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem auto;
    position: relative;
}

.heart-icon .heart-svg{
    width: 100%;
    height: 100%;
    fill: #7e303b;
}

.heart-icon .heart-svg:first-child{
    animation: beating 1s ease-in-out infinite alternate;
}

@keyframes beating {
    from{transform: scale(0.95);}
    to{transform: scale(1);}
}

.heart-icon .heart-svg:last-child{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    fill: #7e303b;
    opacity: 0.2;
    animation: pumping 3s ease-in-out infinite;
}

@keyframes pumping {
    0%{transform: scale(1);}
    50%{transform: scale(1.5); opacity: 0.2;}
    100%{transform: scale(1.5); opacity: 0;}
}

h1{
    font-size: 30px;
    margin: 0;
    margin-bottom: 1rem;
}

input:not([type="submit"]):not([type="checkbox"]),
textarea{
    padding: 0.5rem;
    border: 2px solid #7e303b;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.8);
    font-family: inherit;
    transition: all .5s ease;
}

input:not([type="submit"]):not([type="checkbox"]):focus,
textarea:focus{
    outline: none;
    background: rgba(255, 255, 255, 1);
}

input[type="submit"]{
    background: #7e303b;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    font-size: 20px;
    font-weight: 700;
    border-radius: 5px;
    cursor: pointer;
}

textarea{
    resize: none;
    width: 100%;
}

label{
    font-size: 20px;
    font-weight: 700;
}

.input-container{
    display: flex;
    flex-direction: row;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    text-align: center;
    justify-content: center;
}

.input-container label,
.input-container p{
    font-size: 18px;
    margin-bottom: 0.5rem;
    width: 100%;
    font-weight: 700;
}

.input-container .checkbox-label{
    font-weight: 500;
    font-size: 18px;
    display: inline-block;
    width: auto;
    margin-right: 2rem;
}

.input-container .checkbox-label input{
    display: none;
}

.checkbox-icon{
    display: inline-block;
    width: 20px;
    margin-right: 5px;
}

.checkbox-icon .heart-svg{
    width: 100%;
    height: auto;
    fill: none;
    stroke-width: 20px;
    stroke: #7e303b;
}

.checkbox-label input:checked + .checkbox-icon .heart-svg{
    fill: #7e303b;
}

.checkbox-label input:checked ~ span{
    font-weight: 700;
}

footer{
    position: absolute;
    bottom: 0;
    text-align: center;
    opacity: 0.2;
    left: 0;
    right: 0;
}

.login-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.login-container input{
    margin: .5rem 0;
}

.success-message{
    text-align: center;
}