/* Fondo de documento */
body {
    margin: 0;
    padding: 0;
    background-image: url('../images/Background-Final.png');
    background-repeat: no-repeat;
    background-size: cover;
}

/* End fondo de documento */

/* Section navbar */
.navbar {
    background-color: #ffffff;
    overflow: hidden;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1;
    height: 60px;
    box-shadow: 0px 5px 10px -5px rgba(0, 0, 0, 0.5);
}

.navbar a {
    float: left;
    color: rgb(0, 0, 0);
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    margin-top: -5px;
    font-family: 'Source Code Pro', monospace;
}

.navbar button {
    border-radius: 18px;
    margin-top: -4px;
    font-family: 'Source Code Pro', monospace;
    background-color: #0e92df;
    color: #000000;
    box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.2);
    font-size: 17px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding-left: 15px;
    padding-right: 15px;
}

.navbar h6 {
    font-size: 23px;
    font-family: 'Source Code Pro', monospace;
}

.navbar img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    margin-top: -5px;
}

/* End section navbar */

/* Section container */

.pagina-principal {
    margin-top: 90px;
}

/* End section container */

/* Estilos para los input */

*,
*:focus {
    outline: none
}

.form {
    margin-top: 30px;
    font-family: 'Chivo Mono', monospace;
    letter-spacing: 1px;
    background: transparent;
}

.form h1 {
    border-radius: 50px;
    width: 200px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    text-align: center;
    color: #fff;
    cursor: default;
    font-size: 25px;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    background-image: linear-gradient(to bottom right, #214dac, #6CCEFF);
}

.form-item {
    position: relative;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-item input {
    display: block;
    width: 300px;
    height: 70px;
    background: transparent;
    border: solid 1px #ccc;
    transition: all .3s ease;
    padding: 0 15px;
    border-radius: 15px;
    text-align: center;
}

.form-item input:focus {
    border-color: rgb(0, 140, 255);
}

.form-item label {
    position: absolute;
    cursor: text;
    top: 13px;
    left: 10px;
    font-size: 14px;
    background: #fff;
    padding: 0 10px;
    color: #999;
    transition: all .3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 190px;
    margin-left: 155px;
}

.form-item input:focus+label,
.form-item input:valid+label {
    font-size: 11px;
    top: -5px
}

.form-item input:focus+label {
    color: rgb(0, 0, 0)
}

/* Fin de los estilos para el input */

/* Button de dibujar inputs */
.dibujar {
    display: flex;
    justify-content: center;
}

#miBoton {
    width: 200px;
    background-color: #2cc72c;
    border: none;
    color: white;
    padding: 10px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 18px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 25px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out;
    font-family: 'Chivo Mono', monospace;
    margin-top: 8px;
}

#miBoton:hover {
    transform: scale(1.1);
}

#miBoton:active {
    transform: scale(0.9);
    box-shadow: none;
    transition: transform 0.1s ease-in-out;
}

/* End button dibujar inputs */

/* Section clear inputs */

.pagina-principal .imgClear img {
    width: 50px;
    height: 50px;
    margin-top: 8px;
    cursor: pointer;
    transform: scale(1);
    transition: transform 0.4s cubic-bezier(0.3, 0.5, 0.5, 1.5);
    margin-right: 23px;
}

.pagina-principal .imgClear img:active {
    transform: scale(0.8);
}

.imgClear h5 {
    display: inline-block;
    vertical-align: middle;
    margin-top: 18px;
    font-family: monospace;
    font-size: 12px;
    /* font-weight: bold; */
    color: #000;
}

/* End section clear inputs */

/* Section for the CSS of elaborated by  */

.opMatrices {
    margin-top: 70px;
}

.pagina-principal .opMatrices .card {
    border-radius: 20px;
    margin-bottom: 50px;
    border: none;
    transition: all 0.3s ease;
    height: 200px;
}

.pagina-principal .opMatrices .card:hover {
    box-shadow: 0px 8px 20px 0px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

.opMatrices .card-header {
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
    background-image: linear-gradient(to bottom right,
            #214dac 0%,
            #214dac 20%,
            #214dac 40%,
            #6CCEFF 60%,
            #214dac 80%);

    background-size: 200% 200%;

    animation: movimiento 5s linear infinite alternate;
}

@keyframes movimiento {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 100% 100%;
    }
}

.opMatrices .card-header h5 {
    text-align: center;
    margin-top: 5px;
    font-family: 'Source Code Pro', monospace;
    font-size: 22px;
    font-weight: bold;
    color: #25175e;
}

.opMatrices .card-body {
    display: flex;
    justify-content: center;
    background-color: #afd8eb;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.opMatrices .card-body img {
    width: 367px;
    height: 187px;
    margin-top: -70px;
}

/* End CSS elaborated by */

/* Section Modal Painter Matrices */
.modal-lg {
    max-width: 80%;
}

.modalMatrices h5 {
    font-size: 25px;
    font-family: 'Rubik', sans-serif;
    letter-spacing: 1px;
}

.pagina-principal .modalMatrices {
    border-radius: 20px;
    border: none;
}

.modalMatrices .modal-header {
    background-image: linear-gradient(to bottom right, #214dac, #6CCEFF);
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
}

.modalMatrices .modal-body {
    background-color: #00000012;
}

.modalMatrices .modal-footer {
    background-color: #00000012;
}

/* End section Painter Matrices */

/* Section matrices generadas por el dibujo de matrices */
#dMatriz hr {
    border-bottom: 5px solid;
}

#hello-text {
    display: none;
}

#hello-text h4 {
    font-size: 18px;
    font-weight: bold;
    color: #555;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
}

.pagina-principal .modalMatrices .cardMatrices .cardPainterLeft {
    margin-left: 0px;
}

.pagina-principal .modalMatrices .cardMatrices .card {
    /* border: 1px solid #000; */
    border-radius: 15px;
    margin: 0 auto;
}

.modalMatrices .cardMatrices .card .card-header h5 {
    text-align: center;
}

.modalMatrices .cardMatrices .card .card-body {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modalMatrices .cardMatrices .selectOperacion {
    margin-top: 20px;
}

#operacionMatriz {
    font-family: Arial, sans-serif;
    font-size: 16px;
    color: #333;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: #f5f5f5;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

#operacionMatriz option {
    font-family: Arial, sans-serif;
    font-size: 16px;
    color: #333;
    padding: 10px;
    background-color: #f5f5f5;
}

#operacionMatriz option:hover {
    background-color: #ccc;
    color: #fff;
}

#operacionMatriz option:selected {
    background-color: #007bff;
    color: #fff;
}

#resultados {
    margin-top: 30px;
}

/* End section para las matrices generadas en el dibujo de matrices */