*{
    padding: 0px;
    margin: 0px;
}

body{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: rgb(249, 249, 249) !important;
}

#barra_superior{
    padding-left: 5%;
    padding-right: 5%;
    padding-top: 3%;
    padding-bottom: 3%;
    background-color: rgb(2,33,77);
    color: white;
    display: flex;
    justify-content: space-between;
}

#social{
    display: flex;
    gap: 15px;
}

#tel{
    display: flex;
    gap: 5px;
}

#phone{
    color: #FF931A;
}

#navbar{
    padding-left: 5%;
    padding-right: 5%;
    padding-top: 3%;
    padding-bottom: 3%;
    display: flex;
    justify-content: space-between;
}

#logo img{
    width: 180px;
}

#menu{
    font-size: 2rem;
}

#menu i{
    background-color: rgb(239, 239, 239);
    padding-right: 0.8rem;
    padding-left: 0.8rem;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
    border-style: solid;
    border-width: 0;
    border-radius: 15px;
}

#menu_items{
    display: flex;
    width: 100%;
    background-color: rgb(239, 239, 239);
    position:absolute;
}

.menu_list{
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    list-style:none;
    padding-left: 5%;
    padding-top: 3%;
    padding-bottom: 3%;
}

.menu_list div:hover{
    background-color: rgb(2,33,77);
    color: white;
    border-radius: 15px;
    padding-left: 0.7rem;
    padding-right: 0.7rem;
}

#banner_principal{
    background-image:linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("../img/transminer-rental.webp");
    background-size: cover;
    background-position: center;
    height: 100%;
    padding: 18px;
    padding-top: 18%;
    padding-bottom: 18%;
}

#banner_principal p{
    display: flex;
    text-align: center;
    font-size:x-large;
    color: white;
    justify-content: center;
}

#banner_principal h1{
    display: flex;
    justify-content: center;
    color: white;
    font-size: xx-large;
}

#title_naranja{
    color: #FF931A !important;
}

/*aplicando estilos del primer carusel de imágenes*/

.carousel {
    padding: 18px;
    display: flex;
    width: 100%;
    max-width: 600px;
    margin: auto;
    overflow: hidden;
  }
  
.carousel-images img {
    border-radius: 15px;
    display: flex;
    width: 100%;
    display: none;
}
  
.carousel-prev, .carousel-next {
    display: flex;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 25px;
    color: rgba(255, 255, 255, 0.752);
    cursor: pointer;
    text-decoration: none;
    font-size: x-large;
  }
  
.carousel-prev {
    left: 0;
  }
  
.carousel-next {
    right: 0;
  }

/* ---------DESTACADOS------------ */

#destacados{
    display: grid;
    grid-template-columns: 50% 50%;
    text-align: center;
    background-color: #01214D;
    color: white;
    padding: 18px;
    padding-top: 12%;
    padding-bottom: 12%;
  }

#destacados img{
    width: 45%;
    padding-bottom: 4%;
  }

#destacados h2{
   padding-left: 14%;
   padding-right: 14%;
   font-size:medium;
   padding-bottom: 4%;
}

#servicios{
    padding: 18px;
    padding-top: 12%;
    padding-bottom: 12%;
}

#servicios h1{
    display: flex;
    justify-content: center;
    color: #01214D;
    font-size: xx-large;
}

#servicios p{
    text-align: center;
    font-size: large;
    color: rgb(120, 120, 120);
    padding-bottom: 25px;
}

/*Tarjetas de servicios*/

.tarjetas{
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.tarjeta_servicio{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tarjeta_servicio .encabezado{
    border-style: solid;
    border-width: 5px;
    border-radius: 10px;
    border-color:#FF931A;
    padding: 10px;
    padding-right: 50px;
    height: 200px;
    color: white;
    background-size: cover;
    background-position: center;
}

.tarjeta_servicio .descripcion{
    border-style: solid;
    border-width: 5px;
    border-radius: 10px;
    background-color: #01214D;
    border-color:#FF931A;
    padding: 10px;
}

.tarjeta_servicio .descripcion p{
    text-align: left !important;
    color: white !important;
}

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

.botones .ver-mas{
    border-style: solid;
    border-width: 3px;
    border-radius: 30px;
    border-color: #FF931A;
    padding: 5px;
    padding-left: 25px;
    padding-right: 25px;
    font-size: 20px;
    background-color: #FF931A;
    font-weight: 500;
    color: white;
}

.ver-mas:hover{
    background-color: #01214D;
}

.botones .contactar{
    border-style: solid;
    border-width: 3px;
    border-radius: 30px;
    border-color: #FF931A;
    padding: 5px;
    padding-left: 25px;
    padding-right: 25px;
    font-size: 20px;
    background-color:#01214D;
    font-weight: 500;
    color: white;
}

.contactar:hover{
    background-color: #FF931A;
    color: white;
}

/*SECCIÓN DE NOSOTROS*/
#nosotros-p{
    padding: 23px;
    background-color: #01214D;
    color: white;
}

#nosotros-p h2{
    color: #FF931A;
    font-size: xx-large;
}

#nosotros-background{
    display: flex;
    background-image:linear-gradient(rgba(0, 8, 50, 0.91), rgba(0, 8, 50, 0.91)), url("../img/nosotros-transminer-fondo.webp");
    height:330px;
    background-size: cover;
    background-position: center;
    align-items: center;
    justify-content: center;
}

#imagen-nosotros{
    width: 80%;
    border-radius: 15px;
}


/*SECCIÓN DE BLOG*/
.blog{
    display: flex;
    flex-direction: column;
    padding: 23px;
    gap: 15px;
}

.blog #blog_title h2{
    padding-top: 15px;
    font-size: xx-large;
    color: #01214D;
    text-align: center;
}

.posts{
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.post{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.post img{
    width:100%;
    border-radius: 5px;
}

.post h2{
    color: #01214D;
    font-size: large;
    font-weight: 600;
    padding: 0;
    margin: 0;
}

.post p{
font-size: large;
padding: 0;
margin: 0;
}

.post h4{
    color: #FF931A;
    font-size: large;
    font-weight: 600;
    padding: 0;
    margin: 0;
}


/*PIE DE PÁGINA*/
#footer_s1{
    background-image: linear-gradient(rgba(1, 33, 77, 0.71), rgba(1, 33, 77, 0.88)), url(../img/fondo-footer-transminer.webp);
    background-position: center;
    background-size: cover;
    height:fit-content;
}

#footer_s2{
    background-color: #01214D;
    height: 60px;
    color: white;
    text-align: center;
    font-weight: 100;
    padding-top: 5px;
}

#footer_s2 a{
    color:#FF931A;
    text-decoration: none;
}

.btn_whatsapp{
    display: flex;
    width: 80px;
    position: fixed;
    top: auto;
    bottom: 10px;
    right: 10px;
}

.btn_whatsapp:hover{
    transform: scale(0.9);
}

#footer_s1{
    display: flex;
    flex-direction: column;
    padding-top: 60px;
}

.titulo_form{
    display: flex;
    justify-content: center;
}

.titulo_1{
    color: white;
}
.titulo_2{
    color: #FF931A;
}

/*------FORMULARIO------*/

.formulario{
    padding-top: 25px;
    display: flex;
    justify-content: center;
}

#name, #msg{
    width: 300px;
}

#telefono{
    width: 148px;
}

#mail{
    width: 148px;
}


form ul li label{
    display:none;
}

.formulario form ul{
    list-style: none;
    padding: 0;
    margin: 0;
}

form input, textarea{
    border-color: #FF931A;
    background-color: rgba(240, 248, 255, 0);
    border-radius: 12px;
    margin-bottom: 10px;
    padding: 7px;
}

input, textarea{
    color: white;
}

input::placeholder, textarea::placeholder{
    color: rgba(255, 255, 255, 0.936);
}

form button{
    display: flex;
    padding: 7px;
    width: 100%;
    border-radius: 10px;
    background-color: #FF931A;
    color: white;
    justify-content: center;
    border-width: 0px;
}
.contact_section{
    padding-top: 30px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-items:flex-start;
    align-items: center;
}

.social{
    padding-top: 20px;
    padding-bottom: 20px;
    display: flex;
    color: white;
    gap: 15px;
    font-size: 25px;
}

.info_contacto{
    color: white;
    display: flex;
    flex-direction: column;
}
.info_contacto i{
    color: #FF931A;
    font-size: 25px;
    padding-right: 10px;
}
.contact_row{
    display:flex;
    align-items: center;
}

/*VERSIÓN PARA TABLETS*/
@media(width >= 768px){
    
    #destacados{
        gap:25px;
    }
    
    #destacados img{
        width: 30%;
        padding-bottom: 4%;
      }
    
    #destacados h2{
       padding-left: 14%;
       padding-right: 14%;
       font-size:larger;
       padding-bottom: 4%;
    }
    
 

    .titulo_servicios{
        display: flex;
        gap: 15px;
        justify-content: center;
    }

    #parrafo_inicial{
        padding-bottom: 35px !important;
    }

    .tarjetas{
        display: grid;
        justify-content: center;
        grid-template-columns: 30% 30% 30%;
        gap: 20px;
    }
    
    .tarjeta_servicio{
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .encabezado h2{
        font-size: 20px;
    }


    .botones{
        display: flex;
        flex-direction: column;
        gap: 15px;
        justify-content: space-between;
    }
    
    #servicios{
        padding-top: 8%;
    }
    
    .btn_whatsapp{
    width: 100px;
    }

    #imagen-nosotros{
        width: 60%;
    }
    #nosotros-p .botones .ver-mas{
        width: 20%;
        padding: 2px;
    }

    #nosotros-p{
        padding-top: 35px;
        padding-bottom: 35px;
        padding-left: 35px;
        padding-right: 35px;
    }

    .posts_contenedor{
        display: grid;
        justify-content: center;
        grid-template-columns: 50% 50%;
        gap: 30px;
        padding: 30px;
    }
}



/*VERSIÓN DE ESCRITORIO*/
@media(width >= 1200px){
    #barra_superior{
        padding-top: 20px;
        padding-bottom: 20px;
        font-size: 23px;
    }
    #social{
        gap: 20px;
    }
    
    #menu{
        display: none;
    }

    .menu_desktop{
        display: flex !important;
        gap: 25px;
        font-size: 20px;
        color: #01214D;
    }

    .item_menu{
        border-color:rgb(249, 249, 249);
        border-width: 2px;
        border-style: solid;
        padding-block: 2px;
        padding-inline: 4px;
    }

    .item_menu:hover{
        border-radius: 15px;
        border-color: #FF931A;
        border-width: 2px;
        border-style: solid;
        padding-block: 2px;
        padding-inline: 5px;
        transition-duration: 500ms;
    }

    .menu_desktop a{
        text-decoration: none;
        color: #01214D;
    }

    #banner_principal{
       padding-top: 5%;
       padding-bottom: 5%;
    }

    .carousel{
        max-width:850px;
    }

    #destacados{
        grid-template-columns: 22% 22% 22% 22%;
        padding-top: 5%;
        padding-bottom: 5%;
        justify-content: space-around;
    }

    #destacados img{
        width: 25%;
    }

    #parrafo_inicial{
        display: flex;
        font-size: 22px !important;
        padding-inline: 160px;
    }

    .tarjetas{
        gap: 70px;
        padding-left: 40px;
        padding-right: 40px;
    }

    .encabezado h2{
        font-size: 28px;
        width: 300px;
    }
    .descripcion p{
        font-size: 20px !important;
    }
    .tarjeta_servicio .botones{
        flex-direction: row;
        justify-content:space-around;
    }

    #nosotros{
        display: grid;
        grid-template-columns: 50% 50%;
    }

    .posts_contenedor{
        display: grid;
        justify-content: center;
        grid-template-columns: 33% 33% 33%;
        gap: 30px;
        padding: 30px;
    }

    .btn_whatsapp{
        width: 100px;
    }

    #name, #msg{
        width: 380px;
    }
    
    #telefono{
        width: 189px;
    }
    
    #mail{
        width: 189px;
    }
    

    #nosotros #nosotros-p{
        height: 400px;
        font-size: 20px;
        padding-left: 60px;
    }
    #nosotros-background{
        height: 400px;
        padding-right: 60px;
    }

    #footer_s1{
        display: grid;
        grid-template-columns: 50% 50%;
        padding-top: 80px;
        padding-bottom: 60px;
    }

    #footer_s2{
        padding-top: 20px;
    }

    .contact_section{
        align-items: flex-start;
    }

    .contact_row{
        font-size: 20px;
    }

    .contact_row i{
        font-size: 25px;
    }


}


