@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

html {
  scroll-behavior: smooth;
}

/* Cabecera del sitio web */

header {
    width: 100%;
    background-color: #fff;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 45px auto;

}

.navegacion {
    background-color: rgb(14, 93, 133);
    width: 100%;
    height: 80px;
    box-shadow: 2px 2px 2px rgba(0,0,0,0.3);
}

nav ul {
    width: 100%;
    list-style: none;
}

nav ul li {
    display: inline-flex;
    color: #fff;
    margin: 25px;
    padding: 7px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 4px;
    transition: color 500ms ease-in-out;
}

nav ul li a:hover {
   color: cyan;
}



/* Banners */

.banner1 {
    position: absolute;
    width: 100%;
    height: 450px;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
    url(../img/banners/banner1.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.banner1 div {
    width: 75%;
    margin: 150px auto;
}

.banner1 h1 {
    text-align: left;
    font-weight: 500;
    font-size: 4rem;
    color: #fff;
    letter-spacing: -1.5px;
    margin-left: 1rem;
    margin-bottom: 25px;
}

.banner1 p {
    text-align: center;
    font-weight: 400;
    font-size: 2rem;
    color: #fff;
}

.banner1 h1::selection,
.banner1 p::selection {
  background-color: rgba(14, 93, 133, 0.6);
  color: white;
}

/* Habilitaciones */

.habilita {
    width: 90%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-evenly;
}

.hab {
    position: relative;
    top: 475px;
    bottom: 100px;
    transition: transform 2s;
}

.hab:hover {
    cursor: pointer;
    transform: scale(1.05);
}

/* Servicios */

.servicios {
    width: 100%;
    background-color: #2e5166;
    position: relative;
    top: 500px;
    display: flex;
    flex-flow: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.servicios h2 {
    font-size: 1.8rem;
    text-align: center;
    margin: 25px 50px;
    color: #fff;
    border-bottom: 4px dotted cyan;
    padding: 15px 0;
}

.servicio {
    width: 90%;
    position: relative;
    margin: 30px auto;
    padding: 30px;
    background-color: #2e5166;
    color: #f5f5f5;
}

.servicio div {
    padding: 20px 0;
    display: flex;
    flex-flow: row;
    align-items: center;
    justify-content: flex-start;
    border-bottom: 1px solid cyan;
}

.servicio h2 {
    font-size: 2.2rem;
    letter-spacing: 2px;
    margin: 15px auto;
}

.servicio p {
    text-align: left;
    font-size: 1.2rem;
    margin: 0 10px;
    padding: 0 7px;
}

.servicio p em {
    color: cyan;
}

.servicio img {
    width: 120px;
    padding: 20px;
    margin: auto 25px;
    float: left;
    filter: invert(100%);
}

.servicios h2::selection,
.servicios p::selection,
.servicio h2::selection,
.servicio p::selection,
.servicio p > em::selection {
  background-color: white;
  color: rgb(14, 93, 133);
}

/* Tabla traslados */

table {
    width: 90%;
    text-align: left;
}

table tr {
    color: cyan;
}

table th {
    padding: 5px;
}

table td {
    color: #fff;
    margin: 0 10px;
    padding: 0 7px;
}

table tr::selection,
table th::selection,
table td::selection {
  background-color: white;
  color: rgb(14, 93, 133);
}

/* Clientes */

.clientes {
    position: relative;
    top: 600px;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
    padding: 15px 30px;
}

.titClientes {
    width: 100%;
    left: 3.6%;
    position: relative;
}

.titClientes > h2 {
    font-size: 1.4rem;
    color: #444;
}

.cliente {
    width: 25%;
    padding: 25px;
    margin: 25px;
    float: left;
    transition: opacity 2s;
}

.cliente:hover {
    opacity: 0.7;
}

.clientes h2::selection {
    background-color: rgb(14, 93, 133);
    color: white;
  }

/* Contacto */

.contacto {
    width: 100%;
    position: relative;
    top: 650px;
    background-color: #2e5166;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    margin: 10px auto;
}

.contacto div {
    margin: 35px auto;
}

.contacto h2 {
    margin: 25px auto;
    font-size: 1.5rem;
    color: rgb(179, 226, 226);
}

.contacto p {
    margin-bottom: 8px;
    padding: 4px;
    font-size: 1.1rem;
}

.contacto p strong span {
    color: rgb(177, 218, 255);
}

.cyan {
    color: rgb(118, 233, 233);
    font-weight: 500;
}

.contacto h2::selection,
.contacto p::selection {
  background-color: white;
  color: rgb(14, 93, 133);
}

.contacto p > strong::selection,
.contacto p > span::selection {
  background-color: white;
  color: rgb(14, 93, 133);
}

/* Footer */

footer {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column;
    top: 640px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #444;
    padding: 15px;
}

.logofoot {
    padding: 10px;
    margin: 10px 15px;
}

.logofoot img {
    filter: grayscale(100%);
    transition: transform 2s;
}

.logofoot img:hover {
    transform: scale(1.05);
}

.copyright {
    text-align: center;
    color: #fff;
}

.copyright strong {
    color: rgb(118, 233, 233);
}

.copyright p::selection,
.copyright strong::selection {
  background-color: rgba(0,0,0,0.3);
  color: white;
}
