* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
  font-family: milkyway; 
  src: url(/assests/fonts/Milkyway\ DEMO.ttf); 
}

body {
    background-color: #efefef;
    font-size: 11px;
    background-image: url(/assests/stantheprince2.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 97svh;
}

a {
    text-decoration: none;
    color: #ffc6f0;
}

h2 {
    background-color: #ff9ac5;
    text-align: center;
    width: 100%;
    margin-bottom: 5px;
    line-height:33px;
    font-size: 23px;
}

#bar {
    background-color: #333333;
    padding: 0.5rem;
    margin-bottom: 10px;
    color: #efefef;
}

#return {
    width: 100%;
    text-align: center;
    margin-top:10px;
}

#welcome img {
    box-sizing: border-box;
    width: 100%;
    height: 150px;
    object-fit: cover;
    object-position: center;
    border: 1px solid #ff9ac5;
}

#welcome p {
    padding: 5px;
    text-align: justify;
    margin-bottom: 10px;
    border-bottom: 1px solid #ffc6f0;
}

ul#filters {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
    list-style-type: none;
    justify-content: center;
    padding: 0.5rem;
}

#filters a {
    background-color: #ff9ac5;
    padding: 0.5rem;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    text-transform: uppercase;
    color: #ffffff;
}

#box {
    background-image: url(/assests/stantheprince2bg.png);
    background-size: cover;
    width: 90%;
    margin: auto;
}

/*---- character boxes ----*/

.character {
    width: calc(100% - 10px);
    margin: 5px;
    padding: 0.5rem;
    background-color: #f7f7f7;
    padding: 5px;
    border: 1px solid #ff9ac5;
}

.character img {
    width: 100%;
    height: 135px;
    object-fit: cover;
    object-position: center; 
    border: 1px solid #ff9ac5
}

.info {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0.3rem;
    font-size: 0.70rem;
    margin-bottom: 0.3rem;
}

.year, .group {
    border-radius: 3px;
    padding: 0.2rem;
}

.year { background-color: #ff9ac5;}
.group { background-color: #ffc6f0;}


.name {
    text-align: center;
    text-transform: uppercase;
    font-size: 10px;;
}

.name a {
    color: #222222;
    text-decoration: none;
}

.name a:hover {
    color: #ff9ac5;
    transition: 2s;
}

@media (min-width: 500px) { 
    .character {
        width: calc(50% - 11px);
        margin:5px 0px 5px 5px;
    }
}

@media (min-width: 1200px) { 
    #bar {
        position: fixed;
        height: 100%;
        width: 250px;
    }

    ul#filters {
        flex-direction: column;
    }

    #filters a {
        display: block;
    }

    #boxwrapper {
        width: calc(100% - 250px);
        margin-left: 250px;
        padding-top: 10svh;
    }

    #box {
        width: 80%;
        margin: auto;
        height: 80svh;
        outline: 3px double #ffc6f0;
        padding: 0.5rem;
    }

    #wrapper {
        overflow-y: auto;
        height: 77svh;
    }

    .character {
        width: calc(25% - 20px);
        margin:10px 0px 10px 10px;
    }
}