* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; 
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header {
    background-color: #8c374e;
    color: white;
    text-align: center;
    padding: 1em 0;
}


nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    background-color: #333;
    margin: 0;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    display: block;
    padding: 1em;
    color: white;
    text-decoration: none;
}

nav ul li a:hover {
    background-color: #8c374e;
}

section {
    padding: 2em;
    margin: 1em 0;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1em;
}

h2 {
    color: #bf0f30;
    font-size: 3rem;
    padding-top: 7px;
    text-align: center;
}

.nosotros {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nosotros p {
    max-width: 60%;
    text-align: justify;
    margin: 0;
}

.nosotros img {
    width: 300px; 
    border-radius: 50%;
    margin-left: 20px;
}

.galeria {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-items: center; 
}

.galeria-item {
    position: relative;
    overflow: hidden;
}

.galeria-item img {
    width: 100%; 
    height: auto;
    transition: transform 0.3s ease;
}

.galeria-item:hover img {
    transform: scale(1.1); 
}

.pro {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.galeria-item:hover .pro {
    opacity: 1; 
}

.pro .texto {
    text-align: center;
    padding: 10px;
}

.conj h2{
    padding: 10px;
}

form {
    background-color: #f9f9f9;
    padding: 2em;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

form label {
    display: block;
    margin: 1em 0 0.5em;
    font-weight: bold;
    color: #333;
}

form input[type="text"],
form input[type="email"],
form textarea {
    width: 100%;
    padding: 0.75em;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 1em;
    font-size: 1em;
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form textarea:focus {
    border-color: #911111;
    outline: none;
}

form input[type="submit"] {
    background-color: #bf0f30;
    color: white;
    border: none;
    padding: 1em 2em;
    font-size: 1em;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form input[type="submit"]:hover {
    background-color: #591628;
}

#topBtn {
    position: fixed; 
    bottom: 20px;
    right: 30px;
    z-index: 99; 
    border: none; 
    outline: none; 
    background-color: #911111; 
    color: white;
    cursor: pointer; 
    padding: 15px; 
    border-radius: 10px; 
    font-size: 18px;
    text-align: center;
    text-decoration: none; 
}

#topBtn:hover {
    background-color: #591628; 
}

.iframe-container {
    width: 100%;
    height: 450px; /* Ajusta la altura según tus necesidades */
    position: relative;
  }

  .iframe-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
  }

footer {
    height: 80px;
    background-color: #8c374e;
    color: white;
    text-align: center;
    padding: 20px 0;
    font-size: 2rem;
}
