@font-face {
    font-family: 'ShakyHand';
    src: url(../../img/shakyhandsomecomic.otf) format('truetype');
    font-style: normal;
    font-weight: normal;
  }
@font-face{
    font-family: 'ShakyHandL';
    src: url(../../img/shakyhandsomecomicligth.otf) format(truetype);
    font-style: normal;
    font-weight: normal;
}


  :root{
    --rosa: #ed028c;
    --cafe: #231f20;
    --morado: #5b2e91;
    --verde: #a6ce39;
    --FF: 'ShakyHand';
}
html {
    min-height: 100%;
    position: relative;
  }
body{
    background: url(../../img/patron.png);
    margin: 0;
    padding: 0;
    background-repeat: repeat;
    background-size: 200px;
    transition: 500ms;
    height: 100%;
    margin-bottom: 30px;
}

header div{
    background:var(--cafe);
    height: max-content;
    display: flex;
    flex-wrap: nowrap;
    padding: 10px;
    align-items: center;
    justify-content:center;
    box-shadow: 0 0 30px 0 rgba(0, 0, 0, 1);
}
header h1{
    margin: 0;
    font-family: var(--FF);
    letter-spacing: 1px;
    color: white;
    margin: 0 10px;
}

header img{
    height: 70px;
    cursor: pointer;
    transition: 300ms;
}
header img:hover{
    transform: scale(1.1);
}

.img2{
    display: none;
}
.cnt-option{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 30px;
    cursor: pointer;
}
.include, .update, .delete{
    background: white;
    width: 300px;
    height: 267px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 10px;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.8);
    transition: 300ms;
}
.include:hover, .update:hover, .delete:hover{
    box-shadow: 0 0 30px 0 rgba(0, 0, 0, 1);
    transform: scale(1.05);
}
.include img, .update img, .delete img{
    width: 280px;
    margin-top: 10px;
    border-radius: 8px;
}
.include h3, .update h3, .delete h3{
    margin: 0;
    width: 280px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 600;
    margin-top: 10px;
}
.include h4, .update h4, .delete h4{
    margin: 0;
    width: 280px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 600;
    margin-top: 3px;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
    font-size: 13px;
    text-align: justify;
    color: rgb(95, 95, 95);
}
.delete{
    margin-bottom: 30px;
}

@media(min-width:800px){
    .cnt-option{
        margin-top: 100px;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 40px;
    }
    .delete{
        margin: 0;
    }
    .img2{
        display: block;
    }
    header h1{
        margin: 0 30px;
    }
}


/*COPYR*/

.cr{
    margin-top: 30px;
    background-color: #130d0f;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 9px;
    display: flex;
    justify-content: center;
    position: absolute;
    bottom: 0;
    width: 100%;
}
.cr a h3{
    display: block;
    padding: 5px;
    margin: 0;
    text-align: center;
    color: white;
    text-decoration: none;
    width: 300px;
}
.cr a{
    margin: 0;
    text-decoration: none;
    transition: 0.2s;
}

.cr h3:hover{
    color: #a6ce39;
}

.devolv button{
    background-color: var(--verde);
    border: none;
    border-radius: 10px;
    font-family: 'ShakyHandL';
    font-size: 25px;
    color: black;
    height: 50px;
    width: 150px;
    cursor: pointer;
}
.devolv{
    margin-left: 10px;
    margin-top: 10px;
    margin-bottom: -40px;
}
.devolv button:hover{
    background-color: #82a12d;
    color: white;
    transition: 0.3s;
}

form{
    margin: 0 auto;
    flex-direction: column;
    display: flex;
    background-color: var(--cafe);
    width: 40%;
    max-width: 500px;
    margin-top: 50px;
    box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.8);
    border: none;
    gap: 10px;
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 20px 20px 0 20px;
    height: 330px;
    justify-content: space-around;
    border-radius: 10px;
    letter-spacing: 1px;
}

form input{
    padding-left: 10px;
    margin: 0 auto;
    width: 80%;
    max-width: 200px;
    height: 30px;
    border: none;
    border-radius: 10px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.seleccion{
    height: 30px;
    cursor: pointer;
    border: none;
    border-radius: 10px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: 300ms;
    padding-left: 15px;
    width:200px;}


.seleccion option{
    letter-spacing: 1px;
    transition: 300ms;
}

.campoextra{
    width: 100%;
}

.añadido{
    width:80%;
    max-width: 400px;
    height: 30px;
    border: none;
    border-radius: 10px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-left: 15px;
}
.sel{
    cursor: pointer;
}
.añadido option :active{
    background-color: #231f20;
}

.numero{
    width: 80px;
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.submit{
    width: 100%;
    align-self: center;
    background: var(--rosa);
    color: white;
    letter-spacing: 1px;
    font-size: 15px;
    padding: 5px 15px;
    margin-bottom: 15px;
    transition: 300ms;
    cursor: pointer;
    margin-top: 20px;
    font-family: 'ShakyHandL';
}
.submit:hover{
    background-color: #861457;
}

form label{
    font-family: 'ShakyHandL';
    font-weight: lighter;
    padding-bottom: 10px;
    border-bottom: #a6ce39 1px dotted;
}
#error-message{
    font-weight: bold;
    font-family: 'ShakyHand';
    align-self: center;
    margin-top: -5px;
    color: #ed028c;
}