@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600&display=swap');

html {
    scroll-behavior: smooth;
}

@keyframes flechaBlanca {
    0% {
        transform: translateY(-30px) rotate(45deg);
    }

    50% {
        transform: translateY(0) rotate(45deg);
    }

    100% {
        transform: translateY(-30px) rotate(45deg);
    }
}

@keyframes opacity {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes opacityTranslateY {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

header:after {
    content: "";
    width: 25px;
    height: 25px;
    display: block;
    border-bottom: 5px solid #2c4882;
    border-right: 5px solid #2c4882;
    margin: 0;
    transform: translateY(-30px) rotate(45deg);
    pointer-events: none;
    position: fixed;
    top: 60vh;
    left: calc(50vw - 30px);
    animation: flechaBlanca 2s infinite ease;
}

.casa header:after {
    display: none;
}


body {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background: transparent;
    height: auto;
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    transition: all .5s ease;
}


body::after {
    content: "";
    background: url(../imags/background.jpg) center 0 no-repeat;
    background-size: cover;
    height: 180vh;
    width: 100%;
    z-index: -2;
    position: fixed;
    top: 0;
    left: 0;
    transition: all 2s ease;
    opacity: 0;
    animation: opacity 1s forwards;
}

body.casa::after {
    top: -500px;
    transition: all 10s ease;

}

.textoContacto {
    background: rgba(255, 255, 255, .8);
    padding: 10px 20px 60px;
    font-size: 1.2em;
    width: 90%;
    max-width: 600px;
    text-align: center;
    margin: 0 auto;
    backdrop-filter: blur(5px);
}





.textoContacto a {
    font-size: 1em;
    color: #2c4882;
    text-decoration: none;
    width: 80%;
    display: table;
    background: #fff;
    margin: 15px auto 0;
    padding: 15px 0;
    transition: all .3s ease;
}

.textoContacto .redes {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.textoContacto .redes a {
    background: none !important;
    width: auto;
    margin: 10px 0 0;
    min-width: 50px;
}

.textoContacto .redes a img {
    width: 100%;
}

.textoContacto a:hover {
    color: #fff;
    background: #2c4882;
    transform: scale(1.1);
}


.textoContacto p {
    font-size: .9em;
    margin: 0 auto 10px;
    font-weight: 600;
}

.textoContacto h2 {
    color: #2c4882;
    font-weight: 400;
    margin: 40px auto 20px;
    font-size: 2em;
    letter-spacing: 1.5px;
}

.textoContacto h2:after {
    content: "";
    width: 150px;
    height: 1px;
    background: #2c4882;
    display: table;
    margin: 15px auto 20px;
}

header {
    width: 100%;
    height: 400px;
    display: block;
}

.navbar {
    font-size: 1.1em;
    width: 94%;
    text-align: center;
    display: flex;
    margin: 0;
    padding: 0 3%;
    flex-wrap: wrap;
    justify-content: center;
    align-items: end;
    transition: all .5s ease;
    background: linear-gradient(-180deg, rgba(255, 255, 255, .5) 50%, rgba(198, 205, 218, 0) 100%);
    opacity: 0;
    animation: opacityTranslateY 1s forwards;
    animation-delay: .5s;
}

.casa .navbar {
    background: rgba(255, 255, 255, .8);
    justify-content: start;
    padding: 0 3%;
    margin: 0;
    position: fixed;
    z-index: 10;
    backdrop-filter: blur(5px);
}


.casa .navbar:after {
    opacity: 0;
    height: 1vh;
}




.navbar img {
    width: auto;
    height: 100%;
    transition: all .3s ease;
}

.navbar a.idioma {
    position: fixed;
    top: 20px;
    right: 20px;
    margin: 0;
    padding: 0;
    transition: all .3s ease;
}

.navbar a.idioma:hover {
    transform: scale(1.1);
}

.navbar a {
    font-size: 16px;
    color: #2c4882;
    text-decoration: none;
    width: auto;
    display: inline-block;
    margin: 0 15px;
    padding: 10px 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all .5s ease;
}

.casa .navbar a {
    margin: 0 10px;
    letter-spacing: 1px;
}

.navbar a.logo {
    width: 80%;
    height: auto;
    margin: 0 auto;
    padding: 0;
    display: inline-block;
    overflow: hidden;
    transition: all .3s ease;
}



.casa .navbar a.logo {
    width: 45px;
    height: 80px;
    margin: 0 0 10px 20px;
}

.navbar a:hover {
    color: #111;
}


.navbar a.logo:after {
    content: "";
    width: 150px;
    height: 1px;
    background: #2c4882;
    display: table;
    margin: 40px auto;
}

.casa .navbar a.logo:after {
    display: none;
}



.navbar ul {
    width: 100%;
    display: flex;
    margin: 0;
    justify-content: center;
    opacity: 0;
    animation: opacityTranslateY 1s forwards;
    animation-delay: 1s;
}



.casa .navbar ul {
    width: 85%;
    justify-content: flex-start;
}

.navbar ul li {
    list-style: none;
}



.textoDescripcion {
    width: 92%;
    display: flex;
    padding: 60px 3% 80px;
    margin: 0;
    background: rgba(255, 255, 255, .8);
    color: #111;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    backdrop-filter: blur(5px);
    max-width: 1200px;
    opacity: 0;
    transform: translateY(300px);
    border-radius: 3px;
    box-shadow: 0 0 50px -10px #0003;
    transition: all 2s ease;
}

.casa .textoDescripcion {
    opacity: 1;
    transform: translateY(0);
}


.practicas.textoDescripcion {
    background: rgb(36 91 132 / 50%);
    color: #fff;
    backdrop-filter: none;
    max-width: none;
    padding: 100px 4%;
    border: 0;
    opacity: 1;
    transform: none;
    backdrop-filter: blur(5px);
    box-shadow: inset 0 0 100px 0 #0005;
}


#practicas {
    content: "";
    background: url(../imags/background2.jpg) center 0 no-repeat;
    background-attachment: fixed;
    background-size: cover;
    width: 100%;
    margin: 20% 0 0;
}

.textoDescripcion p {
    font-size: 1em;
    line-height: 1.7;
    width: 49%;
    margin: 0;
    display: inline-block;
    text-align: justify;
    max-width: 560px;
}


.practicas.textoDescripcion p {
    width: 100%;
    max-width: 1200px;
    font-size: 1.1em;
    line-height: 1.8;
    padding: 0;
    margin: 0;
    border: 0;
}


.practicas.textoDescripcion ul {
    width: 94%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    background: #0008;
    max-width: calc(1200px - 6%);
    padding: 40px 3%;
    backdrop-filter: blur(5px);
    border-radius: 3px;
    box-shadow: 0 0 50px -10px #0002;
}

.practicas.textoDescripcion li {
    list-style: none;
    line-height: 1.6;
    width: 48%;
}


.practicas.textoDescripcion p a {
    background: #fff;
    color: #2c4882;
    padding: 15px 40px;
    width: 10%;
    text-align: center;
    cursor: pointer;
    text-transform: uppercase;
    display: block;
    margin: 80px auto 100px;
    border-radius: 3px;
    box-shadow: 0 0 50px -10px #0003;
    transition: all .5s ease;
}

.practicas.textoDescripcion p a:hover {
    background: #d8e1f2;
}

.practicas.textoDescripcion p a:after {
    content: "";
    display: inline-block;
    border-right: 2px solid #2c4882;
    border-top: 2px solid #2c4882;
    height: 10px;
    width: 10px;
    transform: rotate(45deg);
    margin: 0 0 0 10px;
    transition: all .5s ease;
}

.practicas.textoDescripcion p a:hover:after,
.textoDescripcion div a:hover:after,
button:hover a:after {
    transform: translateX(20px) rotate(45deg);
}

.textoDescripcion h3 {
    font-size: 3em;
    margin: 0 0 40px;
    font-weight: 400;
    letter-spacing: 1px;
    width: 100%;
    max-width: 1200px;
    font-family: 'Montserrat', sans-serif;
}

.textoDescripcion h3 span,
.personas h3 span,
.textoContacto h2 span,
.nombre p:first-of-type span {
    font-size: 1.3em;
}

.textoDescripcion h3:after,
.nombre p:first-of-type:after {
    content: "";
    width: 150px;
    height: 1px;
    background: #111;
    display: table;
    margin: 15px 0 0;
}

.practicas.textoDescripcion h3:after {
    background: #fff;
}

.textoDescripcion div {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.practicas.textoDescripcion div {
    background: #333;
}


.textoDescripcion div a {
    background: #2c4882;
    color: #fff;
    padding: 20px 30px;
    display: inline-block;
    margin: 0 0 0 auto;
    min-width: 10%;
    text-align: center;
    cursor: pointer;
    text-transform: uppercase;
    transition: all .5s ease;
}

.textoDescripcion div a:hover {
    background: #333;
}

.textoDescripcion div a:after,
.nombre a:after {
    content: "";
    display: inline-block;
    border-right: 2px solid #fff;
    border-top: 2px solid #fff;
    height: 10px;
    width: 10px;
    transform: rotate(45deg);
    margin: 0 0 0 10px;
    transition: all .5s ease;
}

.nombre a:after {
    border-right: 1px solid #2c4882;
    border-top: 1px solid #2c4882;
    height: 8px;
    width: 8px;
    margin: 0 0 0 5px;
}



.personas {
    width: 100%;
    display: flex;
    margin: 0 auto;
    justify-content: center;
    flex-wrap: wrap;
    align-items: stretch;
    background: #0005;
    padding: 80px 0 100px;
    gap: 0 2%;
    backdrop-filter: blur(5px);
}

.personas h3 {
    width: 96%;
    padding: 0 2% 40px;
    font-size: 3em;
    margin: 0;
    font-weight: 400;
    letter-spacing: 1.5px;
    color: #fff;
    text-align: center;
}

.personas h3:after {
    content: "";
    width: 150px;
    height: 1px;
    background: #fff;
    display: table;
    margin: 15px auto 20px;
}

.persona {
    width: 40%;
    display: flex;
    position: relative;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    padding: 20px 2.5% 50px;
    border: 0;
    cursor: pointer;
    flex-wrap: wrap;
    transition: all .5s ease;
    max-width: 500px;
    background: rgba(255, 255, 255, .8);
    border-radius: 3px;
    box-shadow: 0 0 50px -10px #0003;
}



.persona.personaTop {
    background: linear-gradient(90deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, .5) 100%);
    margin: 10px 0;
    padding: 5px 2%;
    width: 96%;
    cursor: default;
}



.persona .foto {
    width: 100%;
    display: inline-block;
}

.persona img {
    width: 100%;
    height: auto;
    filter: grayscale(95%);
    transition: all .5s ease;
    display: inline-block;
}

.persona:hover img {
    filter: grayscale(0%);
}

/* .persona:hover {
    color: #2c4882;
} */


.nombre {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    transition: all .2s ease;
    flex-wrap: wrap;
    height: 100%;
}

.nombre p {
    width: 100%;
    display: inline-block;
    font-size: 1.1em;
    line-height: 1.4;
    text-align: left;
    font-weight: 600;
    margin: 5px 0 0;
}

.nombre p:first-of-type {
    font-size: 1.8em;
    margin: 20px 0;
    font-weight: 400;
}

.nombre p:last-of-type {
    font-weight: 400;
}


.nombre a {
    color: #2c4882;
    font-size: 1em;
    margin: 50px 0 20px;
    text-transform: uppercase;
    width: 100%;
    position: relative;
    text-align: right;
}

.nombre a:before {
    content: "";
    position: absolute;
    width: calc(100% - 90px);
    height: 1px;
    background: #2c4882;
    left: 0;
    top: 47%;
}

.persona.personaTop .nombre p {
    font-size: 18px;
    text-transform: uppercase;
    color: #fff;
}


#quienes,
#contacto,
#personas {
    width: 100%;
    height: auto;
    padding: 100px 0;
    display: flex;
    justify-content: center;
}

#quienes,
#contacto {
    margin: 200px 0 0;
}


.personaPopup {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 20;
}

.personaPopup::after {
    content: "";
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .8) 0%, rgba(0, 0, 0, .6) 100%);
    z-index: -1;
}

.personaPopup .personaDetalle {
    width: 48%;
    background: #fff;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px 1%;
    margin: 10% auto;
    z-index: 20;
}

.personaPopup .personaDetalle {
    width: 48%;
    background: #fff;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 1% 10px;
    margin: 10% auto;
    z-index: 20;
    position: relative;
}

.personaPopup .personaDetalle {
    width: 48%;
    background: #fff;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 1% 10px;
    margin: 10% auto;
    z-index: 20;
    position: relative;
}

.personaPopup .personaDetalle .cerrar {
    display: block;
    position: absolute;
    right: 10px;
    top: 5px;
    font-size: 1.5em;
    border: 0;
    color: #999;
    text-align: center;
    cursor: pointer;
    font-weight: 100;
    background: none;
    transition: all .5s ease;
}

.personaPopup .personaDetalle .cerrar:hover {
    color: #000;
}

.personaPopup .personaDetalle .foto {
    width: 50%;
    display: inline-block;
}

.personaPopup .personaDetalle .foto img {
    width: 100%;
    height: auto;
}


.personaDetalle h5 {
    font-weight: 400;
    margin: 10px 0;
    font-size: 1.3em;
    font-family: 'Playfair Display', serif;
    display: block;
    width: 100%;
}

.personaPopup .personaDetalle .nombreDetalle {
    width: 48%;
    padding: 0 0 0 2%;
}


.nombreDetalle h3 {
    width: 100%;
    display: inline-block;
    padding: 0;
    margin: 0;
    font-family: 'Playfair Display', serif;
    color: #111;
    font-size: 1.4em;
    font-weight: 400;
}

.nombreDetalle p {
    font-size: .9em;
    text-align: justify;
    width: 100%;
    display: block;
}

.nombreDetalle h4 {
    color: #2c4882;
    font-weight: 400;
    margin: 0;
    font-size: 1.2em;
    font-family: 'Playfair Display', serif;
}

.nombreDetalle h4:after {
    content: "";
    width: 100px;
    height: 1px;
    background: #2c4882;
    display: table;
    margin: 15px 0;
}



@media screen and (max-width: 800px) {

    header:after {
        top: 280px;
    }

    header {
    width: 100%;
    height: auto;
    display: block;
    min-height: 200px;
}

    .navbar img {
        max-width: 100%;
    }



    .textoDescripcion p {
        width: 100%;
        padding: 0;
        margin: 0 auto;
        border-right: none;
        max-width: none;
    }

    .personas {
        padding: 40px 0;
    }

    .persona {
        width: 86%;
        display: flex;
        margin: 20px auto 0;
    }


    .navbar ul,
    .casa .navbar {
        display: none;
    }

    .textoDescripcion {
        opacity: 1;
        transform: translateY(0);
        width: 86%;
        padding: 40px 3%;
    }

    .practicas.textoDescripcion {
        width: 90%;
        padding: 40px 5%;
    }

    .textoContacto {
        width: 84%;
        margin: 0 auto 20px;
        padding: 20px 2%;
    }

    .textoContacto h2 {
        color: #2c4882;
        font-weight: 400;
        margin: 20px auto 20px;
        font-size: 1.6em;
        letter-spacing: 1.5px;
    }

    .textoContacto p {
        font-size: .8em;
        margin: 0 auto 10px;
        font-weight: 600;
    }

    .practicas.textoDescripcion li {
        line-height: 1.5;
        width: 98%;
        font-size: .9em;
    }

    .textoDescripcion h3,
    .personas h3 {
        font-size: 2em;
        padding: 0 0;
    }

    .nombre p:first-of-type {
        font-size: 1.4em;
        margin: 15px 0;
    }

    .nombre p,
    .practicas.textoDescripcion p {
        font-size: 1em;
        line-height: 1.6;
    }

    .textoDescripcion p {
        text-align: left;
    }

    #quienes,
    #contacto,
    #personas {
        padding: 0;
    }

    #quienes,
    #contacto,
    #personas {
        margin: 100px 0 0;
    }

}