@import url('https://fonts.googleapis.com/css2?family=Dosis:wght@500&display=swap');
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

/*ESTILOS PROPIOS*/

body{
    background: #edede9;
}

main p{
    margin: 10px;
}
main p select{
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
}

header{
    width: 100vw;
    height: 10vh;
    background-color: #003049;
    margin-bottom: 1rem;
}

header div{
    background-color: #fdf0d5;
    width: 50px;
    height: 50px;
    border-radius: 50px;
    margin-right: 50px;
}

footer{
    width: 100vw;
    height: 10vh;
    background: #0d1b2a;
    margin-top: 2rem;
    position: absolute;
    bottom: 0;
}

.hiden{
    display: none;
}

.btn{
    background-color: #2a9d8f;
    border: 2px solid black;
    box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
    transition: box-shadow 1s ease;
    padding: 3px;
    font-size: 20px;
}
.btn:hover{
    cursor: pointer;
    background-color: #e9c46a;
    box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 1.2);
}

.eliminar{
    background-color: #fcbf49;
    color: black;
    padding: 2px;
}

.eliminar:hover{
    background-color: #780000;
    color: whitesmoke;
}

.editarBtn:hover{
    background-color: #344e41;
    color: whitesmoke;
}

.antes{
    margin-bottom: 5px;
}

.card{
    background-color: #151515;
    border-radius: 5px;
    color: whitesmoke;
    text-align: center;
}

.card span{
    color: black;
}

.card input{
    text-align: center;
}

.nomPieza{
    font-size: 2rem;
}

.modal{
/* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* Sit on top */
  padding-top: 10px;
  /* Location of the box */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.6);
 
}
.modal-content{
    width: 50vw;
    background: #ddbea9;
    padding: 5px;
    border-radius: 5px;
    margin: 0 auto;
    box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.6);
    padding: 2rem;
    
}
.modal-content form{
    display: flex;
    flex-direction: column;
}
.modal-content form label{
    font-weight: bold;
    margin: 1rem 0;
    font-size: 1.5rem;
}

.modal-content form input, .modal-content form select{
    font-size: 1rem;
    background-color: #eee;
    padding: 1rem;
    font-size: 1rem;
    box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 1rem;  
    color: #003049;
    cursor: pointer;
    font-weight: bold;
    
}
.modal-content div{
    margin-top: 20px;
}

.modal-content div select{
    margin: 5px;
}

#titulo{
    text-align: center;
}
#titulo h1{
    font-size: 4rem;
}
#titulo p{
    font-size: 3rem;
}

.secciones{
    width: 90vw;
    margin: 0 auto;
}

.secciones ul{
    display: flex;
   flex-wrap: wrap;
   gap: 60px;
   justify-content: center;
}

.secciones li{
    background-color: #8ecae6;
    text-align: center;
    border-radius: 50%;
    width: 200px;
    height: 200px;
    padding: 15px;
    box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
    transition: box-shadow 1s ease ;
    font-weight: bold;
}

.secciones li:hover{
    box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 1.2);
}
.secciones a{
    text-decoration: none;
    color: black;
    font-size: 2rem;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#user{
    display: none;
}

#back-home{
    font-size: 1rem;
    color: white;
}

#titulo-seccion{
    margin-left: 10px;
}

#titulo-seccion h1{
    font-size: 4rem;
    text-align: left;
}

#filtro{
    margin: 10px;
    display: flex;
    align-items: center;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 10px 20px;
}

#filtro h3{
    text-align: center;
    font-size: 30px;
}
/* Estilo de un campo de texto */
.input{
    background-color: #eee;
    border: none;
    padding: 1rem;
    font-size: 1rem;
    border-radius: 1rem;
    color: #003049;
    box-shadow: 0 0.4rem #a2d2ff;
    cursor: pointer;
    height: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.input:focus{
    outline-color: #023047;
}

/*Estilo del boton para regresar al home*/

.primary-button {
    font-family: 'Ropa Sans', sans-serif;
       /* font-family: 'Valorant', sans-serif; */
    color: white;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 0.05rem;
    border: 1px solid #0E1822;
    padding: 0.8rem 2.1rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 531.28 200'%3E%3Cdefs%3E%3Cstyle%3E .shape %7B fill: %23FF4655 /* fill: %230E1822; */ %7D %3C/style%3E%3C/defs%3E%3Cg id='Layer_2' data-name='Layer 2'%3E%3Cg id='Layer_1-2' data-name='Layer 1'%3E%3Cpolygon class='shape' points='415.81 200 0 200 115.47 0 531.28 0 415.81 200' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E%0A");
    background-color: #0E1822;
    background-size: 200%;
    background-position: 200%;
    background-repeat: no-repeat;
    transition: 0.3s ease-in-out;
    transition-property: background-position, border, color;
    position: relative;
    z-index: 1;
   }
   
   .primary-button:hover {
    border: 1px solid #FF4655;
    color: white;
    background-position: 40%;
   }
   
   .primary-button:before {
    content: "";
    position: absolute;
    background-color: #0E1822;
    width: 0.2rem;
    height: 0.2rem;
    top: -1px;
    left: -1px;
    transition: background-color 0.15s ease-in-out;
   }
   
   .primary-button:hover:before {
    background-color: white;
   }
   
   .primary-button:hover:after {
    background-color: white;
   }
   
   .primary-button:after {
    content: "";
    position: absolute;
    background-color: #FF4655;
    width: 0.3rem;
    height: 0.3rem;
    bottom: -1px;
    right: -1px;
    transition: background-color 0.15s ease-in-out;
   }
   
   .button-borders {
    position: relative;
    width: fit-content;
    height: fit-content;
   }
   
   .button-borders:before {
    content: "";
    position: absolute;
    width: calc(100% + 0.5em);
    height: 50%;
    left: -0.3em;
    top: -0.3em;
    border: 1px solid #0E1822;
    border-bottom: 0px;
       /* opacity: 0.3; */
   }
   
   .button-borders:after {
    content: "";
    position: absolute;
    width: calc(100% + 0.5em);
    height: 50%;
    left: -0.3em;
    bottom: -0.3em;
    border: 1px solid #0E1822;
    border-top: 0px;
       /* opacity: 0.3; */
    z-index: 0;
   }
   
   .shape {
    fill: #0E1822;
   }

   
/*Estilo del boton para abrir el modal*/
button {
    position: relative;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    outline-offset: 4px;
    transition: filter 250ms;
    user-select: none;
    touch-action: manipulation;
   }
   
   .shadow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background: hsl(0deg 0% 0% / 0.25);
    will-change: transform;
    transform: translateY(2px);
    transition: transform
       600ms
       cubic-bezier(.3, .7, .4, 1);
   }
   
   .edge {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background: linear-gradient(
       to left,
       hsl(340deg 100% 16%) 0%,
       hsl(340deg 100% 32%) 8%,
       hsl(340deg 100% 32%) 92%,
       hsl(340deg 100% 16%) 100%
     );
   }
   
   .front {
    display: block;
    position: relative;
    padding: 12px 27px;
    border-radius: 12px;
    font-size: 1.1rem;
    color: white;
    background: hsl(345deg 100% 47%);
    will-change: transform;
    transform: translateY(-4px);
    transition: transform
       600ms
       cubic-bezier(.3, .7, .4, 1);
   }
   
   button:hover {
    filter: brightness(110%);
   }
   
   button:hover .front {
    transform: translateY(-6px);
    transition: transform
       250ms
       cubic-bezier(.3, .7, .4, 1.5);
   }
   
   button:active .front {
    transform: translateY(-2px);
    transition: transform 34ms;
   }
   
   button:hover .shadow {
    transform: translateY(4px);
    transition: transform
       250ms
       cubic-bezier(.3, .7, .4, 1.5);
   }
   
   button:active .shadow {
    transform: translateY(1px);
    transition: transform 34ms;
   }
   
   button:focus:not(:focus-visible) {
    outline: none;
   }  