#fotos{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

#r_arrow {
    width: auto;
    height: auto;
    margin: 0; 
    cursor: pointer; 
    background: rgb(245, 245, 245); 
    display: flex;
    align-items: center;
     

}

#l_arrow {
    width: auto;
    height: auto;
    margin: 0; 
    cursor: pointer; 
    background: rgb(245, 245, 245); 
    display: flex;
    align-items: center;
   
}

.arrow {
    width:50px;
    height:50px;
}

.show {
    display: block !important;

}

#f figure{
    display: none;
    margin:10px; 
    height: 400px;
    width:600px;
}

.show img{
    width:100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#foto {
    width: 90%;
    margin: 30px auto;
    padding: 20px;
    background-color: #F5F3f3;
    color: #2C2C2C;
    border-radius: 12px;
    border-left: 6px solid #630d0d;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    animation: fadeUp 1.4s ease forwards;
}

#box1 {
    width: 90%;
    margin: 30px auto;
    padding: 20px;
    background-color: #f5f3f3;
    color: #2c2c2c;
    border-radius: 12px;
    border-left: 6px solid #630d0d;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    animation: fadeUp 1.4s ease forwards;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    align-items: stretch;
}

#box1 > div:first-child { 
    flex: 2; 
    background-color: #540101;
    color: #ffd700;
    padding: 15px;
    border-radius: 10px;
    display: flex; 
    flex-direction: column;
}

#box1 > div:last-child { 
    flex: 1;
    background-color: #e5e5e5;
    padding: 15px;
    border-radius: 10px;
    display: flex; 
    flex-direction: column;
}

#box2 {
    display: flex;
    flex-direction: column;
    height: 100%;
}

#box2 > div:first-child { 
    margin-bottom: 15px; 
} 

#box2 > div:last-child { 
    margin-top: auto; 
}

p {
    line-height: 1.6;
}

@media (max-width: 768px) {
    #box1 {
        flex-direction: column !important;
    }
    
    #box1 > div {
        width: 100%;
        box-sizing: border-box;
    }

    #fotos {
        width: 100%;
    }

    #f figure {
        width: 100% !important;
        height: auto !important;
        min-height: 200px;
    }
    
    .arrow {
        width: 30px;
        height: 30px;
    }
}
