*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    font-family: "Roboto", sans-serif;
}

:root {
    --primary-red: hsl(4, 100%, 67%);
    --blue-800: hsl(234, 29%, 20%);
    --blue-700: hsl(235, 18%, 26%);
    --grey: hsl(0, 0%,58%);
    --white: hsl(0, 0%, 100%);

    --fw-400: 400;
    --fw-700: 700;
}

body {
    line-height: 1.5;
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    max-width: 56.5rem;
}

.wrapper {
    display: grid;
    gap: 1rem;
    margin: 2rem 1.75rem;
}


h1 {
    font-size: 2.5rem;
    color: var(--blue-800);
}

p {
   color: var(--blue-700); 
}

ul {
    list-style: none;
    color: var(--blue-700);
}

ul img {
    width: 1.125rem;
    height: 1.125rem;
}

ul
.list-item-1 ,
.list-item-2 ,
.list-item-3 {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    padding-top: 1rem;
}

form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 1.75rem;
    width: 20.4375rem;
    height: 10.125rem;
}

label {
    margin-bottom: 0.5rem;
    font-size: 0.813rem;
    color: var(--blue-700);
}

input {
    width: 18.1375rem;
    height: 3.125rem;
    border-radius: 7px;
    margin-bottom: 1.525rem;
    padding-left: 1rem;
    border-style: solid;
}

button {
    width: 19.4375rem;
    height: 3.425rem;
    border-radius: 7px;
    padding: 1rem 3rem;
    background-color: var(--blue-800);
    color: var(--white);
    border-style: solid;
    cursor: pointer;
}

@media screen and (min-width: 500px) {

    
    body {
        background-color: var(--blue-800);
        display: flex;
        justify-content: center;
        align-items: center;
    }

    main {
        background-color: var(--white);
        max-width: 38rem;
        height: auto;
        border-radius: 1.5rem;
        margin-top: 4rem;
        margin-bottom: 4rem;
        padding-top: 2rem;
    }

    .header-image {
        min-width: 90%;
        border-top-right-radius: 1rem;
        border-top-left-radius: 1rem;
    }

    input {
        width: 25rem;
    }

    button {
        width: 26.25rem;
        border-style: none;
    }
}




