* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

.sub_title a{
    width: 100%;
    padding: 5px;
    font-size: 50px;
    border-bottom: 2px solid #BD3437;
    border-right: 2px solid #BD3437;
    border-radius: 0px 0px 10px 0px;
    box-shadow: 5px 5px 2px 1px rgba(189, 52, 55, 0.31);
} 

/* *************** HOME ************** */

.home {
    width: 100%;
    height: 100vh;
    background-image: url("../imagen/ruta45_home.jpeg");
    background-repeat: no-repeat;
    background-attachment: fixed; 
    background-size: cover; 
}

.int_home {
    width: 100%;
    height: 100vh;
    position: relative;
}

.center_home {
    display: grid;
    place-content: center;
    position: absolute;
    top: 50%;
    left: 40%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.51);
    padding: 60px;
    border-radius: 20px;
    animation: home 5s;
}

@keyframes home {
    0% {
        opacity: 0;
        left: -100px;
    }
    100% {
        opacity: 1; 
        left: 40%;
    }
}

.center_home h1 {
    color: #ffffff;
    font-size: 80px;
}

.center_home hr {
    width: 100%;
    margin: 10px;
    border: 1px solid #BD3437;
}

.center_home a {
    font-size: 35px;
    letter-spacing: 7px;
    color: #ffffff;
    font-weight: 900;
}

@media (max-width:1200px) {
    
}

@media (max-width:950px) {
    
}

@media (max-width:700px) {
    
}

@media (max-width:550px) { 

.center_home h1 {
    font-size: 40px;
}

.center_home a {
    font-size: 25px;
}
}

/* *************** NOSOTROS ************** */

.nosotros {
    width: 100%;
    height: auto;
    padding: 40px;
}

.int_nosotros {

}

.int_nosotros p{
    padding: 20px;
    font-size: 30px;
    text-align: justify;
}

@media (max-width:1200px) {
    
}

@media (max-width:950px) {
    
}

@media (max-width:700px) {
    
}

@media (max-width:550px) { 
.nosotros {
    width: 100%;
    height: auto;
    padding: 20px;
}
}

/* *************** SERVICIOS ************** */

.servicios {
    width: 100%;
    height: auto;
    padding: 40px 40px 80px 40px;
    background-image: url("../imagen/ruta45.jpg");
    background-repeat: repeat;
    background-attachment:local; 
    background-size: 100%; 
    color: white;
}

.int_servicios {
    text-align: center;
}

.servicio_ind {
    width: 350px;
    height: auto;
    display: inline-block;
    margin: 20px;
    padding: 20px;
    vertical-align: top;
    border-radius: 20px;
    z-index: 1;
}

.servicio_ind h2 {
    font-size: 60px;
    width: 100%;
    height: 150px;
    text-align: center;
    color: #ffffff;
}

.icono_servicio {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: auto;
    border: 1px solid #ffffff;
}

.icono_servicio img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    padding: 10px;
}

@media (max-width:1200px) {
    
}

@media (max-width:950px) {
    
}

@media (max-width:700px) {
    
}

@media (max-width:550px) { 
.servicios {
    padding: 10px;
    background-image: url("../imagen/ruta45.jpg");
    background-repeat: repeat;
    background-attachment:local; 
}

.int_servicios {
    text-align: center;
}

.servicio_ind {
    width: 90%;
}

.servicio_ind h2 {
    font-size: 50px;
}

}


/* *************** SERVICIOS POP UP************** */

.box {
  width: 150px;
  margin: 10px auto;
  background: rgba(255,255,255,0.2);
  padding: 5px;
  border: 2px solid #fff;
  border-radius: 20px;
  background-clip: padding-box;
  text-align: center;
}

.button {
  font-size: 1em;
  padding: 10px;
  color: #fff;
  border-radius: 20px/50px;
  text-decoration: none;
  cursor: pointer;
}

.overlay {
    width: 450px;
    height: 550px;
    position: fixed;
    top: -50px;
    bottom: 0;
    left: -50px;
    right: 0;
    background: rgba(255, 0, 0, 0.63);
    transition: opacity 500ms;
    visibility: hidden;
    opacity: 0;
    z-index: 3;
}

.overlay:target {
  visibility: visible;
  opacity: 1;
}

.popup {
    width: 80%;
    height: 80%;
    margin: 35px auto;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    position: relative;
}

.popup h3 {
    margin-top: 0;
    color: #333;
    font-family: Tahoma, Arial, sans-serif;
    margin-bottom: 20px;
}

.popup .close {
    width: 50px;
    height: 50px;
    position: absolute;
    top: -20px;
    right: -10px;
    transition: all 200ms;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    color: #000000;
    background: white;
    padding: 5px;
    border-radius: 50%;
}

.icon-cancel .popup .close:hover {
    color: #ff0b0b;
}

.popup .content {
    max-height: 100%;
    color: black;
    text-align: justify;
}

.content h4 {
    text-align: center;
}

.content p {
    margin-bottom: 5px;
}

.content ul {
    padding-left: 10px;
}

.content li {
    margin: 2px auto;
    
}

@media (max-width:1200px) {}

@media (max-width:950px) {}

@media (max-width:700px) {

.overlay {
    left: 0px;
}
}

@media (max-width:500px) {


.overlay {
    width: 100%;
    height: 500px;
    left: -17px;
    margin: auto;
}

.overlay:target {
  visibility: visible;
  opacity: 1;
}

.popup {
    width: 90%;
    height: 90%;
    margin: 35px auto;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    position: relative;
}

.popup h3 {
    margin-top: 0;
    color: #333;
    font-family: Tahoma, Arial, sans-serif;
    margin-bottom: 20px;
}

.popup .close {
    width: 50px;
    height: 50px;
    position: absolute;
    top: -20px;
    right: -10px;
    transition: all 200ms;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    color: #000000;
    background: white;
    padding: 5px;
    border-radius: 50%;
}

.icon-cancel .popup .close:hover {
    color: #ff0b0b;
}

.popup .content {
    max-height: 100%;
    color: black;
    text-align: justify;
}

.content h4 {
    text-align: center;
}

.content p {
    margin-bottom: 5px;
}

.content ul {
    padding-left: 10px;
}

.content li {
    margin: 2px auto;
    
}
}

/* *************** CONTACTO ************** */

.contacto {
    width: 100%;
    height: auto;
    padding: 40px;
    color: black;
    text-align: center;
    
}

.info_contacto {
    width: 100px;
    height: 100px;
    background: #fff9f9;
    border: 2px solid #BD3437;
    border-radius: 10px;
    margin: 10px;
    display: inline-block;
}

.cont_icon  {
    font-size: 70px;
    color: black;
    line-height: 100px;
    text-decoration: none;
}

.formulario {
    width: 100%;
    height: auto;
}

form, .cont_logo{
    width: 350px;
    height: 500px;
    background: #BD3437;
    margin: 20px;
    padding: 10px;
    text-align: left;
    display: inline-block;
    vertical-align: top;
}

.cont_logo {
    background-image: url("../imagen/logo_cont.jpg");
    background-repeat: no-repeat;
    background-attachment:local; 
    background-size: cover; 
    border: 1px solid #BD3437;
}

form label {
    width: 100%;
    padding-left: 50px;
    color: white;
}

form input, select, textarea {
    margin: 10px;
    width: 95%;
    height: 25px;
}

form textarea {
    height: 50px;
    resize: none;
}

form #botton {
    width: 70px;
    margin-left: 120px;
}

.cont_logo {
    
}

@media (max-width:1200px) {
    
}

@media (max-width:950px) {
    
}

@media (max-width:700px) {
    
}

@media (max-width:550px) { 
.contacto {
    width: 100%;
    height: auto;
    padding: 40px;
    color: black;
    text-align: center;
}

.info_contacto {
    width: 100px;
    height: 100px;
    background: #fff9f9;
    border: 2px solid #BD3437;
    border-radius: 10px;
    margin: 10px;
    display: inline-block;
}

.cont_icon  {
    font-size: 70px;
    color: black;
    line-height: 100px;
    text-decoration: none;
}

.formulario {
    width: 100%;
    height: auto;
}

form, .cont_logo{
    width: 90%;
}

.cont_logo {
    background-size: contain; 
    height: 380px
}

form label {
    width: 100%;
    padding-left: 50px;
    color: white;
}

form input, select, textarea {
    margin: 10px;
    width: 95%;
    height: 25px;
}

form textarea {
    height: 50px;
    resize: none;
}

form #botton {
    width: 70px;
    margin-left: 120px;
}

.cont_logo {
    
}

}

/* *************** scroll *************** */

.reveal{
  position: relative;
  transform: translateY(150px);
  opacity: 0;
  transition: 1s all ease;
}

.reveal.active{
  transform: translateY(0);
  opacity: 1;
}