* {
    /*evita zoom amb double tap*/
    /* touch-action: manipulation; */
    user-select: none;
}
:root {
    --bg-color-sonant:#e5cceb;
  }
html{
    font-size: 20px;
    font-family: Delius, sans-serif;
    padding: 0;
}

.rutes {
    padding: 0 ;
    margin: 0 0 10px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    border-bottom: 1px solid #002a3f;
    box-shadow: inset 6px -17px 14px 0px rgb(0 0 0 / 13%);
    position: fixed;
    background-color: white;
    z-index: 100;
    top:0;
    width: 99%;
}
.rutes +*{
    margin-top: 3rem;
}

.rutes>a {
    padding: 10px 5px;
    border: 2px solid lightgray;
    text-decoration: none;
    border-bottom: 1px solid black;
    color: black;
    margin-right: 5px;
    background-color: white;

}

.rutes>.activa {
    background-color: lightblue;
    border-color: rgb(150, 150, 252);
}

.amunt {
    background-color: lightgreen
}

button {
    font-size: 0.8em;
    cursor: pointer;
}

h1,
h2,
h3,
h4,
h5 {
    margin: 5px;
}
.canco{
}
.opacafons{
    box-shadow: #80808057 1px -3px 20px 20000px;
    transition: all 0.3s ;
}

.desplegades{
    background-color: white;
}
.carpeta.desplegades {
    margin-left: 1em;
    position: relative;
}

.cordes {
    margin: auto;
    position: relative;
    width: 80%;
    display: flex;
    justify-content: space-evenly;
    font-size: 1.5em;
    user-select: none;
}

.esamunt {
    /* background-color: var(--bg-color-sonant); */
    border-color: violet !important;

}

.corda {
    flex-grow: 1;
    cursor: pointer;
    margin: 0 3px;
    padding: 20px 5px;
    background-color: orange;
    border-radius: 5px;
    border: 1px solid black;
    text-align: center;
}

.soccorda {
    font-weight: bold;
    opacity: 1 !important;
    box-shadow: 0 0 16px 3px black;
}

.cercador {
    margin: 5px;
    display: flex;

}

.cadatag,
.resta {
    display: flex;
    flex-direction: column;
}

.amagatag {
    display: none;
}

.cadatag>h2 {
    background-color: #c1e3f5;
    margin: 10px auto 10px 0;
    padding: 8px;
}
/*
.carpeta:hover {
    background-color: lightblue;
} */



.carpeta,
.canco {
    margin: 5px;
    border: 2px solid lightblue;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}
.carpeta{
    overflow:auto;
    padding: 20px 10px;
}
.canco{
    padding: 20px 5px;
}

.resta {
    /* margin-top: 50px; */
}

/* .carpeta:hover {
    background-color: lightblue;
    cursor: pointer;
    } */

.tenor {
    background-color: #ccfcd0;
}

.soprano {
    background-color: #fff3cf;
}

.contralt, .alto {
    background-color: rgb(253, 208, 255);
}

.baix {
    background-color: rgb(252, 205, 205);
}
.pdf {
    background-color:rgb(255 139 139);
}

.cor {
    background-color: rgb(255, 191, 245);
}
.llistaanim-move,
.llistaanim-enter-active,
.llistaanim-leave-active {
    transition: all 0.3s ease-out;
}

.llistaanim-enter,
.llistaanim-leave-to {
    transform: translateY(50px);
    opacity: 0;
}

.llistaanim-leave-active {
    position: absolute;
}

.animcostat-move,
.animcostat-enter-active,
.animcostat-leave-active {
    transition: all 0.3s ease-out;
}

.animcostat-enter,
.animcostat-leave-to {
    width:0;
    opacity: 0;
}

.animcostat-leave-active {
    position: absolute;
}

[v-cloak] {
    display: none;
}
dialog[open] {
    /*el .panel de bootsrap no queda bé dins de <dialog>
    millor a mà*/
    padding: 10px;
    border-radius: 15px;
    border-color: #3498db;
    background-color: white;
    display: flex;
    flex-direction: column;
    overscroll-behavior: contain;
}
.audio{
background-color: #e49425;
}
.video{
    background-color: rgb(0, 255, 242);
}
.pdf{
    background-color: brown;
}
dialog > h3:first-child {
    margin: 0;
    background-color: #3498db;
    font-size: 1.1em;
    padding: 2px 0;
}
dialog> :not(:first-child) {
    /* padding: 0 5px; */
}


@media screen and (max-width: 1000px) {
    html{
        user-select: none;
    }
    *{
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
    .rutes +*{
        margin-top: 50px;
    }
    *:focus {
        outline: none !important;

    }
    .rutes{
        font-size: 0.8em;
        top: 0;
    }
    .rutes + * {
        margin-top: 50px;
    }

    .carpeta:hover {
        background-color: none;
    }
    .icona {
        font-size: 1.5em;
    }

    .unarxiu {
        padding: 20px;
    }

    .cordes {
        width: auto;
        font-size: smaller;
    }
}

.fonsanimat {
    background: linear-gradient(90deg, #00ffbd, #e49425, #00ffbd, #e49425);
    background-size: 400% 400%;

    animation: gradient 2s linear infinite forwards;
}

@keyframes gradient {
    0% {
        background-position: 0% 0%
    }

    /* 50% {
    background-position: 100% 50%
    } */

    100% {
        background-position: 90% 90%
    }
}