* {
    box-sizing: border-box;
}
body {
    margin: 0;
    background: #F3E9E1;
    font-family: "Pixelify Sans", sans-serif;
    user-select: none;
    background-image: url("../a7d369b7c8b4ecc0f0ffe790f233cbe58b7154c0.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
}
html {
    scroll-behavior: smooth;
}
.scroll-top {
    position: fixed;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background-color: #84b851;
    color: #F3E9E1;
    font-size: 36px;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 30%;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.scroll-top.show {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
}
.wrapper {
    max-width: 900px;
    margin: auto;
    padding: 10px;
}
.browser {
    background: #4f55b4;
    border-radius: 15px;
    padding: 10px;
}
.tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    justify-content: center;
    border: 6px solid #4f55b4;
}
.tabs a {
    text-decoration: none;
}
.tab {
    background: #ce6a78;
    padding: 5px 12px;
    border-radius: 10px;
    font-size: 18px;
    color: #F3E9E1;
    transition: all 0.3s ease;
}
.tab:hover {
    transform: translateY(-2px);
    cursor: pointer;
}
.tab.active {
    background: #84b851;
    font-weight: 700;
}
.bar {
    display: flex;
    gap: 10px;
    margin-top: 8px;
    align-items: center;
}
.nav i {
    color: #F3E9E1;
    margin-left: auto;
    padding: 3px 5px;
    font-size: 18px;
}
.url {
    min-width: 0;
    flex: 1;
    background: #F3E9E1;
    padding: 5px;
    border-radius: 10px;
    font-size: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.lang {
    display: flex;
    gap: 6px;
}
.lang-btn {
    background: #F3E9E1;
    border: none;
    padding: 5px 12px;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    font-family: "Pixelify Sans", sans-serif;
}
.lang-btn:hover {
    background: #e0d4c9;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}
.lang-btn.active {
    background: #84b851;
    color: #F3E9E1;
    font-weight: 700;
}
.card {
    background: #d8cfca;
    border-radius: 30px;
    padding: 20px;
    margin-top: 15px;
    position: relative;
}
.design {
    border-top: 40px solid #4f55b4;
    border-right: 6px solid #4f55b4;
    border-bottom: 6px solid #4f55b4;
    border-left: 6px solid #4f55b4;
}
#p5js::before {
    content: "🎲 p5js.exe";
    position: absolute;
    top: -37px;
    left: 10px;
    background: #4f55b4;
    color: #F3E9E1;
    padding: 6px 14px;
    border-top-left-radius: 100px;
    border-top-right-radius: 100px;
    font-size: 14px;
}
#digitalposters::before {
    content: "🏞️ JMMD_Poster_Design.exe";
    position: absolute;
    top: -37px;
    left: 10px;
    background: #4f55b4;
    color: #F3E9E1;
    padding: 6px 14px;
    border-top-left-radius: 100px;
    border-top-right-radius: 100px;
    font-size: 14px;
}
#lb::before {
    content: "😊 Digital_Well-being.exe";
    position: absolute;
    top: -37px;
    left: 10px;
    background: #4f55b4;
    color: #F3E9E1;
    padding: 6px 14px;
    border-top-left-radius: 100px;
    border-top-right-radius: 100px;
    font-size: 14px;
}
#kk::before {
    content: "🖊️ Inicial-Design.exe";
    position: absolute;
    top: -37px;
    left: 10px;
    background: #4f55b4;
    color: #F3E9E1;
    padding: 6px 14px;
    border-top-left-radius: 100px;
    border-top-right-radius: 100px;
    font-size: 14px;
}
.design .inner {
    min-height: 200px;
    background: #F3E9E1;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    gap: 30px;
    background-image:
    linear-gradient(rgba(79, 85, 180, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 85, 180, 0.15) 1px, transparent 1px);
    background-size: 21px 21px;
    color: #4f55b4;
    width: 100%;
}
.app {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.grid button {
    font-family: "Pixelify Sans", sans-serif;
    font-size: 35px;
    border: none;
    border-radius: 20px;
    background-color: #4f55b4;
    color: #F3E9E1;
    width: 300px;
    height: 100px;
    display: flex;
    margin: 15px;
    justify-content: center;
    align-items: center;
}
#lb .gallery,
#kk .gallery {
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    max-width: 828px;
    margin: 0 auto;
}
.grid button a {
    color: inherit;
    text-decoration: none;
}
.content-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.content-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.content-block h2 {
    margin: 0;
    font-size: 40px;
    color: #4f55b4;
}
.content-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background: #F3E9E1;
    border-radius: 20px;
    padding: 15px;
    gap: 20px;
    border-top: 8px solid #4f55b4;
    border-right: 6px solid #4f55b4;
    border-bottom: 6px solid #4f55b4;
    border-left: 6px solid #4f55b4;
}
.content-item img {
    justify-self: center;
    align-self: center;
    width: 90%;
    max-width: 800px;
    height: auto;
    margin-top: 20px;
    border-radius: 12px;
    object-fit: cover;
}
.content-item p {
    font-size: 20px;
    color: #000000;
    width: 90%;
    text-align: left;
}
.abst {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background: #F3E9E1;
    border-radius: 20px;
    padding: 15px;
    border-top: 8px solid #4f55b4;
    border-right: 6px solid #4f55b4;
    border-bottom: 6px solid #4f55b4;
    border-left: 6px solid #4f55b4;
}
.abst img {
    justify-self: center;
    align-self: center;
    width: 90%;
    max-width: 800px;
    margin-bottom: 20px;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}
.abst h1 {
    font-size: 45px;
    justify-self: center;
    align-self: center;
}
.abst button {
    margin-bottom: 30px;
}
.content-block summary {
    font-size: 40px;
    color: #4f55b4;
    cursor: pointer;
    list-style: none;
    font-weight: bold;
    padding: 10px;
}
.content-block summary::-webkit-details-marker {
    display: none;
}
.content-block summary::before {
    content: "➡️";
}
.content-block[open] summary::before {
    content: "⬇️";
}
.design .inner.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-content: center;
    justify-items: center;
}
#digitalposters .inner.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.photo {
    width: 100%;
    border-radius: 20px;
    border-top: 8px solid #4f55b4;
    border-right: 8px solid #4f55b4;
    border-bottom: 8px solid #4f55b4;
    border-left: 8px solid #4f55b4;
    background-color: #4f55b4;
    transition: transform 0.3s ease;
    aspect-ratio: 1 / 1;
}
.photo img {
    width: 100%;
    height: 100%;
    display: block;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px ;
    object-fit: cover;
    border-radius: 15px;
}
.photo:hover {
    transform: translateY(-5px) scale(1.02);
}
footer {
    text-align: center;
    margin-top: 15px;
    background: #84b851;
    padding: 10px;
    border-radius: 20px;
    font-size: 12px;
}
@media (max-width: 800px) {
    .content-block summary {
        font-size: 27px;
    }
    .design .inner {
        flex-direction: column;
    }
    .design h1 {
        font-size: 32px;
        text-align: center;
        width: 100%;
    }
    .grid button {
        width: 180px;
        height: 65px;
        font-size: 20px;
    }
    .label {
        font-size: 18px;
    }
    .content-item {
        flex-direction: column !important;
        grid-template-columns: 1fr;
        text-align: center;
    }
    .content-item img {
        width: 100%;
        max-width: 800px;
    }
    .content-block h2 {
        font-size: 40px;
        text-align: center;
    }
    .content-item p {
        text-align: left;
        justify-content: flex-start;
        font-size: 18px;
    }
    .photo {
        width: 100%;
    }
    #lb .gallery,
    #kk .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    .design .inner.gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    }