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

body {
    background-color: #2e3093;
}

a {
    text-decoration: none;
    color:aliceblue;
}

.menu {
    position: absolute;
    padding: 15px;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    text-align: center;
    font-family: 'Dosis', sans-serif;
}

.menu a {
    text-decoration: none;
    color: #2e3093;
    font-weight: bold;
    font-size: 2rem;
    margin: 15px;
}

.menu a:hover {
    border-bottom: 1px solid #2e3093;
}

#home {
    cursor: pointer;
}

#logo {
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    text-align: center;
    position: absolute;
    width: 100%;
    padding: 60px;
    max-width: 55rem;
    margin-top: 18%;
    animation: fade-in 4s;
}

@keyframes fade-in {
    from { opacity: 0;}
    to { opacity: 1; }
}

.first-section {
    height: 1000px;
    background-image: url(fundo3.jpg);
    background-size: cover;
    background-attachment: fixed;
    background-position: center center;
}

.second-section {
    padding: 5px;
    /* max-width: 1200px; */
    display: flex;
    flex-wrap: wrap;
    animation: fade-in 3s;
    justify-content: center;
}

#truck {
    width:100px;
    height: 100px;
    position: absolute;
    margin-top: -15px;
    margin-left: -110px;
}

.services {
    padding: 100px;
    margin-top: -0.2rem;
    background-color: #2e3093;    
}

h2 {
    font-family: 'Dosis', sans-serif;
    text-align: center;
    border-bottom: 2px solid white;
    text-transform: uppercase;
    color: white;
    max-width: 1410px;
    padding: 15px;
    font-size: 38px;
}

.services img {
    margin: 10px;
    width: 350px;
    height: 250px;
    opacity: 0.6;
    border-radius: 2px;
}

.services img:hover {
    opacity: 1;
    transition: opacity 2s;
}
.details {
    margin: 10px;
    width: 350px;
    font-family: 'Dosis', sans-serif;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    color:#fff;
    border: 2px solid #fff;
    border-radius: 2px;
    padding: 10px;
}

.box {
    width: 350px;
    display: flex;
    flex-direction: column;
    margin: 5px;
}

.third-section {
    padding: 5px;
    max-width: 1400px;
}

.contact {
    padding: 100px;
    background-color: #2e3093; 
    font-family: 'Dosis', sans-serif;
    color: white;
    margin-top: -0.1rem;
    line-height: 3rem;
    font-weight: bold;
    font-size: 25px;
}

#phone {
    width:80px;
    height: 80px;
    position: absolute;
    margin-top: -0.6rem;
    margin-left: -80px;
    opacity: 0.8;
}

.mapa {
    max-width: 100%;
    
}

p img {
    width: 30px;
    margin-top: 5px;
}

#mail {
    line-height: 25px;
}

.text {
  color: #f2f2f2;
  font-family: 'Dosis', sans-serif;
    text-transform: uppercase;
    background-color: rgba(15,16,88,0.6);
  font-size: 20px;
  padding: 22px 12px;
  position: absolute;
  bottom: 4px;
  width: 100%;
  text-align: center;
}


/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

.whatsapp {
    position: fixed;
    top: 85%;
    width: 100px;
    height: 100px;
    right: 15px;
    padding: 10px;
    z-index: 10000000;
}

.ft {
    background-color:#1a1c6b;
    color: white;
    font-family: 'Dosis', sans-serif;
    font-size: 24px;
    padding: 15px;
    text-align: center;
}

.slider {
    width: 100%;
    overflow: hidden;
    margin-top: 60px;
}

.slider-row {
    width: 4607px;
    height: 485px;
    background-image: url(banner.png);
    animation: slide 50s linear infinite;    
}

.slider-row:hover {
    animation-play-state: paused;
}

@keyframes slide {
    from { background-position-x: 0; }
    to   { background-position-x: -4607px; }
  }