@import url('https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300..700;1,300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rufina&display=swap');
@import url("https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Cormorant:ital,wght@1,600&family=Press+Start+2P&display=swap");

/* LAS IMAGENES FUERON TODAS PEDIDAS DE LA IA DE MICROSOFT COPILOT. LOS TEXTOS FUERON ALGUNOS PEDIDOS POR IA Y OTRO INVENTADOS POR MI*/
/* YO SOY EL DUEÑO DE LA INMOBILIARIA. EN EL LOGO DE INSTAGRAM ESTÁ EL LINK, SE PUEDE INGRESAR.*/

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Cormorant", serif;
    scroll-behavior: smooth;
}
body{
    background-color:#f7e8c4 ;
}
h1, h2, h3{
    font-style: italic;
    font-weight: 600;
}
.Casas, .busqueda, .Reseñas{
    width: 80%;
    max-width: 1280px;
}

/* FIN GENERALES */

header{
    width: 100%;
    display: flex;
    justify-content:space-between;
    align-items: center;
    background: linear-gradient(45deg, #000000, #3e2c03);
}
fieldset{
    border: none;
}
header nav a{
    text-decoration-line: none;
    color: white;
    font-size: large;
    padding: 20px;
}
header nav a:hover{
    color: goldenrod;
    transition: 0.7s;
}
.botonVisita i{
    margin: 0px 10px;
}
.botonVisita a{
    margin-right: 30px;
    color: white;
    text-align: center;
    padding: 10px;
    cursor: pointer;
    
}
header figure{
    width: 20%;
}
header figure img{
    height: 100px;
}
/* FIN DEL HEADER */

.banner{
    min-height: 60vh;
    width: 100%;
    background-image:url(imagenes/logoBanner.png);
    background-position: center ;
    background-size: cover;
    background-attachment: fixed;  
}
form{
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 30px 55px;
    
}
#sectionBanner p{  
    color: white;
    font-style: normal;
    font-size: 30px;
    margin: 0px 55px;
}
#sectionBanner h1{
    color: white;
    font-style: italic;
    font-size: 50px;
    margin: 0px 55px;
}
#sectionBanner label{
    color: white;
    font-family: Rufina;
    font-size: 16px;
}
input[type='email'] , select{
    background: #f7e8c4;
    color: black;
    padding: 8px 16px;
    border: 1px solid goldenrod;
    border-radius: 6px;
    display: block;
    width: 30%;
}
input[type='submit']{
    background-color: #f7e8c4;
    padding: 8px 16px;
    width: 20%;
    margin-left: 70px;
    font-family: "Cormorant", serif;
    font-weight: 800;
    font-style: italic;
    font-size: 20px;
}
input[type='submit']:hover{
    background-color: goldenrod;
    transition: 0.7s;
    color: white;
    cursor: pointer;
    
}
/* FIN DEL BANNER */

.Casas{
    background-color:  #f7e8c4;
    display: flex;
    flex-direction: column;
    margin: 50px auto;
}
.contenido{
    display: flex;
    gap: 50px; 
}
#titulo,#tituloBusqueda {
    width: 50%;
    background-color: #a9780544;
    color: black;
    font-style: italic;
    font-size: 30px;
    padding: 10px;
}
#titulo:hover{
    background-color: #3e2c03;
    color: #f7e8c4;
}
.Casas p{
    font-weight: 400;
    font-size: large;
}
#izq, #der {
    display: flex;
    flex-direction: column;
    width: 50%;
    
}
#izq div:nth-child(1){
    flex: 1;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
#izq div:nth-child(2){
    flex: 2;
}
#der div:nth-child(1){
    flex: 1;
}
#der div:nth-child(2){
    flex: 1;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 50px;
}
#der div:nth-child(3){
    flex: 1;
}
#izq div img{
    height: 100%;
    width: 100%;
    object-fit: fill;
    
}
#der div img{
    height: 400px;
    width: 100%;
    object-fit: cover;
}
#abajo{
    margin-top: 50px;
    width: 100%;
    display: flex;
}
#abajo div img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#abajo div:nth-child(1){
    flex: 1;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 0px 30px;
}
#abajo div:nth-child(2){
    flex: 2;
}
/* FIN DEL CONTENIDO DE LAS CASAS */

.busqueda{
    display: flex;
    margin: auto;
    gap: 50px;
}
#tituloBusqueda{
    display: flex;
    flex-direction: column;
    gap:5px;
}
#tituloBusqueda:hover{
    background-color: #3e2c03;
    color: #f7e8c4;
}
#busquedaIzq img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#busquedaIzq, #busquedaDer{
    display: flex;
    flex-direction: column;
    width: 50%;
}
#busquedaIzq, #busquedaDer div:nth-child(1){
    flex: 1;
}
#busquedaIzq, #busquedaDer div:nth-child(2){
    flex: 1;
}

table {
    height: 100%;
    width: 100%;
    border-collapse: collapse;
}
th{
    text-align: left;
}
span{
    padding: 5px;
    background-color: #3e2c03;
    color: aliceblue;
    border-radius: 36px;
    width: fit-content;
    text-align: left;
    font-weight: 600;
}
span:hover{
    background-color: #f7e8c4 ;
    color: #3e2c03;
    cursor: pointer;

}
table i{
    padding: 5px;
}
table i:hover{
    background-color: #3e2c03;
    color: #f5f5dc;
    border-radius: 32px;
    padding: 5px;
    cursor: pointer;
}

tr:nth-child(odd) { 
    background-color: #f5f5dc;
}

tr:nth-child(even) { 
    background-color: #e6d3b3;
}
ul{
    margin: 30px 0px;
    list-style-position: inside;
}
li{
    padding: 10px;
} 
/* FIN DE LA SECCION DE BUSQUEDA*/ 

.Reseñas{
    background-color:  #f7e8c4;
    display: flex;
    flex-direction: column;
    margin: 50px auto;
    
}
#contenedorTituloReseña{
    width: 50%;
}
#contenedorTituloReseña h2{
    background-color: #a9780544;
    color: black;
    font-style: italic;
    font-size: 30px;
    padding: 10px;
}
#contenedorTituloReseña h2:hover{
    background-color: #3e2c03;
    color: #f7e8c4;
}

#contenedorReseña{
    display: flex;
    margin-top: 20px;
    gap: 20px;
}
#contenedorReseña article{
    flex:1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    background-color: #a9780544;
    padding: 10px 10px;
    border: solid 2px black;

}
#contenedorReseña img{
    height: 50px;
    width: 50px;
    border: solid 2px black;
}
cite {
    text-align: left; 
    margin-top: 30px;
}
/* FIN DE RESEÑAS */ 

footer{
    background: linear-gradient(45deg, #000000, #3e2c03);
    width: 100%;
    height: 10vh;
    display: flex;
    justify-content: space-between;
    padding: 20px 50px;
    text-align: center;
    align-items: center;
    color: white;
}
footer i{
    padding: 0px 5px;
    font-size: 20px;
}
footer i:hover{
    color: goldenrod;
    font-size: 25px;
}
footer a{
    text-decoration: none;
    color: white;
}