* {
    padding: 0;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}
* > a {
    text-decoration: none;
    color: rgb(101, 16, 150);
}
body {
    margin: 1em;
    background-color: rgb(190, 228, 229);
    border: none;
    border-radius: 1em;
}

header, main, footer {
    width: 96%;
    margin-left: auto;
    margin-right: auto;
    background-color: rgb(190, 228, 229);
    padding: 1em;
}
/*header styling begins*/
header {
    border-top-left-radius: 1em;
    border-top-right-radius: 1em;
}
nav {
    display: flex;
    justify-content: space-between;
}
.navlinks {
    position: relative;
    display: inline-block;
}
ul {
    list-style-type: none;
    font-size: 18px;
    /*text-align: center;*/
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 120px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.5);
}
.navlinks:hover ul {
    display: block;
    text-align: right;
}
ul li ul li a {
    display:block !important;
} 
li {
    margin: 0.2em;
    background-color: lightskyblue;
    display: block;
}
/*main section styling begins*/
main {
    text-align: center;
    width: 96%;
    margin-left: auto;
    margin-right: auto;
    color: rgb(101, 16, 150);
}
main #learn-more a {
    color: whitesmoke;
    font-weight: 600;
    text-decoration: underline;
}
main #learn-more {
    background-color:rgb(101, 16, 150);
    width: max-content;
    color: rgb(245, 214, 214);
    font-weight: 100;
    padding: 0.6em;
    border-radius: 2em;
    width: 85%;
    margin-left: auto;
    margin-right: auto;
}
main h2 {
    font-size: 36px;
}
.early-users {
    margin: 0;
}
form {
    display: flex;
    justify-content: center;
    flex-direction: column;
}
form > * {
    width: 100%;
}
input {
    padding: 1em 3em 1em 3em;
    border-color: transparent;
    border-radius: 0.5em;
    margin-bottom: 1em;
    border: 1px solid grey;
    max-width: 480px;
}
#email {
    padding-right: 0px;
    padding-left: 0.5em;
    width: 100%;
    margin-bottom: 1em;
    border: 1px solid grey;
}
#button {
    font-weight: 600;
    background-color: rgb(101, 16, 150);
    color:rgb(245, 214, 214);
    border: none;
    border-radius: 0.5em;
    cursor: pointer;
}
#button:hover {
    background-color: rgb(68, 5, 104);
}
.illustration {
    display: none;
}
/*footer styling begins*/
footer {
    text-align: center;
    border-bottom-left-radius: 1em;
    border-bottom-right-radius: 1em;
}
footer div img {
    width: 36px;
}
footer h5 {
    margin: 0 0 0.5em 0;
}
/*styling for tablet*/
@media screen and ((min-width: 450px) and (max-width: 1000px)) {
    header > * {
        margin: auto 4em;
    }
    header, main, footer {
        width: 96%;
    }
    /*main*/
    main section > * {
        margin: 1em 4em 0 4em;
    }
    form {
        display: flex;
        gap: 1em;
        justify-content: center;
        flex-direction: row;
    }
    input {
        padding: 1.9em 8em 1.5em 1em;
        border-color: transparent;
        border-radius: 0.5em;
        border: 1px solid grey;
    }
    #button {
        padding: 0.6em 2em;
        font-weight: 600;
        background-color: rgb(101, 16, 150);
        color:rgb(245, 214, 214);
        border: none;
        border-radius: 0.5em;
    }
    /*footer*/
    footer > * {
        text-align: left;
        margin-left: 4em;
    }
}

@media screen and (min-width: 1000px) {
    header, main, footer {
        width: 96%;
        margin-left: auto;
        margin-right: auto;
        background-color: rgb(190, 228, 229);
        padding: 1em;
    }
    body {
        margin: 1em;
    }
    /*HEADER*/
    /*MAIN*/
    main {
        display: flex;
        justify-content: space-evenly;
        gap: 2em;
    }
    .early-users > * {
        text-align: start;
        padding-left: 1.5em;
        padding-right: 1.5em;
    }
    #learn-more {
        margin-left: 0px;
    }
    .illustration {
        display: contents;
    }
    input {
        padding-right: 3em;
    }
    /*FOOTER*/
    footer > * {
        text-align: left;
        padding-left: 2em;
    }
}