*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    font-family: "Montserrat", sans-serif;
    user-select: none;
}

header {
    position: relative;
    z-index: 2;
    height: 60%;
    margin-bottom: 4%;
    padding-bottom: 7%;
    background-size: cover;
}

header h1 {
    color: white;
    text-align: center;
    margin-top: 3%;
}

footer {
    color: white;
    background-image: url("../assets/img/footer.jpg");
    background-size: cover;
}

footer a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease, text-decoration 0.3s ease, font-size 0.3s ease, box-shadow 0.3s ease;
}

footer a svg {
    fill: white;
    transition: fill 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

footer a:hover {
    font-size: 1.06em; 
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

footer a:hover svg {
    transform: scale(1.2);
}

.col-lg-4 {
    font-size: smaller;
}

.card {
    width: 100%;
    height: 328px;
    background: linear-gradient(to right, #d997f5, #2cc1fb); 
}

@media (max-width: 800px) {
    .card {
        margin-top: 30px; /* Ajusta el valor según tus necesidades */
    }
    #container3D {
        display: flex;
        justify-content: center; /* Centra horizontalmente */
        align-items: center; /* Centra verticalmente */
        box-sizing: border-box !important;
    }
    #p2 {
        height: 350px !important;
    }
}

@media (max-width: 1000px) {
    .card {
        margin-top: 30px; /* Ajusta el valor según tus necesidades */
    }
}

.dropdown-item {
    color: white !important;
    background-color: rgba(0, 0, 0, 0) !important; 
    transition: background-color 0.2s !important;  
}
.dropdown-item:hover {
    background-color: #2cc1fb !important;
}

#container3D {
    position: relative; width: 100%; height: 665.56; background-color: rgba(0, 0, 0, 0.1); border-radius: 20px;
}

#contenedorExterno {
    position: relative;
    width: fit-content; /* Ajusta el ancho al contenido, asegurando que el canvas define el tamaño */
    margin: auto; /* Centra el contenedor en la página */
}

.boton-modificar, .boton-guardar {
    position: absolute;
    bottom: 0; /* Posiciona los botones en la parte inferior del contenedor */
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 3;
}

.boton-modificar {
    right: 0; /* Alinea el botón Modificar a la izquierda */
}

.boton-guardar {
    left: 0; /* Alinea el botón Guardar a la derecha */
}

.boton-modificar svg, .boton-guardar svg {
    fill: white !important;
    transition: fill 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease !important;
}

.boton-modificar:hover, .boton-guardar:hover {
    font-size: 1.02em !important;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.08) !important;
}

.boton-modificar:hover svg, .boton-guardar:hover svg {
    transform: scale(1.1) !important;
}