
html{
    overflow-x: hidden;
    padding: 0;
}
body{
    background-image:linear-gradient(90deg, black, rgb(39, 1, 17));
}
a{
    text-decoration: none;
    color: black;
}

header{
    padding: 30px 10px;
    height: 20%;
    width: 100%;
    font-size: 75px;
    background-color: rgb(10, 10, 10);
    display: flex;
    align-items: center;
    border-bottom: white 2px solid;
    z-index: 10;
    position: fixed;
    animation: header auto linear both;
    animation-timeline: scroll(root block);
    animation-range: 0 250px;
    animation-range-start: 100px;
    top: -1%;
    transition: all 1s;
}
.tit1{
    color: white;
    cursor: pointer;
    margin-right: 7px;
}
.tit2{
    background-color: orange;
    border-radius: 5%;
    cursor: pointer;
    box-shadow: 0 0 5px 5px orange;
}
.stories{
    width: 60%;
    height: 20%;
    position: fixed;
    top: 10%;
    transform: translateY(-28%);
    right: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 10;
    background-color: rgb(10, 10, 10);
    overflow-x: visible;
}

.stsanim{
    animation: stories auto linear both;
    animation-timeline: scroll(root);
    animation-range: 0 300px;
}

.story{
    background-color: rgb(0, 0, 0);
    width: 7.1vw;
    height: 0;
    margin: 4vh;
    padding-bottom: 6%;
    padding-top: 6%;
    border-radius: 50%;
    background-image: linear-gradient(135deg, rgb(199, 20, 20),rgb(194, 99, 22));
    z-index: 5;
    cursor: pointer;
    position: relative;
    transition: background-image 0.2;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 8px 0 rgb(255, 145, 19);
    background-size: cover !important;
}

.stanim{
    animation: story auto linear both;
    animation-timeline: scroll(root);
    animation-range: 0 200px;
}
.stopenbd{
    overflow: hidden;
}

.openedst{
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0;
    left: -70%;
    border-radius: 0;
    display: flex;
    justify-content: center;
    align-items: stretch;
    background-color: rgba(0, 0, 0, 0.966);
    background-image: none;
    transition: all .2s;
}
.ostimg{
    height: 90vh !important;
    width: 45vw !important;
    border-radius: 0 !important;
    margin: 0;
    position: relative;
    bottom: 12.1%;
    background-size: cover !important;
}

.sta img{
    background-image: url(ceramicos/ty.jpg);
    background-size: cover;
    background-position: center;
}
.stb img{
    background-image: url(ceramicos/ju.jpg);
    background-size: cover;
    background-position: center;
}
.stc img{
    background-image: url(ceramicos/trol.jpg);
    background-size: cover;
    background-position: center;
}

.opimga{
    background-image: url(fotos/h1.png) !important;
    background-position: center;
    background-size: cover;
}
.opimgb{
    background-image: url(fotos/h2.jpeg) !important;
    background-position: center;
    background-size: cover;
}
.opimgc{
    background-image: url(fotos/h3.jpeg) !important;
    background-position: center;
    background-size: cover;
}

.closedheader{
    height: 5%;
    font-size: 7vh;
}
.closedst{
    display: none !important;
}

.st{
    display: flex;
}

.story img{
    margin: auto;
    width: 6.7vw;
    height: 6.7vw;
    z-index: 2;
    border-radius: 50%;

}

aside{
    height: 100vh;
    width: 2%;
    position: fixed;
    float: left;
    transition: all 2s ease-out;
    background: rgba(255, 166, 0, 0.7);
    z-index: 5;
    box-shadow: 0px 0 20px 0 rgba(255, 166, 0, 0.7);
}
aside ul{
    list-style-type: none;
    font-size: 0;
    width: 0;
    opacity: 0;
    top: 30%;
    position: absolute;
    transition: all 2s linear;
}
aside ul li{
    position: sticky;
    width: 0;
    margin: 85px 0 65px 0;
}
aside:hover{
    width: 15%;
    box-shadow: 10px 0 15px 5px rgba(255, 166, 0, 0.7);
    ul{
        font-size: 28px;
        opacity: 100%;
        transition: all 2s linear !important;
    }
}

main{
    display: grid;
    grid-template-columns: minmax(40vw, 100vw);
    grid-template-rows: minmax(300px, 550px);
    row-gap: 200px;
    position: absolute;
    right: 0;
    top: 50%;
    width: 90%;
}
.content{
    background-color: rgb(160, 104, 0);
    border-radius: 1vw;
    padding: 20px;
    box-shadow: -5px 0 15px rgb(204, 133, 0);
    margin-right: 15px;
    height: fit-content;
}

.content > span{
    font-size: 20px;
    position: absolute;
    top: 1%;
    font-family: monospace;
    font-weight: 200;
}

.content .author span{
    font-size: 35px;
    float: right;
}
.content .desc{
    font-size: 24px;
    margin: 1% 2.5%;
}

.content .author{
    width: 100%;
    height: 5vw;
    display: flex;
    align-items: center;
}
.content .author img{
    width: 5vw;
    height: 5vw;
    border-radius: 50%;
    margin: 2%;
}

.content .image{
    width: 90%;
    height: 60%;
    margin: 10px 10px 5px 10px;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    background-image: linear-gradient(90deg, rgb(160, 104, 0),rgb(204, 133, 0), rgb(160, 104, 0));
}

.content .image img{
    height: 40vh;
    width: max-content;
    margin: 1%;
}


@keyframes header {
    to{
        height: 5%;
        font-size: 7vh;    
    }
}

@keyframes story{
    to{
        border: none;
        width: 0;
    }
}

@keyframes stories{
    50%{
        width: 60%;
        height: 20%;
        display: flex;
        opacity: 0;
        pointer-events: none;
        cursor: default;
    }
    100%{
        opacity: 0;
        height: 0;
        width: 0;
        display: none;
    } 
}

footer{
    position: absolute;
    bottom: 0;
    left: 0;
}