@import url("https://fonts.googleapis.com/css2?family=Inconsolata:wght@900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  pointer-events: all;
  user-select: none;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: white;
}

/* Animaciones generales */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}


.container {
  display: flex;
  height: 100vh;
}

#imagenlogo {
  position: absolute;
  margin: 15px;
  width: 14rem;
  height: 3.5rem;
}

/*SECCION 1 PAGINA WEB*/

.content-area {
  width: 50%;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: -15px -16px 14px 20px rgb(71, 71, 71, 0.5);
}

.content-area h2{
  font-size: 1.9rem;
  font-weight: 800;
  padding-bottom: 10px;
}

.content-area h1{
  padding-top: 20px;
  font-size: 2.2rem;
  font-weight: 700;
}

.background-image {
  width: 50%;
  height: 100%;
  background-image: url("../images/HomeMonteria.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  box-shadow: 2px 7px 12px 0px rgb(71, 71, 71, 0.75);
}

h3 {
  color: #131212;
  font-size: 1.2rem;
  margin-bottom: 20px;
  text-align: center;
  font-weight: normal;
}

h4 {
  color: gray;
  font-size: 0.9rem;
  margin-bottom: 20px;
  text-align: center;
}

button {
  background-color: #85c44c;
  color: white;
  font-size: 16px;
  font-weight: bold;
  padding: 20px 20px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  width: 180px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.button-grid {
  display: flex;
  justify-content: left;
  margin-bottom: 20px;
}

.button-grid a button{
  background: linear-gradient(to top, #8ec552, #8ec552);
  border: none;
  color: white;
  font-size: 16px;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px #618838;
  transition: background 0.3s;
  transition: scale 0.3s ease;
  margin-bottom: 10px;
}

.button-grid a button:hover{
  opacity: 0.95;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  transform: scale(1.05);
}

/*SECCION 2 PAGINA WEB*/

#segunda h2{
  font-size: 3rem;
  text-align: center;
}

#segunda h4{
  font-size: 0.95rem;
  margin-bottom: 0;
}

.content-bloque2 {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  min-height: 100vh;
  background-image: url("../images/pngfondo.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.sede-container {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 140px;
  flex-wrap: wrap;
}

.sede {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 190px;
}

.sede img {
  width: 150%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 4px 4px #3e5723;
  
}

.sede button {
  background: linear-gradient(to top, #8ec552, #8ec552);
  border: none;
  color: white;
  font-size: 14px;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px #618838;
  transition: background 0.3s;
  transition: scale 0.3s ease;
  margin-bottom: 10px;
}

.sede button:hover {
  opacity: 0.95;
  scale: 1.05;
}

@media (max-width: 768px) {
  
  #imagenlogo {
    z-index: 100;
  }
  
  .container {
    flex-direction: column;
    height: auto;
  }

  .background-image {
    display: none; /* Puedes cambiar a block si prefieres mostrarla abajo */
  }

  .content-area {
    width: 100%;
    height: 100vh;
    box-shadow: none;
    padding: 20px;
    padding-top: 70px;
    box-shadow: -15px -16px 14px 20px rgb(71, 71, 71, 0.75);
    background-image: url("../images/pngfondo.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
  }

  .content-area h2 {
    font-size: 1.3rem;
    text-align: center;
    font-weight: 700;
  }

  .content-area h1 {
    font-size: 1.5rem;
    font-weight: 900;
    text-align: center;
  }

  h3 {
    font-size: 0.95rem;
    padding: 0 10px;
  }

  h4 {
    font-size: 0.8rem;
    padding: 0 5px;
  }

  button {
    width: 100%;
    padding: 15px;
    font-size: 15px;
  }

  .button-grid {
    justify-content: center;
    padding: 0 10px;
  }

  /*Segunda seccion*/

  #segunda h2{
  font-size: 1.5rem;
  margin-top: 40px;
  text-align: center;
  }

  #segunda h4{
  font-size: 0.85rem;
  margin-bottom: 0;
  }

  .sede-container {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 50px;
}

}

