@charset "UTF-8";
/* CSS Document */

body {
	font-family: Arial, sans-serif; 
	background-color: #FAF7F2; 
	margin: 0; 
}
header {
	background-color: #BCC5AE;
	padding: 20px; border-bottom: 1px solid #E0DAD3; 
}

nav a {
	transition: color 0.3s ease; 
	
}
nav a:hover { 
color: #A66A61 !important; 
}

section img { 
transition: transform 0.3s ease;
}

section img:hover {
	transform: scale(1.03);
}

section a img { 
	cursor: pointer;
	}
section h3 a:hover {
	color: #B07878 !important; 
}
@media screen and (max-width: 600px) {
    body {
        padding: 0;
        width: 100%;
        overflow-x: hidden;
    }

    header {
        box-sizing: border-box;
        width: 100%;
        padding: 20px 15px;
    }

  
header nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px !important;
    width: 100%;
    box-sizing: border-box;
}

header nav > a,
header nav > .menu-bienestar {
    flex: 0 1 auto;
    text-align: center;
}

.submenu-bienestar {
    left: 50%;
    transform: translateX(-50%);
    min-width: 0;
    width: max-content;
    max-width: 85vw;
    box-sizing: border-box;
}

.submenu-bienestar a {
    white-space: normal;
}
    header nav a {
        font-size: 14px;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    main {
        box-sizing: border-box;
        max-width: 100%;
    }
}
h1, h2, h3 {
    color: #1A1A1A;
}

/* Menú desplegable de Bienestar */

.menu-bienestar {
    position: relative;
}

.submenu-bienestar {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 190px;
    background-color: #FAF7F2;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    padding: 10px;
    z-index: 100;
}

.submenu-bienestar a {
    display: block;
    padding: 10px;
    color: #333333;
    text-decoration: none;
    white-space: nowrap;
}

.submenu-bienestar a:hover {
    color: #A66A61;
    background-color: #F3E8DF;
    border-radius: 5px;
}

.menu-bienestar:hover .submenu-bienestar,
.menu-bienestar:focus-within .submenu-bienestar {
    display: block;
}




