
/* con margin y paddin le quitamos todos los margenes a la web*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}

html {
    scroll-behavior: smooth;
}

body { 
    background-color: #091c45;
    color: black;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;   
}


/* colores de la barra scroll bar */

    ::-webkit-scrollbar {
        width: 10px;
    }

    ::-webkit-scrollbar-track {
        background: #eedb06;
    }

    ::-webkit-scrollbar-thumb {
        background: rgb(20, 139, 30);
    }

    ::-webkit-scrollbar-thumb:hover {
        background: rgb(116, 204, 245);
    }

/*barra de scroll para firefox para html-->*/

html {
    overflow-y: scroll;
    scrollbar-color: #1ec715 #324582;
    scrollbar-width:thin;
}

/*fin de barra de scroll para firefox*/



  /*propiedades del boton inferior de subir q esta activado - "display: block;" 
la aparece*/
  .scroll-up-btn {
      position: fixed;
      display: block;
    height: 45px;
    width: 42px;
    background: rgb(3, 10, 26);
    right: 10px;
    bottom: 10px;
    text-align: center;
    line-height: 45px;
    color: #d31f1f;
    z-index: 9999;
    font-size: 30px;
    border-radius: 6px;
    border-bottom-width: 2px;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}
/*transparencia del boton inferior de subir con opacity: .1; al .8; */
.scroll-up-btn.show {
    bottom: 30px; 
    background: #b1bddb;
    opacity: .5;   
    pointer-events: auto;
}

.scroll-up-btn:hover {
    filter: brightness(90%);
}

  /*fin propiedades del boton inferior de subir q esta activado*/
 

    
    /*INICIO DE LA GRID*/

.contenedor {
    width: 100%;         /* el ancho del contenedor*/
    max-width: 1110px;  /* y este es el ancho máximo puede variar*/
    margin: 0px auto;  /* margen arriba y abajo y "auto" para centrar la web*/
    display: grid;      /* esto formatea el gri*/
    grid-gap: 2px;         /* margen entre las columnas y filas*/
    grid-template-columns: repeat(4, 1fr); /* 3 columnas de un mismo tamaño*/
    grid-template-rows: repeat(7, auto);
    grid-template-areas: "header header header header"
                        "seoculta seoculta seoculta seoculta"
                        "congresi congresi congresi congresi" 
                        "marquesi marquesi marquesi marquesi"
                         "contacto contacto contacto contacto"
                        "footer footer footer footer";
}
.contenedor > div,
.contenedor .header,
.contenedor .seoculta,
.contenedor .congresi, 
.contenedor .marquesi,
.contenedor .contacto,
.contenedor .footer {
    
    padding: 0px; /* alto del menu */
    border-radius: 4px;
    color: #fff;
}
 
/* MUNDO HEADER MENU SECCION */
.contenedor .header {  
    grid-area: header;  
    min-width: 100%;
}

/* Logo y texto del menu */
.max-width {
    max-width: 1300px;

/* espacio entre logo y menu */
    padding: 0  70px;  
    margin: auto;
}
 /* logo del escudo del Menu */
 .logosma img {
     width: 7%;
     margin-top: -10px;
     margin-left: -50px;
 }

 /* logo central animado del congreso del Menu */
 .logo img {
     width: 300px;
     margin-left: 10px;
 }

 /* logo central animado del congreso del Menu desplegable o hamburgesa */
 .logoresp img {
     display: none;
     width: 100px;
     padding-top: 10px;
     margin-top: -15px;
     margin-bottom: -15px;
 }
/* MENU  PROPIEDADES */
.navbar {
    left: 0;
    top: 0%;
}
/* SI CAMBIA POSITION A RELATIVE EL MENU QUEDA MOVIBLE NORMAL EN FIXED SE QUEDA PEGADO ARRIBA EN LA WEB */
.navbar {
    position: fixed;  
    width: 100%;
    z-index: 999;
    /* Padding Alto del Header Menu*/
    padding: 1px 0;  
    padding-top: 8px;
    font-family: 'Ubuntu', sans-serif;
    transition: all 0.3s ease;
    /* INICIO color cambiante  anidado a Keyframes para q funcione */
    background: linear-gradient(-45deg, #173b05, #7d7505, #124e64, #02600e);
    background-size: 400% 400%; 
    animation: change 14s ease-in-out infinite;
    /* FIN color cambiante anidado a "Keyframes" para q funcione, que esta al final antes de MEDIA QUERYS */
}


.navbar .max-width {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar .logo a {
    color: rgb(222, 160, 99);
    font-size: 35px;
    font-weight: 600;
}

.navbar .logo a span {
    color: rgb(43, 220, 20);
    transition: all 0.3s ease;
} 
.navbar .menu li {
    list-style: none;
    display: inline-block;
}

.navbar .menu li a {
    /*propiedades del menu*/
    display: block;
    color: rgb(110, 184, 229);
    font-size: 18px;
    margin-left: 15px;
    transition: color 0.3s ease;
}

.navbar .menu li a:hover {
    color: rgb(241, 222, 117);
}
 

/* propiedades de la hamburguesa menu emergente */
.menu-btn {
    color: #bab838;
    font-size: 33px;
    cursor: pointer;
    display: none;
}
  
.contenedor .seoculta { 
    background-color:rgb(17, 45, 96);
    grid-area:seoculta;
    text-align: center;
    color: black;
    padding: 0;    
}
.seoculta .logcong img{
    width: 40%; 
}
.texn{
text-align: center;
font-size: 22px; 
padding-top:  100px;
}


/* SECCION CARD BANNERS*/
.contenedor .congresi { 
grid-area: congresi;
    text-align: center;

}

.titp {
    font-size: 1.3rem;
    color: #dfb48e;

}

.justi {
    text-indent: 5%;
    text-align: justify;
    font-size: 1rem;
    color: #e5c46f;
    /* Espacio entre lineas*/
    line-height: 25px;
    margin-left: 10px;
    margin-right: 10px;
}

.left1 {
    margin-left: 10px;
    text-align: left;
    font-size: 1rem;
    color: #e5c46f;
    /* Espacio entre lineas*/
    line-height: 28px;
}

pre {
    white-space: pre-wrap;
    /* Since CSS 2.1 */
    white-space: -moz-pre-wrap;
    /* Mozilla, since 1999 */
    white-space: -pre-wrap;
    /* Opera 4-6 */
    white-space: -o-pre-wrap;
    /* Opera 7 */
    word-wrap: break-word;
    /* Internet Explorer 5.5+ */
}

.derec1 {
    text-align: right;
    font-size: 1rem;
    color: #e5c46f;
    /* Espacio entre lineas*/
    line-height: 28px;
}


.center {
    text-align: center;
    font-size: 1rem;
    color: #e5c46f;
    /* Espacio entre lineas*/
    line-height: 28px;
}

.cita {
    margin-left: 35rem;
    text-align: left;
    font-size: 1rem;
    color: #e5c46f;
    /* Espacio entre lineas*/
    line-height: 18px;
}

.giflin2 img {
    width: 30%;
}

.congrft img {
    border-radius: 7%;
    box-shadow: 0px 0px 5px 5px#4bbc8b;
    -webkit-box-shadow: 0px 0px 5px 5px#ecd388;
    transition: transform .8s ease-in-out;
}

.congrft img:hover {
    border-radius: 50%;
    -webkit-border-radius: 50%;
    box-shadow: 0px 0px 5px 5px #e970d5;
    -webkit-box-shadow: 0px 0px 5px 5px #78cced;
    transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
}

/* letras con background de colores en movimiento*/
.text3 {
    font-family: 'Seaweed Script', cursive;
    font-family: 'Oleo Script', cursive;
    font-size: 2rem;
    letter-spacing: 4px;
    background: linear-gradient(#6bdfc4, #f08542);
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    animation: text 5s linear infinite;
}

.text3b {
    font-family: 'Seaweed Script', cursive;
    font-family: 'Oleo Script', cursive;
    font-size: 1.5rem;
    letter-spacing: 4px;
    background: linear-gradient(#1497be, #92ec1c);
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    animation: text 5s linear infinite;
}

@keyframes text {
    0% {
        filter: hue-rotate(0deg);
    }

    100% {
        filter: hue-rotate(360deg);
    }
}


/*---LIBROS--*/

.libro {
    width: 100%;
    display: flex;
    /* Espacio emtre filas*/
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0;
}

.libro__perfil {
    /* Altura del borde o card, La Altura de ajusta al contenido*/
    width: 210px;
    /* Espacio entre la foto y el borde o card */
    margin-top: 0;
    padding: 4px;
    /* INICIO color cambiante  anidado a Keyframes para q funcione */
    background: linear-gradient(-45deg, #6e6c12, #2c0854, hsl(34, 84%, 12%), #038028);
    background-size: 400% 400%;
    animation: change 10s ease-in-out infinite;
    /* FIN color cambiante anidado a "Keyframes" para q funcione, que esta al final antes de MEDIA QUERYS */
}

.libro__perfil:hover {
    /* INICIO color cambiante  anidado a Keyframes para q funcione */
    background: linear-gradient(-45deg, #126e1c, #104b70, hsl(210, 75%, 28%), #1e9ae8);
    background-size: 400% 400%;
    animation: change 10s ease-in-out infinite;
    /* FIN color cambiante anidado a "Keyframes" para q funcione, que esta al final antes de MEDIA QUERYS */


}

.libro__perfil:hover img {
    border-radius: 10px;
    /* la imagen se amplia al pasar mouse*/
}

img {
    width: 200px;


}

.libro img {

    border: solid rgb(33, 93, 15) 4px;
}

.libro__nombre {
    display: flex;
    flex-direction: column;
    align-items: center;
}
/*hace responsive los videos de Youtube*/

.video {
    width: 100%;
    position: relative;
    margin: 0 auto;
    margin-left: auto;
    margin-right: auto;

}

.video after {
    content: "";
    width: 100%;
    padding-bottom: 56.25%;


}

.esdacode_video {
    width: 50%;
    top: 0;

}

/* Fin de hacer que el video sea responsive*/
/* FIN CARREON SECCION */

/* MARQUESINA  SECCION */
.contenedor .marquesi{
    background: rgb(200, 123, 23);
    grid-area: marquesi;
    text-align: left;
    
}

/* CONTACTENOS Y MAPA */
.contenedor .contacto {
    grid-area: contacto;
    color: #dceda0;
    text-align: center;
    /* INICIO color cambiante  anidado a Keyframes para q funcione */
        background: linear-gradient(-45deg, #3b0750, #142241, hsl(141, 89%, 11%), #3b3a05);
        background-size: 400% 400%;
        animation: change 14s ease-in-out infinite;
        /* FIN color cambiante anidado a "Keyframes" para q funcione, que esta al final antes de MEDIA QUERYS */
}

/* CONTACTO o FOOTERS SECCION */
.contenedor .footer {
    /* INICIO color cambiante  anidado a Keyframes para q funcione */
        background: linear-gradient(-45deg, #260503, #121b2e, hsl(143, 78%, 5%), #030220);
        background-size: 400% 400%;
        animation: change 14s ease-in-out infinite;
        /* FIN color cambiante anidado a "Keyframes" para q funcione, que esta al final antes de MEDIA QUERYS */
    grid-area: footer;
    color: rgb(64, 203, 96);
    text-align: center;
}


   /* "Keyframes" del color cambiante anidado a la animacion de Background arriba */

@keyframes change {
    0% {
        background-position: 0 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0 50%;
    }
}

@keyframes floatImage {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-2.4rem);
    }

    100% {
        transform: translateY(0);
    }
}






/*FIN DE LA GRID*/




/* RESPONSIVE (ADAPTABLE) MEDIA QUERYS */


@media (max-width: 1104px) {
 
}

@media (max-width: 991px) {
    .max-width {
        padding: 0 50px;
    }

/* logo del escudo del Menu */
.logosma img {
    width: 6%;
    margin-left: -30px;
}

/* logo central animado del congreso del Menu */

.logo img {
    width: 280px;
    margin-left: -10px;
}

/* logo central animado del congreso del Menu desplegable o hamburgesa */
.logoresp img {
    display: block;
    width: 250px;

}
 }
@media (max-width: 947px) {

    /* MENU EMERGENTE ADAPTABLE PROPIEDADES */
    .menu-btn {
        display: block;
        z-index: 999;
    }

    .menu-btn i.active:before {
        content: "\f00d";
    }

    .navbar .menu { 
        position: fixed;
        height: 100vh;
        width: 100%;
        left: -100%;
        top: 0;
        background: rgb(50, 42, 79);
        text-align: center;
        padding-top: 40px;
        transition: all 0.3s ease;
        /*efecto de aparecer menu*/
    }

    .navbar .menu.active {
        left: 0;
    }

    .navbar .menu li {
        display: block;
    }

    .navbar .menu li a {
        /*Propiedades del menu emergente*/
        display: inline-block;
        margin: 10px 0;
        /*espacio entre links en el menu emergente*/
        font-size: 25px;
        /*tamaño de letras links en el menu emergente*/
    }

    .max-width {
        max-width: 930px;
    }
.logo1 img { /*tamaño de imagen logo*/
    display: block;
    width: 250px;
}
 }
@media screen and (max-width: 720px) {

 .contenedor {
 grid-template-areas:
"header header header header"
"seoculta seoculta seoculta seoculta"
"congresi congresi congresi congresi"
"marquesi marquesi marquesi marquesi"
"contacto contacto contacto contacto"
 "footer footer footer footer";

}
.contenedor .seoculta { 
    grid-area: seoculta;
    padding: 0; 

}
.seoculta .logcong img {
    width: 85%;
}

  }

@media (max-width: 690px) {
    .max-width {
    padding: 0 23px;
    }

/* logo del escudo del Menu */
.logosma img {
    width: 12%;
    margin-left: -11px;
}

/* logo del Menu desplegable */
.logoresp img {
    display: block;
    width: 250px;


}

/* logo central animado del congreso del Menu */
.logo img {
    width: 210px;
    margin-left: -20px;
}
    

.left1 {
    margin-left: 5px;
    text-align: left;
    font-size: 1rem;
    color: #e5c46f;
    /* Espacio entre lineas*/
    line-height: 21px;
}

.esdacode_video {
    width: 100%;
    top: 0;

}.giflin2 img {
    width: 80%;
}
.libro {
    justify-content: center;
    margin-top: 0;

}

.libro__perfil {
    /* Altura del borde o card, La Altura de ajusta al contenido*/
    width: 170px;
    /* Espacio entre la foto y el borde o card */
    margin-top: 0;
    padding: 3px; }

img {
    width: 160px;  }

}