@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300&family=Russo+One&display=swap');

/*NAV*/
.logo-nav{
    width: 60px;
    height: 48px;
}
.navbar-brand h1 {
    border-right: 1px solid black; /* Agrega un borde derecho */
    padding-right: 10px; /* Espaciado entre "SAG" y la línea divisoria */
    margin-right: 10px; /* Espaciado entre la línea divisoria y el resto de los elementos */
}
@media (max-width: 992px){
    .navbar-brand h1{
        border: none;
    }
}



/*Imagen de fondo portada*/

.logo{
    position: fixed;
    border-radius: 99%;
    bottom: 0;
    right: 0; 
    z-index: 999;
    margin: 30px;
    width: 150px;
    height: 150px;
}
.wapp{
    position: fixed;
    border-radius: 99%;
    bottom: 0;
    right: 0; 
    z-index: 999;
    margin: 10px 10px 180px 10px ;
    width: 100px;
    height: 100px;
}

.fondo{
    background-image: url('./statics/portadac.jpg');
    background-size: cover;
    background-attachment: fixed;
    height: 100vh;
    position: relative;
    color: white;
    text-shadow: 2px 2px 2px rgba(0,0,0,0.2);
}
.color-overlay{
  
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);

}
.texto-container {
    text-align: center; /* Alinea el texto al centro */
    
}
.texto-portada{
    font-family: 'Russo One', sans-serif;
    font-size: 5rem;
}
.bajada-texto-portada{
    font-family: 'Montserrat', sans-serif;
    
    font-size: 2rem;
    font-weight: 700;
}
.texto-portada {
    opacity: 0; /* Inicialmente oculto */
    animation: aparecerDesdeCentro 1s ease-in-out forwards; /* Animación */
}
.bajada-texto-portada{
    
    opacity: 0; /* Inicialmente oculto */
    animation: aparecerDesdeCentro 1s ease-in-out forwards; /* Animación */
}
@keyframes aparecerDesdeCentro {
    from {
        opacity: 0;
        transform: translateY(-80%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (max-width: 768px){
    .logo{
        width: 100px;
        height: 100px;
    }
    .wapp{
        width: 66px;
        height: 66px;
        margin: 10px 10px 130px 10px ;
    }
    
    .texto-portada{
        font-size: calc(1.525rem + 3.3vw);
    }
    .bajada-texto-portada{
        display: none;
    }
}
@media (max-width: 576px){
   
    
    .navbar-brand h1 {
        font-size: 1.5rem;
    }
    .logo-nav{
        width: 40px;
        height: 32px;
    }
    .texto-portada{
        margin-top: 70px;
        font-size: calc(1.2rem + 3.3vw);
    }
    .fondo{
    
        height: 60vh;
        padding-top: 0px;
        margin-top: 0px;
        position: relative;
        color: white;
        text-shadow: 2px 2px 2px rgba(0,0,0,0.2);
    }
    .color-overlay{
      
        display: flex;
        justify-content: center;
        align-items: center;
        position: absolute;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.5);
    
    }
    .wapp{
        width: 42px;
        height: 42px;
        margin: 10px 10px 80px 10px ;
    }
    .logo{
        width: 62px;
        height: 62px;
    }
}



@media (max-width: 300px){
    .fondo{
        background-image: url('./statics/portada-cel-xs.webp');
    }
}



/*-------*/

/*Nosotros*/
.nosotros{
    background-image: url('./statics/nosotros.webp');
    background-size: cover;
    background-repeat: no-repeat;
    
    
    
}

.texto-nosotros-titulo{
    font-family: 'Russo one', sans serif;
    color: white;
    font-size: calc(16px + 4vw);
    line-height: 1.2;

}
.texto-nosotros{
    color: white;
    font-size: calc(10px + 1.2vw);
    
}

@media (max-width: 300px){
    .texto-nosotros-titulo{
        font-size: calc(13px + 1.2vw);
        font-weight: 500;
    }
    .texto-nosotros{
        font-size: calc(8px + 1.2vw) ;
     }
  

}  

/*------*/
/*Galeria de fotos*/

.slide img{
    height: 70vh;
    
}

@media (max-width: 576px){
    .slide img{
        height: 30vh;
    }
}
@media (max-width: 300px){
    .slide img{
        height: 25vh;
    }
}



/*Sombras para las tarjetas en servicios*/
.card{
    box-shadow: 0 2px 20px -5px rgba(0,0,0,0.5);

}

/* Formulario contacto */

.form-area {
	padding-top: 2%;
    padding-bottom: 7%;
}
.row.single-form {
	box-shadow: 0 2px 20px -5px rgba(0,0,0,0.5);
}
.left {
	background-image: url('./statics/contactanos.webp');
    background-size: 100% auto;
    
	padding: 180px 49px;
}
.left h1 {
	
	color: #fff;
	font-weight: 300;
	font-size: 40px;
}
.left h2 span {
	font-weight: 100;
}
.single-form{
    background: #fff;
}
.right {
	padding: 50px 30px;
	position: relative;
}
.right i {
	position: absolute;
	font-size: 80px;
	left: -27px;
	top: 40%;
	color: #fff;
}
.form-control {
	border: 2px solid #000;
}
.right button {
	border: none;
	
	background: #55da86;
	width: 180px;
	color: #fff;
	padding: 15px 0;
	display: inline-block;
	font-size: 16px;
	margin-top: 20px;
	cursor: pointer;
}
.right button:hover{
    background-color: #252525;
}

@media (min-width:768px) and (max-width:991px){
    .right i {
	top: -52px;
	transform: rotate(90deg);
	left: 50%;
}
}

@media (max-width:767px){
    .left {
  padding: 25px 15px;
  text-align: center;
}
.left h1{
    font-weight: 100;
	font-size: 30px;
}
.left h2 {
  font-size: 25px;
}
.right {
  padding: 25px;
}
.right i {
  top: -52px;
  transform: rotate(90deg);
  left: 46%;
}
    .right button {
	width: 150px;
	padding: 12px 0;
}
    
}
/*---------*/

/* Info de contacto*/




/* ---- */

/*INFO*/

.info {
    position: relative;
    height: 30vh;
}

.info::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./statics/contactoc.jpg');
    background-size: cover;
    background-attachment: fixed;
    opacity: 0.5; /* Opacidad solo aplicada a la imagen de fondo */
}
.mail a,i{
    color:white
}

@media (max-width: 576px){
    .info {
        position: relative;
        height: 15vh;
    }
}

.derechos{
    color: white;
}

.map-area{
   
    height: 19vh;
   
   
    
}

.map-area iframe {
    width: 100%;
    height: 100%;
    border: none;
}


/* PARA IPHONE */
/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 812px) 
  and (-webkit-min-device-pixel-ratio: 3) { 
    .fondo{
        background-attachment: scroll;
    }
    .info::before{
        background-attachment: scroll;
    }
    
}

/* Portrait */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 812px) 
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: portrait) { 
 .fondo{
        background-attachment: scroll;
    }
    .info::before{
        background-attachment: scroll;
    }

}

/* Landscape */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 812px) 
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: landscape) { 
 .fondo{
        background-attachment: scroll;
    }
    .info::before{
        background-attachment: scroll;
    }
}
