@import url('https://imperioinmobiliario.com.ar/fuentes/ImperioInmobiliario.css');

* {
    box-sizing: border-box; /* Asegura que el padding y el borde no afecten el ancho de los elementos */
}

body {
    font-family: 'Imperio Inmobiliario', sans-serif;
    background-image: url('https://imperioinmobiliario.com.ar/pixlr-image-generator-e65dd46f-7f62-47ba-b30f-a9e5d01d8238.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 1s ease-in-out; /* Transición suave */
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
	margin: 0;
    padding: 0;
    height: 100vh;
    width: 100vw;
	background-size: cover;
    background-position: center;
    margin: 0;
    padding: 0;
}

#game-interface {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

#game-header {
    background-color: #282c34b4;
    color: white;
    text-align: center;
    padding: 20px;
}

#game-header h1 {
    font-size: 2em;
    margin: 0;
}

#game-header p {
    font-size: 1.2em;
    margin: 0;
    margin-top: 10px;
}

#navbar {
    background-color: #343a40b4;
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-around;
}

.nav-item {
    cursor: pointer;
    padding: 10px;
    text-align: center;
}

.nav-item:hover {
    background-color: #495057;
    border-radius: 5px;
}

#main-panel {
    background-color: #2C364Cb4;
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    margin: 20px;
    padding: 20px;
    border-radius: 10px;
    flex-grow: 1;
    overflow: auto; /* Asegura que aparezcan barras de desplazamiento si es necesario */
    position: relative; /* Necesario para algunos navegadores */
}

#main-panel::-webkit-scrollbar {
    width: 8px; /* Grosor de la barra de desplazamiento */
    border-radius: 10px;
}

#main-panel::-webkit-scrollbar-track {
    background: #22222200; /* Color de fondo de la barra de desplazamiento */
    border-radius: 10px;
}

#main-panel::-webkit-scrollbar-thumb {
    background: #273F78; /* Color del "agarre" de la barra de desplazamiento */
    border-radius: 10px;
}

.panel {
    display: none;
}

.explorazonas {
    text-shadow: 0.1em 0.1em 0.1em #0000008c;
}

.panel.active {
    display: block;
}

#zones-panel {
    text-align: center;
}

#zones-menu {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-left: 25em;
}

.zone-card {
    background-color: #181818;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    cursor: pointer;
    transition: transform 0.3s ease;
    color: #fff !important;!i;!;!;!¿;!;
    font-weight: 700;
    text-align: justify;
}

.descripcion {
    font-weight: 400;
    text-align: justify;!;!importan;!i;!;!u;!um;!um;!u;!;!;!i;!;
}

.descripcion {}

.zone-card h2 {
    text-align: center !important;!i;!;
}

.zone-card img {
    width: 112.4%;
    height: 205px;
    margin-left: -1.28em;
    margin-top: -1.29em;
    object-fit: cover;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
}

.zone-card h3 {
    margin-top: 10px;
    font-size: 1.5em;
}

.zone-card:hover {
    transform: scale(1.05);
}

.property-card img, .market-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
}

.property-card button, .market-card button {
    margin-top: 10px;
    padding: 10px;
    width: 100%;
    border: none;
    background-color: #007bff;
    color: white;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    font-family: 'Imperio Inmobiliario', sans-serif; /* Cambiado a Imperio Inmobiliario */
}

.property-card button:hover, .market-card button:hover {
    background-color: #0056b3;
}

p {
    color: #fff;
    text-align: justify;
}

h2 {
    color: #fff;
}

h3 {
    color: #fff;
    font-size: 30px;
    text-align: center;
    line-height: 4px;
}

h4 {
    color: #fff;
    font-size: 30px;
    text-align: center;
    line-height: 0px;
}

button {
	font-family: 'Imperio Inmobiliario', sans-serif;
}

div {
	font-family: 'Imperio Inmobiliario', sans-serif;
}

/* Panel de Construcción */
#construction-panel {
    display: none; /* Oculta el panel por defecto */
    padding: 20px;
    background-color: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 8px;
}

#construction-panel.active {
    display: block; /* Muestra el panel cuando está activo */
}

#construction-panel h2 {
    font-size: 24px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#construction-panel p {
    margin: 10px 0;
}

#construction-options {
    display: flex;
    flex-direction: column;
}

.construction-option {
    margin: 10px 0;
    padding: 15px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.construction-option img {
    width: 100%;
    height: auto;
    border-bottom: 1px solid #ddd;
}

.construction-option h3 {
    font-size: 20px;
    margin: 10px 0;
}

.construction-option p {
    margin: 5px 0;
}

button.construct {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
}

button.construct:hover {
    background-color: #218838;
}

button.cancel {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
}

button.cancel:hover {
    background-color: #c82333;
}

#construction-details {
    margin-top: 20px;
}

#construction-details h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

#construction-details p {
    margin: 5px 0;
}

#construction-details .cost {
    font-weight: bold;
}

#construction-details .benefits {
    margin-top: 10px;
}

#designer {
    display: flex;
    height: 100vh;
}

#tools {
    width: 20%;
    background: #f4f4f4;
    padding: 10px;
}

#canvas {
    width: 80%;
    background: #e0e0e0;
    position: relative;
}

button {
    margin: 10px;
}

/* Añadir estilos básicos para las habitaciones y el mobiliario */
.room, .furniture {
    position: absolute;
    border: 1px solid #ccc;
}
.room {
    background-color: lightblue;
}
.furniture {
    background-color: brown;
}

#app {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

main {
    display: flex;
    flex: 1;
}

#designer {
    flex: 1;
    display: flex;
}

#toolbox {
    width: 20%;
    background: #f4f4f4;
    padding: 10px;
}

#canvas {
    flex: 1;
    background: #e0e0e0;
    position: relative;
}

button {
	color: #ffffff;
	font-family; 'Imperio Inmobiliario', sans-serif;

#gallery {
    margin-top: 20px;
}

#design-list {
    display: flex;
    flex-wrap: wrap;
}

.design-card {
    border: 1px solid #ccc;
    margin: 10px;
    padding: 10px;
    width: 200px;
    text-align: center;
}