﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 13.5px;
    user-select: none;
    -webkit-tap-highlight-color: #00000000;

}

html,
body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: #020209;
    width: 100%;
}

body main {
    display: flex;
    flex-direction: column;
    justify-content: left;
    align-items: top;
    height: 100%;
    width: 100%;
    left: 0px;
    margin: 0px;
    top: 0px;
    color: #ffffff;
    overflow: hidden;
    background-color: #020209;
    --main-bg-img: none;
}

body main::before {
    content: '';
    position: fixed;
    inset: 0;
    /*background-image: var(--main-bg-img);*/
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    filter: blur(0px);
    transform: scale(1.15);
    opacity: 0;
    pointer-events: none;
    z-index: 0;
}

body main>* {
    position: relative;
    z-index: 1;
}

main nav {
    position: fixed !important;
    top: 0;
    width: 100%;
    display: flex;
    flex-direction: row;
    position: sticky;
    background: #020209;
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 0px solid #ffffff14;
    z-index: 999;
    box-shadow: 0 10px 30px 12px #020209;
}

nav logo {
    font-weight: 400;
    color: #fff;
    width: 300px;
    padding: 40px 60px;
    background-image: url('../image/logo.png');
    background-repeat: no-repeat;
    background-position: 25px;
    background-size: 70%;
}

nav menu {
    display: flex;
    margin-left: auto;
    width: 100%;
    height: 40px;
    background-color: #50494900;
    flex-direction: row;
    justify-content: right;
    align-items: center;
    gap: 2%;
    overflow: hidden;
    padding-right: 12px;
}

menu btn {
    display: flex;
    padding: 10px 5px;
    color: #ffffffd8;
    overflow: hidden;
    border-radius: 4px;
    transition: color 0.3s ease;
    cursor: pointer;
    background-color: #00ffff00;
    font-size: max(1.1vw, 1.1rem);    
    font-weight: 100;
    letter-spacing: 1.1px;
}

menu btn:hover {
    color: #555;
}

slogan {
    position: fixed !important;
    top: 40px;
    z-index: 999;
    display: flex;
    justify-content: right;
    font-size: 35px;
    color: #ffffffe8;
    width: 350px;
    right: 0px;
    padding: 4px 20px;
    letter-spacing: 10px;
    font-weight: 100;
    text-shadow: 0 0 4px #9610d4c9;
}

section {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    width: calc(100% - 0px);
    height: 580px;
    background-color: #18222700;
    margin-top: 80px;
    cursor: pointer;
    position: relative;
}

section:hover {
    transition: background-color 0.8s ease;
    background-color: #40414200;
}

section titulos {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    background-color: #ff000000;
    width: 100%;
    padding: 25px 50px;
    font-size: 19px;
    position: absolute;
    z-index: 6;
    text-align: center;
    font-weight: 100;
    color: #ffffff77;
    text-shadow: 0 0 10px #5c04ad9c;
    margin-bottom: 25px;


}

section titulos .section-summary {
    display: block;
    margin-top: 0px;
    font-size: max(1.5vw, 20px);
}

section titulos .slide-caption {
    display: block;
    margin-top: 0px;
    color: #c9b6d2;
    font-size: max(1.5vw, 1.5rem);
    letter-spacing: 0.02em;
}

section titulos .load-progress {
    display: block;
    margin-top: 6px;
    color: #8de7ff;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    opacity: 0.9;
    transition: opacity 0.35s ease;
}

b {
    font-size: 1.5rem;
    font-weight: 600;
}

control {
    position: relative;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: #ff000000;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 5;
}

atras,
adelante {
    background-color: #a1a88600;
    padding: 150px 32px;
    font-size: 1.5rem;
    color: #cb2af3;
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 89;
}

atras:hover,
adelante:hover {
    background-color: #3a3b3400;
    color: #d86fe691;
}

/* Section artwork layer */
.ghost-art {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 1;
}

.ghost-art .ghost {
    position: absolute;
    width: calc(var(--ghost-size, 460px) * var(--ghost-scale, 1));
    height: calc(var(--ghost-size, 480px) * var(--ghost-scale, 1));
    background-image: var(--ghost-img);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    opacity: 0.9;
    transform: translate(0px, 2px) scale(1.3) rotate(0deg);
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.ghost-art .ghost.slide-out-left {
    animation: ghost-slide-out-left 0.18s ease forwards;
}

.ghost-art .ghost.slide-out-right {
    animation: ghost-slide-out-right 0.18s ease forwards;
}

.ghost-art .ghost.slide-in-left {
    animation: ghost-slide-in-left 0.22s ease forwards;
}

.ghost-art .ghost.slide-in-right {
    animation: ghost-slide-in-right 0.22s ease forwards;
}

.ghost-art .ghost.fade-in-ready {
    animation: ghost-fade-in-ready 0.45s ease forwards;
}

@keyframes ghost-slide-out-left {
    to {
        transform: translate(-70px, 2px) scale(1.3) rotate(0deg);
        opacity: 0;
    }
}

@keyframes ghost-slide-out-right {
    to {
        transform: translate(70px, 2px) scale(1.3) rotate(0deg);
        opacity: 0;
    }
}

@keyframes ghost-slide-in-left {
    from {
        transform: translate(-70px, 2px) scale(1.3) rotate(0deg);
        opacity: 0;
    }

    to {
        transform: translate(0px, 2px) scale(1.3) rotate(0deg);
        opacity: 0.9;
    }
}

@keyframes ghost-slide-in-right {
    from {
        transform: translate(70px, 2px) scale(1.3) rotate(0deg);
        opacity: 0;
    }

    to {
        transform: translate(0px, 2px) scale(1.3) rotate(0deg);
        opacity: 0.9;
    }
}

@keyframes ghost-fade-in-ready {
    from {
        transform: translate(0px, 2px) scale(1.3) rotate(0deg);
        opacity: 0;
    }

    to {
        transform: translate(0px, 2px) scale(1.3) rotate(0deg);
        opacity: 0.9;
    }
}


.ghost-art .g4 {
    opacity: 0.9;
    transform: translate(0px, 2px) scale(1.3) rotate(0deg);
    z-index: 1;
}

section:hover .ghost-art .g4 {
    transform: translate(0px, 2px) scale(1.3) rotate(0deg);
}

@media (max-width: 600px) {
    main nav {
        flex-direction: column;
        align-items: center;
        height: 184px;
    }

    nav menu {
        width: 100%;
        justify-content: center;
        padding: 12px 0;
        top: 30px;
        position: relative;

    }

    nav logo {
        box-sizing: border-box;
        font-weight: 400;
        color: #fff;
        top: 10px;
        width: 100%;
        /* padding: 30px 60px; */
        background-image: url('../image/logo.png');
        background-repeat: no-repeat;
        background-position: center top;
        background-size: contain;
        position: relative;
        height: 85px;
    }

    menu btn {
        display: flex;
        padding: 6px 5px;
        color: #fff;
        overflow: hidden;
        border-radius: 4px;
        transition: color 0.3s ease;
        cursor: pointer;
        background-color: #00ffff00;
        font-size: max(0.8vw, 15px);
    }

    slogan {
        top: 150px;
        width: 100%;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        
    }
    section{
        top: 100px;
    }
}

@media (max-width: 320px) {
    menu btn {
        display: flex;
        padding: 6px 5px;
        color: #fff;
        overflow: hidden;
        border-radius: 4px;
        transition: color 0.3s ease;
        cursor: pointer;
        background-color: #00ffff00;
        font-size: max(0.8vw, 14px);
    }
}