@import url('reset.css');

:root {
    --color-neutral-0: #0e0c0c;
    --color-neutral-10: rgb(142, 142, 237);
    --color-neutral-30: #333;
    --color-neutral-40: #000000;
}

* {
    font-family: Georgia, 'Times New Roman', Times, serif;
    box-sizing: border-box;
    letter-spacing: 1px;
}

body {
    background-color: rgb(142, 142, 237);
}

header {
    background-color: rgb(142, 142, 237);
    padding: 10px 20px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 300px; /* Diminui a altura da imagem */
    margin-left: 50%;
}

.ante {
    margin-bottom: 5%; /* Ajuste este valor conforme necessário */
    margin-right: 2%;
}

.ante a {
    border-radius: 5rem;
    background: rgb(50, 50, 107);
    color: white;
    padding: .9rem 1.5rem;
    cursor: pointer;
    font-size: 1rem;
    text-decoration: none;
}

.ante a:hover {
    background: rgb(70, 70, 127);
}

.container {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    text-align: center;
}

.container-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 500px;
    margin: 0 20px;
}

.img, .img2 {
    width: 200px;
    height: 200px;
    margin: 20px 0;
}

.text, .text2 {
    width: 90%;
    font-size: 18px;
    margin-top: 20px;
    text-align: justify;
    line-height: 1.8;
}

footer {
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.6);
    width: 100%;
    background-color: aliceblue;
    text-align: center;
    padding: 10px 0;
}

footer {
    width: 100%;
    color: var(--color-neutral-40);
}

.footer-link {
    text-decoration: none;
}

#footer_content {
    background-color: var(--color-neutral-10);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 3rem 3.5rem;
}

#footer_contacts h1 {
    margin-bottom: 0.75rem;
}

#footer_contacts img {
    height: 200px;
    margin-top: -50px; /* Adiciona uma margem negativa para mover a imagem para cima */
}

#footer_social_media {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
}

#footer_social_media .footer-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2.5rem;
    width: 2.5rem;
    margin-left: 45%;
    color: var(--color-neutral-40);
    border-radius: 50%;
    transition: all 0.4s;
}

#footer_social_media .footer-link i {
    font-size: 1.25rem;    
}

#footer_social_media .footer-link:hover {
    opacity: 0.8;
}

#instagram {
    background: linear-gradient(#7f37c9, #ff2992, #ff9807);
}


.footer-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    list-style: none;
}

.footer-list .footer-link {
    color: var(--color-neutral-30);
    transition: all 0.4s;
}

.footer-list .footer-link:hover {
    color: #7f37c9;
}

#footer_subscribe {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

#footer_subscribe p {
    color: var(--color-neutral-30);
    margin-top: 10%;
}

#input_group {
    display: flex;
    align-items: center;
    background-color: var(--color-neutral-0);
    border-radius: 4px;
}

#input_group input {
    all: unset;
    padding: 0.75rem;
    width: 100%;
}

#input_group button {
    background-color: #7f37c9;
    border: none;
    color: var(--color-neutral-40);
    padding: 0px 1.25rem;
    font-size: 1.125rem;
    height: 100%;
    border-radius: 0px 4px 4px 0px;
    cursor: pointer;
    transition: all 0.4s;
}

#input_group button:hover {
    opacity: 0.8;
}

#footer_copyright {
    display: flex;
    justify-content: center;
    background-color: var(--color-neutral-0);
    font-size: 0.9rem;
    padding: 1.5rem;
    font-weight: 100;
}

@media screen and (max-width: 768px) {
    #footer_content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media screen and (max-width: 426px) {
    #footer_content {
        grid-template-columns: repeat(1, 1fr);
        padding: 3rem 2rem;
    }
}
