/* cuerpo completo */

body {
    margin: 0px;
    padding: 0px;
    text-align: center;
    color: black;
    font-family: "Bitstream Vera Serif Bold", serif;
}

img {
    border-radius: 10px;
}


/* toda la pantalla */

.principal #todalapantalla {
    position: relative;
    top: -51px;
    width: 100%;
    background: black;
    text-align: justify;
}


/* cabecera */

#cabecera {
    background-color: black;
    position: relative;
    margin: 0px;
    padding: 0px;
    height: 243px !important;
}


/* barra izquierda */

.principal #barraizquierda {
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font: 100%;
    background-image: url(../img/lateraliz.png);
    flex-direction: column;
    padding: 10px;
    width: 15%;
}


/* barra derecha */

.principal #barraderecha {
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font: 100%;
    background-image: url(../img/laterader.png);
    flex-direction: column;
    padding: 10px;
    width: 15%;
}


/* menu contenido + Tabla + Lista*/

.table {
    border-collapse: separate;
    border-spacing: 10px;
    width: 100%;
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.table,
th,
cols {
    border: 3px solid rgb(245, 241, 12);
    padding: 10px
}

.table,
td,
cols {
    border: 1px solid rgb(0, 0, 0);
    padding: 0px
}

.table,
th {
    background-color: rgb(245, 241, 12);
    color: black;
}

.table,
tr:nth-child(odd) {
    background: linear-gradient(to right, rgb(224, 47, 47), rgb(202, 230, 47), rgb(51, 190, 51), rgb(56, 38, 216));
}

.table,
tr:nth-child(even) {
    background: linear-gradient(to right, rgb(224, 47, 47), rgb(202, 230, 47), rgb(51, 190, 51), rgb(56, 38, 216));
}

.table,
td:hover {
    background-color: rgb(245, 241, 12);
}

.principal #menucontenido h3 {
    font-family: 'Montserrat', sans-serif;
    font-family: 'Rakkas', cursive;
    font-size: 27px;
}

.principal #menucontenido {
    font-family: 'IBM Plex Mono', monospace;
    padding-left: 60px;
    padding-right: 45px;
    background-image: url(../img/fondos2.png);
    background-attachment: fixed;
    width: 76%;
}


/* barra de abajo FOOTER */

.principal #barraabajo {
    display: grid;
    background-image: url(../img/fondos3.png);
    background-position: center;
    grid-template-columns: repeat(4, 1fr);
    margin: 0;
}

.items-grid-barrabajo1 a:hover {
    background: linear-gradient(to right, rgb(224, 47, 47), rgb(202, 230, 47), rgb(51, 190, 51), rgb(56, 38, 216));
    transition: all .5s ease-in-out;
    box-shadow: 0px 0px 15px 15px #36ec1e;
    -webkit-box-shadow: 0px 0px 10px 10px #f5f5fa;
}


/* formulario principal */

form {
    border-color: rgb(5, 0, 0);
    margin-left: 50px;
    margin-right: 50px;
    font-family: 'Source Sans Pro', sans-serif;
}

p {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 16px;
    margin-bottom: 0px;
}

a {
    color: black;
    text-decoration: none;
    font-family: 'Source Sans Pro', sans-serif;
}

label {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 16px;
    margin-bottom: 0px;
    font-weight: bold;
}


/* botones formulario TEXT - EMAIL */

input[type=text],
input[type=email] {
    width: 100%;
    padding: 6px 10px;
    margin: 2px 2px;
    box-sizing: border-box;
    border: 2px solid black;
    border-radius: 4px;
}


/* botones formulario TEXTAREA */

textarea {
    width: 100%;
    height: 150px;
    padding: 12px 20px;
    box-sizing: border-box;
    border: 2px solid black;
    border-radius: 4px;
    background-color: white;
    resize: none;
    font-family: 'Source Sans Pro', sans-serif;
}


/* botones formulario ENVIAR y RESET */

input[type=button],
input[type=submit],
input[type=reset] {
    background-color: rgb(107, 162, 243);
    border-color: rgb(5, 0, 0);
    border-radius: 10px;
    padding: 16px 32px;
    margin: 4px 2px;
    cursor: pointer;
    margin-top: 10px;
}

input[type=button]:hover,
input[type=submit]:hover,
input[type=reset]:hover {
    background: linear-gradient(to right, rgb(250, 3, 3), rgb(217, 255, 0), green, rgb(29, 5, 247));
}


/* cierre de barraabajo */

footer {
    width: 100%;
    right: 0;
    bottom: 0;
    left: 0;
    text-align: center;
}

fieldset {
    background: linear-gradient(to right, rgb(228, 97, 97), rgb(217, 255, 0), green, rgb(133, 121, 241));
    border-color: rgb(5, 0, 0);
    text-align: center;
    border-radius: 14px;
    border-style: solid;
}


/* Clases */

.efectoimagen .efectoimagen {
    -webkit-transform: scale(1.3);
    transform: scale(1.3);
}

.efectoimagen {
    overflow: hidden;
}

.efectoimagen:hover {
    border-radius: 50%;
    transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
}

.letra1 {
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: 21px;
    color: rgb(14, 18, 252);
    text-shadow: 0px 0px 8px #FF0000;
}

.letra2 {
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: 21px;
    color: rgb(12, 4, 9);
    text-shadow: 0px 0px 3px #FF0000;
}

.letra3 {
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: 15px;
    color: rgb(7, 7, 7);
    text-shadow: 0px 0px 8px #FF0000;
}

.letra4 {
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: 24px;
    color: rgb(30, 27, 233);
    text-shadow: 0px 10px 20px #FF0000;
}

.cuadro {
    margin-left: 50px;
    margin-right: 50px;
}

.matrix {
    margin-left: 300px;
    margin-right: 300px;
}

.centrado {
    text-align: center;
    font-size: 21px;
}

.centroimagen {
    display: block;
    margin: auto;
}

.icocentrar {
    display: inline;
    margin: auto;
}

.titulocentrado {
    text-align: center;
}

.centrovideo {
    display: block;
    margin: auto;
}

.iframe {
    text-align: center;
}

.h6 {
    font-size: 13px;
}

.move {
    -webkit-animation: vibrate-1 1s linear both;
    animation: vibrate-1 1s linear both;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

@-webkit-keyframes vibrate-1 {
    0% {
        -webkit-transform: translate(0);
        transform: translate(0);
    }
    20% {
        -webkit-transform: translate(-2px, 2px);
        transform: translate(-2px, 2px);
    }
    40% {
        -webkit-transform: translate(-2px, -2px);
        transform: translate(-2px, -2px);
    }
    60% {
        -webkit-transform: translate(2px, 2px);
        transform: translate(2px, 2px);
    }
    80% {
        -webkit-transform: translate(2px, -2px);
        transform: translate(2px, -2px);
    }
    100% {
        -webkit-transform: translate(0);
        transform: translate(0);
    }
}

@keyframes vibrate-1 {
    0% {
        -webkit-transform: translate(0);
        transform: translate(0);
    }
    20% {
        -webkit-transform: translate(-2px, 2px);
        transform: translate(-2px, 2px);
    }
    40% {
        -webkit-transform: translate(-2px, -2px);
        transform: translate(-2px, -2px);
    }
    60% {
        -webkit-transform: translate(2px, 2px);
        transform: translate(2px, 2px);
    }
    80% {
        -webkit-transform: translate(2px, -2px);
        transform: translate(2px, -2px);
    }
    100% {
        -webkit-transform: translate(0);
        transform: translate(0);
    }
}

#cabecera {
    top: 0px;
    width: 100%;
}

#cabecera h1 {
    margin-block-start: 0em;
    margin-block-end: 0em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    top: 0px;
}

#cabecera img {
    width: 100% !important;
}

.principal #todalapantalla {
    position: relative;
    top: 0px;
    width: 100%;
    background: black;
    text-align: justify;
    display: flex;
}


/* Colores del formulario BIEN y MAL */

.error {
    background-color: rgb(230, 10, 10);
}

.correcto {
    background-color: rgb(15, 238, 15);
}


/* animacion NO utilizada para texto */

.ani {
    animation-duration: 3s;
    animation-name: slide;
}

@keyframes slide {
    from {
        margin-left: 30%;
        width: 10%
    }
    to {
        margin-left: 0%;
        width: 40%;
    }
}

#aviso {
    display: none;
}

#aviso1 {
    display: none;
}


/*Version movil ancho lateral*/

@media (max-width:699px) {
    img {
        border-radius: 0px;
    }
    header,
    #barraderecha,
    #barrainzquierda,
    .barraderecha,
    .barrainzquierda,
    .principal #barraabajo,
    #menucontenido,
    .principal #barraderecha,
    .principal #barraizquierda,
    #centrado,
    .principal #menucontenido,
    .items-grid-barrabajo1,
    .items-grid-barrabajo2,
    .items-grid-barrabajo3,
    nav,
    .efectoimagen:hover,
    p,
    h3,
    #barraabajo,
    footer {
        display: none;
    }
    #aviso {
        display: none;
    }
    #aviso1 {
        display: none;
    }
}


/*Version movil ancho reducido*/

@media (min-width: 320px) and (max-width: 480px) {
    img {
        border-radius: 0px;
    }
    header,
    #barraderecha,
    #barrainzquierda,
    .barraderecha,
    .barrainzquierda,
    .principal #barraabajo,
    #menucontenido,
    .principal #barraderecha,
    .principal #barraizquierda,
    #centrado,
    .principal #menucontenido,
    .items-grid-barrabajo1,
    .items-grid-barrabajo2,
    .items-grid-barrabajo3,
    nav,
    .efectoimagen:hover,
    p,
    h3,
    #barraabajo,
    footer {
        display: none;
    }
    #aviso {
        display: block;
    }
}