*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "MyFont", sans-serif;
    scroll-behavior: smooth;
    box-sizing:border-box
}

@font-face{
    font-family: "MyFont";
    src: url("Pixeled.ttf") format("truetype");
}

.headingbox2-desca{
    border-radius: 6px;
    background: rgb(94, 18, 42);
    position: fixed;
    top: 10px;
    left: calc(220px + ((100vw - 220px) / 2));
    transform: translateX(-50%);
    padding: 10px 5%;
    cursor: context-menu;
    font-size: 30px;
    height: 200px;
    width: 925px;
}

.heading-desca{
    text-align: center;
    color: #e2ad00;
    text-shadow: 2px 2px black;
}

.desca-name{
    color: #e2ad00;
    background: rgb(94, 18, 42);
    display: flex;
    justify-content: center;
    position: fixed;
    top: 17.5%;
    padding-left: 5%;
    padding-right: 5%;
    border-radius: 6px;
    cursor: context-menu;
    width: 250px;
    font-size: 30px;
}

.desca-achievement{
    display: flex;
    justify-content: center;
    position: fixed;
    top: 3.5%;
    left: 12%;
    width: 425px;
}

.desca-skin{
    display: flex;
    justify-content: center;
    position: fixed;
    top: 400px;
    height: 600px;
}

.desca-key-facts{
    display: block; 
    flex: 1 1 150px;
    color: #e2ad00;
}

.desca-main{
    background: none;
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    left: 475px;
}

.desca-facts{
    position: fixed;
    display: flex;
    flex-wrap: wrap; 
    gap: 20px;
    padding: 20px; 
    padding-left: 5%;
    padding-right: 5%;
    border-radius: 6px;
    text-shadow: 2px 2px black;
    cursor: context-menu;
    background: rgb(94, 18, 42);
    width: 800px;
    justify-content: space-evenly;
    height: 1100px;
    overflow-y: auto;
    top: calc(210px + ((100vh - 210px) / 2));
    left: calc(220px + ((100vw - 220px) / 2));
    transform: translate(-50%, -50%);
    font-size: 25px;
}

.desca-facts::-webkit-scrollbar {
    width: 10px;
}

.desca-facts::-webkit-scrollbar-track {
    background: rgb(94, 18, 42); 
}

.desca-facts::-webkit-scrollbar-thumb {
    background: rgb(94, 18, 42);        
    border-radius: 6px;
}

.desca-facts::-webkit-scrollbar-thumb:hover {
    background: rgb(94, 18, 42);
}

.desca-facts ul {
    padding: 0;
    margin: 0;
}

.desca-facts p {
    line-height: 1.4;
}

.desca{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #752731;
    text-shadow: 2px 2px black;
    margin: 0;
}

.character-list-desca{
    list-style-type: none;
    margin: 0;
    padding: 0;
    background-color: #601f1f;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    text-align: center;
    width: clamp(120px, 18vw, 220px);
    height: 100vh;
    justify-content: center;
    display: flex;
    flex-direction: column;
}

.character-list-desca li{
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid white;
    font-size: clamp(14px, 1.2vw, 20px);
}

.character-list-desca li:last-child {
    border-bottom: none;
}

.character-list-desca li a{
    color: white;
    text-decoration: none;
    transition: ease-in-out .5s;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    box-sizing: border-box;
    flex: 1;
    inset: 0;
    position: absolute;
}


.character-list-desca li a:hover{
    background-color: rgb(156, 41, 41);
    box-shadow: 0 0 5px rgb(156, 41, 41), 0 0 25px rgb(156, 41, 41), 0 0 50px rgb(156, 41, 41), 0 0 100px rgb(156, 41, 41), 0 0 200px rgb(156, 41, 41);
}

.desca-other{
    color: #e2ad00;
    display: block; 
    flex: 1 1 150px;
}

.redstone{
    display: flex;
    justify-content: center;
    position: fixed;
    top: 90px;
    right: 125px;
    height: 300px;
}

#desca-button{
    position: fixed;
    display: flex;
    justify-content: center;
    bottom: 300px;
    right: 100px;
    background: rgb(94, 18, 42);
    color: #e2ad00;
    text-shadow: 2px 2px black;
    cursor: pointer;
    width: 250px;
    font-size: 25px;
}

.credits-desca{
    color: #e2ad00;
    display: block; 
    flex: 1 1 150px;
}

.links-desca{
    color: #e2ad00;
    text-shadow: 2px 2px black;
    text-decoration: none;
}

.chest{
    display: flex;
    justify-content: center;
    position: fixed;
    bottom: 25px;
    right: 100px;
    height: 250px;
}

.none-list{
    list-style: none;
}

#myBtn {
  display: none;
  position: fixed; 
  bottom: 20px;
  right: 30px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: rgb(71, 11, 26);
  color: white;
  cursor: pointer; 
  padding: 15px;
  border-radius: 10px;
  font-size: 18px;
  visibility: hidden;
}

#myBtn:hover {
  background-color: #555;
}

@media (max-width: 1440px){
    .character-list-desca{
        width: 120px;
    }

    .character-list-desca li{
        font-size: 12px;
    }

    .desca-achievement{
        width: 220px;
        left: 13%;
    }

    .desca-facts{
        width: 600px;
        font-size: 12px;
        height: 500px;
        top: calc(110px + ((100vh - 110px) / 2));
        left: calc(120px + ((100vw - 120px) / 2));
    }

    .headingbox2-desca{
        width: 500px;
        font-size: 15px;
        height: 100px;
        left: calc(120px + ((100vw - 120px) / 2));
        transform: translate(-50%);
    }

    .desca-skin{
        height: 400px;
        top: 200px;
    }

    .desca-name{
        width: 200px;
        font-size: 15px;
    }

    .desca-main{
        left: 300px;
    }

    .chest{
        height: 150px;
    }

    #desca-button{
        width: 150px;
        font-size: 14px;
        bottom: 200px;
    }

    .redstone{
        right: 125px;
        left: auto;
        height: 150px;
        top: 100px;
    }
}

@media (max-width: 768px){
    .desca{
        overflow-y: scroll;
        -ms-overflow-style: none;
        scrollbar-width: none;
        height: 1600px;
    }

    .character-list-desca{
        position: fixed;
        top: 0;
        width: 75px;
        height: 100vh;
        display: flex;
        flex-direction: column;
    }

    .character-list-desca li{
        font-size: 8px;
    }

    .desca-facts{
        width: 275px;
        left: calc(75px + ((100vw - 75px)/2));
        height: 800px;
        align-items: center;
        justify-content: center;
        padding-left: 2.5%;
        top: 1000px;
        position: absolute;
        overflow-y: hidden;
    }

    .desca-facts ul{
        padding: 0;
        margin: 0 auto;
        list-style: none;
    }

    .desca-facts li{
        font-size: 9px;
        margin-bottom: 10px;
    }

    .headingbox2-desca{
        width: 250px;
        font-size: 9px;
        height: 125px;
        left: calc(75px + ((100vw - 75px)/2));
        position: absolute;
    } 

    .desca-achievement{
        top: 155px;
        left: calc(75px + ((100vw - 75px)/2));
        transform: translate(-50%);
        width: 250px;
        position: absolute;
    }
    
    .desca-main{
        position: absolute;
        top: 250px;
        left: calc(75px + ((100vw - 75px) / 2));
        transform: translateX(-50%);
        flex-direction: column;
    }   

    .desca-name{
        position: static;
    }

    .desca-skin{
        position: static;
        height: 300px;
    }

    .redstone{
        visibility: hidden;
    }

    #desca-button{
        left: calc(75px + ((100vw - 75px) / 2));
        transform: translateX(-50%);
        position: absolute;
        top: 1450px;
        height: 50px;
        width: 175px;
        font-size: 15px;
    }

    .chest{
        left: calc(75px + ((100vw - 75px) / 2));
        transform: translateX(-50%);
        position: absolute;
        top: 1550px;
        width: 200px;
        height: 200px;
    }

    #mybtn{
        visibility: visible;
    }
}
