*{margin: 0;
    padding: 0;}

h3 {
    margin-top: 380px;
    left: -40px;
    font-size: 40px;
    color: rgb(255, 255, 255);
    text-align: center;
}
body {
  background-image: url("../imagenes/montaña\ our.jpg");
  background-size: cover; 
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: 'League Spartan', sans-serif, monospace;
  margin: 0;
}


.navbar {
  position: fixed;      
  top: 0;
  width: 100%;
  height: 120px;

  display: flex;
  align-items: center;
  justify-content: space-between; /*separa izquierda y centro */

  padding: 0 10px; /* espacio a los costados */
  background-color: #fff;
}

.nav-left {
  position: absolute;
  left: 25px;
}


.nav-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 30px;
}

.navbar a {
  color: rgb(38, 172, 26);
  font-size: 20px;
  text-decoration: none;
  font-weight: bold;
}

.navbar a:hover {
  color: #ffffff71;
}


main {
    margin: 0 auto;
    max-width: 750px;   
    padding: 20px;
    color: white; 
    text-align: center;    
}

h2 {
    font-size: 36px;
    margin-bottom: 360px;
}

p {
    font-size: 18px;
    
}

.logo-main {
  position: relative;
  display: flex;
  align-items: left;
  justify-content: left; /* centra h1 */
  top: 5px; /* baja */
  left:1%;
}

.logo-main img {
  width: 100px;
  height: auto;
}

.btn {
  display: inline-block;
  padding: 15px 50px;
  background-color: #26ac1a;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  margin-top: 100px;
  font-size: 36px;
  margin-left:-60px
}

.btn:hover {
  background-color: #1e8c15;
}

.team-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 300px auto 20px auto; /* margen superior más grande */
  padding: 0 20px;
}

.team-member {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  text-align: center;
  padding: 20px;
  transition: transform 0.3s;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.team-member img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 15px;
}

.team-member h3 {
  margin: 0;
  font-size: 24px;
  color: #333;
}

.team-member p {
  margin: 5px 0 0;
  font-size: 16px;
  color: #777;
}

  h1 {
    position: absolute;
    top: 20%;
    left: 30%;
    color: white;
    font-size: 150px;
    text-align: center;
    }