@import url('https://fonts.googleapis.com/css2?family=Kaushan+Script&display=swap');

a,
a:focus,
a:hover {
    color: #fff;
}

.title {
    font-family: 'Kaushan Script', cursive;
    color: #fff;
    font-size: 50px;
    padding: 0px 30px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus {
    color: #333;
    text-shadow: none;
    /* Prevent inheritance from `body` */
    background-color: #86b72e;
    border: .05rem solid #fff;
}

html,
body {
    width: 100%;
    height: 100%;
    background-color: #19199d;
    background-image: url("../img/fondo_2023.jpg");
    /* La imagen de fondo está centrada vertical y horizontalmente en todo momento. */
    background-position: center center;

    /* La imagen de fondo no se muestra en mosaico*/
    background-repeat: no-repeat;

    /* La imagen de fondo se fija en la ventana gráfica para que no se mueva cuando
     la altura del contenido es mayor que la altura de la imagen */
    background-attachment: fixed;

    /* Esto es lo que hace que la imagen de fondo se vuelva a escalar
     en el tamaño del contenedor */
    background-size: cover;

}

body {
    display: -ms-flexbox;
    display: flex;

}

.logo-1 {
    height: 50px;
    width: 50%;
    margin-left: -10px;
}

.logo-2 {
    height: 50px;
    width: 25%;
    margin-left: -10px;
}

.icon3 {
    display: none;
}

.mastfoot {
    background-color: #87b72f;
    height: 80px;
    color: rgba(255, 255, 255, .5);
}

.mastfoot a {
    cursor: pointer;
}

.fondo-animado {
    position: absolute;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    overflow: hidden;
}

span.uno,
span.dos,
span.tres,
span.cuatro {
    border: 0;
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #fff;
    animation: vuelta 3s linear infinite normal both;
}

span.uno {
    width: 100px;
    height: 100px;
    bottom: -100px;
    background-color: #58d30b;
}

span.dos {
    width: 70px;
    height: 70px;
    bottom: -70px;
    background-color: #4fabe1;
}

span.tres {
    width: 50px;
    height: 50px;
    bottom: -50px;
    transform: rotate(45deg) skew(15deg, 15deg);
    background-color: #399c02;
}

span.cuatro {
    width: 20px;
    height: 20px;
    bottom: -20px;
    background-color: #fb9f00;
}

@keyframes vuelta {
    from {
        transform: rotate(0deg);
        bottom: 0;
        opacity: 0;
    }

    5% {
        opacity: 0.5;
    }

    60% {
        opacity: 0.8;
    }

    to {
        transform: rotate(360deg);
        bottom: calc(100% + 100px);
        opacity: 0;
    }
}

.fondo-animado span:nth-child(1) {
    left: 15%;
}

.fondo-animado span:nth-child(2) {
    left: 25%;
}

.fondo-animado span:nth-child(3) {
    left: 5%;
}

.fondo-animado span:nth-child(4) {
    left: 15%;
}

.fondo-animado span:nth-child(5) {
    left: 25%;
}

.fondo-animado span:nth-child(6) {
    left: 85%;
}

.fondo-animado span:nth-child(7) {
    left: 90%;
}

.fondo-animado span:nth-child(8) {
    left: 65%;
}

.fondo-animado span:nth-child(9) {
    left: 60%;
}

.fondo-animado span:nth-child(10) {
    left: 75%;
}

.fondo-animado span:nth-child(11) {
    left: 10%;
}

.fondo-animado span:nth-child(12) {
    left: 45%;
}

span.delay-1 {
    animation-delay: 1s;
}

span.delay-2 {
    animation-delay: 2s;
}

span.delay-3 {
    animation-delay: 3s;
}

span.delay-4 {
    animation-delay: 4s;
}

span.delay-5 {
    animation-delay: 5s;
}

span.delay-6 {
    animation-delay: 6s;
}

span.delay-7 {
    animation-delay: 7s;
}

.navbar {
    z-index: 1;
}

.seccion-header {
    /*display: flex;
	align-items: center;
	font-family: "Arial";
	text-shadow: 0 0 5px rgba(0,0,0,.5);*/
    width: 95vw;
    height: 450px;
    /*z-index: 5;*/
}

.seccion-header h1 {
    margin-top: 10px;
    color: #fff;
    display: inline-block;
    cursor: default;
    font-weight: 600;
}

.seccion-header h2 {
    margin-top: 10px;
    color: #fff;
    display: block;
    cursor: default;
}

.seccion-header h3 {
    margin-top: 10px;
    color: #fff;
    display: inline-block;
    cursor: default;
}

.seccion-header h2 span.espacio {
    color: #fff;
    display: inline-block;
    width: 10px;
}

.seccion-header .img_logo {
    display: block;
    width: 50vw;
    height: 200px;
    margin: auto;
}

.seccion-header .img_text {
    display: block;
    width: 400px;
    height: 150px;
}

.navHome {
    background: #87b72f;
    justify-content: right;
}

.navHome a {
    display: flex;
    width: 40px;
    height: 40px;
    border: 4px solid #19199d;
    border-radius: 50%;
    font-size: 1.2rem;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    list-style: none;
}

.tbody {
    font-size: 1rem;
}

.fondo-card {
    background-image: url("../img/casaabierta/header.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

.container__cards {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
}

.scard {
    width: 300px;
    margin: 10px;
    padding: 20px;
    box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.5);
    background: rgba(255, 255, 255, 0.1);
    border-left: 1px solid rgba(255, 255, 255, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    backdrop-filter: blur(5px);
    transition: all 300ms;
}

.cover__card {
    width: 100%;
    /*height: 180px;*/
    border-radius: 14px;
    overflow: hidden;
}

.cover__card img {
    width: 100%;
}

.scard:hover {
    transform: translateY(-10px);
}

.scard:hover .cover__card img {
    transform: scale(1.1);
}

.scard h2 {
    font-size: 20px;
    font-weight: 400;
    margin-top: 20px;
    color: #fff;
}

.scard p {
    margin-top: 20px;
    font-size: 14px;
    font-weight: 300;
    color: #fff;
    text-align: center;
    letter-spacing: 0.5px;
}

.scard hr {
    margin-top: 30px;
    border: none;
    height: 0.2px;
    background: #fff;
}

.footer__card {
    margin-top: 10px;
    display: flex;
    color: #fff;
    justify-content: space-between;
}

@media screen and (max-width: 1200px) {
    .container__cards {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        margin-top: 10px;
        padding-bottom: 100px;
    }
}

@media only screen and (min-width: 600px) {
    .icon3 {
        display: inline;
        height: 50px;
        width: 50%;
        margin-left: -10px;
    }

    .title {
        font-style: 1.2rem;
        content: '\A';
        white-space: pre;
    }

    .card {
        margin: auto;
    }

    .seccion-header .img_logo {
        display: block;
        width: 50vw;
        height: 150px;
    }

    .seccion-header .img_text {
        display: block;
        width: 400px;
        height: 150px;
    }
}

@media only screen and (max-width: 720px) {
    .logo-1 {
        width: 75%;
    }

    .logo-2 {
        width: 40%;
    }

    .seccion-header h1 {
        font-size: 1.2rem;
    }

    .seccion-header h2 {
        font-size: 1rem;
    }

    .seccion-header h3 {
        font-size: 0.9rem;
    }

    .title {
        font-size: 2rem;
        content: '\A';
        white-space: pre;
    }

    .card {
        margin: auto;
    }

    .seccion-header .img_logo {
        width: 80vw;
        height: 75px;
        padding-left: 10px;
    }

    .seccion-header .img_text {
        width: 300px;
        height: 75px;
        padding-left: 50px;
    }
}

@media (max-width: 360px) {
    .logo-1 {
        width: 75%;
    }

    .logo-2 {
        width: 40%;
    }

    .seccion-header ul {
        font-size: 1rem;
    }

    .scard {
        width: 90%;
    }

    .title {
        font-size: 1.5rem;
        content: '\A';
        white-space: pre;
    }

    .card {
        margin: auto;
    }

    .seccion-header .img_logo {
        width: 80vw;
        height: 75px;
        padding-left: 10px;
    }

    .seccion-header .img_text {
        width: 200px;
        height: 75px;
        padding-left: 50px;
    }
}