:root{
    --black-amber: #0A0A0A;
    --platinum-gray: #7F7679;
    --dark-red: #681C23;

    --page-background: rgb(214, 214, 214);
    --panel-background: rgb(245, 245, 245);
    --account-background: #ffffff;
    --account-shadow: rgba(0, 0, 0, 0.3);
    --info-border: rgb(29, 29, 29);
    --action-background: rgb(30, 30, 30);
    --action-shadow: rgba(0, 0, 0, 0.463);
}

body{
    background: var(--page-background);
    height: 97vh;
    width: calc(100% - 15px);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--black-amber);
    transition: background-color 0.35s ease;
}

body.dark-theme{
    --page-background: var(--black-amber);
    --panel-background: transparent;
    --account-background: #17161B;
    --account-hover-background: #1D1C22;
    --account-shadow: rgba(0, 0, 0, 0.22);
    --info-border: #2A2930;
    --action-background: #17161B;
    --action-shadow: rgba(0, 0, 0, 0.28);
    color: #E8E0DC;
}

.upPanel{
    display: flex;
    flex-direction: row; 
    align-items: center;
    justify-content: space-between;
    height: 25px;
    padding: 20px;
    gap: 10px;
    width: calc(100% - 40px);

    background: var(--panel-background);
    border: 0;
    border-radius: 10px;
    box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.18);
    transition: background-color 0.35s ease, box-shadow 0.35s ease;
}

.upLeft{
    display: flex;
    align-items: center;
    gap: 10px;

    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

.upMiddle {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);

    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
    
    white-space: nowrap;
}
.Acs{
    width: 130px;
    height: 35px;

    background: var(--action-background);
    color: aliceblue;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 30px;

    box-shadow:  0px 5px 15px var(--action-shadow),
        inset 10px 10px 20px rgba(1, 1, 1, 0.189);
    transition: 0.2s;

    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
.Acs:hover{
    transform: translateY(-5px);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.297),
        inset 10px 3px 20px rgba(1, 1, 1, 0.189);

    transition: 0.2s;
}

.Icon{
    margin-right: 8px;
    margin-left: -8px;

    filter: brightness(0) invert(100%);
}

.tg{ background: linear-gradient(145deg, rgb(81, 136, 168), rgb(143, 187, 212)); }
.supp{ background: linear-gradient(135deg, rgb(103, 163, 180), rgb(183, 96, 65)); }

.themeToggle{
    width: 42px;
    height: 42px;
    padding: 0;
    display: grid;
    place-items: center;
    cursor: pointer;
    border: 1px solid rgba(10, 10, 10, 0.18);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.42);
    transition: transform 0.2s ease, background-color 0.2s ease,
        border-color 0.2s ease, box-shadow 0.2s ease;
}
.themeToggle:hover{
    transform: translateY(-2px) scale(1.04);
    background: rgba(255, 255, 255, 0.72);
    border-color: var(--dark-red);
    box-shadow: 0 7px 16px rgba(104, 28, 35, 0.22);
}
.themeToggle:focus-visible{
    outline: 3px solid rgba(104, 28, 35, 0.35);
    outline-offset: 3px;
}
.themeIcon{
    width: 22px;
    height: 22px;
    transform: translateY(1px);
    transition: filter 0.35s ease;
}
body.dark-theme .themeToggle{
    background: rgba(10, 10, 10, 0.12);
    border-color: rgba(127, 118, 121, 0.42);
}
body.dark-theme .themeToggle:hover{
    background: rgba(104, 28, 35, 0.2);
    border-color: rgba(104, 28, 35, 0.72);
    box-shadow: 0 7px 16px rgba(104, 28, 35, 0.18);
}
body.dark-theme .themeIcon{
    filter: invert(1);
}


.form{
    margin-top: 20px;

    width: min(825px, 100%);
    height: 500px;
    justify-self: center;

    display: flex;
    flex-direction: row;
}
.socNet{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;

    width:100px;
    height: 100%;
    transform: translateY(-1.5px) translateX(1px);
}
.shopButton{
    width: calc(101% - 20px);
    height: 100px;
    border: 0;
    border-radius: 9px 0 0 9px;
    color: aliceblue;
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;

    background: linear-gradient(135deg, rgb(28, 28, 29), rgb(28, 27, 27));
    transform: translateX(10px);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: -1px;

    transition: 0.2s;
}
.shopButton .Icon{
    margin-right: 0px;
    margin-left: 0px;
    margin-bottom: -10px;
    margin-top: 10px;
}
.shopButton:hover{
    width: calc(101% - 10px);
    transform: translateX(5px);

    transition: 0.2s;
}
.shopButton.active{
    width: calc(101% - 0px);
    transform: translateX(0px);
}

.info{
    border: var(--info-border) 5px solid;
    border-radius: 0 10px 10px 10px;

    width: calc(100% - 1px);
    height: 100%;
    margin: 0;
    transform: translateX(0px) scaleX(1) translateY(-1.5px);
    transition: border-color 0.35s ease;
}

.footer{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    width: calc(100% - 20px);
    height: 50px;
    padding: 0 10px;
    margin-top: auto;
    transform: translateY(15px);

    border-radius: 10px;

    opacity: 0.5;
    background: 0;
    color: var(--black-amber);
    transition: background-color 0.35s ease;
}
body.dark-theme .tg{
    background: rgba(104, 28, 35, 0.16);
}
body.dark-theme .supp{
    background: rgba(104, 28, 35, 0.16);
}
body.dark-theme .shopButton{
    background: var(--info-border);
    box-shadow: none;
    color: rgba(232, 224, 220, 0.88);
}
body.dark-theme .upPanel{
    background: transparent;
    box-shadow: 0 1px 0 rgba(127, 118, 121, 0.22);
}
body.dark-theme .upLeft h1:first-child{
    color: var(--dark-red);
}
body.dark-theme .upLeft .Logo{
    color: #E8E0DC;
}
body.dark-theme .Acs{
    color: #E8E0DC;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
body.dark-theme .Acs:hover{
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
body.dark-theme .info{
    border-width: 5px;
    border-color: var(--info-border);
}
body.dark-theme .byAcc:hover{
    background: var(--account-hover-background) !important;
    color: #E8E0DC;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
body.dark-theme .byAcc{
    background: var(--account-background) !important;
    color: #E8E0DC;
}
body.dark-theme .byAcc::before{
    display: none;
}
body.dark-theme .byAcc:hover::before{
    display: none;
}
body.dark-theme .byAcc .Acs{
    background: var(--dark-red);
    box-shadow: 0 5px 12px rgba(104, 28, 35, 0.24);
}
body.dark-theme .byAcc .Acs:hover{
    background: #762B33;
    box-shadow: none;
}
body.dark-theme .shopButton.active{
    background: var(--info-border);
}
body.dark-theme .shopButton .Icon{
    filter: brightness(0) invert(100%);
}
body.dark-theme .IconClock{
    filter: invert(20%) sepia(20%) saturate(2500%) hue-rotate(315deg)
        brightness(82%) contrast(92%);
}
body.dark-theme .footer{
    background: transparent;
    color: rgba(232, 224, 220, 0.62);
    opacity: 1;
}
body.dark-theme .footer a{
    color: inherit;
}
.fright{
    display: flex;
    flex-direction: row;
}
.ravenfall-link{
    margin-left: 5px;
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

.tgTab{
    height: 100%;
    overflow-y: auto;

    mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        black 8%,
        black 92%,
        transparent 100%
    );

    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        black 8%,
        black 92%,
        transparent 100%
    );
}


.byAcc{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    position: relative;

    width: 100%;
    height: 50px;

    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 13px;

    border: 0;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.byAcc::before{
    content: "";
    position: absolute;
    inset: 0;
    
    background: var(--account-background);
    box-shadow: 0 5px 15px var(--account-shadow);

    z-index: -1;
    transition: 0.2s;
}
.byAcc:hover{
    z-index: 1;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    transition: 0.2s;
}

.country{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
}
.country img{
    margin-right: 10px;
    margin-left: 5px;
}
.oldC{
    position: absolute;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: end;

    left: calc(50% - 50px);
}
.byAcc .Acs{
    box-shadow: none;
}
.byAcc .Acs:hover{
    box-shadow: none;
    transform: translateY(0px);
}


.IconClock{
    filter: brightness(0);
    margin-right: 5px;

    margin-left: -15px;
}



@media (max-width: 750px) {
    .hide1{
        display: none;
    }
}
@media (max-width: 500px) {
    .hide2{
        display: none;
    }
    .Acs{
        width: 50px;
        height: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .Icon{
        margin-right: 0px;
        margin-left: 0px;
    }

    .shopButton .Icon{
        margin-right: -5px;
        margin-left: 0px;
        margin-bottom: 10px;
        margin-top: 10px;
    }
}
