﻿

body {
    font-family: 'Arial', sans-serif;
    color: whitesmoke;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #484D56;
}
  
.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px;
}

.hero-section {
    background: #6B8790;
    color: whitesmoke;
    text-align: center;
    padding: 10px 20px;
    margin-bottom: 50px;
    border-radius: 50px;
    background: linear-gradient(to right, rgba(107, 135, 144, 0.2), rgba(107, 135, 144, 0.9));
}

    .hero-section h1 {
        font-size: 2.5em;
        margin-bottom: 20px;
    }

        .hero-section h1 span {
            color: #FFD700;
        }

    .hero-section p {
        font-size: 1.2em;
        margin-bottom: 30px;
    }
.my-container {
    background: rgba(0, 0, 0, 0.5); /* Fondo semi-transparente para mejorar la legibilidad */
    padding: 10px;
    border-radius: 20px;
}
.text-container {
    background: linear-gradient(to right, rgba(134, 204, 218, 0.6), rgba(134, 204, 218, 0));
    padding: 20px;
    border-radius: 20px;
}
    .text-container h1,h2{
        color: white;
        font-weight: bold; 
    }
.text-container2 {
    background: linear-gradient(to right, rgba(134, 204, 218, 0), rgba(134, 204, 218, 0.6));
    padding: 20px;
    border-radius: 10px;
}

.img-fluid {
    border-radius: 1000px;
    box-shadow: 0 11px 58px rgba(255, 255, 255, 0.5); /* Sombra suave */
    height: 400px;
}
.btn-primary {
    background: #B0D9CD;
    color: steelblue;
    padding: 10px 20px;
    text-decoration: solid;
    border-radius: 20px;
    border-color: darkolivegreen;
    
}
    .btn-primary:focus,
    .btn-primary:active,
    .btn-primary:focus:active {
        background-color: #6B8790; /* Cambia el color de fondo al hacer clic */
        border-color: firebrick; /* Cambia el color del borde al hacer clic */
        box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.25); /* Cambia el color de la sombra (opcional) */
    }

    .btn-primary:hover {
        background-color: #8FC1E2; /* Cambia el color de fondo al pasar el mouse */
        border-color: lightgreen; /* Cambia el color del borde al pasar el mouse */
    }

.projects-section {
    margin-bottom: 100px;
    text-align: center;
    color: whitesmoke;
}
    .projects-section h3 {
        color: white;
        font-weight: bold;
    }

.about-section,
.contact-section {
    margin-bottom: 50px;
    text-align: center;
}

.projects-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.project-item {
    background: linear-gradient(to right, rgba(134, 204, 218, 0.2), rgba(134, 204, 218, 0.2));
    padding: 5px;
    border-radius: 10px;
    text-align: center;
    max-width: 300px;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.5);


}
.project-item:hover {
    transform: translateY(-8px);
}

.project-btn {
    opacity: 0.7;
    transform: translateY(4px);
    transition: all 0.3s ease;

}

/* Cuando se hace hover a la card, el botón se anima */
.project-item:hover .project-btn {
    opacity: 1;
    transform: translateY(0);
}

.project-btn.fancy {
    position: relative;
    z-index: 1;
    background: #007ACC;
    color: #007ACC;
    font-weight: 700;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    overflow: hidden;
}

    .project-btn.fancy::before {
        content: '';
        position: absolute;
        top: -2px;
        left: -2px;
        right: -2px;
        bottom: -2px;
        background: conic-gradient(from 0deg, #00f, #0ff, #0f0, #ff0);
        animation: spin-border 2s linear infinite;
        z-index: -1;
        border-radius: 8px;
    }

    .project-btn.fancy::after {
        content: '';
        position: absolute;
        top: 2px;
        left: 2px;
        right: 2px;
        bottom: 2px;
        background: #B0D9CD; /* fondo del botón */
        z-index: -1;
        border-radius: 6px;
    }

@keyframes spin-border {
    to {
        transform: rotate(1turn);
    }
}



    .project-item img {
        width: 100%;
        height: auto;
        border-radius: 10px;
        margin-bottom: 10px;
    }

.btn-secondary {
    background: #004080;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}

.contact-section form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

footer {
    background: #333;
    color: white;
    text-align: center;
    
}

.navbar-nav {
    margin-left: auto;
}

.modal-body {
    background: #484D56;
}

loty{
    margin-bottom: 20px;

}


.ul {
    padding-bottom: 5px, 5px;
}
.trailer_box {
    text-align: center;
    position: relative;
    line-height: 0;
}
    .trailer_box .desc {
        position: absolute;
        left: 0;
        bottom: 0;
        z-index: 2;
        width: 100%;
        padding: 20px 15px 35px;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }




.custom-container {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
}

.image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.img {
    box-shadow: 0 11px 58px rgba(255, 255, 255, 0.5); /* Sombra suave */
    height: 700px;
    width: 700px;
    align-content: center;
    justify-content: center;
}

.background-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.text-overlay {
    position: relative;
    background-color: rgba(0, 0, 0, 0.5); /* Fondo negro con opacidad */
    color: white;
    padding: 20px;
    margin: 10px 0 0 0;
}

.text-content h1 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 25px;
}

.text-content p {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 15px;
}
.video-container {
    width: 100%; /* Ajusta el ancho a lo que desees */
    max-width: 800px; /* Máximo ancho del video */
    height: 450px; /* Ajusta la altura del video */
    margin: 0 auto; /* Centra el video */
    border-radius: 8px;
    overflow: hidden;
}

    .video-container iframe {
        width: 100%;
        height: 100%;
        border: none;
    }





.rotating-text-wrapper {
    height: 1vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    
}

    .rotating-text-wrapper h2 {
        font-size: 25px;
        margin: 0;
        padding: 5px;
        color: whitesmoke;
        box-shadow: 0 10px 10px rgba(255,255,255, 0.4);
        animation-duration: 6s;
        animation-iteration-count: infinite;
        opacity: 0;
        border-radius: 20px;
    }

        .rotating-text-wrapper h2:nth-child(1) {
            background-color: #86CCDA;
            animation-name: rotating-text-1;
        }

@keyframes rotating-text-1 {
    0% {
        transform: translateY(200%);
    }

    33% {
        transform: translateY(100%);
        opacity: 1;
    }

    34% {
        opacity: 0;
    }
}



@media screen and (max-width: 576px) {
    .rotating-text-wrapper {
        font-size: 0.7rem;
    }
}


/*Agregá este bloque en tu estilos.css:*/
/* Suaviza el despliegue del menú */
/* Restaurar comportamiento normal del navbar colapsable */
.collapse:not(.show) {
    display: none;
}

.collapse.show {
    display: block;
}



.texto-justificado {
    text-align: justify;
}

.study-item {
    background: #f9f9f9;
    border-left: 4px solid #007ACC;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    border-radius: 5px;
}

    .study-item h3 {
        margin-top: 0;
        color: #007ACC;
    }

.navbar {
    position: static !important;
}



/*==== Animaciones suaves ====*/
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

    .fade-in.delay-1 {
        animation-delay: 0.7s;
    }

    .fade-in.delay-2 {
        animation-delay: 1s;
    }

.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
}

    .fade-in-up.delay-2 {
        animation-delay: 0.7s;
    }

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*.cab {
    background-color: slategrey;
    opacity: 0.75;
    border-radius: 8px;
    padding: 10px 30px 10px 20px;
}*/

.pDet {
    /*background: conic-gradient(#316959), #B0D9CD);*/
    /*border-style: dashed;*/
    padding: 20px;
    margin: 20px;
    background-image: url("/images/19183.jpg");
    background-repeat: repeat-y;
    backdrop-filter: blur(10px); /* Difuminado elegante */
    text-shadow: inherit;
}
.pDet h2{
    font-family: 'Sans Serif Collection';
    justify-content: ;
    color: white;
}
    .pDet p {
        text-align: justify;
        font-size: 20px;
        /*background-color: rgba(255,255,255, 0.1);*/
    }

.blog-card {
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: rgba(134, 204, 218, 0.2);
}

    .blog-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 90, 0, 0.15);
    }

.blog-img {

    object-fit: cover;
    border-top-left-radius: 32px;
    border-bottom-right-radius: 32px;
    padding: 20px;
}
.small-card {
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #044463;
    height: 250px;
    width: 700px;
   
}

    .small-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 15px rgba(155, 759, 25, 0.5);
        background-color: rgba(155, 759, 25, 0.5);
    }
.small-card .blog-img {
    border-radius: 0 0 0 16px;
    object-fit: cover;
    height: 100%;
    max-height: 100px;
    width: 100%;
}
.card-text {
    font-size: 16px;
    color: #f9f9f9;
    padding: 05px;
    text-align: justify;
    line-height: 1.5;
    /*border-radius: 10px;*/
    /*box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);*/ /* Sombra suave */
    margin: 10px;
    /*background: linear-gradient(to right, rgba(134, 204, 218, 0.2), rgba(134, 204, 218, 0.2));*/
}

.gf{
    height: 500px;

}

.detalle {
    background-color:  rgba(48, 65, 74, 0.2);
    padding: 20px;
    margin: 20px;
    backdrop-filter: blur(10px); /* Difuminado elegante */
    text-shadow: inherit;
    border-radius: 10px;
    box-shadow: inherit;
}


@media (max-width: 768px) {
    .container {
        max-width: 95%; /* ocupa casi todo el ancho */
        padding: 6px; /* un poco de aire a los lados */
    }
        .detalle {
            padding: 8px;
            margin: 8px;
        }
     .pDet {
        padding: 8px;
        margin: 8px;
    }
        .container p {
            font-size: 14px;/* letra más cómoda en móvil */
            line-height: 1.6;
        }
}