@font-face {
    font-family: 'Sifonn';
    src: url('/codigo-fonte/midias/SiffonPro.otf') format('opentype');
}

/* Estilo do título */
h1 {
    display: flex;
    font-family: 'Sifonn';
    margin: 0;
    color: #5b4686;
    font-size: 40px;
    letter-spacing: -3px;
}

.logo{
    text-decoration: none; 
    color: #5b4686;
}

.logo:hover{
    color: #2e185a;
    transition: 0.5s;
}
.icon-perfil {
    border-radius: 50%; /* Torna a imagem redonda */
    width: 40px; /* Define a largura da imagem */
    height: 40px; /* Define a altura da imagem */
    object-fit: cover; /* Garante que a imagem mantenha suas proporções */
}
/* Corpo da página */
body {
    font-family: Arial;
    margin: 0; 
    padding: 0; 
    background-color: #fff5ec; 
    color: #5b4686; 
}

main {
    flex: 1; /* Expande para ocupar o espaço disponível */
}

/* Cabeçalho */
header {
    background-color: #fff5ec;
    padding: 10px 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.caixa-pesquisa,
.btn-perfil {
    margin-left: auto; 
}

/* Estilo das imagens no cabeçalho */
header img {
    height: 40px; 
    margin-left: 10px;
    margin-right: 10px;
}

.lupabranca{
    width: 20px;
    height: 20px;
    position: absolute;
    right: 48px;
    transform: translateY(-50%); 
    z-index: 1; 
}

/* Estilos da caixa de pesquisa */
.caixa-pesquisa {
    background: #5b4686;
    height: 2px;
    width: 2px;
    padding: 20px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    justify-content: space-between;
    cursor: pointer;
    transition: width 0.4s; 
}

/* Estilos do campo de texto */
.texto-pesquisa {
    display: flex;
    background: #ffffff1f;
    border-radius: 40px;
    padding: 5px 5px 5px 5px;
    margin-right: 20px;
    border: none; 
    outline: 0; 
    font-size: 10px;
    color: #5b4686;
    font-weight: bold;
    opacity: 0;
    width: 380px;
}

/* Estilos do placeholder */
.texto-pesquisa::placeholder {
    color: #ccc;
    opacity: 1;
}

/* Expansão da caixa de pesquisa */
.caixa-pesquisa:hover,
.caixa-pesquisa:focus-within { 
    width: 420px; 
}

/* Estilos para mostrar o campo de texto */
.caixa-pesquisa:hover .texto-pesquisa, 
.caixa-pesquisa:focus-within .texto-pesquisa {
    opacity: 1;
}

/* Estilos do botão dentro da caixa de pesquisa */
.caixa-pesquisa-btn {
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    cursor: pointer;
}

/* Estilos do link dentro da caixa de pesquisa */
.caixa-pesquisa a {
    position: absolute;
    align-items: baseline;
    right: 48px;
    width: 20px;
}

.icon-perfil a {
    right: 48px;
    width: 20px;
    padding: auto;
    margin: 5px;
}

.faixa-amarela{
    background-color: #ffc95d;
    padding: 0px 28px 0px 28px;
    display: flex;
    text-align: center;
    color: #4C2F87;
    font-weight: bold;
    justify-content: space-between;
}

.animaisnomenu {
    padding-top: auto;
    display: flex;
    width: 250px; 
    height: 100%;
    flex-wrap: wrap;
    object-fit: cover;
}

/* Navegação */
nav {
    white-space: nowrap;
    display: flex;
    align-items: center;
    align-content: stretch;
    justify-content: flex-end;
    flex-direction: row;
    border-radius: 10px;
    transition: text-shadow 0.3s ease;
}

/* Estilo dos links de navegação */
nav a {
    margin: 0 20px; 
    text-decoration: none; 
    color: #4C2F87; 
    font-weight: bold; 
    font-size: 18px;
    display: inline-block;
    position: relative;
    transition: color 0.3s ease; 
}

/* Efeito ao passar o mouse sobre os links */
nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #4C2F87;
    bottom: -3px;
    left: 0;
    transition: width 0.3s ease; 
}

nav a:hover::after {
    width: 100%; 
}

.menu {
    
    align-items: center;
    background-color: #FFCC66;
}

.menu-item {
    position: relative;
    cursor: pointer;
    color: #4A2778;
    font-weight: bold;
    font-size: 18px;
    align-items: flex-end;
    margin: 0 20px; 
}

/* Exibir o submenu ao passar o mouse sobre "Meu pet" */
.menu-item:hover .submenu {
    display: block;
}

/* Estilos para o submenu */
.submenu {
    display: none;
    position: absolute;
    top: 105%;
    left: -45px;
    background-color: #FFF3E6;
    padding: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    min-width: 150px;
    z-index: 1000;
}

.submenu a {
    display: block;
    padding: 8px 12px;
    color: #4A2778;
    text-decoration: none;
    font-size: 16px;
}

@media (max-width: 768px) {  /*layout responsivo mobile*/
    .faixa-amarela {
        flex-direction: column;
        align-items: center;
        padding: 10px;
    }
    
    nav {
        flex-direction: column;
        align-items:center;
    }
    
    nav a {
        margin: 10px 0; /* Espaçamento entre os titulos empilhados */
    }
}

/* Rodapé */
footer {
    display: flex;
    background-color: #ffc95d;
    padding: 5px;
    text-align: center;
    justify-content: center;
    color: #4C2F87;
    font-weight: bold;
    font-size: 12px;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

/*Conteudo da pagina*/

/*Estilo do vídeo de home*/
.videodog {
    width: 100%;
    height: 100%;
}

/* Seção de destaque */
.hero-section {
    background-color: #fff; 
    margin: 20px; 
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px; 
}

/* Estilo das imagens na seção de destaque */
.hero-section img {
    max-width: 100%; 
    height: auto;
    border-radius: 10px; 
}

.artigos {
    background-color: #fff;
    padding: 15px; 
    margin: 20px; 
    border-radius: 10px;
    display: flex; 
    align-items: center; 
}

/* Estilo das imagens dos artigos */
.noticia {
    width: 220px; 
    height: auto; 
    margin-right: 20px; 
    border-radius: 10px; 
}

.icon-calendario {
    width: 22px; 
}

/* Estilo dos parágrafos nas informações dos artigos */
.infos-artigos p {
    margin: 5px 0; 
    font-size: 16px; 
}

/* Primeiro parágrafo com outo estilo */
.content-section .infos-artigos p:first-child {
    font-weight: bold; 
    color: #4C2F87; 
}

.ImgIntro {
    margin-top: 300px;
}

.SobreNos-text{
    margin: 20px;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 120px;
    justify-content: center;
}

.SobreNos-text p{
    color: #4C2F87;
    margin: 10px 40px;
    font-size: 18px;
    text-align: center;
}

.SobreNosTitulo h2{
    display:  flex;
    justify-content: center;
    font-size: 25px;
    padding: 100px 0px 0px 0px;

}

html {
    scroll-behavior: smooth;
}

.texto-motivacional{
    display:  flex;
    justify-content: center;
    margin-top: 300px;
    font-family: 'Times New Roman', Times, serif;
    font-size: 25px;
    padding: 50px;
}

/*article*/
article{
    padding: 20px 100px 20px; 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

h1 {
    border-color: #ddd;
}

/*Img página 1 - fórum*/
section img{
    width: 100%;
    height: 100%;
}
