﻿input[type="date"] {
  -webkit-appearance: none;
}

body {
  background-color: #050215;
  font-family: Georgia, serif;
  color: #ffffff;
  font-style: normal;
  font-size: 1vw;
}

.container {
  max-width: 1920px;
  margin-left: auto;
  margin-right: auto;
}

header,
main,
footer {
  padding-left: 12.9em;
  padding-right: 12.9em;
}

main {
  padding-bottom: 5em;
}

.site-header {
  background-color: #0b0823;
  border-bottom: 2px solid rgba(255, 213, 79, 0.35);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  padding-left: 2em;
  padding-right: 2em;
}

.header {
  padding: 1em 0 1em 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: Georgia, serif;
  font-size: 1.25em;
  text-transform: uppercase;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 0.9em;
}

.header-brand__logo {
  height: 7em;
  width: auto;
}

.header-brand__name {
  font-size: 1.05em;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.header-right {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2.5em;
}

.hamburger {
  display: none;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  margin-left: 1.5em;
  font-family: Georgia, serif;
  font-size: 0.85em;
}

.lang-switch__btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  padding: 0.25em 0.7em;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: inherit;
  font-size: inherit;
  transition: background 0.2s, border-color 0.2s;
  border-radius: 3px;
}

.lang-switch__btn:hover {
  border-color: #ffffff;
}

.lang-switch__btn--active {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
}

.nav-dropdown {
  position: relative;
  font-family: Georgia, serif;
  font-size: 0.85em;
}

.nav-dropdown__toggle {
  background: transparent;
  border: 1px solid rgba(255, 213, 79, 0.5);
  color: #ffffff;
  padding: 0.35em 0.9em;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: inherit;
  font-size: inherit;
  border-radius: 3px;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s;
}

.nav-dropdown:hover .nav-dropdown__toggle,
.nav-dropdown__toggle:hover {
  border-color: #ffd54f;
  background: rgba(255, 213, 79, 0.12);
}

.nav-dropdown__menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.5em);
  right: 0;
  min-width: max-content;
  max-width: 92vw;
  list-style: none;
  margin: 0;
  padding: 0.3em 0;
  background-color: #0b0823;
  border: 1px solid rgba(255, 213, 79, 0.35);
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  z-index: 20;
}

/* Invisible bridge across the gap so the menu doesn't vanish
   when the mouse moves from the button down to the options. */
.nav-dropdown__menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -0.6em;
  height: 0.6em;
  background: transparent;
}

.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown.open .nav-dropdown__menu {
  display: block;
}

.nav-dropdown__item {
  display: block;
  padding: 0.7em 1.1em;
  color: #ffffff;
  text-transform: none;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: background 0.2s;
}

.nav-dropdown__item:hover {
  background: rgba(255, 213, 79, 0.15);
}

.nav-dropdown__item.is-current {
  color: #ffd54f;
}

.hamburger__span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px auto;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background-color: #ffffff;
}

.logo {
  display: none;
}

.footer {
  display: flex;
  justify-content: center;
}

.footer p {
  font-size: 3em;
  font-family: Georgia, serif;
  text-transform: uppercase;
  margin-top: 0;
}

a {
  text-decoration: none;
  /* ÑƒÐ±Ð¸Ñ€Ð°ÐµÐ¼ Ð»Ð¸Ð½Ð¸ÑŽ Ð¿Ð¾Ð´Ñ‡ÐµÑ€ÐºÐ¸Ð²Ð°Ð½Ð¸Ñ */
  color: inherit;
  /* Ñ†Ð²ÐµÑ‚ ÑÑÑ‹Ð»ÐºÐ¸ Ñ€Ð°Ð²ÐµÐ½ Ñ†Ð²ÐµÑ‚Ñƒ Ñ‚ÐµÐºÑÑ‚Ð° */
  outline: none;
  /* ÑƒÐ±Ð¸Ñ€Ð°ÐµÐ¼ Ð¿Ð¾Ð´ÑÐ²ÐµÑ‚ÐºÑƒ Ð¿Ñ€Ð¸ Ñ„Ð¾ÐºÑƒÑÐ¸Ñ€Ð¾Ð²ÐºÐµ */
  cursor: pointer;
}

li {
  list-style-type: none;
}

.birthday-container {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: Georgia, serif;
  margin-bottom: 1.5em;
}

.birthday-container p {
  margin: 0;
  font-size: 1.5em;
}

.birthday-container__inputs-wrapper {
  width: 83%;
  margin-top: 3.1875em;
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  grid-template-rows: 1fr;
  grid-template-areas: "input1 input2 button";
  grid-gap: 1.875em;
}

.birthday-container__inputs-wrapper-comp {
  margin-top: 1.6875em;
  display: grid;
  grid-template-columns: max-content max-content;
  grid-template-areas:
    "label-partner1 button"
    "input1         button"
    "label-partner2 button"
    "input2         button";
  grid-column-gap: 3em;
  grid-row-gap: 0.3em;
  justify-content: center;
  align-items: center;
}

label {
  padding-left: 1em;
  font-size: 1em;
}

.label-partner1 {
  grid-area: label-partner1;
}

.label-partner2 {
  grid-area: label-partner2;
}

.errorOutput,
.wrongDate {
  padding-top: 1em;
  font-size: 1.5em;
}

.input1-wrap,
.input2-wrap {
  position: relative;
}

.input1-wrap {
  grid-area: input1;
}

#date,
#name,
#date_person1,
#date_person2 {
  width: 8.55em;
  height: 1.25em;
}

.input2-wrap {
  grid-area: input2;
}

input {
  padding: 1.25em 3.25em 1.25em 3.25em;
  font-family: Georgia, serif;
  font-size: 1.25em;
  background-color: #050215;
  color: #ffffff;
  border: 1px #ffffff solid;
  border-radius: 0.5em;
}

::-webkit-calendar-picker-indicator {
  filter: invert(1);
}

button {
  padding: 1.25em 2em 1.25em 2em;
  background-color: #ffffff;
  font-family: Georgia, serif;
  font-size: 1.25em;
  line-height: 125%;
  text-transform: uppercase;
  border-radius: 0.5em;
  border: 1px #ffffff solid;
  z-index: 1;
  cursor: pointer;
  color: #050215;
}

button:hover {
  color: #ffffff;
  background-color: #050215;
  border: 1px #ffffff solid;
}

#get_the_answer,
#createChart {
  grid-area: button;
  align-self: baseline;
  cursor: pointer;
  white-space: nowrap;
}

#createChart {
  align-self: center;
}

.birthday-container__inputs-wrapper-comp .label-partner2 {
  margin-top: 1.2em;
}

.star__wrap1 {
  position: absolute;
  top: 0em;
  left: -2em;
  font-size: 1.25em;
}

.star__wrap2 {
  position: absolute;
  top: -1.56em;
  right: -1.38em;
  font-size: 1.25em;
}

.star__wrap3 {
  position: absolute;
  bottom: -1.8em;
  right: -1.38em;
  font-size: 1.25em;
}

.star__wrap4 {
  position: absolute;
  top: -2.5em;
  right: -1em;
  font-size: 1.25em;
}

.star__wrap5 {
  position: absolute;
  top: 7em;
  right: -1.5em;
  font-size: 1.25em;
  opacity: 0.1;
}

.star__wrap6 {
  position: absolute;
  top: 10em;
  left: 9em;
  font-size: 1.25em;
}

.star__wrap7 {
  position: absolute;
  top: -1em;
  left: 6em;
  font-size: 1.25em;
  opacity: 0.1;
}

.star__wrap8 {
  position: absolute;
  top: 11em;
  right: 9em;
  font-size: 1.25em;
}

.star-size-m {
  width: 2.9em;
}

.star-size-s {
  width: 1.85em;
}

.star-size-l {
  width: 4.3em;
}

.star-size-s,
.star-size-m,
.star-size-l,
img[src*="star"],
img[src*="Star"] {
  filter: brightness(0) invert(1);
}

.center {
  display: flex;
  justify-content: center;
}

.desteny-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.26);
  text-align: center;
  padding: 2.5em 0 2em 0;
  margin: 0;
}

.desteny-container p {
  margin: 0;
  font-size: 2.6em;
  white-space: pre-line;
}

.chakra-table {
  border-spacing: 0;
  border-radius: 10px;
  width: 100%;
  max-width: 50em;
  display: block;
}

.chakra-table td:first-child,
.chakra-table th:first-child {
  border-left: 1px solid white;
}

.chakra-table tr:first-child th,
.chakra-table tr:last-child td {
  border-top: 1px solid white;
}

.chakra-table td,
.chakra-table th {
  border-right: 1px solid white;
  border-bottom: 1px solid white;
}

.chakra-name__bottom td:first {
  border-bottom-left-radius: 10px;
}

.chakra-table__result {
  margin-top: 1em;
}

.chakra-name {
  width: 16.25em;
  height: 3.0625em;
  /* border: 1px solid rgb(255, 255, 255); */
  padding: 0.3125em;
  text-align: left;
}

.chakra-name-left {
  /* display: flex; */
  justify-content: center;
  flex-direction: column-reverse;
  align-items: flex-start;
  padding-left: 2.9375em;
}

.chakra-name-flex {
  display: flex;
  align-items: baseline;
  text-transform: uppercase;
}

.chakra-name__radius-left-bottom {
  text-transform: uppercase;
  font-weight: bold;
}

#circle-sahastrara:before {
  font-family: Georgia, serif;
  font-size: 1.375em;
  content: "7";
  width: 1.25em;
  border-radius: calc(50%);
  height: 1.25em;
  display: inline-flex;
  background: #b653f7;
  justify-content: center;
  margin-right: 1.25em;
  box-shadow: 0 0 0.625em 0.625em #b653f7;
}

#circle-ajna:before {
  font-family: Georgia, serif;
  font-size: 1.375em;
  content: "6";
  width: 1.25em;
  border-radius: calc(50%);
  height: 1.25em;
  display: inline-flex;
  background: #3d54f5;
  justify-content: center;
  margin-right: 1.25em;
  box-shadow: 0 0 0.625em 0.625em #3d54f5;
}

#circle-vishuddha:before {
  font-family: Georgia, serif;
  font-size: 1.375em;
  content: "5";
  width: 1.25em;
  border-radius: calc(50%);
  height: 1.25em;
  display: inline-flex;
  color: #000000;
  background: #74e0f8;
  justify-content: center;
  margin-right: 1.25em;
  box-shadow: 0 0 0.625em 0.625em #74e0f8;
}

#circle-anahata:before {
  font-family: Georgia, serif;
  font-size: 1.375em;
  content: "4";
  width: 1.25em;
  border-radius: calc(50%);
  height: 1.25em;
  display: inline-flex;
  color: #000000;
  background: #b6fd57;
  justify-content: center;
  margin-right: 1.25em;
  box-shadow: 0 0 0.625em 0.625em #b6fd57;
}

#circle-manipura:before {
  font-family: Georgia, serif;
  font-size: 1.375em;
  content: "3";
  width: 1.25em;
  border-radius: calc(50%);
  height: 1.25em;
  display: inline-flex;
  color: #000000;
  background: #ffffff;
  justify-content: center;
  margin-right: 1.25em;
  box-shadow: 0 0 0.625em 0.625em #ffffff;
}

#circle-svadhishtana:before {
  font-family: Georgia, serif;
  font-size: 1.375em;
  content: "2";
  width: 1.25em;
  border-radius: calc(50%);
  height: 1.25em;
  display: inline-flex;
  color: #f5f5f5;
  background: #ed7233;
  justify-content: center;
  margin-right: 1.25em;
  box-shadow: 0 0 0.625em 0.625em #ed7233;
}

#circle-muladhara:before {
  font-family: Georgia, serif;
  font-size: 1.375em;
  content: "1";
  width: 1.25em;
  border-radius: calc(50%);
  height: 1.25em;
  display: inline-flex;
  color: #f5f5f5;
  background: #ea4631;
  justify-content: center;
  margin-right: 1.25em;
  box-shadow: 0 0 0.625em 0.625em #ea4631;
}

.chakra-td {
  padding: 0.3125em;
  text-align: center;
  width: 12.5em;
  /* size: 16px; */
}

.chakra-tr {
  font-family: Georgia, serif;
  /* size: 20px; */
  text-align-last: center;
  padding: 0.3125em;
  text-align: center;
  background-color: #050215;
}

.chakra-name__bottom {
  box-shadow: none;
}

.chakra-name__radius-left {
  background-color: #827d78;
  border-top-left-radius: 10px;
}

.chakra-name__radius-right {
  background-color: #827d78;
  border-top-right-radius: 10px;
}

.chakra-name__radius-left-bottom {
  background-color: #050215;
  border-bottom-left-radius: 10px;
  border-top-left-radius: 10px;
}

.chakra-name__radius-left-bottom {
  border-bottom-left-radius: 10px;
}

.chakra-name__radius-right-bottom {
  background-color: #050215;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

.chakra-name__radius-right-bottom2 {
  border-bottom-right-radius: 10px;
}

.chakra-table-header> :nth-child(2),
.chakra-table-header> :nth-child(3) {
  background-color: #827d78;
}

.chakra-table-header {
  font-family: Georgia, serif;
  /* size: 20px; */
  text-transform: uppercase;
}

.glow__wrap {
  /* positioning */
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;

  /* display */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: -1;
}

.glow {
  width: 50em;
  height: 1.875em;
  background: #ffffff;
  filter: blur(4.6875em);
}

.glow2 {
  position: absolute;
  width: 45em;
  height: 36em;
  background: #ffffff;
  filter: blur(4.6875em);
  z-index: -1;
}

.center_container {
  position: relative;
}

.glow-btn__wrap {
  /* positioning */
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  /* display */
  display: flex;
  justify-content: center;
  align-items: center;
}

.glow-btn {
  width: 49.375em;
  height: 1.875em;
  background: #ffffff;
  filter: blur(4.6875em);
}

.personal-calculator {
  display: flex;
  justify-content: center;
  font-size: 2.4em;
  display: flex;
  align-items: center;
  text-align: center;
  text-transform: uppercase;
}

.output-personal-date,
.output2 {
  text-align: center;
  font-size: 1.25em;
  font-family: Georgia, serif;
}

.gray {
  color: #827d78;
}

.smoky-white {
  color: #f9f9f8;
}

.smoky-white2 {
  color: #ffffff;
}

.container__socialmedia {
  margin-bottom: 3em;
}

.socialmedia-wrapper {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.socialmedia-wrapper_second {
  gap: 20px;
}

.socialmedia-wrapper:first-child {
  margin-bottom: 15px;
}

.socialmedia-wrapper_first .socialmedia-item img {
  max-width: 43px;
}

#youtube {
  max-width: 57px;
}

.socialmedia-wrapper_second .socialmedia-item img {
  max-width: 38px;
}

.socialmedia-item {
  margin-left: 0.5em;
  margin-right: 0.5em;
}

#decode-matrix-btn {
  max-width: 20em;
  margin-top: 6.5em;
  margin-bottom: 6.5em;
}

/* Matrix's styles */

.matrix-container,
.compatibility-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.pento {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
}

.display-none {
  display: none;
}

#matrix {
  float: none;
  margin: 10% 0 10% 0;
  width: 100%;
  max-width: 800px;
  min-width: 300px;
}

:not(svg) {
  transform-origin: 0px 0px;
}

svg:not(:root) {
  overflow-clip-margin: content-box;
  overflow: visible;
}

text {
  cursor: default;
}

.cls-4 {
  stroke-dasharray: 0, 49, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10,
    41;
}

.cls-3,
.cls-4,
.cls-18 {
  stroke-width: 1.5px;
}

.cls-5,
.cls-7 {
  stroke-width: 1px;
}

.cls-18 {
  stroke-dasharray: 0, 25, 10, 50, 10, 50, 10, 25;
}

.cls-18,
.cls-3,
.cls-4 {
  stroke-miterlimit: 10;
  stroke: white;
  fill: none;
}

.cls-5,
.cls-6 {
  stroke: #b653f7;
  fill: #b653f7;
}

.cls-7,
.cls-8 {
  stroke: #ea4631;
  fill: #ea4631;
}

.cls-10 {
  fill: #b653f7;
}

.cls-13 {
  fill: #3d54f5;
}

.cls-15 {
  fill: #74e0f8;
}

.cls-19 {
  fill: #ea4631;
}

.cls-22 {
  fill: #ed7233;
}

.cls-25 {
  fill: #ffd60a;
}

.cls-26 {
  fill: #b6fd57;
}

.cls-15,
.cls-21,
.cls-22,
.cls-26 {
  filter: blur(2.90323px);
}

.cls-13,
.cls-23 {
  filter: blur(3.54839px);
}

.cls-10,
.cls-19,
.cls-24,
.cls-25 {
  filter: blur(5px);
}

.cls-24,
.cls-21,
.cls-23 {
  fill: #ffffff;
}

.cls-53 {
  fill: #ff3344;
}

.matrix-value-point {
  text-anchor: middle;
  alignment-baseline: middle;
}

.cls-28 {
  font-size: 12.9501px;
  line-height: 11px;
}

.cls-29 {
  font-size: 12.0251px;
  line-height: 10px;
}

.cls-33 {
  font-size: 12px;
  line-height: 81.9%;
}

.cls-43 {
  font-size: 5.76471px;
  line-height: 81.9%;
}

.cls-44 {
  font-size: 10px;
  line-height: 81.9%;
  text-anchor: middle;
}

.cls-54,
.cls-55,
.cls-56 {
  font-size: 29.7851px;
  line-height: 37px;
}

.cls-57,
.cls-58 {
  font-size: 17.2946px;
  line-height: 22px;
}

.cls-59,
.cls-60 {
  font-size: 21.1378px;
  line-height: 26px;
}

.cls-61 {
  font-size: 6px;
  line-height: 81.9%;
}

.cls-28,
.cls-29,
.cls-33,
.cls-43,
.cls-44,
.cls-54,
.cls-57,
.cls-59,
.cls-61 {
  fill: #f5f5f5;
}

.cls-55,
.cls-58,
.cls-60 {
  fill: #000000;
}

.cls-56 {
  fill: #d2b154;
}

/* health-map and purposes table styles */

tbody {
  font-family: Georgia, serif;
  font-size: 1.25em;
}

tr {
  text-align: center;
}

.font-size16 {
  font-family: Georgia, serif;
  font-size: 1em;
}

.table-padding {
  padding-bottom: 1.25em;
}

.table-padding-top {
  padding-top: 1.25em;
}

.font-size18 {
  font-family: Georgia, serif;
  font-size: 1.125em;
}

#purposes {
  /* font-size: 70%; */
  width: 100%;
  max-width: 50em;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.25em;
}

#blom {
  padding-right: 6.25em;
}

#blom2 {
  padding-right: 6.25em;
}

.purposes-top {
  margin-top: 5em;
}

h3 {
  text-transform: uppercase;
}

#chakra_table {
  position: relative;
}

.base-circle {
  border: 1px solid white;
  border-radius: 50%;
  width: 2.5em;
  height: 2.5em;
  display: inline-block;
  text-align: center;
  line-height: 2.5em;
}

.star__wrap9 {
  position: absolute;
  bottom: -2.65em;
  right: -2.05em;
}

.star__wrap10 {
  position: absolute;
  bottom: 4.9em;
  right: -10.5em;
  font-size: 1.25em;
}

.star__wrap11 {
  position: absolute;
  bottom: 11em;
  right: -4.625em;
  font-size: 1.25em;
  opacity: 0.1;
}

.star__wrap12 {
  position: absolute;
  bottom: 23em;
  right: -6.4em;
  font-size: 1.25em;
}

.star__wrap13 {
  position: absolute;
  bottom: 34.813em;
  right: -10.5em;
  font-size: 1.25em;
  opacity: 0.1;
}

.star__wrap14 {
  position: absolute;
  bottom: 36.813em;
  right: 2.5em;
  font-size: 1.25em;
}

.star__wrap15 {
  position: absolute;
  bottom: 27.813em;
  right: 48.5em;
  font-size: 1.25em;
}

.star__wrap16 {
  position: absolute;
  bottom: 21.5em;
  right: 43em;
  font-size: 1.25em;
  opacity: 0.1;
}

.star__wrap17 {
  position: absolute;
  bottom: 8.5em;
  right: 47em;
  font-size: 1.25em;
}

.star__wrap18 {
  position: absolute;
  bottom: -4em;
  right: 42em;
  font-size: 1.25em;
  opacity: 0.1;
}

.compatibility-table__adaptiv {
  display: none;
}

/*media desktop version */

@media screen and (min-width: 1920px) {
  body {
    font-size: 19.2px;
  }
}

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

  .logo {
    display: block;
    margin-bottom: 10px;
    font-family: Georgia, serif;
    font-size: 22px;
    font-weight: 600;
  }

  header,
  main,
  footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hamburger {
    display: block;
    padding: 13px 13px;
    cursor: pointer;
    position: fixed;
    background-color: #13131394;
    border-radius: 50%;
    top: 15px;
    right: 15px;
    z-index: 10;
  }

  .hamburger.active {
    top: 5px;
    right: 5px;
    background-color: transparent;
  }

  .hamburger.active .hamburger__span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .hamburger__span:nth-child(1) {
    transform: translate(3px, -1.9px) rotate(45deg);
  }

  .hamburger.active .hamburger__span:nth-child(3) {
    transform: translate(1.8px, 1.6px) rotate(-45deg);
  }

  .header-left {
    display: none;
  }

  .header-right {
    margin: 0;
    padding: 0;
  }

  .header-brand__logo {
    height: 64px;
  }

  .header-brand__name {
    font-size: 14px;
  }

  .lang-switch {
    margin-left: 0;
    font-size: 12px;
  }

  /* Stop decorative stars from creating horizontal scroll on phones/tablets */
  html,
  body {
    overflow-x: hidden;
  }

  [class^="star__wrap"] {
    display: none !important;
  }

  /* Header: keep logo + name + tools + language on one tidy row, wrap if needed */
  .header {
    flex-wrap: wrap;
    gap: 8px 10px;
    font-size: 1em;
  }

  .header-brand {
    gap: 0.5em;
    min-width: 0;
  }

  .header-right {
    gap: 10px;
  }

  .nav-dropdown__toggle {
    font-size: 12px;
    padding: 0.35em 0.7em;
  }

  .nav-dropdown__menu {
    min-width: 0;
    max-width: 88vw;
  }

  .nav-dropdown__item {
    white-space: normal;
  }

  /* Responsive main titles */
  .desteny-container p,
  .personal-calculator p {
    font-size: clamp(20px, 6.5vw, 44px);
  }

  /* Stack the single-person date / name / button vertically */
  .birthday-container__inputs-wrapper {
    width: 100%;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "input1"
      "input2"
      "button";
    grid-gap: 12px;
    justify-items: center;
  }

  /* Stack the compatibility labels / inputs / button vertically */
  .birthday-container__inputs-wrapper-comp {
    width: 100%;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto auto;
    grid-template-areas:
      "label-partner1"
      "input1"
      "label-partner2"
      "input2"
      "button";
    grid-column-gap: 0;
    grid-row-gap: 8px;
    justify-items: center;
  }

  .birthday-container__inputs-wrapper-comp .label-partner2 {
    margin-top: 0.6em;
  }

  #get_the_answer,
  #createChart {
    align-self: center;
    margin-top: 0.3em;
  }

  /* Let the matrix scale fully to the screen width */
  #matrix {
    min-width: 0;
    width: 100%;
    margin: 6% 0;
  }

  /* Result tables fit the viewport */
  .extras-table,
  .chakra-table {
    width: 100%;
  }
}

@media screen and (max-width: 640px) {
  .footer p {
    margin-bottom: 30px;
  }

  .socialmedia-wrapper:first-child {
    margin-bottom: 10px;
  }

  .socialmedia-wrapper_first .socialmedia-item img {
    max-width: 35px;
  }

  #youtube {
    max-width: 46px;
  }

  .socialmedia-wrapper_second .socialmedia-item img {
    max-width: 31px;
  }
}

@media screen and (max-width: 479px) {
  body {
    font-size: 4.79px;
  }

  .birthday-container__inputs-wrapper {
    width: 100%;
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    grid-template-areas:
      "input1"
      "input2"
      "button";
    grid-gap: 10px;
    justify-items: center;
  }

  .birthday-container__inputs-wrapper-comp {
    width: 100%;
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 0.2fr 1fr 0.2fr 1fr 1fr;
    grid-template-areas:
      "label-partner1"
      "input1"
      "label-partner2"
      "input2"
      "button";
    grid-row-gap: 10px;
    justify-items: center;
  }

  label {
    font-size: 14px;
  }


  #date,
  #name,
  #date_person1,
  #date_person2 {
    width: 138px;
    height: 38px;
    padding: 5px 30px;
    font-size: 16px;
  }

  #get_the_answer,
  #createChart {
    width: 200px;
    height: 50px;
    padding: 5px;
    font-size: 16px;
  }

  .desteny-container p,
  .personal-calculator {
    font-size: 28px;
    text-align: center;
  }

  .footer p {
    margin-bottom: 25px;
    font-size: 18px;
  }

  .desteny-container,
  .personal-calculator p {
    padding: 20px 0;
  }

  .birthday-container {
    margin-bottom: 0;
  }

  .birthday-container p,
  .output-personal-date,
  .output2 {
    font-size: 16px;
    text-align: center;
  }

  .personal-calculator p {
    margin: 0;
  }

  tbody {
    font-size: 10px;
  }

  .chakra-table {
    max-width: 100%;
  }

  .errorOutput,
  .wrongDate {
    font-size: 16px;
  }

  .star__wrap1,
  .star__wrap2,
  .star__wrap3,
  .star__wrap4,
  .star__wrap5,
  .star__wrap6,
  .star__wrap7,
  .star__wrap8,
  .star__wrap9,
  .star__wrap10,
  .star__wrap11,
  .star__wrap12,
  .star__wrap13,
  .star__wrap14,
  .star__wrap15,
  .star__wrap16,
  .star__wrap17,
  .star__wrap18 {
    display: none;
  }

  #decode-matrix-btn {
    margin: 2.5em 0 2.5em 0;
    width: 300px;
    height: 70px;
    padding: 5px;
    font-size: 16px;
  }

  .cls-54,
  .cls-55,
  .cls-56 {
    font-size: 32px;
  }

  .cls-57,
  .cls-58 {
    font-size: 20px;
  }

  .cls-59,
  .cls-60 {
    font-size: 22px;
  }

  #blom {
    padding-right: 2.625em;
  }

  #blom2 {
    padding-right: 2.625em;
  }

  .glow2 {
    position: absolute;
    width: 49em;
    height: 52em;
    background: #ffffff;
    filter: blur(14.6875em);
    z-index: -1;
  }

  .glow {
    width: 50em;
    height: 3.4em;
    background: #ffffff;
    filter: blur(4.6875em);
  }

  .glow-btn {
    width: 60em;
    height: 7.5em;
    background: #ffffff;
    filter: blur(4.6875em);
  }

  .compatibility-table {
    display: none;
  }

  .compatibility-table__adaptiv {
    display: block;
  }

  .socialmedia-wrapper {
    gap: 7px;
  }

  .socialmedia-wrapper_second {
    gap: 14px;
  }

  .socialmedia-wrapper:first-child {
    margin-bottom: 8px;
  }

  .socialmedia-wrapper_first .socialmedia-item img {
    max-width: 25px;
  }

  #youtube {
    max-width: 34px;
  }

  .socialmedia-wrapper_second .socialmedia-item img {
    max-width: 22px;
  }
}

.extras {
  margin: 4em 0 2em 0;
  color: #ffffff;
  font-family: Georgia, serif;
}

.extras h2 {
  font-size: 1.6em;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 2em 0 0.8em 0;
  font-weight: normal;
  text-align: left;
}

.extras-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  overflow: hidden;
}

.extras-table td {
  padding: 0.9em 1.2em;
  font-size: 1.05em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  vertical-align: middle;
}

.extras-table tr:last-child td {
  border-bottom: none;
}

.extras-table td:first-child {
  color: #d8d8d8;
}

.extras-table .extras-val {
  text-align: right;
  white-space: nowrap;
}

.triple-num {
  display: inline-block;
  min-width: 1.4em;
  text-align: center;
  font-weight: bold;
}

.triple-num:last-child {
  color: #ffd84a;
}

.triple-dot {
  opacity: 0.5;
  margin: 0 0.3em;
}

.age-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5em;
}

.age-decade {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  padding: 1.4em 1.6em;
}

.age-decade h3 {
  margin: 0 0 0.6em 0;
  font-size: 1.15em;
  font-weight: bold;
}

.age-decade ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: "Courier New", monospace;
}

.age-decade li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1em;
  padding: 0.22em 0;
  font-size: 0.9em;
}

.age-decade li > span:last-child {
  min-width: 1.6em;
  text-align: right;
  font-weight: bold;
}

.age-range {
  color: #cfcfcf;
}

.found-programs {
  list-style: none;
  padding: 1.2em 1.6em;
  margin: 0;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
}

.found-programs li {
  padding: 0.5em 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 1.05em;
}

.found-programs li:last-child {
  border-bottom: none;
}

.found-programs-empty {
  font-style: italic;
  opacity: 0.7;
}

.program-triple {
  font-family: "Courier New", monospace;
  font-weight: bold;
  color: #ffffff;
  min-width: 6em;
  display: inline-block;
}

.program-sep {
  opacity: 0.5;
}

.program-name {
  color: #d8d8d8;
}

@media (max-width: 768px) {
  .age-grid {
    grid-template-columns: 1fr;
  }
}

