.triangle-container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    perspective: 1000px;
    background-image: url("../img/fondo_sobre.png");
    background-size: 100% 100%;
    animation: zoom 1.1s reverse;
    }
    
    .triangle {
    width: 0;
    height: 0;
    border-left: 50vw solid transparent;
    border-right: 50vw solid transparent;
    position: absolute;
    }
    
    .top-triangle {
    border-top: 450px solid #dfded9;
    top: 0;
    animation: slideDown 1s ease forwards;
    }
    
    .top-triangle.open {
    transform: translateX(-50%) rotateX(-180deg);
    }
    
    .bottom-triangle {
    border-bottom: 450px solid #d8d7c684;
    bottom: 0;
    animation: slideUp 1s ease forwards;
    }
    
    @keyframes slideDown {
    from {
    transform: translateY(-100%);
    }
    to {
    transform: translateY(0);
    }
    }
    
    @keyframes slideUp {
    from {
    transform: translateY(100%);
    }
    to {
    transform: translateY(0);
    }
    }
    
    .side-image {
    position: absolute;
    width: 100px; /* Ajusta el tamaño de las imágenes según sea necesario */
    height: auto; /* Mantener la proporción de la imagen */
    z-index: 1; /* Asegurarse de que las imágenes estén por encima */
    }
    
    .left-image {
    left: 0; /* Pegada al lado izquierdo */
    bottom: -100%; /* Comienza fuera de la vista */
    animation: slideInLeft 1s ease forwards; /* Animación de entrada */
    }
    
    .right-image {
    right: 0; /* Pegada al lado derecho */
    top: -100%; /* Comienza fuera de la vista */
    animation: slideInRight 1s ease forwards; /* Animación de entrada */
    }
    
    @keyframes slideInLeft {
    from {
    transform: translateY(100%); /* Comienza desde abajo */
    }
    to {
    transform: translateY(0); /* Termina en su posición original */
    }
    }
    
    @keyframes slideInRight {
    from {
    transform: translateY(-100%); /* Comienza desde arriba */
    }
    to {
    transform: translateY(0); /* Termina en su posición original */
    }
    }
    
    .circle-modal {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    animation: zoom 0.8s infinite alternate;
    margin-top: 0px;
    cursor: pointer;
    z-index: 2;
    }
    
    @keyframes zoom {
    0% {
    transform: scale(1);
    }
    100% {
    transform: scale(1.1);
    }
    }
    
    .main-text {
    font-size: 100px;
    color: #ffffff;
    margin-top: -190px;
    position: relative;
    z-index: 3;
    font-family: "Dancing Script", serif;
    text-shadow: 0 0 10px #957e2d, 0 0 20px #947a39;
    }
    
    .content {
    display: none;
    opacity: 0;
    transition: opacity 1s ease;
    text-align: center;
    position: relative;
    z-index: 3;
    }
    
    .content.show {
    display: block;
    opacity: 1;
    transition: opacity 1s ease;
    }
    
    /* Responsivo */    
    @media (max-width: 768px) {
    .triangle-container {
    height: 150vh;
    }
    
    .top-triangle {
    border-top: 300px solid #dfded9;
    }
    
    .bottom-triangle {
    border-bottom: 300px solid #dfded9;
    }
    
    .side-image {
    width: 60px;
    }
    
    .circle {
    width: 100px;
    height: 100px;
    }
    
    .main-text {
    font-size: 24px;
    }
    
    .sub-text {
    font-size: 14px;
    }
    }
    
    @media (max-width: 480px) {
    .triangle-container {
    height: 100vh;
    }
    
    .top-triangle {
    border-top: 400px solid #dfded9;
    }
    
    .bottom-triangle {
    border-bottom: 500px solid #dfded9;
    }
    
    .side-image {
    width: 55px;
    }
    
    .circle {
    margin-bottom: 50px;
    width: 120px;
    height: 120px;
    }
    
    .main-text {
    font-size: 55px;
    margin-bottom: 30px;
    }
    }
    