body {
    background-image: url(https://artificialdeath.b-cdn.net/funeralelegy-website/HSR%20Page%20Assets/Morning_Starlight.png);
    background-repeat: no-repeat;
    background-attachment:fixed;
    background-position: center;
    background-size: cover;
    
}

.wrapper {
    margin: 0;
    width: 100%;
    padding: 0px 10px;
    box-sizing: border-box;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.container {  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
  grid-template-rows: 0.7fr 1.3fr 1fr 1fr 1fr 1fr 1fr 1fr 1.3fr 0.7fr;
  grid-auto-columns: 1fr;
  grid-auto-rows: 1fr;
  gap: 10px 10px;
  grid-auto-flow: row;
}

.header { 
    grid-area: 1 / 1 / 2 / 11;  
    background: #00000087;
    width: auto;
    height: auto;
    padding: 10px;
    font-size: 30px;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 2px 2px #000000;
}

.section-1 { 
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr;
    gap: 10px 10px;
    grid-auto-flow: row;
    grid-area: 2 / 1 / 4 / 5;
    width: auto;
    height: auto;
    font-size: 20px;
    padding: 10px;
}

.profile-icon { 
    grid-area: 1 / 1 / 5 / 3; 
    display: flex;
    width: 75px;
    height: 75px;
    font-size: 20px;
    padding: 10px;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    border: 4px double #fff;
    overflow: hidden;
    justify-self: center;
    align-self: center;

}

.profile-icon img {
  width: 150%;
  height: 150%;
  object-fit:fill;
}

.profile-name { 
    grid-area: 1 / 3 / 3 / 4;
    font-size: 30px;
    font-family: "Cinzel", serif;
    text-transform: uppercase;
    justify-content: center;
    text-align: center;
    display: flex;
    align-items: center;
}

.profile-level { 
    grid-area: 1 / 4 / 3 / 5;
    font-size: 30px;
    font-family: "Cinzel", serif;
    text-transform: uppercase; 
    justify-content: center;
    display: flex;
    align-items: center;
    background-color: #ecb163;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
}

.profile-server { 
    grid-area: 3 / 3 / 5 / 4;
    font-size: 30px;
    font-family: "Cinzel", serif;
}

.profile-uid { 
    grid-area: 3 / 4 / 5 / 5;
    font-size: 30px;
    font-family: "Cinzel", serif;
}

.section-2 {  
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    gap: 10px 10px;
    grid-auto-flow: row;
    grid-area: 4 / 1 / 10 / 5;
    width: auto;
    height: auto;
    font-size: 20px;
    padding: 10px;
}

.section-2 ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    align-self: flex-start;
}

.section-2 li {
    padding: 5px 15px; 
    text-align: left;
}

.section-2 li::before {
    font-style: normal;
    content: "✶";
    margin-right: 10px;
    color: #b8860b;
}

.section-2 b,strong {
    font-style: normal;
    padding: 5px;
    border-radius: 5px;
    color: #b8860b;

}

.stat-1 { 
    grid-area: 1 / 1 / 2 / 4; 
    position: relative;
    font-size: 20px;
    border: 1px solid #c89b3c;
    padding: 8px 8px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
}

.stat-2 { 
    grid-area: 2 / 1 / 3 / 4; 
    position: relative;
    font-size: 20px;
    border: 1px solid #c89b3c;
    padding: 8px 8px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
}

.stat-3 { 
    grid-area: 3 / 1 / 4 / 4; 
    position: relative;
    font-size: 20px;
    border: 1px solid #c89b3c;
    padding: 8px 8px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
}

.stat-4 { 
    grid-area: 4 / 1 / 5 / 4; 
    position: relative;
    font-size: 20px;
    border: 1px solid #c89b3c;
    padding: 8px 8px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
}

.stat-5 { 
    grid-area: 5 / 1 / 6 / 4; 
    position: relative;
    font-size: 20px;
    border: 1px solid #c89b3c;
    padding: 8px 8px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
}

.stat-6 { 
    grid-area: 6 / 1 / 7 / 4; 
    position: relative;
    font-size: 20px;
    border: 1px solid #c89b3c;
    padding: 8px 8px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
}

.stat-7 { grid-area: 7 / 1 / 8 / 4; 
    position: relative;
    font-size: 20px;
    border: 1px solid #c89b3c;
    padding: 8px 8px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
}

.section-3 {
    display: grid; 
    grid-template-columns: 1fr 1fr 1fr; 
    grid-template-rows: 1fr 1fr 1fr; 
    gap: 10px 10px; 
    grid-area: 2 / 5 / 10 / 11; 
    width: auto;
    height: auto;
    font-size: 20px;
    padding: 10px;
}

.character-1 {
    display: grid; 
    grid-template-columns: 1fr 1fr 1fr; 
    grid-template-rows: 1fr 1fr 1fr 1fr 1fr; 
    gap: 0px 0px; 
    grid-area: 1 / 1 / 4 / 2; 
    width: auto;
    height: auto;
    font-size: 20px;
    padding: 10px;
    background-image: url(https://artificialdeath.b-cdn.net/funeralelegy-website/HSR%20Page%20Assets/Phone%20Case_Aventurine.png);
    background-repeat: no-repeat;
    background-size: cover;
}

.character-1-top-right {
    grid-area: 1 / 3 / 2 / 4;
    background-color: rgba(200, 155, 60, 0.8);
    border: 1px solid #000;
    padding: 1px 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Cinzel", serif;
    color: #000;
    font-size: 20px;
    height: 20px;
    z-index: 2;
}

.character-1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    grid-area: 1 / 1 / -1 / -1; 
}

.character-1-name { 
    grid-area: 5 / 1 / 6 / 4; 
    width: auto;
    height: auto;
    font-size: 50px;
    text-align: center;
    padding: 10px;
    background-color: #c89b3c98;
    border: 2px solid #000;
    justify-content: center;
    text-align: center;
    display: flex;
    align-items: center;
    font-family: "Cinzel", serif;
    color: #000;
    font-style: italic;
}

.character-2 {
    display: grid; 
    grid-template-columns: 1fr 1fr 1fr; 
    grid-template-rows: 1fr 1fr 1fr 1fr 1fr; 
    gap: 0px 0px; 
    grid-area: 1 / 2 / 4 / 3; 
    width: auto;
    height: auto;
    font-size: 20px;
    padding: 10px;
    background-image: url(https://artificialdeath.b-cdn.net/funeralelegy-website/HSR%20Page%20Assets/Phone%20Case_Dan%20Heng.png);
    background-repeat: no-repeat;
    background-size: cover;
}

.character-2-top-right {
    grid-area: 1 / 3 / 2 / 4;
    background-color: rgba(200, 155, 60, 0.8);
    border: 1px solid #000;
    padding: 1px 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Cinzel", serif;
    color: #000;
    font-size: 20px;
    height: 20px;
    z-index: 2;
}

.character-2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    grid-area: 1 / 1 / -1 / -1; 
}

.character-2-name { 
    grid-area: 5 / 1 / 6 / 4;  
    width: auto;
    height: auto;
    font-size: 40px;
    text-align: center;
    padding: 10px;
    background-color: #c89b3c98;
    border: 2px solid #000;
    justify-content: center;
    text-align: center;
    display: flex;
    align-items: center;
    font-family: "Cinzel", serif;
    color: #000;
    font-style: italic;
}

.character-3 {
    display: grid; 
    grid-template-columns: 1fr 1fr 1fr; 
    grid-template-rows: 1fr 1fr 1fr 1fr 1fr; 
    gap: 0px 0px; 
    grid-area: 1 / 3 / 4 / 4; 
    width: auto;
    height: auto;
    font-size: 20px;
    padding: 10px;
    background-image: url(https://artificialdeath.b-cdn.net/funeralelegy-website/HSR%20Page%20Assets/Phone%20Case_Welt.png);
    background-repeat: no-repeat;
    background-size: cover;
}

.character-3-top-right {
    grid-area: 1 / 3 / 2 / 4;
    background-color: rgba(200, 155, 60, 0.8);
    border: 1px solid #000;
    padding: 1px 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Cinzel", serif;
    color: #000;
    font-size: 20px;
    height: 20px;
    z-index: 2;
}

.character-3 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    grid-area: 1 / 1 / -1 / -1; 
}

.character-3-name { 
    grid-area: 5 / 1 / 6 / 4;  
    width: auto;
    height: auto;
    font-size: 50px;
    text-align: center;
    padding: 10px;
    background-color: #c89b3c98;
    border: 2px solid #000;
    justify-content: center;
    text-align: center;
    display: flex;
    align-items: center;
    font-family: "Cinzel", serif;
    color: #000;
    font-style: italic;
}

/* Large tablet/small desktop breakpoint */
@media (max-width: 1200px) and (min-width: 1025px) {
    html, body {
        margin: 0;
        padding: 0;
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }
    
    .wrapper {
        margin: 0;
        padding: 0;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .container {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 50px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .header { 
        order: 1;
        width: 100%;
        box-sizing: border-box;
    }

    .section-1 {
        order: 2;
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
        padding: 20px;
        box-sizing: border-box;
    }
    
    .profile-icon {
        grid-area: 1 / 1 / 5 / 3;
    }
    
    .profile-name {
        grid-area: 1 / 3 / 3 / 4;
    }
    
    .profile-level {
        grid-area: 1 / 4 / 3 / 5;
    }
    
    .profile-server {
        grid-area: 3 / 3 / 5 / 4;
    }
    
    .profile-uid {
        grid-area: 3 / 4 / 5 / 5;
    }

    .section-2 {
        order: 3;
        width: 100%;
        padding: 0;
        box-sizing: border-box;
    }

    .section-3 {
        order: 4;
        width: 100%;
        padding: 0;
        box-sizing: border-box;
    }
}

/* Tablet breakpoint */
@media (max-width: 1024px) and (min-width: 769px) {
    
     html, body {
        margin: 0;
        padding: 0;
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }
    
    .wrapper {
        margin: 0;
        padding: 0;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .container {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 50px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .header { 
        order: 1;
        width: 100%;
        box-sizing: border-box;
    }

    .section-1 {
        order: 2;
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
        padding: 20px;
        box-sizing: border-box;
    }
    
    .profile-icon {
        grid-area: 1 / 1 / 5 / 3;
    }
    
    .profile-name {
        grid-area: 1 / 3 / 3 / 4;
    }
    
    .profile-level {
        grid-area: 1 / 4 / 3 / 5;
    }
    
    .profile-server {
        grid-area: 3 / 3 / 5 / 4;
    }
    
    .profile-uid {
        grid-area: 3 / 4 / 5 / 5;
    }

    .section-2 {
        order: 3;
        width: 100%;
        padding: 0;
        box-sizing: border-box;
    }

    .section-3 {
        order: 4;
        width: 100%;
        padding: 0;
        box-sizing: border-box;
    }
}

/* Mobile breakpoint */
@media (max-width: 768px) and (min-width: 481px) {
     html, body {
        margin: 0;
        padding: 0;
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }
    
    .wrapper {
        margin: 0;
        padding: 0;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .container {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 50px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .header { 
        order: 1;
        width: 100%;
        box-sizing: border-box;
    }

    .section-1 {
        order: 2;
        width: 100%;
        padding: 0;
        box-sizing: border-box;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .section-2 {
        order: 3;
        width: 100%;
        padding: 0;
        box-sizing: border-box;
    }

    .section-3 {
        order: 4;
        width: 100%;
        padding: 0;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .character-1 {
        width: 90%;
    }

    .character-2 {
        width: 90%;
    }

    .character-3 {
        width: 90%;
    }
}

/* Small mobile breakpoint */
@media (max-width: 480px) {
   html, body {
        margin: 0;
        padding: 0;
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }
    
    .wrapper {
        margin: 0;
        padding: 0;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .container {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 50px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .header { 
        order: 1;
        width: 100%;
        box-sizing: border-box;
    }

    .section-1 {
        order: 2;
        width: 100%;
        padding: 0;
        box-sizing: border-box;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .section-2 {
        order: 3;
        width: 100%;
        padding: 0;
        box-sizing: border-box;
    }

    .section-3 {
        order: 4;
        width: 100%;
        padding: 0;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .character-1 {
        width: 90%;
    }

    .character-2 {
        width: 90%;
    }

    .character-3 {
        width: 90%;
    }

}