@import url('https://fonts.googleapis.com/css2?family=Lato&family=Rubik&display=swap');

html{
    scroll-behavior: smooth;
}

body{
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    background-color: #191A19;
}

form{
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    gap: 1em;
    font-size: 1.2em;
    width: fit-content;
    height: fit-content;
    padding-left: 1.1em;
    padding-right: 1.1em;
    padding-bottom: 1.2em;
    padding-top: 1.2em;
    background-color: white;
    border-radius: 1em;
    font-family: 'Rubik';
    font-weight: 500;
}

.zero{
    font-weight: 600;
}

.row{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 0.2em;
}
#email, #fname, #lname{
    flex-grow: 5;
    border-radius: 1em;
    padding-left: 0.5em;
    border: 0.1em solid;
}
#newsletter{
    align-self: center;
}

.four{
    justify-content: flex-end;
}

.submit{
    font-size: 1.2em;
    color: #191A19;
    background-color: rgb(248, 248, 161);
    width: fit-content;
    height: fit-content;
    padding: 0.5em 0.8em 0.5em 0.8em;
    border-radius: 1em;
    border: none;
    text-decoration: none;
  }
.submit:hover{
    background-color: rgb(252, 252, 181);
}
.submit:active{
    background-color: rgb(236, 236, 208);
}
.hidden::after{
    content: "";
}

#newsletter:checked ~ .hidden::after {
    content: "  :)";
}