
.bodoni-moda-font {
  font-family: "Bodoni Moda", serif;
  font-optical-sizing: auto;
  font-weight: 200;
  font-style: normal;
}

.eb-garamond-font {
  font-family: "EB Garamond", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

.load-logo {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: auto;
    z-index: 1000;
}

code {
    color: #c02d76;
}

@font-face {
    font-family: 'QTCaslanOpen';
    src: url('/QTCaslanOpenRegular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    margin: 0;
    font-family: "EB Garamond", serif;
}

/* NavBar */

.nav-bar-mobile-title {
    display: none;
}

.menu-container{
    display: none;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 250px;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled{
    height: 150px;
    transition: all 0.3s ease;
}

.top-bar {
    width: 100%;
    height: 120px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    transition: all 0.3s ease;
}

.top-bar.scrolled {
    height: 100px;
    transition: all 0.3s ease;
}

.language-buttons-container {
    box-sizing: border-box;
    width: 32%;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: start;
    gap: 10px;
    padding: 20px;
}

.language-btn {
    height: 40px;
    width: 40px;
    border: black 1px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.language-btn:hover {
    background-color: #275b2d;
    color: #ffffff;
    transition: all 0.3s ease;
}

.logo-container{
    padding: 4px;
    box-sizing: border-box;
    width: 32%;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.header-logo {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.social-media-links {
    box-sizing: border-box;
    width: 32%;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: end;
    gap: 10px;
    padding: 20px;
}

.title-bar{
    width: 100%;
    height: 90px;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    transition: all 0.3s ease;
}

.title-bar.scrolled {
    height: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.header-title{
    margin: 0;
    color: #275b2d;
    font-size: 40px;
    transition: all 0.3s ease;
}

.header-title.scrolled {
    font-size: 38px;
    opacity: 0;
    transition: all 0.3s ease;
}

.header-subtitle {
    margin: 0;
    font-size: 20px;
    font-weight: 200;
    opacity: 1;
    transition: all 0.3s ease;
}

.header-subtitle.scrolled{
    font-size: 18px;
    opacity: 0;
    transition: all 0.3s ease;
} 

.nav-links {
    width: 80%;
    height: 40px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
}

.nav-links.scrolled {
    height: 35px;
    transition: all 0.3s ease;
}

.header-nav-button {
    border-top: #275b2d 2px solid;
    width: 140px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    text-decoration: none;
    color: #000000;
    transition: all 0.3s ease;
}

.header-nav-button.scrolled {
    border-top: #275b2d 1px solid;
    transition: all 0.3s ease;
}

.header-nav-button:hover {
    background-color: #275b2d;
    color: #ffffff;
    transition: all 0.3s ease;
}

/* NavBar End */


/* Home Page */
.welcome-state-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100%;
    background-color: #ffffff;
}

.wsc-content-container{
    height: 70%;
    width: 70%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.wsc-content-container h1 {
    font-size: 2.3vw;
    color: #000000;
    margin-bottom: 1rem;
    font-weight: 100;
}

.wsc-logo {
    width: auto;
    height: 60%;
    object-fit: contain;
}


.hero-home-content{
    box-sizing: border-box;
    padding: 250px 120px 0px 120px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-quote{
    font-size: 1.2rem;
    color: #000000;
    margin-bottom: 1rem;
    font-weight: 100;
    text-align: center;
}

.hero-divider {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 60px;
    overflow: hidden;
    gap: 26px;
    padding: 0 200px;
}

.hero-divider-logo{
    height: 100%;
}

.hero-logo {
    width: auto;
    height: 100%;
    object-fit: contain;
}

.hero-divider-line {
    flex-grow: 1; 
    height: 1px; 
    background-color: #000; 
}

.hero-signature {
    font-size: 1rem;
    
}

.instagram-container{
    width: 100%;
    height: 800px;
}

.instagram-feed {
    box-sizing: border-box;
    padding: 20px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.instagram-media {
    height: 650px;
    width: 300px;
    background-color: #26b050;
}

.home-further-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    width: 100%;
    height: fit-content;
}


/* Home Page END */

/* Structure Page */

.structure-page{
    width: 100%;
    height: fit-content;
    box-sizing: border-box;
    padding: 265px 120px 0px 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 26px;
}

.sp-info-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}

.sp-info-container h1 {
    margin: 0;
    margin-bottom: 12px;
}

.sp-info-container h2 {
    margin: 0;
    margin-bottom: 8px;
}

.sp-info-container h3 {
    margin: 0;
    font-style: italic;
    margin-bottom: 4px;
}

.sp-info-container p {
    margin: 0;
    margin-bottom: 20px;
}

.sp-info-divider {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 40px;
    overflow: hidden;
    gap: 26px;
    padding: 0 200px;
    margin-top: 6px;
}

.sp-info-logo{
    height: 100%;
}

.sp-info-logo {
    width: auto;
    height: 100%;
    object-fit: contain;
}

.sp-info-line {
    flex-grow: 1; 
    height: 0.5px; 
    background-color: #000; 
}

.sp-delegations-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.sp-delegations-container h1 {
    margin: 0;
    margin-bottom: 12px;
}

.sp-delegations-container h2 {
    margin: 0;
    margin-bottom: 6px;
}

.sp-delegations-container h3 {
    margin: 0;
    margin-bottom: 4px;
}

.sp-delegations-container h4 {
    margin: 0;
    margin-bottom: 4px;
}

.sp-delegations-container p {
    margin: 0;
    margin-bottom: 20px;
}



/* Structure Page END */

/* Family Page */

.tree-lines-layer {
    position: absolute;
    width: 100%;
    height: fit-content;
    z-index: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
}


.family-page {
    margin-top: 260px;
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
}

.tree-container {
    border: #000000 1px solid;
    position: relative;
    overflow: scroll;
    width: 95vw;
    height: calc(100vh - 270px);
    padding: 14px;
    background-color: transparent;
}

.tree-wrapper {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    background-color: transparent;
    overflow-x: hidden;
}

.generation-row {
    box-sizing: border-box;
    width: 100%;
    height: fit-content;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    overflow-x: auto;
    scrollbar-width: none;
    padding-left: 20px;
    padding-right: 20px;
    background-color: transparent;
}

.T1-row-one-line {
    box-sizing: border-box;
    position: relative;
    width: 100%;
    height: 10px;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
}

.line-one {
    height: 10px;
    width: 440px;
    background-color: #000000;
    margin-left: 325px;

}

.line-two {
    margin-left: 85px;
    height: 10px;
    width: calc((180px * 8) + (200px * 3) + 130px);
    background-color: #000000;
}

.line-three {
    margin-left: 85px;
    height: 10px;
    width: 1520px;
    background-color: #000000;
}

.line-four {
    margin-left: 85px;
    height: 10px;
    width: 890px;
    background-color: #000000;
}

.line-five {
    margin-left: 85px;
    height: 10px;
    width: 890px;
    background-color: #000000;
}

.line-six {
    margin-left: 85px;
    height: 10px;
    width: 1100px;
    background-color: #000000;
}

.line-seven {
    margin-left: 95px;
    height: 10px;
    width: 1300px;
    background-color: #000000;
}

.people-row {
    box-sizing: border-box;
    height: 340px;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: start;
    gap: 30px;  
}

.person-node {
    text-align: center;
    width: 180px;
    height: 250px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    overflow: hidden;
}

.pn-tree-line {
    width: 100%;
    height: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pn-tree-line-top {
    width: 10px;
    height: 40px;
    background-color: #000000;
}

.pn-tree-line-top.hidden {
    opacity: 0;
}

.offset-50 {
    transform: translateX(calc(50% - 200px));
}

.offset-25 {
    transform: translateX(calc(25%));
}

.offset-20 {
    transform: translateX(20%);
}

.offset-15 {
    transform: translateX(15%);
}

.pn-tree-line-MLtoPI {
    position: absolute;
    width: 100px;
    height: 10px;
    background-color: #000000;
    top: 150px;
    left: 820px;
}

.pn-tree-line-MItoPIII {
    position: absolute;
    width: 100px;
    height: 10px;
    background-color: #000000;
    top: 120px;
    left: 200px;
}

.pn-tree-line-PIItoTC {
    position: absolute;
    width: 100px;
    height: 10px;
    background-color: #000000;
    top: 150px;
    left: 1240px;
}

.pn-tree-line-IStoGC {
    position: absolute;
    width: 100px;
    height: 10px;
    background-color: #000000;
    top: 150px;
    left: 400px;
}

.pn-tree-line-PAtoE {
    position: absolute;
    width: 100px;
    height: 10px;
    background-color: #000000;
    top: 150px;
    left: 400px;
}

.pn-tree-line-PGtoME {
    position: absolute;
    width: 100px;
    height: 10px;
    background-color: #000000;
    top: 150px;
    left: 400px;
}

.pn-tree-line-PCtoRK {
    position: absolute;
    width: 100px;
    height: 10px;
    background-color: #000000;
    top: 150px;
    left: 160px;
}

.pn-tree-line-toG2 {
    position: absolute;
    width: 10px;
    height: 220px;
    background-color: #000000;
    top: 120px;
    left: 230px;
}

.pn-tree-line-toG3 {
    position: absolute;
    width: 10px;
    height: 230px;
    background-color: #000000;
    top: 120px;
    left: 230px;
}

.pn-tree-line-toG4 {
    position: absolute;
    width: 10px;
    height: 200px;
    background-color: #000000;
    top: 150px;
    left: 860px;
}

.pn-tree-line-toG5 {
    position: absolute;
    width: 10px;
    height: 200px;
    background-color: #000000;
    top: 150px;
    left: 1280px;
}

.pn-tree-line-toG6 {
    position: absolute;
    width: 10px;
    height: 200px;
    background-color: #000000;
    top: 150px;
    left: 440px;
}

.pn-tree-line-toG7 {
    position: absolute;
    width: 10px;
    height: 200px;
    background-color: #000000;
    top: 150px;
    left: 440px;
}

.pn-tree-line-toG8 {
    position: absolute;
    width: 10px;
    height: 200px;
    background-color: #000000;
    top: 150px;
    left: 440px;
}

.pn-tree-line-toG9 {
    position: absolute;
    width: 10px;
    height: 200px;
    background-color: #000000;
    top: 150px;
    left: 220px;
}

.pn-tree-line-PItoAM {
    position: absolute;
    width: 100px;
    height: 10px;
    background-color: #000000;
    top: 150px;
    left: 1040px;
}

.person-node.royal {
    width: 200px;
    height: 300px;
}

.person-node.prince {
    width: 220px;
    height: 340px;
}

.person-node h1 {
    font-size: 1.2rem;
    width: 100%;
    margin: 0;
}

.person-node h2 {
    font-size: 1rem;
    width: 100%;
    margin: 0;
}

.tree-img {
    filter: drop-shadow(0px 0px 5px #656565af);
    width: 100%;
    height: 80%;
    object-fit: contain;
    overflow: hidden;
}

.shadow-royal {
    filter: drop-shadow(1px 1px 5px #0c250a);
}


/* Family Page END */

/*Orders Page */
.orders-page {
    width: 100%;
    min-height: 100vh;
    height: fit-content;
    box-sizing: border-box;
    padding: 265px 1% 0px 1%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
}

.orders-container {
    position: sticky;
    top: 180px;
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: center;
    gap: 1%;
}

.op-oc-rose {
    background-color: #ffffff;
    width: 32%;
    height: 50vh;
    overflow: hidden;
    border:#a1a1a1 1px solid;
    box-shadow: #656565 0px 0px 5px;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    box-sizing: border-box;
    padding: 20px;
    z-index: 10;
    transition: all 0.3s ease;
}

.op-oc-rose.clicked {
    height: 60px;
    padding: 0px;
}

.op-oc-rose.active {
    background-color: #275b2d;
}

.op-oc-st-james {
    background-color: #ffffff;
    width: 32%;
    height: 50vh;
    overflow: hidden;
    border:#a1a1a1 1px solid;
    box-shadow: #656565 0px 0px 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 20px;
    z-index: 20;
    transition: all 0.3s ease;
}

.op-oc-st-james.clicked {
    height: 100px;
    padding: 0px;
}

.op-oc-st-james.active {
    background-color: #275b2d;
}

.op-oc-dragon {
    background-color: #ffffff;
    width: 32%;
    height: 50vh;
    overflow: hidden;
    border:#a1a1a1 1px solid;
    box-shadow: #656565 0px 0px 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 20px;
    z-index: 30;
    transition: all 0.3s ease;
}

.op-oc-dragon.clicked {
    height: 60px;
    padding: 0px;
}

.op-oc-dragon.active {
    background-color: #275b2d;
}

.expanding-title-container {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    opacity: 1;
    transition: all 0.3s ease;

}

.expanding-title-container.clicked {
    opacity: 0;
}

.expanding-title-container.hidden {
    display: none;
}

.order-image {
    height: 70%;
    width: auto;
    object-fit: contain;
    opacity: 1;
}

.order-title {
    margin: 0;
    font-size: 1.3rem;
    text-align: center;
    opacity: 1;
}

.order-sub-title {
    margin: 0;
    font-size: 1.1rem;
    text-align: center;
    opacity: 1;
}



.tab-title-rose.hidden {
    display: none;
}

.tab-title-st-james.hidden {
    display: none;
}

.tab-title-dragon.hidden {
    display: none;
}

.tab-title-rose.active {
    color: #ffffff;
}

.tab-title-st-james.active {
    color: #ffffff;
}

.tab-title-dragon.active {
    color: #ffffff;
}

.tab-title-rose {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tab-title-st-james {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tab-title-dragon {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tab-title-rose h2 {
    font-size: 1.1rem;
    margin: 0;
    font-weight: 100;
    text-align: center;
}

.tab-title-st-james h2 {
    font-size: 1.1rem;
    margin: 0;
    font-weight: 100;
    text-align: center;
}

.tab-title-dragon h2 {
    font-size: 1.1rem;
    margin: 0;
    font-weight: 100;
    text-align: center;
}



.orders-info-rose {
    margin-top: 35px;
    box-sizing: border-box;
    height: fit-content;
    width: 100%;
    padding: 0 1%;
}

.orders-info-cross {
    margin-top: 35px;
    box-sizing: border-box;
    height: fit-content;
    width: 100%;
    padding: 0 1%;
}

.orders-info-dragon {
    margin-top: 35px;
    box-sizing: border-box;
    height: fit-content;
    width: 100%;
    padding: 0 1%;
}

.orders-info-rose.hidden {
    display: none;
}

.orders-info-cross.hidden {
    display: none;
}

.orders-info-dragon.hidden {
    display: none;
}

.orders-info-top-con {
    box-sizing: border-box;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: start;
    gap: 2%;
}

.order-info-top-img {
    height: 500px;
    width: auto;
    object-fit: contain;
}

.orders-info-top-text {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
}
/* Orders Page END*/



@media (max-width: 480px) {

    /* Mobile Nav Bar*/

.navbar {
    height: 80px;  
}

.navbar.scrolled{
    height: 80px;
}

.top-bar {
    height: 100%;
    padding: 0;
    justify-content: start;
    
}

.top-bar.scrolled {
    height: 100%;
    padding: 0;
}

.language-buttons-container {
    display: none;
}

.logo-container{
    display: flex;
    justify-content: start;
    width: 100px;
    padding: 0;
    padding-left: 14px;
}

.header-logo {
    width: auto;
    height: 80%;
    object-fit: contain;
}

.social-media-links {
    display: none;
}

.title-bar{
    display: none;
}

.title-bar.scrolled {
    display: none;
}

.nav-links {
    display: none;
}

.nav-links.scrolled {
    display: none;
}

.nav-bar-mobile-title {
    display: flex;
    align-items: start;
    justify-content: center;

}
.nav-bar-mobile-title h1 {
    margin: 0;
    font-size: 1.2rem;
    color: #000000;
    font-weight: 100;
}

.nav-bar-mobile-ham {
        display: flex;
        height: 30px;
        width: 30px;
        background-color: none;
        position: fixed;
        top: 25px;
        z-index: 52;
        right: 20px;
        opacity: 1;
        transition: opacity 1s ease-in-out;
    }

    .nav-bar-mobile-ham span {
        height: 3px;
        width: 100%;
        background-color: #000000;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        transition: .3s ease;
    }

    .nav-bar-mobile-ham span:nth-child(1) {
        top: 25%;
    }

    .nav-bar-mobile-ham span:nth-child(3) {
        top: 75%;
    }

    .nav-bar-mobile-ham.active span:nth-child(1) {
        top: 50%;
        transform: translate(-50%, -50%) rotate(45deg);
    }

    .nav-bar-mobile-ham.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-bar-mobile-ham.active span:nth-child(3) {
        top: 50%;
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    .menu-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: start;
        top: 80px;
        right: 100%;
        height: calc(100vh - 80px);
        width: 100%;
        position: fixed;
        background-color: #ffffff;
        border-top: #275b2d 2px solid;
        z-index: 1;
        transition: all 0.3s ease-in-out;
    }

    .menu-container.active {
        right: 0%;
        transition: all 0.3s ease-in-out;

    }

    .menu-links {
        width: 90%;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: start;
    }

    .mobile-nav-link {
        box-sizing: border-box;
        width: 100%;
        height: 50px;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        text-decoration: none;
        color: #000000;
        font-size: 1.5rem;
        font-weight: 100;        
        border-bottom: 0.5px solid #275b2d6b;
        padding: 0 10px;
        transition: all 0.3s ease;
    }

    .mobile-nav-link-language {
        box-sizing: border-box;
        width: 100%;
        height: 50px;
        display: flex;
        flex-direction: column;
        text-decoration: none;
        color: #000000;
        font-size: 1.5rem;
        font-weight: 100;        
        border-bottom: 0.5px solid #275b2d6b;
        padding: 0 10px;
        transition: all 0.3s ease;
        overflow: hidden;
    }

    .ham-lng-btn {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        height: 50px;
    }

    .arrow-rotate {
        transform: rotate(0deg);      
        transition: all 0.3s ease;
    }

    .arrow-rotate.active {
        transform: rotate(90deg);
        transition: all 0.3s ease;
    }

    .ham-lng-links{
        display: flex;
        flex-direction: column;
        align-items: start;
    }

    .mobile-nav-link-language.active {
        height: 200px;

    }

    .ham-lng-link-btn {
        height: 35px;
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        overflow: hidden;
    }

    .ham-lng-link-btn p {
        margin: 0;
        font-size: 1rem;
        color: #000000;
        font-weight: 100;
    }

    .lng-flag-icon {
        height: 15px;
        width: 20px;
        object-fit: cover;
        overflow: hidden;
    }

    

    /* Mobile Nav Bar END */

    /* Home Page Mobile */
    .home-content-container {
        margin-top: 120px;
    }


    .hero-home-content {
        padding: 0px 14px;
        height: fit-content;
        align-items: start;
        justify-content: start;
        border-bottom: #275b2d 1px solid;
    }

    .hero-quote {
        margin: 0;
    }

    .hero-quote h1 {
        font-size: 1.1rem;
        text-align: left;
        font-weight: 400;
        text-decoration: none;
        font-style: unset;
        margin: 0;
    }

    .hero-divider {
        padding: 0;
        height: 35px;
    }

    .hero-signature {
        margin-top: 14px;
        margin-bottom: 24px;
        justify-content: center;
        width: 100%;
    }

    .hero-signature h2 {
        font-size: 1rem;
        margin: 0;
        text-align: center;
        font-weight: 400;
        text-decoration: none;
        font-style: unset;
    }

    .instagram-container {
        height: fit-content;
        box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.531);
        background-color: #f0ffec;
    }

    .instagram-feed {
        flex-direction: column;
        align-items: center;
        justify-content: start;
        padding: 0;
        padding-top: 20px;
        padding-bottom: 20px;
        gap: 20px;
    }

    .instagram-media {
        width: 90%;
        height: 400px;
        margin-bottom: 60px;
    }

    .home-further-info {
        box-sizing: border-box;
        margin-top: 16px;
        width: 100%;
        height: fit-content;
        padding: 0 5%;
        display: flex;
        flex-direction: column;
        align-items: start;
        justify-content: start;
        overflow: hidden;
    }

    .home-further-info h1 {
        font-size: 1.3rem;
        margin: 0;
        margin-bottom: 12px;
        object-fit: contain;
        height: fit-content;
        width: 100%;
    }

    .home-further-info h2 {
        font-size: 1.2rem;
        margin: 0;
        margin-bottom: 12px;
        width: 100%;
        object-fit: contain;
        height: fit-content;
        width: 100%;
    }

    .home-further-info p {
        font-size: 1.1rem;
        margin: 0;
        margin-bottom: 20px;
    }

/*Family Page Mobile */

.family-page {
    margin-top: 80px;
    overflow-x: hidden;
    margin-bottom: 50px;
}

.tree-container {
    width: 100%;
    border: none;
    height: calc(100vh - 80px);
}

.generation-row{
    padding-left: 10px;
    padding-right: 10px;
}

.people-row {
    height: 250px;
    gap: 10px;
}

.person-node {
    width: 120px;
    height: 200px;
}

.person-node.royal {
    width: 180px;
    height: 250px;
}

.person-node.prince {
    width: 200px;
    height: 250px;
}

.offset-50 {
    transform: none;
}

.offset-25 {
    transform: none;
}

.offset-20 {
    transform: none;
}

.offset-15 {
    transform: none;
}

.pn-tree-line-toG2 {
    height: 130px;
    left: 190px;
}

.pn-tree-line-toG3 {
    height: 140px;
    left: 190px;
}

.pn-tree-line-toG4 {
    height: 110px;
    left: 580px;
}

.pn-tree-line-toG5 {
    height: 110px;
    left: 840px;
}

.pn-tree-line-toG6 {
    height: 110px;
    left: 320px;
}

.pn-tree-line-toG7 {
    height: 110px;
    left: 320px;
}

.pn-tree-line-toG8 {
    height: 110px;
    left: 320px;
}

.pn-tree-line-toG9 {
    height: 110px;
    left: 175px;
}

.pn-tree-line-MItoPIII {
    left: 160px;
}

.pn-tree-line-PItoAM {
    left: 710px;
}

.pn-tree-line-MLtoPI {
    left: 520px;
}

.pn-tree-line-PIItoTC {
    left: 790px;
}

.pn-tree-line-IStoGC {
    left: 260px;
}

.pn-tree-line-PAtoE {
    left: 260px;
}

.pn-tree-line-PGtoME {
    left: 260px;
}

.pn-tree-line-PCtoRK {
    left: 110px;
}

.line-one {
    width: 300px;
    margin-left: 275px;
}

.line-two {
    width: calc((120px * 8) + (150px * 3) + 80px);
    margin-left: 55px;
}

.line-three {
    width: 1170px;
    margin-left: 55px;
}

.line-four {
    width: 650px;
    margin-left: 55px;
}

.line-five {
    width: 650px;
    margin-left: 55px;
}

.line-six {
    width: 780px;
    margin-left: 55px;
}

.line-seven {
    width: 880px;
    margin-left: 85px;
}







.structure-page {
    padding: 0;
    margin-top: 110px;

}

.sp-info-container {
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.sp-info-container h1 {
    font-size: 1.5rem;
}

.sp-info-container h2 {
    font-size: 1.3rem;
    text-align: center;
}

.sp-info-container h3 {
    font-size: 1.2rem;
    text-align: center;
}

.sp-info-divider {
    padding: 0;
}




}