@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&amp;display=swap');

body {
    font-family: 'Poppins';
    background-color: #ebebeb;
    color: #2b2b2b;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

header {
    background-color: #d4caca;
    color: #2b2b2b;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 100px;
    margin: auto;
}

.logo {
    max-width: 150px;
    height: auto;
}

.nav-icons {
    display: flex;
    gap: 15px;
}

.nav-icons a {
    text-decoration: none;
    transition: transform 0.3s;
}

.nav-icons a:hover {
    transform: scale(1.1);
}

.search-bar {
    display: flex;
    align-items: center;
}

.search-bar input {
    padding: 5px;
    border: 1px solid #2b2b2b;
    border-radius: 5px;
}

.search-bar button {
    background: #ba282e;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.search-bar button:hover {
    background: #8e1f24;
}

body {
    font-family: poppins semibold;
    background-color: #f4f4f4;
    margin: 0;
    padding: 20px;
    text-align: center;
}

.intro-section {
    background: url("img/imagen%201.webp") no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.overlay {
    background: rgba(0, 0, 0, 0.6);
    padding: 40px;
    border-radius: 10px;
    display: inline-block;
    max-width: 800px;
    text-align: center;
}

.intro-content {
    max-width: 800px;
    margin: auto;
    text-align: left;
}

.intro-content h1 {
    font-size: 50px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

.intro-content p {
    font-size: 18px;
    line-height: 1.6;
}

.menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.tab-link {
    background-color: #ba282e;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: "poppins";
    font-size: 1rem;
}

.tab-link:hover, .tab-link.active {
    background-color: #a12229;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: auto;
    margin-top: 50px;
    margin-bottom: 50px;
}

.grid-item {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.grid-item:hover {
    transform: scale(1.05);
}

.grid-item img {
    width: 100%;
    border-radius: 10px;
}

.grid-item a {
    display: block;
    margin-top: 10px;
    color: #333;
    font-weight: bold;
    text-decoration: none;
}

.grid-item a:hover {
    color: #007bff;
}

/* Estilos del Footer */
footer {
    background-color: #ba282e;
    color: white;
    text-align: center;
    padding: 20px 0;
}

.newsletter p {
    font-size: 18px;
    font-weight: bold;
}

.subscribe-form {
    margin-top: 10px;
}

.subscribe-form input {
    padding: 10px;
    width: 250px;
    border: none;
    border-radius: 5px;
}

.subscribe-form button {
    padding: 10px 20px;
    background-color: #253552;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 10px;
    transition: background 0.3s;
    font-family: "Poppins SemiBold";
}

.subscribe-form button:hover {
    background-color: #1b2a42;
}

hr {
    border: 1px solid white;
    margin: 20px auto;
    width: 80%;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.footer-content a {
    color: white;
    text-decoration: none;
}

.footer-content a:hover {
    color: #ccc;
}

.footer-column {
    text-align: left;
}

.footer-bottom {
    background: #2b2b2b;
    padding: 10px 0;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Nueva sección central */
.main-content {
    font-family: 'Poppins';
    background-color: #ffffff;
    color: #2b2b2b;
    padding: 20px;
    margin: 20px auto;
    max-width: 1200px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    text-align: left;
}