@import url("fonts.googleapis.com");

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Raleway", sans-serif;
    color: #666;
    background: #f2f2f2;
    font-size: 1em;
    line-height: 1.5em;
    box-sizing: border-box;
}
/* 	<uniquifier>: Use a unique and descriptive class name
	<weight>: Use a value from 100 to 900 */
nav {
    position: sticky;
    top: 0;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    background-color: #474b4e;
    transition: .4s;
    z-index: 10; 
}
.logo {
    display: flex;
}
.logo img {
    width: 40px;
    align-content: center;
}
.logo h3 {
    margin-left: 10px;
    color: white;
    text-decoration: none;
    font-size: 22px;
    font-family: "Raleway", sans-serif;
    align-content: flex-end;
}
.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
}
.nav-links a {
    display: block;
    padding: 20px 10px;
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-family: "Raleway", sans-serif;
    transition: all ease-in-out 100ms;
}
.nav-links a:hover {
    background-color: darkorange;
}
.nav-links .nav-contact-button {
    padding: 10px 18px;
    margin-left: 16px;
    border: orange solid 2px;
    border-radius: 50px;
}
.nav-links .nav-contact-button:hover {
    background-color: orange;
}
.movilemenu {
    display: none;
    cursor: pointer;
    width: 34px;
}
.movilemenu .bar {
    flex-basis: 100%;
    height: 4px;
    background-color: white;
    margin: 3px;
}
h1{
	font-weight: 400;
	text-align: center;
	padding: 20px, 0;
	font-size: 40px;
	margin: 10px;
}
/* Slideshow container */
div.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.slogan{
    line-height: 2;
    text-align-last: center;
}

div.terreno {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  border-top: 3px solid;
  margin-top: 10px
}

.Encabezados{
    display: block;
    justify-content: center;
    margin-top: 5px;
}

div.terreno h3{
    font-size: 18px;
    color: #333333; 
    font-family: Arial;
    font-weight: bold; 
    margin-top: 5px;  
}

div.terreno img{
    display: block;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
    object-fit: cover;
    margin-top: 10px;
}

.controles {
  display: flex;
  justify-content: space-between; /* Separa los botones a los extremos */
  margin-top: 10px; /* Espacio entre la imagen y los botones */
  padding: 0 5px;
}

.atras, .sigue {
cursor: pointer;
  padding: 5px 10px;
  border-radius: 4px;
  font-family: sans-serif;
  font-size: 14px;
  background-color: black;
  color: white;
}
.atras{
    margin-left: 10%;
}
.sigue{
    margin-right: 10%;
}

div.gallery-item div.desc {
  position: relative;
  top: -8%;
  padding: 15px;
  text-align: center;
}

div.gallery-item div.desc p{
  font-size: 14px;
}

div.gallery-item div.desc ul{
  font-size: 12px;
  text-align: left;
  padding-left: 5px;
  margin-left: 0;
}

.footterreno{
    line-height: 5;
    text-align-last: center;
    font-size: large;
    color: blue
}

.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    text-decoration: none;
    transition: 0.3s;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

@media all and (max-width: 375px) {
    nav {
        flex-wrap: wrap;
    }
    .movilemenu {
        display: flex;
        flex-wrap: wrap;
    }
    .nav-links {
        display: none;
        flex-basis: 100%;
        flex-wrap: wrap;
    }
    .nav-links li {
        flex-basis: 100%;
    }
    .nav-links a {
        text-align: center;
        font-size: 20px;
    }
    .nav-links a:hover {
        background-color: darkorange;
    }
    .nav-links .nav-contact-button {
        padding: 10px 19px;
        margin-left: 0;
        border: none;
        border-radius: 0;
        margin-bottom: 10px;
    }
    .nav-links .nav-contact-button:hover {
        background-color: darkorange;
    }
}