:root {
    --color-primary: #FFD600;
    --color-secondary: #2160C6;
    --color-highlight: #815A3D;
}

/* * {
    outline: 1px solid red !important;
} */

html {
    background: #2160C6;
    background: linear-gradient(90deg,rgba(33, 96, 198, 1) 0%, rgba(98, 141, 211, 1) 100%);
    font-family: "Poppins", sans-serif;
    font-size: 62.5%;
    background-attachment: fixed;
    overflow-x: hidden;
}

/* body {
    margin: 3rem 10rem 2rem 8rem;
} */

h1 {
    color: white;
    font-size: 2.5rem;
}

h2 {
    color: white;
    font-size: 2.4rem;
}

p {
    color: white;
    font-size: 1.5rem;
}

@media screen and (min-width: 720px) {
    h1 {
        font-size: 4rem;
    }

    h2 {
        font-size: 3.5rem;
    }

    p {
        font-size: 1.5rem;
    }
}

input {
    padding: 1.5rem 2rem;
    border-radius: 10px;
    border: none;
    font-size: 1.5rem;
}

button {
    padding: 1.5rem 2rem;
    border-radius: 10px;
    border: none;
    font-size: 1.5rem;
}

button:hover {
    cursor: pointer;
}

.container {
  max-width: 900px; /* Largura máxima do conteúdo */
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px; /* Margem de segurança para telas pequenas (mobile) */
  padding-right: 20px;
}

/* -------- HEADER --------- */

header {
    width: 100%;
    margin-bottom: 5rem;
    margin-top: 1rem;
}

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

.header-list {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    font-size: 2rem;
}

.list-item {
    opacity: 0;
    width: 0rem;
    overflow: hidden;
}

 @media screen and (min-width: 720px) {
    .list-item {
        opacity: 1;
        width: auto;
    }
 }

.logo {
    height: 6rem;
}

.demo-button {
    padding: 1rem 2rem;
    border-radius: 10px;
    background: var(--color-primary);
    color: #815A3D;
}

.demo-button i {
    padding-left: 0.5rem;
}

.list-item:hover {
    color: #f2e7b2;
    transform: scale(1.05);
}

/* -------- HERO --------- */

.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10rem;
}

.hero-image {
    width: 10rem;
}

 @media screen and (min-width: 720px) {
    .hero {
        margin-top: 10rem;
    }
    .hero-image {
        width: 20rem;
    }
}

.hero h1 {
    padding-left: 2rem;
}

.hero b {
    color: var(--color-primary);
}

/* -------- GRID --------- */

.grid {
    text-align: center;
}

.grid b {
    font-weight: 700;
    color: #FFD600;
}

.grid h2 {
    margin-top: 8rem;
}

.grid-item-image img{
    width: 20rem;
}

@media screen and (min-width: 720px) {

    .grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        margin-bottom: 10rem;
    }
    
    .grid-item {
        margin-bottom: 2rem;
        padding-right: 2rem;
        text-align: left;
    }
    
    .grid-item-2 {
        text-align: end;
        padding-left: 3rem;
    }
    
    .grid-item-image {
        text-align: center;
        padding-top: 2rem;
    }
    
    .grid-item-image img{
        width: 30rem;
    }
    
}


/* -------- FOOTER --------- */

.footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

footer {
    background: #FFD600;
    height: fit-content;
    padding: 2rem 0rem 2rem 0rem;
}

footer p {
    color: #815A3D;
    font-weight: 500;
    text-align: center;
}

.footer-section-title {
    font-weight: 800;
}

@media screen and (min-width: 720px) {
    
    
    .footer-container {
        display: flex;
        justify-content: space-between;
        gap: 5rem;
    }

    footer p {
        text-align: left;
    }
    
}



/* -------- DEMO FORM --------- */

.demo-form {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-bottom: 4rem;
}

.demo-form h1 {
    text-align: center;
}

.demo-form p {
    text-align: center;
}


.demo-form input {
    margin-bottom: 1.5rem;
    width: 80%;
}

.demo-form button {
    width: 20rem;
    margin-bottom: 1.5rem;
    background-color: #FFD600;
    color: #815A3D;
    font-weight: 600;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.269);
}

@media screen and (min-width:720px) {
    .demo-form h1 {
        width: 44%;
    }

    .demo-form p {
        width: 44%;
    }

    .demo-form input {
        width: 40rem;
    }
}


