@import "./estilos-comunes.css";

body{
    background-image: url('../recursos/fondo.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: top left;
    background-repeat: no-repeat;
}

.contenedor-principal{
    padding: 20px;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100vh;
}


.desplegable {
    text-align: center;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
    background-color: var(--fondo_transparente);
    padding: 20px;
    border-radius: 5px;
}

.desplegable-fija {
    position: fixed;
    top: 130px;
    transform: translateX(-50%);
    background-color: transparent;
}

.ficha {
    border: 1px solid var(--oro_sombra);
    padding: 20px;
    border-radius: 10px;
    background-color: white;
    margin-top: 100px;
    max-width: 600px;
    width: 100%;
    text-align: left;
    position: fixed;
    transition: all 0.5s ease;
}

.ficha-contenido {
    display: flex;
    justify-content: space-between;
}

.ficha-izquierda {
    flex: 1;
}

.ficha-derecha {
    flex: 0 0 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.raza-nombre {
    margin: 0 0 10px 0;
}

.raza-imagen {
    max-width: 150px;
    height: auto;
}

.servicios {
    margin-top: 10px;
}

.servicios p {
    margin: 5px 0;
}

.banner-inicio {
    position: fixed;
    top: 40%;
    width: 80%;
    background-color: #f2f2f2;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-radius: 5px;
}

.banner-content {
    display: flex;
    justify-content: space-between;
    align-self: center;
    width: 100%;
}

.close-button {
    cursor: pointer;
    margin-left: 20px;
}

.new-container {
    position: fixed;
    top: 60%;
    right: 12px;
    transform: translateY(-50%) rotate(90deg);
    transform-origin: right center;
    background-color: var(--header);
    color: #000;
    padding: 0px 20px; 
    z-index: 1000;
    display: flex;
    align-items: center;
    border-radius: 10px; 
}

.hidden {
    display: none;
}

@media (max-width: 768px){
    .ficha{
        margin: auto 30px;
        width: 70%;
        position: relative;
        top: 50px;
    }

    .ficha-contenido {
        flex-direction: column;
        align-items: center;
    }
    
    .ficha-derecha {
        margin-top: 20px;
    }
    
    .raza-imagen {
        max-width: 200px;
    }
}
