*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}
html{
    scroll-behavior: smooth;
}
.container{
    height: 100svh;
    width: 100%;

    display: flex;
    flex-direction: row;
}

main{
    height: 100%;
    width: 100%;
}
#start{
    background:
    linear-gradient(
        rgba(20, 18, 16,0.5),
        rgba(20, 18, 16,0.5)
    ), url(/imgs/motivo\ fondo\ v2.png)
    ;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    height: 100svh;
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 1;  
    gap: 7rem;

}

#start h1{
    font-family: "Special Gothic Expanded One";
    letter-spacing: 2px;
    animation: 10s espacio infinite;
    font-weight: bold;
    font-size: 55px;
    background: linear-gradient(
        90deg,
        #EEA843,
        #ffbb5c
    );

    background-clip: text;
    -webkit-background-clip: text;

    color: transparent;
    -webkit-text-fill-color: transparent;
        text-shadow:
        0 2px 4px rgba(0,0,0,.45),
        0 0 12px rgba(0,0,0,.1);
    
}

@keyframes espacio{
    0%{letter-spacing: 2px; transform: scaleY(1);}
    6%{letter-spacing: 10px; transform: scaleY(1.1);}
    60%{letter-spacing: 10px; transform: scaleY(1.1);}
    66%{    letter-spacing: 2px; transform: scaleY(1);}
}


.wrapper{
    width: 60%;
    height: 60%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 0;
}
#start .cuadro{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;

    background: linear-gradient(
        45deg,
        #ac7932,
        #EEA843
    );

    border-radius: 12px;

    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow:
        0 0 60px rgba(255, 179, 71, .10),
        0 0 90px rgba(255, 179, 71, .10);
    gap: 15px;
    z-index: 1;
}
.cuadro h2{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 95%;
    height: 8%;
    font-family: "Poppins";
    font-weight: 600;
    font-size: 22px;
    padding: 20px;
    color: #141210;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}
.cuadro p{
    font-family: "Poppins";
    padding: 20px;
    width: 95%;
    height: 80%;
    color: #141210;
    font-weight: 500;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}
.btn{
    width: 100%;
    display: flex;
    justify-content: flex-end;
}
.reset{
    margin-right: 150px;
    background-color: #0F0F0F;
    height: 45px;
    width: 150px;
    color: #E2AE5B;
    border: none;
    outline: 3px solid #E2AE5B;
    border-radius: 0px 0px 12px 12px;
    font-family: "Poppins";
    font-size: 17px;
    font-weight: 600;
    z-index: 0;
    cursor: pointer;
    transition: .1s;
}
.reset:active{
    border-radius: 0px 0px 15px 15px;
}
.reset span{
    display: inline-block;
}
.reset:active span{
    transform: scale(.98);
}


.sidebar{
    background-color: rgba(255,255,255,.02);
    backdrop-filter: blur(10px);
    outline: 4px solid rgba(255,255,255,.03);
    height: 95%;
    width: 70px;

    top: 50%;
    transform: translateY(-50%);

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
    position: fixed;
    border-radius: 40px;
    left: 20px;
    z-index: 2;

    transition: .3s;
}
.nav-btn{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 10px;
    height: 60px;
    width: 100%;
    background-color: transparent;

    position: relative;

    transition: .4s;
}
.nav-btn img{
    left: 35px;
    transform: translateX(-50%);
    transition: .2s;
    width: 24px;
    position: absolute;
    filter: brightness(0) saturate(100%) invert(76%) sepia(25%) saturate(0%) hue-rotate(119deg) brightness(99%) contrast(93%);
}
.nav-btn span{

    opacity: 0;
    position: absolute;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    color: rgb(200,200,200);
    font-family: "Poppins";
    text-align: start;
    left: 60px;
    white-space: nowrap;

    transition: opacity .1s;
}
.nav-btn:hover{
    background-color: rgba(255,255,255,0.1);
}


.nav-btn:hover img{
    filter: brightness(0) saturate(100%) invert(100%) sepia(1%) saturate(675%) hue-rotate(88deg) brightness(116%) contrast(100%);
}
.nav-btn:hover span{
    color: white;
}
.sidebar:hover .nav-btn span{
    transition-delay: 0.11s;
    opacity: 1;
}
.sidebar:hover{
    width: 180px;
}



#s2{
    height: 100svh;
    width: 100%;
    background: linear-gradient(
        180deg,
        #201e1b,
        #141210
    );
    display: flex;
    color: rgb(200, 200, 200);
    position: relative;
    justify-content: center;
    align-items: center;
}
#s2 h1{
    position: absolute;
    left: 250px;
    top: 120px;
    font-family: "Dancing Script", cursive;
    font-size: 90px;
    color: white;
}

.cards{
    display: flex;
    flex-direction: row;
    margin-top: 150px;
    gap: 50px;
}
.card img{
    width: 90px;
    outline: 2px solid #E2AE5B;
    outline-offset: 3px;
    border-radius: 50%;
    cursor: pointer;
}
.card{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 30px;
}

.card{
    flex: 1;
    transition: .4s ease;
    transform: scale(.9);
}

.card.active{
    flex: 1;
}

.rect{
    cursor: pointer;
    height: 600px;
    width: 30px;
    border-radius: 20px;
    padding: 0;
    transition: .5s;
    background: linear-gradient(145deg, #e0a84f, #c98b2f);
    box-shadow:
        0 10px 30px rgba(0,0,0,0.4),
        inset 0 1px 0 rgba(255,255,255,0.2);

    }
.rect h2{
    margin-top: 18px;
    opacity: 0;
    transition: opacity .2s;
    transition-delay: 0s;

    font-family: "Poppins";
    font-size: 20px;
    font-weight: 500;
    color: #272424;
    text-align: start;
}
.rect p{
    letter-spacing: 4px;
    opacity: 0;
    transition: opacity .2s;
    transition-delay: 0s;
    font-family: "Poppins";
    font-weight: 600;
    display: inline;
    padding: 3px 10px;
    background-color: transparent;
    border: 2px solid #0F0F0F;
    border-radius: 6px;
    font-size: 18px;
    color: #0F0F0F;
}
.card.active .rect{
    padding: 50px;
    width: 600px;
    border-radius: 40px;
    transform: scaleX(1) scaleY(1);
}
.card.active .rect h2{
    opacity: 0.9;
    transition-delay: .4s;
}
.card.active .rect p{
    opacity: 0.8;
    transition-delay: .4s;
}





#s3{
    height: 200svh;
    width: 100%;
    background:
    linear-gradient(
        rgba(20, 18, 16,1) 20%,
        rgba(20, 18, 16,0.3)
    ), url(fondo2.svg)
    ;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#s3 h1{
    position: absolute;
    right: 150px;
    top: 120px;
    font-family: "Dancing Script", cursive;
    font-size: 90px;
    color: white;
}

#s3 .cartas{
    margin-top: 80px;
    width: 90%;
    height: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.cartas .carta{
    width: 90%;
    height: 220px;
    background-color: #E1AF5A;
    border-radius: 20px;
    outline: 2px solid #E1AF5A;
    outline-offset: 5px;
    margin-bottom: 40px;
    padding: 20px;
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 30px;
}


.carta h2{
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    text-align: center;

    padding: 25px 20px;
    border-radius: 10px;
    color: #0F0F0F;
    font-family: "Poppins";
    font-weight: 600;

    background-color: rgba(0, 0, 0,0.1);
}
.carta h3{
    font-family: "Poppins";
    height: 90%;
    width: 90%;
    color: #0F0F0F;
    background-color: rgba(0, 0, 0,0.1);
    border-radius: 10px;
    font-weight: 600;
    padding: 15px;
}

.carta.v2{
    flex-direction: row-reverse;
}
.carta.v2 h2{
        writing-mode: vertical-rl;
    transform: rotate(360deg);
}



#s4{
    height: 200svh;
    width: 100%;
    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
#s4::before{
    content: "";
    position: absolute;
    inset: 0;

    background:
    linear-gradient(
        rgba(20, 18, 16,1) 20%,
        rgba(20, 18, 16,0.3)
    ), url(fondo2.svg)
    ;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

    transform: scaleY(-1);

    z-index: -1;
}

#s4 h1{
    position: absolute;
    left: 250px;
    top: 120px;
    font-family: "Dancing Script", cursive;
    font-size: 90px;
    color: white;
}
#s4 h2{
    position: absolute;
    left: 250px;
    top: 245px;
    font-family: "Outfit";
    font-size: 25px;
    font-weight: 500;
    color: white;
}

.timeline{
    width: 60%;
    height: 150svh;
    margin-top: 250px;

    display: flex;
    align-items: center;
    flex-direction: column;
    position: relative;
}

.dot{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width:7px;
    aspect-ratio:1;
    box-shadow: 0 0 0 8px #141210;

    border-radius:50%;
    background: #C7C1BC;
}

.linea{
    width: 2px;
    background: linear-gradient(
        180deg,
        #ffa425 0%,
        #fac882 80%,
        transparent 100%
    );

    height: 100%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.line{
    width: 100%;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 80px;
}
.line h4{
    background: linear-gradient(
        90deg,
        #eea238,
        #ffc16b
    );

    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;

    font-family: "Poppins";
    font-family: 12px;
    text-align: end;
}
.line.right h4{
    text-align: start;
}
.line h5{
    color: white;
    font-family: "Poppins";
    font-size: 20px;
    margin-bottom: 8px;
    text-align: end;
}
.line.right h5{
    text-align: start;
}
.line p{
    color: white;
    font-family: "Poppins";
    font-size: 15px;
    font-weight: 500;
    text-align: end;
}
.line.right p{
    text-align: start;
}

.line.left .time{
    margin-right: 500px;
}
.line.right .time{
    margin-left: 500px;
}

.time{
    width: 400px;
}




footer{
    height: 42svh;
}

footer .up{
    height: 15svh;
    background-color: rgb(20, 18, 16);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    justify-content: center;
    position: relative;
}
footer .up h1{
    font-family: "Special Gothic Expanded One";
    letter-spacing: 2px;
    font-weight: bold;
    font-size: 40px;
    background: linear-gradient(
        90deg,
        #EEA843,
        #ffbb5c
    );

    background-clip: text;
    -webkit-background-clip: text;

    color: transparent;
    -webkit-text-fill-color: transparent;
        text-shadow:
        0 2px 4px rgba(0,0,0,.45),
        0 0 12px rgba(0,0,0,.1);
}

footer .up hr{
    width: 80%;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent 10%,
        #373533 50%,
        transparent 90%
    );
    outline: none;
    border: none;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

footer .down{
    height: 32svh;
    background-color: rgb(20, 18, 16);
    display: flex;
    justify-content: center;
    flex-direction: column;
    position: relative;
}
.down h2, .down h3, .down h4, .down p{
    color: #B0ABA7;
    font-family: "Poppins";
    font-weight: 400;
    margin-left: 120px;
    text-align: start;
}
.bold{
    font-weight: bold;
}
.down h2, .down h3, .down h4{
    font-size: 13px;
}
.down h4 a{
    text-decoration: none;
    color: white;
    font-weight: bold;
}
.down p{
    position: absolute;
    bottom: 40px;
    font-size: 12px;
}