@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;600&display=swap');
/* @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;600&display=swap'); */

/* @import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400&display=swap'); */
html {
    scroll-behavior: smooth;
    width: 100vw;
    min-height: 100vh;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font);
    behavior: 'smooth';

    overflow-x: hidden;
    background-color: rgb(200,200,200);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' width='32' height='32' fill='none' stroke='rgb(220,220,220)'%3e%3cpath d='M0 .5H31.5V32'/%3e%3c/svg%3e");
    color: var(--text) !important;
}

* {
    font-family: var(--font);
    color: var(--text);
}

:root {
    color-scheme: dark;

    /* --font: "Nunito", sans-serif; */
    --font: "Poppins",  sans-serif;
    --accent: #649fda;
    --fg: rgb(235, 233, 233); 
    --bg: rgb(40, 40, 40);
    --card-color: rgb(247, 247, 247);
    /* --fg: rgb(15, 15, 15);
    --bg: rgb(20, 20, 20); */
    --text: rgb(30, 30, 30);
    --green-color: rgb(55, 180, 44);
    --card-shadow: 1px 2px 10px #c3c2c2;
    --radius: 12px;
}

@media (max-width: 600px) {

    /* mobile */

    p {
        margin: auto;
        font-size: 16px;
        margin: 1.25em;
    }

    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 32px;
    }

    h3 {
        font-size: 22px;
    }

    h4 { 
        font-size: 19px;
        margin-inline: .5rem;
        margin-block: 0;
        text-align: center;
        font-weight: normal;
    }

    .navigation {
        display: grid;
        grid-template-columns: 1fr;
        grid-auto-rows: 3.5em;
        margin-bottom: 1.5em;
    }

    main {
        margin-inline: 1rem;
    }

    input, textarea {
        margin-top: .5rem;
        width: 20rem;
    }

    .navigation-sections {
        display: flex;
        justify-content: center;
    }

    .inline-items {
        flex-direction: column;
    }

    .benefits {
        display: flex;
        flex-direction: column;
    }
}

@media (min-width: 600px) {
    /* Desktop */

    p {
        font-size: 18px;
        margin: auto;
    }

    h1 {
        font-size: 65px;
        margin: 0;
    }

    h2 {
        font-size: 42px;
    }

    h3 {
        font-size: 32px;
    }

    h4 { 
        font-size: 22px;
        margin-block: 0;
        text-align: center;
        font-weight: normal;
    }


    h3 {
        margin: 0;
        font-weight: normal;
    }

    main {
        margin: auto;
        margin-inline: 2rem;
    }

    .navigation {
        display: flex;
        flex-direction: column;
    }

    .navigation-sections {
        margin: 10px;
    }
}

header {
    top: 0;
    width: 100%;
}

main {
    behavior: 'smooth';
    height: 100%;
    /* margin: auto; */
    
    padding: 1rem;
    border-radius: var(--radius);
    background-color: var(--fg);
}

footer {
    position: sticky;
    top: 100%;
    margin-top: 1rem;
    margin-bottom: 10px;
}

button {
    background-color: transparent;
    border: transparent;
    font-size: 25px;
}

h1, h2, h3 {
    text-align: center;
}

h2 {
    margin-bottom: 10px;
}

h3 {
    margin-bottom: 5px;
    font-weight: normal;
    text-align: left;
}

p {
    display: flex;
    letter-spacing: .75px;
    word-spacing: .5px;
    place-items: center;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

li {
    float: left;
    padding-left: 10px;
}

.brand-name {
    width: 200px;
    font-size: 3em;
}

.accent {
    color: var(--accent);
}

.inline-items {
    display: flex;
    justify-content: center;
    margin-top: .7rem;
    gap: 1rem;
}

.grid-items {
    display: grid;
    justify-content: center;
    /* align-items: center; */
    align-items: stretch;
    grid-template-columns: repeat(auto-fill, 16rem);
    margin-bottom: 3rem;
    gap: 1rem;
}

.green-button {
    background-color: rgb(55, 180, 44);
    padding-inline: 1.25rem;
    padding-block: .75rem;
    font-size: 22px;
    color: white;
    border-radius: var(--radius);
}

.green-button:hover {
    animation: shine 200ms;
    animation-fill-mode: forwards;
}

label {
    display: flex;
    justify-content: left;
    width: 30rem;
    font-size: 20px;
    margin-bottom: 1rem;
}

input, textarea {
    font-size: 20px;
}

textarea {
    appearance: none;
    /* background-color: rgb(51, 50, 50); */
    background-color: var(--card-color);
    border: 0;
    border-bottom: 1px solid var(--bg);
    border-radius: 8px;
}

input {
    appearance: none;
    border: 0;
    color: var(--text);
    background-color: var(--card-color);
    border-bottom: 1px solid var(--bg);
    padding: .25rem;
    padding-inline: .4rem;
    font-size: 20px;
    border-radius: 8px;
}

input[type="checkbox"] {
    appearance: none;
    background-color: rgb(51, 50, 50);
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    cursor: pointer;
    width: 19px;
    height: 19px;
    margin-right: .4rem;
}

input[type="radio"] {
    appearance: none;
    background-color: rgb(51, 50, 50);
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    cursor: pointer;
    width: 19px;
    height: 19px;
}

input:checked {
    background-color: var(--accent);
}

input[type="radio"]:hover {
    accent-color: var(--accent);
}

button:hover {
    cursor: pointer;
}

span {
    color: rgb(167, 167, 167);
}

.selected {
    color: var(--accent);
}


@keyframes shine {
    from {
        filter: blur(0px);
    }

    to {
        border-bottom: 1px solid var(--accent);
    }
}

@keyframes up {
    to {
        border-bottom: 2px solid var(--accent);
        transform: translateY(-2px);
    }
}

@keyframes up-left {
    to {
        border-left: 3px solid var(--accent);
    }
}

@keyframes shineColor {
    from {
        filter: blur(0px);
    }

    to {
        color: var(--accent);
        filter: blur(0px);
    }
}

a {
    color: var(--dark-primary-color);
    text-decoration: none;
}

a:hover {
    cursor: pointer;
    animation: shineColor 200ms;
    animation-fill-mode: forwards;
}

/* width */
::-webkit-scrollbar, body::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track, body::-webkit-scrollbar-track {
    background: var(--fg);
}

/* Handle */
::-webkit-scrollbar-thumb, body::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: var(--radius);
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}