*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "MyFont", sans-serif;
    scroll-behavior: smooth;
}

@font-face{
    font-family: "MyFont";
    src: url("Pixeled.ttf") format("truetype");
}

.characters-page{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-image: url("landscape image2.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.headingbox2{
    border-radius: 6px;
    background-color: rgb(1, 45, 43);
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 5%;
    cursor: context-menu;
}

.heading{
    text-align: center;
    color: #017672;
    text-shadow: 2px 2px black;
}

.character-list{
    list-style: none;
    padding: 0;
    background-color: #1B512D;
    position: fixed;
    top: 0;
    left: 0;
    width: clamp(120px, 18vw, 220px);
    height: 100vh;
    display: flex;
    flex-direction: column;
    text-align: center;
    font-size: clamp(14px, 1.2vw, 20px);
}

.character-list li{
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid white;;
}

.character-list li:last-child {
    border-bottom: none;
}

.character-list 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 li a:hover {
    background-color: rgb(33, 190, 25);
    box-shadow:
        0 0 5px rgb(33, 190, 25),
        0 0 25px rgb(33, 190, 25),
        0 0 50px rgb(33, 190, 25),
        0 0 100px rgb(33, 190, 25),
        0 0 200px rgb(33, 190, 25);
}

.all-characters-fanart{
    position: fixed;
    top: clamp(40px, 8vh, 80px);
    right: clamp(10px, 3vw, 50px);
    max-height: clamp(200px, 40vh, 500px);
}

.taylor-art-credit1{
    position: fixed;
    top: calc(8vh + 420px);
    right: clamp(10px, 3vw, 60px);
    width: clamp(180px, 25vw, 300px);
    font-size: clamp(14px, 1.5vw, 20px);
    color: #fff;
    text-align: center;
    text-shadow: 2px 2px black;
}

.taylor-art-credit-link{
    color: #ffffff;
    text-decoration: none;
    transition: ease-in-out .5s;
}

.taylor-art-credit-link:hover{
    color: #1e3c04;
}

.container2{
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup2{
    width: clamp(260px, 70vw, 1000px);
    background: rgb(42, 55, 55);
    border-radius: 6px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: clamp(12px, 2.5vw, 30px);
    color: #ddd;
    z-index: 2;
    overflow: hidden;
}

.popuptext {
    font-size: 25px;
    text-align: center;
    background-color: rgb(42, 55, 55);
}

.popuptext2 {
    font-size: 25px;
    text-align: center;
    background-color: rgb(42, 55, 55);
}

.popuptext3 {
    font-size: 25px;
    text-align: center;
    background-color: rgb(42, 55, 55);
}

@media(min-width: 1441px){
    .taylor-art-credit1{
        top: 575px;
        right: 75px;
    }
}

@media (max-width: 1440px){

    .all-characters-fanart{
        max-height: 300px;
        top: 50px;
        right: 50px;
    }

    .taylor-art-credit1{
        top: 350px;
        right: 40px;
        font-size: 12px;
        width: 240px;
    }

    .character-list{
        width: 150px;
        font-size: 12px;
    }

    .popup2{
        width: 600px;
    }

    .popuptext, .popuptext2, .popuptext3{
        font-size: 12px;
    }
}

@media (max-width: 1024px){

    .character-list{
        width: 160px;
        font-size: 16px;
    }

    .all-characters-fanart{
        max-height: 320px;
        top: 30px;
        right: 20px;
    }

    .taylor-art-credit1{
        top: 380px;
        right: 20px;
        font-size: 16px;
        width: 220px;
    }

    .popup2{
        width: 90vw;
        padding: 20px;
    }
}

@media (max-width: 768px){
    .characters-page{
        background: linear-gradient(#CAA9F3, #B37AD4, #7997E6, #206ABC, #0E155E);
    }

    .character-list{
        position: fixed;
        top: 0;
        width: 100px;
        height: 550px;
        display: flex;
        flex-direction: column;
        background-color: #1B512D;
    }

    .character-list li{
        font-size: 8px;
    }

    .character-list li a{
        position: absolute;
        inset: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 5px;
    }

    .headingbox2{
        padding: 8px 20px;
        font-size: 8px;
        width: 45vw;
        left: calc(100px + ((100vw - 100px) / 2));
        text-align: center;
    }

    .all-characters-fanart{
        display: none;
    }

    .taylor-art-credit1{
        display: none;
    }

    .popup2{
        width: 42vw;
        padding-left: 2.5%;
        padding-right: 2.5%;
        top: 50%;
        left: calc(100px + ((100vw - 100px) / 2));
        transform: translateX(-50%, -50%);
    }

    .popuptext,
    .popuptext2,
    .popuptext3{
        font-size: 8px;
    }
}
