@import url("https://fonts.googleapis.com/css2?family=Cinzel+Decorative&display=swap");

:root {
    --default-font: "Manrope", sans-serif;
}

* {
    padding: 0;
    margin: 0;
}

.logo .text {
    font-family: "Cinzel Decorative", sans-serif;
    font-size: 32px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.02em;
    user-select: none;
}

button {
    border: none;
    outline: none;
    cursor: pointer;
}

/* 
body, html {
	margin: 0;
	padding: 0;
} */

body {
	background-color: #fff;
}

h1,
h2,
h3 {
    font-family: var(--default-font);
}

h1 {
    font-size: 32px;
    font-weight: 800;
}

h2 {
    font-size: 24px;
    font-weight: 700;
}

body {
    height: 100vh;
}

.login-container {
    width: 100%;
}

.modal {
    display: none;
    position: fixed;
    z-index: 9;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    /* Это добавляет размытие заднему фону */
}


.flex-row .button {
    margin-right: 16px;
}

.button {
    width: 100%;
    padding: 16px;
    border-radius: 50px;
    color: #fff;
    border-radius: 50px;
    font-weight: 700;
    background-color: #201e22;
    line-height: 24px;
}

.button:hover {
    color: #1c1c1c;
    background-color: #fff;
}

.loginbtn {
    margin-top: 16px;
}

.rounded-box p {
    text-align: left;
}

.rounded-box a {
    text-decoration: none;
    padding: 8px 20px;
    margin-top: 20px;
    display: inline-block;
    font-size: 16px;
    line-height: 18px;
    background-color: #201e22;
    color: #fff;
    cursor: pointer;
    white-space: normal;
}

.white-fill {
    background-color: #fff;
}

.fit-height {
    height: fit-content;
}

.panel {
    position: absolute;
    margin-top: 24px;
    padding: 0 24px 0 24px;
    padding-bottom: 0;
    background-color: #fff;
    bottom: 10px;
    width: -webkit-fill-available;
    width: -moz-available;
    width: stretch;
}


main {
    height: 90vh !important;
    position: relative;
  
}

main .main-flex {
    position: relative;
    justify-content: center;
    align-items: stretch;
    width: 100%;
    height: 90vh;
}

.rounded-box {
    box-sizing: border-box;
    border: 1px solid #e8e8ea;
    border-radius: 8px;
    padding: 14px 16px 14px 16px;
    margin-bottom: 16px;
    width: 100%;
    margin: 10px 0;
}

.sidebar button {
    width: 100%;
    padding: 4px 18px;
}

.sidebar button.morebtn {
    width: auto;
    padding: 0;
    background: transparent;
}

.hidden {
    display: none;
}

.float-btn {
    position: absolute;
    width: auto;
    z-index: 99;
}

.float-btn p {
    width: auto;
    padding: 0 15px;
    font-size: 15px;
    font-weight: 500;
}

.sidebar .subwrapper {
    padding: 0 18px;
    margin: 16px 0;
}

.sidebar .rounded-box {
    margin-bottom: 0;
}

textarea {
    resize: none;
}

.rounded-box input,
.rounded-box textarea {
    width: 100%;
    background-color: transparent;
    border: none;
    outline: none;
    font: 400 16px var(--default-font);
    color: #000;
}

.rounded-box button {
    background-color: transparent;
    border: none;
    outline: none;
    color: #99a2ad;
    padding: 10px;
}

.w100 {
    width: 100%;
}

.rounded-box p {
    font-family: var(--default-font);
    margin: 0;
}

.grey-fill {
    background-color: #f3f2f5;
}

.grey-fill p {
    color: #000;
}

.rounded-box p.subtext {
    font-family: "Inter", sans-serif;
    font-size: 12px;
    color: #b8bec6;
}

.flex-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.flex-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.logo {
    height: 44px;
    padding: 1.5em;
    will-change: filter;
    transition: filter 300ms;
    filter: drop-shadow(0 0 2em #61dafbaa);
    cursor: pointer;
    max-height: 10vh;
}

.logo:hover {
    filter: drop-shadow(0 0 2em #646cffaa);
}

.logo.react:hover {
    filter: drop-shadow(0 0 2em #61dafbaa);
}

@keyframes logo-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes card-spin {
    from {
        transform: rotateY(0deg);
    }

    to {
        transform: rotateY(180deg);
    }
}

@media (prefers-reduced-motion: no-preference) {
    .logo {
        /* animation: logo-spin infinite 2s linear; */
    }
}

.dialog.modal,
#modalContent {
    overflow: hidden;
    height: auto;
    text-align: center;
    width: 340px;
    padding: 45px;
    background-color: #fff;
    border-radius: 15px;
}

.profile-card input,
.dialog.modal input,
#modalContent input {
    font-family: var(--default-font);
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    border-radius: 10px;
    background-color: #f3f2f5;
    margin-bottom: 15px;
    border: 1px solid #e8e8ea;
    outline: none;
    color: #000;
}

.profile-card input[type="radio"],
.dialog.modal input[type="radio"] {
    margin: 16px 4px 0 0;
    width: auto;
}

input[type="radio"]:after {
    width: 15px;
    height: 15px;
    border-radius: 15px;
    top: -2px;
    left: -1px;
    position: relative;
    background-color: #d1d3d1;
    content: "";
    display: inline-block;
    visibility: visible;
    border: 2px solid white;
}

input[type="radio"]:checked:after {
    width: 15px;
    height: 15px;
    border-radius: 15px;
    top: -2px;
    left: -1px;
    position: relative;
    background-color: #1c1c1c;
    content: "";
    display: inline-block;
    visibility: visible;
    border: 2px solid white;
}

.dialog.modal button.topright,
#modalContent button.topright {
    width: auto;
    background-color: transparent;
    position: absolute;
    right: 0;
    top: 0;
    color: #101010;
}

#modalContent {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.dialog.modal-btn {
    position: relative;
}

.dialog.modal p {
    font-family: var(--default-font);
    font-weight: 500;
    color: #6b6972;
    margin: 0;
    text-align: left;
}

p.line {
    position: relative;
    z-index: 1;
    width: 100%;
    overflow: hidden;
    text-align: center;
    color: #b8bec6;
    padding-bottom: 15px;
}

.line:before,
.line:after {
    content: "";
    display: inline-block;
    width: 100%;
    height: 1px;
    background: #e8e8ea;
    z-index: -1;
    position: relative;
    vertical-align: middle;
}

.line:before {
    right: 15px;
    margin: 0 0 0 -100%;
}

.line:after {
    left: 15px;
    margin: 0 -100% 0 0;
}

#yidButton #iframe {
    height: 48px !important;
}

.modal-container {
    width: 100%;
}

.modal-container:first-child {
    margin-bottom: 16px;
}

.dialog.modal h1 {
    text-align: center;
    font-size: 28px;
    font-weight: 800;
    color: #000;
    margin-top: 0px;
    line-height: 28px;
    padding-bottom: 16px;
}

.dialog.modal button,
#modalContent button,
.dialog.modal input[type="submit"],
#profile-page button,
#profile-page input[type="submit"] {
    width: 100%;
    color: #fff;
    border-radius: 50px;
    font-weight: 700;
    background-color: #1c1c1c;
    padding: 16px;
}

.flex-center {
    text-align: center;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.modal .modal-content_container {
    width: 340px;
}

/* The Close Button */
/* .close {
	color: #aaaaaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
  } */

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/* Style the button that is used to open and close the collapsible content */
.collapsible {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active,
.collapsible:hover {
    background-color: #ccc;
}

/* Style the collapsible content. Note: hidden by default */

.collapsible:after {
    content: "\02795";
    /* Unicode character for "plus" sign (+) */
    font-size: 13px;
    color: white;
    float: right;
    margin-left: 5px;
}

.active:after {
    content: "\2796";
    /* Unicode character for "minus" sign (-) */
}

.sidebar button {
    background-color: #f3f2f5;
}

.sidebar p {
    font-family: "Inter", sans-serif;
    font-size: 17px;
}

/* Chat containers */
.chat-container {
    border-left: 0;
    /* Убираем бордюр слева */
    border-right: 0;
    /* Убираем бордюр справа */
    border-top: 2px solid #dedede;
    /* Оставляем верхний бордюр */
    border-bottom: 2px solid #dedede;
    /* Оставляем нижний бордюр */
    background-color: #f3f2f5;
    padding: 10px;
    margin: 10px 0;
}

/* Darker chat container */
.darker {
    border-color: #ccc;
    background-color: #ddd;
}

/* Clear floats */
.chat-container::after {
    content: "";
    clear: both;
    display: table;
}

/* Style images */
.chat-container img {
    float: left;
    max-width: 60px;
    width: 100%;
    margin-right: 20px;
    border-radius: 50%;
}

/* Style the right image */
.chat-container img.right {
    float: right;
    margin-left: 20px;
    margin-right: 0;
}

/* Style time text */
.time-right {
    float: right;
    color: #aaa;
}

/* Style time text */
.time-left {
    float: left;
    color: #999;
}

@media screen and (max-width: 480px) {

    main {
        display: flex;
        flex-direction: row;
        margin: 0;
        padding: 0;
        /* box-sizing: border-box;  */
        height: 100%;
        font-family: "Inter", sans-serif;
    }

    .sidebar button {
        width: 100%;
    }

    .dialog.modal,
    #modalContent {
        width: 100%;
        box-sizing: border-box;
        padding: 45px;
    }

    .modal .modal-content_container {
        width: 100%;
    }

    .sidebar {
        height: 100vh !important;
        z-index: 9 !important;
        top: 0 !important;
    }

    .panel .grey-fill p:first-child {
        font-size: 15px;
        line-height: 15px;
        padding-bottom: 5px;
        letter-spacing: 0.02em;
    }

    .panel>div div {
        padding: 5px 10px;
    }
}

.modal .modal-container p {
    font-size: 14px;
    padding-bottom: 8px;
}

.modal .modal-container label {
    width: 100%;
}

.topnav {
    z-index: 8;
}

@media screen and (min-width: 768px) {
    main {
        display: block;
        /* flex-direction: row;
			justify-content: center;
			align-items: center; */
        /* margin: 8vw; */
        /* box-sizing: border-box;  */
        width: 100%;
        font-family: "Inter", sans-serif;
    }

    #mySidebar.sidebar {
        position: absolute;
    }

    #historyDiv {
        width: 100%;
        background-color: #f3f2f5;
    }

    header {
        text-align: center;
        color: white;
        background-color: #201e22;
        box-sizing: content-box;
    }

    .topnav {
        width: 100%;
        overflow: hidden;
        position: relative;
        display: flex;
        flex-direction: row;
    }

    .topnav #myLinks {
        display: flex;
        width: 50%;
        max-width: 768px;
        align-items: center;
        justify-content: flex-end;
        text-align: center;
    }

    .topnav a {
        color: white !important;
        padding: 14px 16px;
        text-decoration: none;
        font-size: 17px;
        display: block;
    }

    .topnav a.icon {
        background: black;
        display: none;
        position: absolute;
        right: 0;
        top: 0;
    }

    .topnav a:hover {
        background-color: #ddd;
        color: black;
    }

    .active {
        background-color: #04aa6d;
        color: white;
    }

    .logo {
        display: flex;
        align-items: center;
    }

    .logo img {
        width: 50px;
        height: 50px;
        margin-right: 10px;
    }

    .nav-links {
        display: flex;
        justify-content: space-between;
        width: 40%;
    }

    .fa {
        display: none;
    }
}

.container {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    justify-content: flex-start;
    height: 100%;
}

.face {
    font-weight: 600;
}

#historyDiv {
    width: 100%;
    background-color: #f3f2f5;
}

.game-container {
    width: 100%;
    padding: 0 15px;
    border-radius: 10px;
    row-gap: 15px;
    box-sizing: border-box;
    /* box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;  */
}

.all-cards-container {
    display: none;

    /* background:transparent; */
    width: 80vw;

    height: 200px;
    position: relative;
    margin-left: 9vw;
}

.deck-card {
    position: relative;
    animation-duration: 4s;
    transition: all 0.5s ease-in-out;
    margin-left: -5vw;
    /* width: 10%; */
    /* left: -100px; */
}

/* 
.deck-card:not(:first-child){

	grid-area: 1 / 1 / 5 / 5;
	opacity: 0.8;
	height: 150px;
	background: transparent;
	border: 3px dotted black;
	width: 250px;
	
margin-left: 200px;


} */

.deck-card-image {
    position: relative;
    width: 6vw;
    height: 13vh;
    /* left: -2vw !important; */
}

.cards-container {
    display: grid;
    /* grid-template-rows: 125px 125px 125px;  */
    grid-template-columns: 15vw 15vw 15vw 15vw 15vw;
    grid-gap: 20px 10px;
    place-items: center;
    background: #fff;
    padding-top: 40px;
}

.heading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-height: 70vh;
    overflow-y: auto;
}

#answerContainer div:last-child {
    margin-bottom: 15vh;
}

.gfg-heading {
    color: #0e9d57;
}

.card {
    justify-items: center;
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
}

.outline-image {
    position: absolute;
    border-radius: 10px;
    top: 0;
    left: 0;
    height: 225px;
    width: 125px;

    /* border-radius: 50%;  */
    border-radius: 0%;
}

.card-image {
    height: 225px;
    width: 125px;
    transform: rotateY(90deg);
    transition: all ease-in 0.25s;
    /* mix-blend-mode: multiply;  */
}

.overlay {
    display: none;
    backdrop-filter: blur(8px);
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 12001;
    top: 0;
    left: 0;
}

.progress-container {
    text-align: center;
    display: flex;
    justify-content: space-around;
    width: 100%;
    margin: 50px 0 20px 0;
}

.move-counter {
    padding: 10px 20px;
    border-radius: 25px;
    border: 1px solid #ccc;
}

/* Dynamic classes that are being added by JavaScript */
.toggled .card-image {
    transform: rotateY(0deg);
    transition-delay: 0.25s;
}

.item .outline-image {
    transition: all ease-in 0.25s;
    transition-delay: 0.25s;
}

.toggled .outline-image {
    transform: rotateY(90deg);
    transition-delay: 0s;
}

@media screen and (max-width: 767px) {
    main {
        display: flex;
        flex-direction: column;

        margin: 0;
        padding: 0;
        font-family: "Inter", sans-serif;
    }

    /* #historyDiv {
			
		position: absolute;
		left: 3px;
		width: 100%;
		background-color: #F3F2F5;
	} */
    .game-container {
        width: 100%;
        box-sizing: border-box;
    }

    .container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .cards-container {
        /* grid-template-rows: 33% 33% 33%;  */
        grid-template-columns: 50% 50%; 
        grid-gap: 10px 10px;
    }

    .outline-image {
        height: 225px;
        width: 125px;
    }

    .card-image {
        max-height: 225px;
        max-width: 125px;
        width: 100%;
        height: auto;
    }

    .progress-container {
        margin: 10px 0 10px 0;
        display: flex;
        flex-direction: column;
    }

    header {
        /* max-width: 480px; */
        /* margin: auto; */

        border-radius: 10px;

        width: 100%;
    }

    .topnav {
        overflow: hidden;
        background-color: #201e22;
        position: relative;

        width: 100%;
    }

    .topnav button {
        border-radius: 0%;
    }

    .topnav a {
        color: white;
    }

    .topnav #myLinks {
        display: none;
    }

    .container .faq {
        max-width: 100vw !important;
        width: 100% !important;
    }

    /* .topnav button {
			color: white;
			padding: 14px 16px;
			text-decoration: none;
			font-size: 17px;
			display: block;
		  }
		  
	
		  
		  .topnav button:hover {
			background-color: #ddd;
			color: black;
			
			border-radius: 50%;
		  } */

    .active {
        background-color: #04aa6d;
        color: white;
    }

    .fa-navicon:before,
    .fa-reorder:before,
    .fa-bars:before {
        content: "\2261";
    }

    .fa {
        display: inline-block;
        font: normal normal normal 14px/1 FontAwesome;
        font-size: inherit;
        text-rendering: auto;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;

        right: 4vw;
        position: fixed;
    }

    .logo {
        display: flex;
        align-items: center;
    }

    .logo img {
        width: 50px;
        height: 50px;
        margin-right: 10px;
    }

    #answerContainer div:last-child {
        position: relative;
    }

    #answerContainer .time-right {
        position: absolute;
        top: -35px;
        right: 0;
        display: block;
    }

    #answerContainer #answerPlace {
        font-size: 16px;
        line-height: 22px;
    }
}

#profile-page {
    flex-direction: column;
    align-items: center;
    /* justify-content: center; */
}

/* The sidebar menu */
.sidebar {
    width: 0;
    position: fixed;
    height: calc(100vh - 10vh);
    z-index: 7;
    bottom: 0;
    left: 0;
    background-color: #f3f2f5;
    overflow-x: hidden;
    transition: 0.5s;
}

/* The sidebar links */
.sidebar a.closebtn {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s;
    right: 0;
}

/* When you mouse over the navigation links, change their color */
.sidebar a.closebtn:hover {
    color: #ff0000;
}

/* Position and style the close button (top right corner) */
.sidebar .closebtn {
    position: absolute;
    top: 0;
}


/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#main {
    position: relative;
    height: 90vh;
    width: 100% !important;
    transition: margin-left 0.5s;
    /* If you want a transition effect */
}

@keyframes fadeIn {
    from {
        opacity: 0;
        /* Начальная непрозрачность */
    }

    to {
        opacity: 1;
        /* Конечная непрозрачность */
    }
}

#main::before {
    content: "";
    position: absolute;
    bottom: 0;
    background: url(/assets/images/southmoon.svg) no-repeat center top / contain;
    z-index: -1;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    width: 280px;
    opacity: 0;
    /* Начальная непрозрачность */
    animation: fadeIn 3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    /* Применяем анимацию fadeIn */
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
    .sidebar {
        padding-top: 15px;
        width: 100%;
    }

    .sidebar a {
        font-size: 18px;
    }
}

.card {
    transform: rotateY(0deg);
    -moz-transform: rotateY(0deg);
    -webkit-transform: rotateY(0deg);
    transform-origin: center;
    -moz-transform-origin: center;
    -webkit-transform-origin: center;

    transition: transform 1s ease-in-out;
    -moz-transition: -moz-transform 1s ease all;
    -webkit-transition: -webkit-transform 1s ease all;
}

.card:hover {
    transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
    transform-origin: center;
    -moz-transform-origin: center;
    -webkit-transform-origin: center;

    transition: transform 1s ease-in-out;
    -moz-transition: -moz-transform 1s ease all;
    -webkit-transition: -webkit-transform 1s ease all;
}

#emptyhistory {
    display: flex;
    align-items: center;
}

#emptyhistory img {
    flex-shrink: 0;
    margin-right: 16px;
}

#emptyhistory p {
    flex-grow: 1;
    font-size: 14px;
    letter-spacing: 0.02em;
    font-weight: 300;
    line-height: 18px;
}

#answerPlace {
    white-space: pre-line !important;
}

.dashToColonHighlight {
    font-weight: 300;
    letter-spacing: 0.02em;
    line-height: 32px;
    text-decoration: none;
    position: relative;
}

.dashToColonHighlight::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 0;
    bottom: -2px;
    height: 1px;
    background-image: linear-gradient(to right,
            black 33%,
            rgba(255, 255, 255, 0) 0%);
    background-position: bottom;
    background-size: 10px 1px;
    background-repeat: repeat-x;
}

.sidebar .rounded-box {
    white-space: nowrap;
}

#historyContent {
    padding-bottom: 10px;
}

#historyContent>.rounded-box {
    margin: 10px 5px;
    max-height: 55px;
    cursor: pointer;
}

#historyContent>h3 {
    position: relative;
    font-size: 16px;
    font-weight: 500;
    color: #b8bec6;
    padding-left: 30px;
    margin-left: 10px;
    user-select: none;
}

#historyContent>h3:not(:first-child) {
    margin-top: 25px;
}

#historyContent>h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 1px;
    background-color: #b8bec6;
}

#historyContent>div div {
    width: 90%;
}

.sidebar::-webkit-scrollbar {
    width: 5px;
}

.sidebar::-webkit-scrollbar-thumb {
    background-color: #9d9d9e;
    border-radius: 10px;
    border: 2px solid #fff;
}

#historyContent>div div p:first-of-type {
    font-size: 16px;
}

#answerContainer::before {
    content: '';
    left: 0;
    top: 0;
    position: absolute;
    background: #fff;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.modal .modal-container form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.modal .modal-container ul {
    padding: 5px 0 20px 20px;
}

.modal .modal-container .paymenttype {
    margin: 15px 0;
}

.modal .modal-container .paymenttype label {
    cursor: pointer;
    font-weight: 500;
    letter-spacing: 0.02em;
    font-size: 24px;
    color: #1c1c1c;
    text-wrap: nowrap;
    width: 50%;
    display: block !important;
    padding-left: 25px;
    margin: 0;
    height: 35px;
    line-height: 35px;
    position: relative;
}

.modal .modal-container .paymenttype label input {
    margin-right: 10px;
    padding: 0 !important;
    margin: 0 !important;
    display: block;
    left: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

#answerContainer #answerInfo {
    display: inline-block;
}

#answerContainer .loading-text {
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 0.02em;
    width: 100%;
    text-align: left;
}

#answerContainer #answerLoader {
    display: flex;
    align-items: center;
}

#answerContainer #answerLoader img {
    margin-right: 10px;
    height: 44px;
    width: 44px;
    animation: spin 2s linear infinite;
}

#answerContainer .loading-text {
    flex-grow: 1;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.profile-container:before {
    content: '';
    position: absolute;
    background: rgb(253, 253, 253);
    width: 100%;
    height: 100%;
    left: 0;
    height: calc(100% + 200px);
    z-index: -1;
}

.profile-container {
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    display: grid;
    align-items: start;
}

.profile-info {
    margin-left: 100px;
    display: grid;
    align-items: center;
}

.profile-card .paymenttype {
    text-align: center;
    margin-bottom: 20px;
}

.profile-card .paymenttype label {
    margin-right: 10px;
}

.profile-card#smart-card .profile-info-heading {
    text-align: left;
}

.profile-info-content {
    display: flex;
    align-items: center;
}

.profile-card#smart-card {
    background: #201e22;
    color: #fff;
    break-before: always;
}

.profile-card#smart-card.open {
    background: #1ef28f;
    box-shadow: 0 12px 84px #88d6b8;
    color: #121212;
}

.profile-card#smart-card.close {
    background: #f21e41;
    box-shadow: 0 12px 84px #d68892;
    color: #fff;
}

.profile-card#smart-card .profile-info-heading {
    position: relative;
}

.profile-card {
    display: grid;
    grid-template-columns: 250px auto;
    padding: 15px;
    border-radius: 8px;
    font: 18px var(--default-font);
    color: #121212;
    box-shadow: 0 12px 84px rgba(189, 196, 214, .5);
    user-select: none;
    background: rgb(255 255 255 / 95%);
    position: relative;
    max-width: 500px;
}

.profile-card:not(:last-child) {
    margin-bottom: 24px;
}

.profile-card svg {
    height: 24px;
}

.profile-card .feather-calender {
    margin-top: -3px;
}

.profile-card .profile-info {
    display: flex;
    align-items: center;
}

.profile-card .profile-info span {
    margin-left: 8px;
}

.profile-card:last-child {
    margin-bottom: 24px;
}

.profile-info a {
    position: relative;
    text-decoration: none;
    color: #121212;
}

.profile-info a:before {
    content: "";
    width: 100%;
    height: 1px;
    left: 0;
    bottom: 0;
    display: block;
    position: absolute;
    background: linear-gradient(to right, black 33%, rgba(255, 255, 255, 0) 0%) bottom/repeat-x 10px 1px;
}

.profile-info-heading span {
    font-weight: 600;
}

.modal-container #modalInfoName {
    padding-bottom: 15px;
}

.profile-card .tooltip,
.profile-card[data-title]:hover::before {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

.profile-card[data-title]:hover::before {
    content: attr(data-title);
}


@media screen and (max-width: 767px) {
    .profile-info {
        margin-left: 0;
    }

    .profile-card {
        grid-template-columns: 150px auto;
    }

    .profile-container {
        margin-top: 10vh;
    }

    .profile-info-heading span {
        font-size: 16px;
    }
}

@media screen and (min-width: 768px) {
    .profile-container {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 10vh;
    }
}



    .hexagram {
      width: 100px;
      display: flex;
      flex-direction: column;
      gap: 10px;
      align-items: center;
    }
	
	.hexagram-line-container {
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}
	
	.hexagram-line {
		border: none;
		height: 4px;
		background-color: #1c1c1c;
		margin: 10px 0;
	  }
	  
	  .red {
		background-color: #b22222;
	  }
	  
	  .line-30 { width: 30%; }
	  .line-50 { width: 50%; }
	  .line-100 { width: 100%; }

    .yao {
      width: 100%;
      height: 5px;
      background-color: black;
    }

    .broken .yao {
      display: flex;
      justify-content: space-between;
    }

    .broken::before,
    .broken::after {
      content: '';
      width: 48%;
      height: 5px;
      background-color: black;
    }
