body {
    display: flex;
    flex-direction: column;
    background-image: url(/imgs/wllppr.jpeg);
    margin: 0px;
    height: 100vh;
    /*font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;*/
    font-family: Ubuntu, monospace;
    overflow: hidden;
}

#mobile-main {
    display: none !important;
}

#desktop-main {
    height: 100%;
    width: 100%;
    display: flex;
    flex: 1;
    position: relative;
    overflow: hidden;
    background-color: rgb(243, 171, 171, 0);
}


@media all and (max-width: 768px) {
    #desktop-main {
        display: block !important;
    }

    #mobile-main {
        display: none !important;
    }

    .aviso {
        display: none !important;
    }
}

@media all and (max-width: 767px) {
    #desktop-main {
        display: none !important;
    }

    #mbl-brg-btn {
        display: block !important;
    }

    #mobile-main {
        display: flex !important;
        flex-direction: column;
        height: 100vh;
        margin: 0px;
    }

    #top-bar {
        height: 40px;
    }

    .aviso {
        display: block !important;
    }
}



a:link {
    color: black;
    text-decoration: none;
}

a:visited {
    color: black;
}

a:hover {
    color: rgb(235, 101, 54);
}

#top-bar {
    background-color: chartreuse;
    width: 100%;
    height: 25px;
    background: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5);
    z-index: 10000000;
    -webkit-user-select: none;
    user-select: none;
}

.so-title-info {
    position: relative;
    display: inline-block;

}

.infotext {
    visibility: hidden;
    width: 300px;
    background-color: #333;
    color: #fff;
    padding: 5px 0;
    border-radius: 6px;
    position: absolute;
    z-index: 10000001;
    top: 150%;
    left: 50%;
    margin-left: -150px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5);
    text-align: left;
    padding-left: 10px;
}

.so-title-info:hover .infotext {
    visibility: visible;
}

#menu-btn,
#so-title,
#clock,
.window-title {
    margin-left: 10px;
    margin-right: 10px;
    color: aliceblue;
}

#mbl-brg-btn {
    display: none;
}



/*DESKTOP CONTENT*/

div {
    /* text-align: justify; */
    text-align: justify;
}

#left-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 0 10px 10px 0;
    background-color: rgb(224, 201, 245, 0.5);
    margin: 10px 0 10px 0;
    z-index: 1000000;
    overflow-y: visible;
    -webkit-user-select: none;
    user-select: none;
}

#window-container {
    flex: 1;
    width: 100%;
    position: relative;
}

.window {
    display: flex;
    flex-direction: column;
    min-width: 480px;
    min-height: 300px;
    float: left;
    background-color: rgb(255, 255, 255);
    width: 600px;
    height: 480px;
    position: absolute;
    resize: both;
    overflow: auto;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5);
}

.window-bar {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: end;
    width: 100%;
    background-color: #333;
    -webkit-user-select: none;
    user-select: none;
}

.window-bar:hover {
    background-color: #444444;
}

.window-title {
    text-transform: capitalize;
    text-align: center;
    flex-grow: 1;
}

#window-bar-buttons {
    display: flex;
    align-items: end;
    justify-content: end;
    background-color: aqua;
    min-width: 100px;
}


.window-content {
    flex-grow: 1;
    height: 100%;
    background-color: rgb(255, 255, 255);
    /*padding: 10px;*/
    padding: 30px;
    overflow-y: auto;
}

#volver-proyectos {
    margin: 5px;
    border: none;
    cursor: pointer;
    background-color: #333;
    color: #ececec;
    width: 80px;
    height: 20px;
}

#volver-proyectos:hover {
    background-color: #4b4b4b;
}

.bar-btn {
    background-color: #333;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    color: aliceblue;
    border-radius: 5px;
    width: 100px;
    height: 100px;
    margin: 5px;
    cursor: pointer;
}

.emoji-bb {
    font-size: 30px;
}

.bar-btn:hover {
    background-color: #4e4e4e;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5);
    transform: translate(10px, 0px);
}

.bar-btn[active="true"] {
    background-color: #414141;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5);
    transform: translate(10px, 0px);
}

.w-button {
    border-radius: 10px;
    cursor: pointer;
    border: none;
    margin: 5px;
}

#close-w-btn:hover {
    color: white;
    background-color: rgb(241, 77, 77);
}

/*
    PROYECTOS
*/

#proyectos-main {
    display: block;
    width: 85%;
    margin: auto;
}

#proyecto-articulo {
    display: none;
}

#proyectos-list {
    overflow: none;
}

.proyecto-item {
    background-color: rgb(255, 255, 255);
    margin: 12px;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}

.item-top {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: #ececec;
    padding: 5px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}

.nombre-proyecto {
    margin-left: 5px;
}

.item-bottom {
    padding: 10px;
}


.proyecto-item:hover {
    background-color: #ececec;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5);
    transform: translate(10px, 0px);
}

#tecnologias-proyecto {
    display: flex;
    flex-wrap: wrap;
    background: #D43644;
    background: linear-gradient(0deg, rgba(212, 54, 68, 0.5) 0%, rgba(183, 35, 116, 0.5) 50%, rgba(129, 36, 111, 0.5) 100%);
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.tecnologia {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 10px;
    min-width: 200px;
    margin: 5px;
    position: relative;
    background-color: #fff;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.tecnologia+.tecnologia {
    flex-grow: 1;
}

.tecnologia img {
    height: 96px;
    /*  max-height: 100px;
    max-width: 150px; */
    margin: 5px;
}


#navegacion-proyectos {
    display: flex;
    flex-direction: row;
    overflow: hidden;
    background-color: white;
    width: 100%;
    height: 30px;
    align-items: center
}

/*MOBILE*/

#mobile-root {
    height: calc(100vh - 75px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: #fff;
    /*Para poder mostrar el conteido correctamente sin bocados*/
   /*  padding-bottom: calc(100vh - 150%); */
}

#contenido-movil {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
}

/* #bottom-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    background: #fff;
    box-shadow: 0 -8px 11px rgba(0,0,0,0.1);
    z-index: 1000;
} */

#bottom-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    background: #fff;
    box-shadow: 0 -8px 11px rgba(0,0,0,0.1);
    z-index: 1000;
}

.mobile-bar-btn {
    flex-grow: 1;
    flex-basis: 0;
    border: none;
    height: 100%;
    background-color: #f8efef;
    transition: flex-basis 0.5s, background-color 0.5s, color 0.5s, box-shadow 0.5s;
}

.mobile-bar-btn:hover {
    background-color: rgba(129, 36, 111, 0.7);
    color: #fff;
    flex-basis: 200px;
    box-shadow: 0px -8px 20px 0px rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.mobile-bar-btn[active="true"] {
    background-color: rgb(233, 154, 161);
    flex-basis: 75px;
    color: #fff;
    box-shadow: 0px 0px 20px 1px rgba(0, 0, 0, 0.3);
    z-index: 1;
}