body {
  font-family: "Oswald", sans-serif;
  background-color: #333333;
  transform:rotateY(360deg);
}

.rotated {
  transform:rotateY(360deg); /* Rotación de 360 grados */
}

/*Texto titulo*/

.titulo {
  font-family: "Bebas Neue", sans-serif;
}

.titulo .naranja {
  color: #f97e3c;
}

.logo a {
  display: flex;
  /* Disposición en línea de los hijos directos */
  align-items: center;
  /* Alinea los elementos verticalmente */
  text-decoration: none;
  /* Quita el subrayado del enlace */
  color: inherit;
  /* Mantiene el color del texto */
}

.logo a:hover {
  transform: scale(1.1);
  /* Aumenta el tamaño del enlace al 110% del tamaño original */
  transition: transform 0.2s;
  /* Agrega una transición suave para que el efecto sea gradual */
}

.imglogo {
  width: 50px;
  height: auto;
}



/*Navbar*/

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

header {
  background: #333;
  color: #fff;
  padding: 10px 0;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  -webkit-tap-highlight-color: transparent;
}


.logo h1 {
  margin: 0;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle .bar {
  width: 25px;
  height: 3px;
  background-color: #fff;
  margin: 4px 0;
}

.nav-links {
  list-style: none;
  display: flex;
}

.nav-links li {
  margin: 0 15px;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  font-size: 16px;
}


.menu-toggle {
  display: flex;
}

.nav-links {
  z-index: 10; /*Hace que la hamburguesa se despliegue por encima de todo*/
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  background: #333;
  flex-direction: column;
  align-items: center;
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease-in-out;
}

.nav-links li {
  margin: 20px 0;
}

.nav-links a {
  font-size: 24px;
}

.nav-links.active {
  height: calc(100vh - 60px);
  /* Dejar espacio para el header */
}






:root {
  --background-dark: #2d3548;
  --text-light: rgba(255, 255, 255, 0.6);
  --text-lighter: rgba(255, 255, 255, 0.9);
  --spacing-s: 8px;
  --spacing-m: 16px;
  --spacing-l: 24px;
  --spacing-xl: 32px;
  --spacing-xxl: 64px;
  --width-container: 1200px;
}

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

html {
  height: 100%;
  font-family: "Oswald", sans-serif;
  font-size: 14px;
}

body {
  height: 100%;
}

.hero-section {
  align-items: flex-start;
  background-color:#4F4F4F; /*	#C19A6B*/
  height: 100%; /*Sin esto el gradient se conta y divide*/
  display: flex;
  min-height: 100%;
  justify-content: center;
  padding: var(--spacing-xxl) var(--spacing-l);
}

/*Tuve que poner un color solido porque con el section solo se hacia el gradient en un parte en modo mobile*/


.card-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-column-gap: var(--spacing-l);
  grid-row-gap: var(--spacing-l);
  max-width: var(--width-container);
  width: 100%;
}

@media(min-width: 540px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(min-width: 960px) {
  .card-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media(max-width: 960px) {
  .card-grid {
    grid-template-columns: repeat(2, 2fr);
  }

  .card {
    width: 90%;
    height: auto;
  }

  .card h3{
    font-size: 25px;

  }
}

.card {
  list-style: none;
  position: relative;
}

.card:before {
  content: '';
  display: block;
  padding-bottom: 150%;
  width: 100%;
}

.card__background {
  background-size: cover;
  background-position: center;
  border-radius: var(--spacing-l);
  bottom: 0;
  filter: brightness(0.75) saturate(1.2) contrast(0.85);
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transform-origin: center;
  transform: scale(1) translateZ(0);
  transition:
    filter 200ms linear,
    transform 200ms linear;
}

.card:hover .card__background {
  transform: scale(1.05) translateZ(0);
}

.card-grid .card:not(:hover) .card__background {
  filter: brightness(0.65)
}

.card-grid:hover>.card:not(:hover) .card__background {
  filter: brightness(0.65) contrast(1.0) blur(1px);
}

/*Quita el blur en modo mobile*/
@media(max-width: 1080px) {
  .card-grid:hover>.card:not(:hover) .card__background {
    filter:none
  }
}

.card__content {
  left: 0;
  padding: var(--spacing-l);
  position: absolute;
  top: 0;
}

.card__category {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: var(--spacing-s);
  text-transform: uppercase;
}

.card__heading {
  color: var(--text-lighter);
  font-size: 1.9rem;
  text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.2);
  line-height: 1.4;
  word-spacing: 100vw;
}









/*Footer*/

footer {
	overflow: hidden;
	background-color: #212529;
	color: rgb(165, 165, 165);
	width: 100%;
	font-size: 12px;
	display: flex;
	justify-content: space-between;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 5px;
	text-align: center;
  right: 0;
  left: 0;
  position: sticky;
  bottom: 0;
}

.textofooter{

	text-align: center;
	display: flex;
}

footer a{
	color: rgb(165, 165, 165);
}

footer a:hover {
  transform: scale(1.1); /* Aumenta el tamaño del enlace al 110% del tamaño original */
  transition: transform 0.2s; /* Agrega una transición suave para que el efecto sea gradual */
}


.redeslogo{
	width: 40px;
	height: auto;
}










/*INFO.PHP*/



.info-container {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: whitesmoke;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  overflow: hidden;
  max-width: 1200px;
  margin: 50px auto;
  padding-left: 10px;
}

a {
  display: inline-block;
  position: relative;
  text-decoration: none;
  color: inherit;
  margin: 0 var(--spacing, 0px);
  transition: margin .25s;
  svg {
      width: 76px;
      height: 40px;
      position: absolute;
      left: 50%;
      bottom: 0;
      transform: translate(-50%, 7px) translateZ(0);
      fill: none;
      stroke: var(--stroke, var(--line));
      stroke-linecap: round;
      stroke-width: 2px;
      stroke-dasharray: var(--offset, 69px) 278px;
      stroke-dashoffset: 361px;
      transition: stroke .25s ease var(--stroke-delay, 0s), stroke-dasharray .35s;
  }
  &:hover {
      --spacing: 4px;
      --stroke: var(--line-active);
      --stroke-delay: .1s;
      --offset: 180px;
  }
}


.imm-container {
  padding-top:10px;
  text-align: center;
  align-items: center;
  background-color: whitesmoke;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  overflow: hidden;
  max-width: 1200px;
  margin: 50px auto;
  padding-left: 10px;
}

.imm-container h2 a:hover{
  color: #DAA520;
}

.immlink {
  background-image: url('../img/fondopowerbuilding.jpg'); /* Ruta de la imagen */
  background-size: cover; /* Asegura que la imagen cubra todo el div */
  background-position: center; /* Centra la imagen */
  padding: 20px;
  text-align: center;

  border-color: #000;
  border-style: solid;
  border-width: 3px 3px 3px 3px;
  width: 100%;
  transition: transform 0.4s;
}

.immlink:hover{
  transform: scale(1.05);
  /* Aumenta el tamaño del enlace al 110% del tamaño original */
  border-color:#DAA520;
}

.immlink:hover h2{
  color:#DAA520;
  cursor: pointer;
} 

.immlink a {
  color: black;
  font-size: 1.5em;
  text-decoration: none;
}


.imm-container {
  z-index: 1; /* Envía este contenedor al fondo */
}




.info-image img {
  width: 100%;
  background-color: #000;
  border-right: 5px solid #F0653B;
}

.info-text {
  padding: 30px;
  max-width: 600px;

}

.info-text h2 {
  font-family: 'Bebas Neue', cursive;
  font-size: 36px;
  color: #F0653B;
  margin-bottom: 20px;
}

.info-text p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.info-text h3 {
  font-size: 24px;
  color: #333;
  margin-top: 20px;
}

.map-container {
  margin-top: 20px;
  margin-left: 60px;
  padding-left: 100px;
}

.map-container iframe {
  width: 50%;
  height: auto;
  border: 0;
  border-radius: 10px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.directionmap{
  display: flex;
  justify-content: space-between;
}

.iframemap{
  width:80%;
}




@media (max-width: 768px) {
  
  
  .info-container {
    flex-direction: column;
    padding-right: 10px;
    width: 97%;
  }


  .info-image img {
    width: 100%;
    border-right: none;
    border-bottom: 5px solid #F0653B;
  }

  .info-text {
    max-width: 100%;
    padding: 20px;
  }

  .map-container{
    padding-left: 0px;
    width: 100%;
  }

  .map-container iframe {
    width: 30%;
    height: auto;
    border: 0;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  }

  .directionmap{
    display: flex;
    justify-content: space-between;
  }

  .direction{
    padding-right: 0px;
  }
}





