@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');


* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;
}

header {
    background-color: #2ecc71;
    box-shadow: 0 6px 0 #27ae60;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 35px;
    color: white;
    margin-bottom: 10px;
}

header figure {
    margin-left: 5px;
}

header figure {
    max-width: 208px;
    flex-shrink: 1;
}

header figure object {
    width: 100%;
}

header .burger-menu {
    margin-left: 13px;
    display: none;
}

header .burger-menu span {
    font-size: 45px;
}

header nav {
    flex-grow: 1;
    padding: 0 3.5%;
}


header nav ul {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

header>*,
header nav ul li {
    display: inline-block;
}

header nav ul li {
    margin: 0 2rem;
}

header nav a {
    color: white !important;
    text-decoration: none;
}

header .social {
    padding-right: 78px;
    display: flex;
}

header .social .logo a {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

header .social .logo {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-right: 2px;
}

header .social .logo.liril {
    background-image: url('/resources/liril_logo.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    image-rendering: pixelated;
}

header figure {
    margin-left: 5px;
    display: flex;
}

header .burger-menu {
    position: relative;
    height: 40px;
    width: 40px;
    overflow: hidden;
}

header .burger-menu span {
    position: absolute;
    width: 100%;
    height: 10px;
    background-color: white;
    transition: all 0.2s ease-out;
}

header .burger-menu .s1 {
    top: 0;
}

header .burger-menu .s2,
header .burger-menu .s3 {
    top: 15px;
}

header .burger-menu .s4 {
    bottom: 0;
}

header.visibleNav .burger-menu {
    & .s1 {
        top: -10px;
    }

    & .s2 {
        transform: rotate(45deg);
    }

    & .s3 {
        transform: rotate(-45deg);
    }

    & .s4 {
        bottom: -10px;
    }
}

a {
    color: #2edd71;
    text-decoration: none;
}

section.first {
    height: 500px;
    display: flex;
    margin-bottom: 4px;
}

input::placeholder {
    color: gray;
}

.search-cont {
    background-color: #ecf0f1;
    box-shadow: 0 6px 0 #bdc3c7;
    display: flex;
    align-items: stretch;
    margin: 0;
    margin-bottom: 0px;
    margin-bottom: 1em;
}

.search-input-group {
    position: relative;
    height: 80px;
    height: 86px;
    display: flex;
    padding: 15px;
    justify-content: space-between;
    width: 100%;
}

.search-input-group input.search {
    font-size: 21px;
    background-color: #fff;
    border-radius: 3px;
    border: none;
    display: block;
    width: 71%;
    float: left;
    padding: 13px;
}

.button {
    background-color: #fff;
    box-shadow: 0 6px 0 #bdc3c7;
    color: #9B9B9B;
    border-radius: 3px;
    border: none;
    display: block;
    font-size: 25px;
    padding: 12px 3% !important;
    position: relative;
    cursor: pointer;
    bottom: 6px;
}

.button:active {
    background-color: #E3E6E7;
    bottom: 0;
    border-width: 0;
    outline: none;
    box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.3), inset 0 2px 1px rgba(0, 0, 0, 0.4), 0 2px #ecf0f1;
}

.search-input-group button.search {
    width: 26% !important;
}

.removeSearch {
    background: #9d9e9f;
    padding: 5px 30px 5px 12px;
    height: 2em;
    border-radius: 1em;
    justify-content: center;
    align-items: center;
    color: #393939;
    position: relative;
    transition: color 0.16s ease-in;
    cursor: pointer;
    margin-left: 5px;
    margin-bottom: 5px;
    display: none;
}

.removeSearch.visible {
    display: inline-flex;
}

.removeSearch:hover {
    color: #f0f0f0;
}

.removeSearch .icon-x-circle {
    position: absolute;
    right: 0.5em;
}

.noResults {
    text-align: center;
    padding: 19px 0;
    background: #ecf0f1;
    color: #606060;
    display: none;
}

.noResults.visible {
    display: block;
}

.first .slideshow {
    width: 70%;
    margin-right: 1%;
    background-color: #ecf0f1;
    box-shadow: 0 6px 0 #bdc3c7;
    margin-bottom: 10px;
    position: relative;
}

.first aside.search {
    width: 29%;
    background: aqua;
    background-color: #ecf0f1;
    box-shadow: 0 6px 0 #bdc3c7;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.idea-button {
    width: 88%;
    margin-bottom: 7px;
}

aside.search .idea.button {
    width: 100%;
}

input:focus,
form textarea:focus {
    outline: none;
    box-shadow: inset 0 -2px 0 #bdc3c7;
}

article.blog {
    display: flex;
    background-color: #ecf0f1;
    box-shadow: 0 6px 0 #bdc3c7;
    margin-bottom: 50px;
    padding: 20px;
    min-height: 200px;
    position: relative;
    margin-bottom: 10px;
}

article.blog.hidden {
    display: none;
}

.blog figure img {
    width: 100%;
    min-width: 180px;
}

.blog .imagen {
    width: 160px;
    margin-right: 30px;
    display: grid;
    place-content: center;
}

.blog .text * {
    color: #9B9B9B
}

.blog .text h2 {
    font-size: 42px;
    font-weight: normal;
}

.blog .text p {
    font-size: 23px;
    margin-top: 1em;
}

.blog .info {
    height: 30px;
    width: 30px;
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 2;
    cursor: pointer;
    display: grid;
    place-content: center;
}

.info.icon-info::before {
    font-size: 30px;
    color: #9d9e9f;
}

.info:hover+.caption,
.caption:hover {
    display: flex !important;
}

.blog .caption {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: space-between;
    align-items: center;
    color: #bdc3c7;
    display: none;
    cursor: pointer;
}

.blog .caption .tags .tag p {
    font-size: 30px;
}

.blog .caption .tags .tag {
    display: inline-block;
    padding: 10px;
    margin-right: 1em;
    border-radius: 6px;
    border: 3px solid #bdc3c7;
}

.blog .caption .level {
    margin-left: 85px;
}

.blog .caption .level p {
    font-size: 43px;
}

.blog .caption .level .bars {
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.blog .caption .level .bars div {
    background: #bdc3c7;
    flex-grow: 1;
    margin: 0 3%;
}

.bars div:nth-child(1),
.bars span:nth-child(1) {
    height: 33%;
}

.bars div:nth-child(2),
.bars span:nth-child(2) {
    height: 66%;
}

.bars div:nth-child(3),
.bars span:nth-child(3) {
    height: 100%;
}

.bars span {
    flex-grow: 1;
    border: 1px solid #bdc3c7;
    margin: 0 3%;
}

.blog .link {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/*/portfolio*/
.link-button {
    text-decoration: none;
}

.works-container {
    text-align: center;
}

.works-container ul li {
    width: 250px;
    height: 250px;
    margin: 10px 5px 0 5px;
    display: inline-block;
    vertical-align: top;
    transition: height 0.2s ease-out;
}

.works-container ul li:not(.active) {
    transition: height 0.2s ease-out;
}

.works-container ul li.active {
    max-height: calc(250px + 100vh);
    height: 800px;
}

.works-container.open ul li {
    transition: none;
}

.works-container ul li figure {
    display: flex;
    width: 100%;
    height: 100%;
    padding: 3rem;
}

.works-container ul li figure img {
    pointer-events: none;
    max-height: calc(100vh - 20px - 6rem);
}

.works-container ul li figure figcaption {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.works-container ul li figure figcaption h1 {
    font-weight: lighter;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.works-container ul li figure figcaption p {
    flex-grow: 1;
    overflow-y: auto;
    color: #999;
}

.works-container ul li .expander {
    opacity: 0;
    background-color: #ecf0f1;
    position: absolute;
    top: auto;
    left: 0;
    width: 100vw;
    height: 0;
    max-width: 100%;
    max-height: calc(100vh - 20px);
    transition: height 0.2s ease-out, opacity 0.14s ease-out;
    pointer-events: none;
    margin-top: 0;
}

.works-container.open ul li .expander {
    transition: none;
}

.works-container ul li.active .expander {
    height: 530px;
    opacity: 1;
    margin-top: 20px;
    pointer-events: all;
}

.works-container ul li div {
    width: 100%;
    height: 250px;
    display: block;
    position: relative;
}

.works-container ul li>.thumbnail {
    user-select: none;
}

.works-container ul li>.thumbnail::after {
    content: "";
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 20px solid #ecf0f1;
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.08s ease-out;
}

.works-container.open ul li.active>.thumbnail::after {
    transition: none;
}

.works-container ul li.active>.thumbnail::after {
    opacity: 1;
}

.works-container ul li>div img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: pointer;
}

.works-container>p {
    text-align: center;
    padding: 50px 20px;
}

#contactForm {
    background-color: #ecf0f1;
    margin: 1em 0 6px 0;
    box-shadow: 0 6px 0 #bdc3c7;
    padding: 25px 0 10px 0;
}

#contactForm h2#titulo {
    color: #bdc3c7;
    font-weight: normal;
    font-size: 30px;
    text-align: center;
}

#contactForm input:not(.button) {
    padding: 13px;
    border: none;
    border-radius: 3px;
    background-color: #fff;
    margin: 0.8em auto 0 auto;
    font-size: 25px;
    text-align: center;
    width: 12em;
    display: block;
}

#contactForm #mensaje {
    width: 100%;
    height: 220px;
    margin-top: 1em;
    padding: 1em;
}

#contactForm #submit {
    margin: auto;
    margin-top: auto;
    margin-top: 2em;
}

#top-nav {
    border-bottom: 1px solid #bbb;
    padding-bottom: 6px;
}

#top-nav ul li {
    font-size: 23px;
    display: inline-block;
    margin: 0.4em 0.8em;
    color: #bbb;
}

#top-nav ul li.reading {
    color: rgb(99, 99, 102)
}

.post {
    width: 60%;
    margin: 4rem auto;
    color: #8A8B8B;
}

.post-meta {
    font-size: 0.9rem;
    color: #9EABB3;
}

.post img {
    width: 100%;
    height: 330px;
    object-fit: contain;
}

.post img.big {
    height: auto;
    border: 1px solid black;
    width: 70%;
    margin: 0 auto;
    display: block;
}

.post-title {
    font-size: 3rem;
}

.slideshow .figures {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    white-space: nowrap;
}

.slideshow figure {
    display: inline-flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    flex-shrink: 0;
}



.slideshow figure figcaption {
    height: 77px;
    flex-shrink: 0;
    display: flex;
    background-color: #9b9b9b42;
    font-size: 23px;
    align-items: center;
    justify-content: center;
    color: #686767;
    text-shadow: #9f9d9d 1px 1px 0px, #fff -1px -1px 0px;
    cursor: pointer;
}

.slideshow figure figcaption:hover span {
    text-decoration: underline;
}

.slideshow figure img {
    flex-shrink: 1;
    object-position: top;
    object-fit: cover;
    height: calc(100% - 77px);
    pointer-events: none;
}

.slideshow figure img.bottom {
    object-position: bottom;
}

.slideshow .previous-slide {
    position: absolute;
    left: 3px;
    top: calc((100% - 77px) / 2);
    width: 30px;
    height: 30px;
    font-size: 23px;
    display: grid;
    place-content: center;
    transform: translateY(-50%);
    cursor: pointer;
    border-radius: 50%;
    color: #bdc3c7;
}

.slideshow .next-slide {
    position: absolute;
    right: 3px;
    top: calc((100% - 77px) / 2);
    width: 30px;
    height: 30px;
    font-size: 23px;
    display: grid;
    place-content: center;
    transform: translateY(-50%);
    cursor: pointer;
    border-radius: 50%;
    color: #bdc3c7;
}

.slideshow .next-slide:hover,
.slideshow .previous-slide:hover {
    color: white;
    transition: all 0.21s ease-in-out;
}

.slideshow .modal {
    width: 385px;
    height: 290px;
    position: absolute;
    z-index: 2;
    background-color: blue;
    left: 50%;
    top: calc((100% - 77px) / 2);
    transform: translate(-50%, -50%);
    background-color: #ecf0f1;
    box-shadow: 0 6px 0 #bdc3c7;
    padding: 6px 8px;
    display: none;
    flex-direction: column;
    border: 1px solid #bdc3c7;
}

.slideshow .modal.visible {
    display: flex;
}

.slideshow .modal .modal-header {
    color: #b9b3b3;
    display: flex;
    justify-content: space-between;
    padding-bottom: 6px;

}

.slideshow .modal .close {
    width: 20px;
    height: 20px;
    display: grid;
    place-content: center;
    cursor: pointer;
}

.slideshow .modal .close:hover {
    color: #6a6a6a;
}

.slideshow .modal .modal-body {
    flex-grow: 1;
    color: #333;
    cursor: default;
}

.slideshow .modal .play.button {
    width: 100%;
    margin-bottom: 9px;
}

.slideshow .modal .source-code.button {
    width: 100%;
}

.slideshow .modal .title {
    cursor: default;
}

.slideshow .modal-footer a {
    text-decoration: none;
}

/*blog*/
.halfwidth {
    width: 29% !important;
}

.post {
    font-size: 20px;
}

.post h3 {
    font-size: 35px;
}

.post pre {
    font-size: 1rem;
}

i.code {
    font-style: oblique;
    background-color: #ddf8ae;
    padding: 0 3px;
    border: 1px outset cadetblue;
}

div.file_tree {
    background: #ffd88c47;
    width: max-content;
    padding: 6px;
}

.content p {
    margin: 1.6em 0 !important;
}

.post iframe {
    width: 100%;
    height: 273px;
    border: 1px solid darkgray;
}

@media (max-width: 769px) {
    header {
        flex-wrap: wrap;
        padding: 0.5rem 0;
    }

    header nav {
        order: 2;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: all 0.2s ease-out;
        width: 100%;
    }

    header.visibleNav nav {
        max-height: 188px;
    }

    header nav ul {
        flex-direction: column;
        align-content: center;
    }

    header figure {
        width: 50px;
        display: grid;
        place-content: center;
    }

    header .burger-menu {
        display: block;
        place-content: center;
    }

    header .social {
        padding-right: 13px;
    }
    .first aside.slideshow{
        display: none;
    }
    .first aside.search{
        width: 100%;
    }
}

.audioplayer {
    width: 100%;
    height: 262px;
    position: relative;
    border: 4px double #eecb79;
    margin-bottom: 6px
}

.left {
    width: 50%;
}

.left,
.right {
    height: 100%;
    width: 50%;
    display: inline-block;
    box-sizing: border-box;
    position: absolute;
}

.right {
    right: 0;
    border-left: 6px solid #9b9999;
}

.info,
.lyrics,
.download {
    position: absolute;
    width: 100%;
    height: calc(100% - 30px);
    top: 30px;
    display: none;
}

.información,
.letras,
.descargar {
    width: 33.3%;
    display: inline-block;
    text-align: center;
    color: #9f9f9f;
    font-size: 13px;
    user-select: none;
}

.audioplayer .tabs .selected {
    text-decoration: underline;
}

.tabs {
    border-bottom: 1px solid #cac9ca87;
}

.right>.selected {
    display: block;
}

.audioplayer table {
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 14px;
    width: 100%;
    margin-top: 17px;
}

.audioplayer td,
.audioplayer th {
    padding: 0 3px;
}

.audioplayer table th:first-child {
    font-weight: normal;
    color: #232303cf;
    border: 1px solid;
}

.audioplayer table th:last-child {
    font-weight: lighter;
    color: #232303;
    font-style: oblique;
    border-bottom: 1px dashed;
}

.información:not(.selected),
.letras:not(.selected),
.descargar:not(.selected) {
    cursor: pointer
}

.información.selected,
.letras.selected,
.descargar.selected {
    cursor: default
}

.lyrics.selected {
    /*! background: grey; */
}

.lyrics pre {
    font-size: 16px !important;
    margin-top: 17px;
    border-radius: 0;
    background: #ececec;
    padding: 8px 7px;
    height: calc(100% - 34px);
    overflow-y: scroll;
}

.lyrics .language-txt {
    font-size: 13px;
    color: #646464;
    text-shadow: none;
    font-family: "Open Sans"
}

.left {
    background-color: black;
}

audio {
    display: inline-block;
    height: 40px;
    width: 100%;
    bottom: 0;
    position: absolute;
}

label,
button {
    background: #f0f0f0;
    border: 1px solid #999;
    border-radius: 5px;
    display: inline-block;
    padding: 8px 40px;
    vertical-align: top;
}

label input {
    display: none;
}

canvas {
    display: block;
    width: 100%;
}

.left_cover {
    position: absolute;
    width: 100%;
    height: 210px;
    top: 0;
}

.halfwidth {
    width: 29% !important;
}

#contactForm #correo {
    display: none;
    opacity: 0;
    position: relative;
    top: -3em;
}

@keyframes smooth-appear {
    to {
        top: 0;
        opacity: 1;
    }
}

#contactForm #correo.visible {
    animation: smooth-appear 1s ease forwards;
    display: block
}

#contactForm #nombre {
    z-index: 1;
    position: relative;
}