@import url("https://fonts.googleapis.com/css?family=Rubik:400,500i&display=swap");
@import "https://cdn.jsdelivr.net/npm/bulma@0.9.1/css/bulma.min.css";

html,
body {
  width: 100%;
  height: 100vh;
  margin: 0;
  background: radial-gradient(#1c5666, #061c22);
  overflow: hidden;
  font-family: "Rubik", sans-serif;
}

#header,
#footer,
#legend {
  display: none;
}

h1 {
  opacity: 0.8;
}

p {
  font-size: 110%;
  opacity: 0.8;
}

@media (max-width: 472px) {
  p {
    font-size: 0.95em;
  }
}

a {
  color: white;
  text-decoration: none;
  transition: color 0.5s;
}

a:hover {
  color: lightgray;
}

.hidden {
  display: none !important;
}

.section {
  display: none;
}

.title,
.subtitle {
  color: white;
}

.subtitle {
  opacity: 0.6;
}

.title,
.subtitle {
  font-family: "Rubik", sans-serif;
}

.is-dark {
  background-color: rgba(0, 0, 0, 0) !important;
}

.navbar-item {
  color: rgba(255, 255, 255, 0.7) !important;
}

.navbar-item:hover,
.navbar-item.is-active {
  color: white !important;
  background-color: rgba(0, 0, 0, 0) !important;
}

.modal {
  padding: 100px 40px 20px 40px;
}

.modal-background {
  background: rgba(0, 21, 30, 0.7);
}

.modal-content {
  color: rgba(255, 255, 255, 0.8);
  padding: 20px 0 100px 0;
  align-items: center;
}

#login .modal-content {
  text-align: center;
}

#associates-navbar {
  text-align: right;
  margin-top: 85px;
  margin-right: 25px;
  padding-right: 25px;
  border-right: 1px solid rgb(255 255 255 / 39%);
}

.associate-link {
  padding: 5px;
  transition: padding-right 0.5s;
}

.associate-link:hover {
  cursor: pointer;
  padding-right: 0;
}

#associate-info {
  width: 100%;
  text-align: center;
}

#associate-title {
  font-size: 150%;
  font-weight: bold;
  text-transform: uppercase;
}

#associates-content {
  margin-top: 10px;
}

#associates .modal-content {
  height: calc(100vh - 40px);
  display: flex;
  justify-content: center;
}

#associates-content > div > img {
  opacity: 0.6;
  transition: opacity 0.5s;
}

#associates-content > div > img:hover {
  opacity: 1;
}

.tooltiptext p {
  margin: 0;
}

.tooltiptext .name {
  font-size: 90%;
  padding-bottom: 10px;
}

.tooltiptext .desc {
  font-size: 75%;
  opacity: 0.6;
}

.tooltip {
  position: relative;
  display: inline-block;
  text-align: center;
  opacity: 0.8;
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  background-color: black;
  color: #fff;
  text-align: center;
  padding: 10px;
  line-height: 1.2;
  border-radius: 6px;

  /* Position the tooltip text - see examples below! */
  position: absolute;
  z-index: 1;

  width: 200px;
  top: 95%;
  left: 50%;
  margin-left: -100px;
  /* Use half of the width (120/2 = 60), to center the tooltip */
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
  visibility: visible;
}

/* Tooltip arrow */
.tooltip .tooltiptext::after {
  content: " ";
  position: absolute;
  bottom: 100%;
  /* At the top of the tooltip */
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent black transparent;
}

@media (max-width: 680px) {
  #navbar {
    background-color: rgb(16, 16, 16, 0.8) !important;
  }

  #associates-content {
    display: flex;
    flex-direction: column;
    text-align: center;
  }

  #associates-content .column {
    flex-grow: 0;
  }

  #associates-content > div > img {
    max-height: 100px;
    max-width: 150px;
  }
}

/* Done overriding Bulma */

#globe,
#particles {
  position: absolute;
  height: 100%;
  width: 100%;
  z-index: 3;
}

#header,
#footer {
  position: absolute;
  text-align: center;
  color: rgb(173, 6, 6);
  z-index: 10;
}

#header {
  top: 0;
  width: 100%;
}

#footer {
  bottom: 0;
  margin-left: 10%;
  width: 80%;
}

#social-media {
  display: flex;
  right: 16px;
  /* right: 30px; */
  bottom: 10px;
  /* bottom: 30px; */
  position: fixed;
  justify-content: center;
  z-index: 10;
}

#social-media img {
  width: 25px;
  margin: 0 8px;
  opacity: 0.6;
  transition: opacity 0.5s;
}

#social-media img:hover {
  opacity: 1;
}

#userfooter {
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  position: fixed;
  bottom: 30px;
  width: 100%;
  animation: mmfadeIn 5s;
  z-index: 5;
}

#footerstyle {
  margin: auto;
  max-width: 250px;
}

#user-count {
  color: white;
  font-size: 170%;
  font-weight: bold;
}

@media (max-width: 680px) {
  #legend {
    display: none !important;
  }

  #user-count {
    font-size: 150%;
  }
}

@media (min-width: 680px) {
  #social-media {
    display: flex;
  }

  #legend {
    display: none;
    position: absolute;
    right: 20px;
    bottom: 20px;
    text-align: center;
  }

  #legend p {
    color: white;
    margin-bottom: 5px;
    font-size: 0.8em;
  }

  .legend-marker {
    position: absolute;
    color: white;
    width: 100%;
    opacity: 0.8;
    margin-top: 1px;
  }

  #legend-start {
    text-align: left;
    left: 8px;
  }

  #legend-end {
    text-align: right;
    right: 8px;
  }

  #gradient {
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    width: 250px;
    height: 20px;
    background: rgb(19, 19, 19);
    background: linear-gradient(
      90deg,
      rgba(19, 19, 19, 1) 0%,
      rgba(56, 0, 0, 1) 5%,
      rgba(255, 0, 0, 1) 100%
    );
  }

  #logo {
    height: 60px;
    top: 2em;
  }

  #navstyle {
    right: 3em;
    top: 2.3em;
  }
}

.muted {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.9em;
}

.muted a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}

.muted a:hover {
  color: rgba(255, 255, 255, 1);
}

.earth-overlay.tbf-img {
  width: 10px;
}

.earth-overlay:not(.tbf-img):not(.line-user-count) {
  color: white;
  border: 1px solid white;
  border-radius: 10px;
  text-align: center;
  width: 150px;
  /* display: none; */
}

.earth-overlay:not(.tbf-img) img {
  width: 100%;
  height: auto;
  margin-bottom: -7px;
  border-radius: 10px 10px 0 0;
}

.earth-overlay:not(.tbf-img) .title {
  padding: 10px;
  background-color: black;
  font-size: 1em;
  margin-bottom: 0;
  border-top: 1px solid white;
  border-bottom: 1px solid white;
}

.earth-overlay:not(.tbf-img) .changed {
  font-size: 0.7em;
}

.earth-overlay:not(.tbf-img) .user-count {
  display: flex;
  position: absolute;
  top: -27px;
  right: 5px;
  padding: 2px 5px 0px 5px;
  border-top-right-radius: 5px;
  border-top-left-radius: 5px;
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(1px);
}

.earth-overlay:not(.tbf-img) .user-count img {
  height: 16px;
  margin-left: 5px;
  margin-top: 3px;
}

.earth-overlay.line-user-count {
  display: none;
  border: 0;
  color: #71ffff;
  margin-bottom: 2px;
  animation: mmfadeIn 5s;
}

.info {
  padding: 10px;
  font-size: 0.8em;
  border-radius: 0 0 10px 10px;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(1px);
}

.info .--equation {
  display: flex;
  justify-content: space-around;
}

.info .--descriptors {
  font-size: 0.7em;
  line-height: 1.1;
}

.info .--equation {
  margin-top: 5px;
}

.info .--effect {
  font-size: 1.5em;
  line-height: 1.25;
}

.--positive {
  color: #78b36d;
}

.--negative {
  color: #dd5757;
}

.--bold {
  font-weight: 800;
}

.tiny {
  color: #ccc;
  font-size: 0.7em;
}

#total-cases {
  color: goldenrod;
}

#total-deaths {
  color: #ff4848;
}

#total-recovered {
  color: #1ae021;
}

#logo {
  position: fixed;
  left: 2em;
  top: 2.3em;
  height: 50px;
  border: none;
  z-index: 50;
}

#navstyle {
  position: fixed;
  right: 2em;
  top: 2.25em;
  border: none;
}

#more-info-button {
  border: 0;
  border-radius: 5px 5px 0 0;
  padding: 7px 10px;
  background-color: #1a1a1a;
  color: gray;
  font-weight: bold;
  font-size: 1em;
  font-family: "Rubik", sans-serif;
  transition: background-color 0.3s;
}

.scrollBar {
  scrollbar-width: none;
}

::-webkit-scrollbar {
  width: 0px;
}

::-webkit-scrollbar-track-piece {
  background-color: transparent;
}

#more-info-button:hover,
#more-info-button:focus,
#more-info-button:active {
  outline: none;
  background-color: #2a2a2a;
  cursor: pointer;
}

.modal {
  font-family: -apple-system, BlinkMacSystemFont, avenir next, avenir,
    helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif;
  z-index: 30;
}

.modal a {
  color: white;
}

.modal a:hover {
  text-decoration: underline;
}

.modal__overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 15;
}

.modal__container {
  background-color: #222;
  padding: 30px;
  width: 500px;
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 8px;
  overflow-y: auto;
  box-sizing: border-box;
}

.modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal__title {
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.25;
  color: goldenrod;
  box-sizing: border-box;
}

.modal__close {
  background: transparent;
  border: 0;
  color: white;
}

.modal__header .modal__close:before {
  content: "\2715";
}

.modal__content {
  margin-top: 2rem;
  /* margin-bottom: 2rem; */
  line-height: 1.5;
  color: #c8c7c7;
}

.modal__btn {
  font-size: 0.875rem;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  background-color: darkred;
  color: lightgray;
  border-radius: 0.25rem;
  border-style: none;
  border-width: 0;
  cursor: pointer;
  -webkit-appearance: button;
  appearance: button;
  text-transform: none;
  overflow: visible;
  line-height: 1.15;
  margin: 0;
  -moz-osx-font-smoothing: grayscale;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  transition: background-color 0.2s;
}

.modal__btn:focus,
.modal__btn:hover {
  background-color: rgb(92, 0, 0);
}

.modal-buttons {
  margin-top: 15px;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 15px;
}

.btn-login {
  text-transform: none;
  border: 1px solid white;
  border-radius: 5px;
  padding: 10px;
  transition: background-color 0.5s;
  width: 50%;
}

.btn-login.ggl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.btn-login:hover {
  text-decoration: none !important;
  background-color: rgba(255, 255, 255, 0.2);
}

.btn-login img {
  width: 20px;
}

.lineshadow {
  box-shadow: 120px, 80px, 40px, 20px, #0ff;
}

@keyframes mmfadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes mmfadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes mmslideIn {
  from {
    transform: translateY(15%);
  }

  to {
    transform: translateY(0);
  }
}

@keyframes mmslideOut {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-10%);
  }
}

.micromodal-slide {
  display: none;
}

.micromodal-slide.is-open {
  display: block;
}

.micromodal-slide[aria-hidden="false"] .modal__overlay {
  animation: mmfadeIn 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.micromodal-slide[aria-hidden="false"] .modal__container {
  animation: mmslideIn 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__overlay {
  animation: mmfadeOut 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__container {
  animation: mmslideOut 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.micromodal-slide .modal__container,
.micromodal-slide .modal__overlay {
  will-change: transform;
}

.resp-sharing-button__link,
.resp-sharing-button__icon {
  display: inline-block;
}

.resp-sharing-button__link {
  text-decoration: none;
  color: #fff;
  margin: 0.5em;
}

.resp-sharing-button {
  border-radius: 5px;
  transition: 25ms ease-out;
  padding: 0.5em 0.75em;
  font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
}

.resp-sharing-button__icon svg {
  width: 1em;
  height: 1em;
  margin-right: 0.4em;
  vertical-align: top;
}

.resp-sharing-button--small svg {
  margin: 0;
  vertical-align: middle;
}

/* Solid icons get a fill */
.resp-sharing-button__icon--solid,
.resp-sharing-button__icon--solidcircle {
  fill: #fff;
  stroke: none;
}

.resp-sharing-button--facebook {
  background-color: #3b5998;
  border-color: #3b5998;
}

.resp-sharing-button--facebook:hover,
.resp-sharing-button--facebook:active {
  background-color: #2d4373;
  border-color: #2d4373;
}

.resp-sharing-button--twitter {
  background-color: #55acee;
  border-color: #55acee;
}

.resp-sharing-button--twitter:hover,
.resp-sharing-button--twitter:active {
  background-color: #2795e9;
  border-color: #2795e9;
}

.resp-sharing-button--email {
  background-color: #777777;
  border-color: #777777;
}

.resp-sharing-button--email:hover,
.resp-sharing-button--email:active {
  background-color: #5e5e5e;
  border-color: #5e5e5e;
}

.resp-sharing-button--linkedin {
  background-color: #0077b5;
  border-color: #0077b5;
}

.resp-sharing-button--linkedin:hover,
.resp-sharing-button--linkedin:active {
  background-color: #046293;
  border-color: #046293;
}

#loader {
  position: absolute;
  z-index: 10;
  border: 16px solid rgba(0, 0, 0, 0.6);
  /* Light grey */
  border-top: 16px solid darkred;
  /* Blue */
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;
  top: 50%;
  left: 50%;
  margin: -60px 0 0 -60px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* ANIMATIONS */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes dropDown {
  from {
    height: 0;
  }

  to {
    height: 40vh;
  }
}

/* LEGEND */
.section.legend {
  position: absolute;
  top: 6rem;
}

.cont-left {
  margin: 0;
}

.legend {
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  /* gap: 20px; */
  cursor: pointer;
}

.legend p.mobile-text-bio-cap {
  display: none;
}

.legend .legends {
  padding: 20px 10px;
  z-index: 3;
  font-size: 10px;
  border-radius: 50px;
}

.legend .about-bio-cap {
  padding: 20px;
  visibility: hidden;
  max-width: 450px;
  font-size: 14px;
}

.legend .about-bio-cap h2 {
  font-weight: bold;
  text-align: center;
  font-size: 16px;
}

.legend .about-bio-cap a {
  color: #67bcdd;
  font-weight: bold;
  text-decoration: underline;
}

.about-bio-cap div {
  background: rgba(170, 200, 255, 0.2);
  padding: 20px;
  border-radius: 20px;
}

.legend .legends {
  background: rgba(170, 200, 255, 0.2);
}

.legend .legends ul li {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 12px;
}

.legend .legends ul li:last-child {
  margin-bottom: 0;
}

.legend .legends span.color-dot {
  padding: 10px;
  border-radius: 50px;
}

.legend:hover .about-bio-cap:not(.active),
.legend .about-bio-cap:not(.active):hover {
  visibility: visible;
  z-index: 3;
  animation: fadeIn 200ms;
}

/* COUNTRY BALL ON RANKINGS AND DROPDOWN MENU */
.country-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.country-list-item .country-flag {
  border-radius: 50px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 15px;
}

/* DROPDOWN COUNTRIES MENU */
#telescope {
  fill: rgba(255, 255, 255, 0.7);
  width: 30px;
}

.countries-dropdown {
  background: rgba(170, 200, 255, 0.2);
  /* background: rgba(255, 255, 255, 0.2); */
  border-radius: 50px;
  /* width: 12rem; */
  width: 10rem;
  height: 40px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  position: relative;
  cursor: pointer;
  z-index: 10;
}

.countries-dropdown:hover {
  border-radius: 20px 20px 0 0;
}

.countries-dropdown a {
  margin: 0;
  padding: 0;
}

.countries-dropdown a:hover {
  color: rgba(255, 255, 255, 0.7) !important;
}

.countries-dropdown-menu {
  display: none;
  position: absolute;
  overflow-y: scroll;
  height: 40vh;
  /* top: 52px; */
  top: 40px;
  width: 100%;
  border-radius: 0 0 20px 20px;
  /* background: rgba(255, 255, 255, 0.2); */
  background: rgba(170, 200, 255, 0.2);
  transition: 200ms;
  font-size: 14px;
  z-index: 3;
  padding: 10px 0;
}

.countries-dropdown-menu div {
  display: flex;
  align-items: center;
  padding: 0 20px 10px;
}

.countries-dropdown-menu div i {
  font-size: 25px;
  fill: rgba(255, 255, 255, 1);
}

.country-input {
  width: 100%;
  border: none;
  border-radius: 0;
  background: none;
  padding: 10px;
  font-size: 15px;
  color: rgba(255, 255, 255, 1);
  font-weight: bold;
}

.country-input:focus {
  outline: none;
  border: none;
}

.countries-dropdown:hover .countries-dropdown-menu,
.countries-dropdown-menu:hover {
  animation: dropDown 100ms;
  display: block;
}

.countries-dropdown > img {
  width: 25px;
}

.countries-dropdown-menu ul li {
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 10px 20px;
  transition: 150ms;
}

.countries-dropdown-menu ul li:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* MEMBERS */
.section.members {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 15rem;

  z-index: 3;
}

@media (max-width: 1270px) {
  .section.members {
    left: 9px;
    top: 46px;
    margin: 0;
  }
}

@media (min-width: 1271px) {
  .section.members {
    left: 0;
    margin: 0 auto 0 250px;
    top: 0;
  }
}

@media screen and (max-width: 1023px) {
  .navbar-menu,
  #navbar {
    background-color: #101010cc !important;
  }
}

.current-members {
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.current-members h2 {
  font-size: 14px;
}

.members-slider {
  position: relative;
  display: flex;
  align-items: center;
  margin: 5px 0;
}

.members-slider span {
  display: block;
}

.members-slider span.ball {
  width: 10px;
  height: 10px;
  background: #76dcff;
  border-radius: 50%;
  position: absolute;
  cursor: pointer;
}

.members-slider span.slider {
  width: 100%;
  height: 2px;
  background: #289ad0b3;
  border-radius: 50px;
}

/* DROPDOWN HEADER */
.menu-dropdown {
  position: relative;
}

.menu-dropdown .associates-dropdown-menu,
.menu-dropdown .login-dropdown-menu,
.menu-dropdown .logged-dropdown-menu {
  position: absolute;
  top: 3rem;
  /* background: rgba(255, 255, 255, 0.2); */
  background: rgba(170, 200, 255, 0.2);
  border-radius: 20px;
  padding: 20px;
  font-size: 14px;
  /* display: none; */
  opacity: 0;
  visibility: hidden;
  transition: 200ms;
}

.menu-dropdown .associates-dropdown-menu {
  left: -12px;
  width: auto;
}

.menu-dropdown .login-dropdown-menu,
.menu-dropdown .logged-dropdown-menu {
  right: 0;
  /* top: 3.25rem !important; */
  top: 2rem !important;

  /* background: #1d3d75 !important;
    border-radius: 0 0 20px 20px; */
  width: 101.33px;
}

.menu-dropdown li {
  margin-bottom: 12px;
  cursor: pointer;
  transform: 150ms;
}

.menu-dropdown li:last-child {
  margin-bottom: 0;
}

.menu-dropdown:hover .associates-dropdown-menu,
.menu-dropdown:hover .login-dropdown-menu:not(.hidden),
.menu-dropdown:hover .logged-dropdown-menu:not(.hidden) {
  animation: fadeIn 250ms ease 1 forwards;
  opacity: 1;
  visibility: visible;
}

#toggle-associates {
  height: 52px;
}

/* .associates-dropdown {
    display: flex;
    align-items: center;
    flex-direction: column;
} */

/* RANKINGS */
/* LEFT-SIDE */
.cont-bottom {
  margin: 0;
  position: absolute;
  bottom: 0;
  left: 6rem;
  display: flex;
  gap: 20px;
}

.cont-bottom .ranking-container {
  /* top: 16rem !important; */
  top: 18rem !important;
}

/* RIGHT-SIDE */
.cont-bottom-right {
  margin: 0;
  position: absolute;
  /* bottom: 0; */
  bottom: -120px;
  right: 10rem;
  display: flex;
  gap: 20px;
}

.commitment-ranking.ranking-container {
  height: 500px;
}

.ranking-container {
  background: rgba(170, 200, 255, 0.2);
  /* background: rgba(255, 255, 255, 0.2); */
  border-radius: 20px 20px 0 0;
  padding: 10px 0;
  position: relative;
  top: 21.5rem;
  color: rgba(255, 255, 255, 0.7);
  transition: 100ms;
  z-index: 10;
  /* width: 11rem; */
  width: 9rem;
  text-align: center;
  cursor: pointer;
}

.ranking-container h2 {
  font-weight: bold;
  font-size: 13px;
  margin-bottom: 23px;
  white-space: nowrap;
}

.ranking-container ul li {
  font-size: 14px;
  /* padding: 10px 20px; */
  padding: 10px 14px;
}

.ranking-container ul li .country-flag {
  padding: 12px;
}

.ranking-container:hover {
  top: 0 !important;
}

.new-members-ranking.ranking-container:hover {
  top: 5rem !important;
}

.username-list-item {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow-x: hidden;
}

.members-ranking {
  height: 320px;
}

.members-ranking .scroll-overlay,
.country-ranking .scroll-overlay {
  height: 252px;
  overflow-y: scroll;
  /* background: rgba(170, 200, 255, 0.2); */
  /* width: 11rem; */
}
.members-ranking:hover {
  top: 0.5rem !important;
}
.members-ranking-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.members-ranking-list li span:nth-child(2) {
  text-align: start;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow-x: hidden;
  /* width: 65px; */
  width: 45px;
  font-size: 13px;
}
.members-ranking-list li div {
  display: flex;
  align-items: center;
  gap: 12px;
}
.more-ranking {
  margin-top: 10px;
}

.country-ranking {
  height: 320px;
}

.country-ranking:hover {
  top: 0.5rem !important;
}

.country-ranking-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.country-ranking-list li span:nth-child(2) {
  text-align: start;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow-x: hidden;
  /* width: 65px; */
  width: 45px;
  font-size: 13px;
}

.country-ranking-list li div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.country-ranking-list li .country-color {
  padding: 12px;
  border-radius: 50%;
}

.commitment-ranking-list li .commitment-name {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow-x: hidden;
}

.commitment-ranking-list li .commitment-count {
  margin-left: auto;
}

/* MEMBER POPUP */
@keyframes showPopup {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes hidePopup {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

.new-member-popup-section {
  display: block;
  position: absolute;
  top: 3rem;
  right: 0;
  opacity: 0;
}

.new-member-popup-section.show {
  animation: showPopup 200ms;
}

.new-member-popup-section.hide {
  animation: hidePopup 200ms;
}

.new-member-popup-section.hidden {
  display: none;
}

.new-member-popup-container {
  display: flex;
  align-items: flex-end;
}

.new-member-popup {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.2);
  padding: 15px;
  border-radius: 30px;
}

.new-member-popup h2 {
  font-weight: bold;
  font-size: 12px;
  margin-bottom: 10px;
}

/* LOGIN COLOR */
#toggle-login {
  background: #1d3d75;
  border-radius: 10px;
  color: #fff !important;
  padding: 5px 10px !important;
  transition: 200ms background;
  height: 28px;
}

#toggle-login:hover {
  background: #1d3d75 !important;
}

#mobile-social-media {
  display: none;
}

#profile {
  cursor: pointer;
  text-decoration: none;
}

.desktop-profile {
  display: block;
}

.mobile-profile {
  display: none;
}

.mobile-links {
  display: none;
}

/* MOBILE */
@media (max-width: 1024px) {
  .desktop-profile {
    display: none;
  }

  .mobile-profile {
    display: block;
  }

  .logo {
    z-index: 3;
  }

  .cont-bottom,
  .cont-bottom-right,
  .associates-dropdown-menu,
  .login-dropdown-menu,
  .logged-dropdown-menu,
  .countries-dropdown {
    display: none !important;
  }

  .btn-login {
    width: 100%;
  }

  #toggle-associates,
  #toggle-login,
  #profile {
    height: auto;
  }

  #toggle-login,
  #profile {
    background: none;
    padding: 0.5rem 0.75rem;
    cursor: default;
    color: rgba(255, 255, 255, 0.7) !important;
  }

  #toggle-login:hover,
  #profile:hover {
    background: none !important;
  }

  .mobile-links {
    display: block;
  }

  #social-media {
    display: none;
  }

  #mobile-social-media {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
  }

  #mobile-social-media a {
    width: 20px;
    display: flex;
  }

  #mobile-social-media a img {
    filter: brightness(75%);
  }

  .section.members {
    left: 0;
    right: 0;
    margin: 0 0 0 auto;
    padding-right: 0;
    z-index: 2;
    width: 160px;
  }

  .section.members .current-members h2 {
    position: relative;
    /* right: 15px; */
  }

  .section.legend {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
  }

  .legend .cont-left {
    display: flex;
    justify-content: end;
    flex-direction: column;
    height: 100%;
  }

  .legend .legends {
    margin: 0 auto 34px;
    background: none;
  }

  .legend .legends ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #aac8ff33;
    border-radius: 500px;
    padding: 10px 20px;
  }

  .legend .legends ul li {
    margin: 0;
    /* font-size: 9px; */
    white-space: nowrap;
  }

  .legend .legends ul li i {
    font-size: 20px !important;
  }

  .legend .legends ul li:not(:first-child) {
    flex-direction: column-reverse;
  }

  .legend .about-bio-cap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 110px;
    z-index: 60;
    margin: 0 auto;
    width: 100%;
  }

  .legend:hover .about-bio-cap:not(.active),
  .legend .about-bio-cap:not(.active):hover {
    visibility: hidden;
    z-index: 1;
  }

  .legend p.mobile-text-bio-cap {
    display: block;
    text-align: center;
  }

  .about-bio-cap div {
    margin-top: -10px;
    background: #a0d7fd;
    color: black;
  }

  .about-bio-cap {
    width: 460px;
  }

  .legend .about-bio-cap a {
    color: #042835;
  }
}

@media (max-width: 390px) {
  .legend .legends ul {
    gap: 10px;
    padding: 10px;
  }
}

@media (min-height: 800px) {
}

@media (max-height: 667px) {
  /* .about-bio-cap {
    width: 350px;
  }

  .section.legend {
    top: 6rem;
    transform: none;
    width: initial;
  }

  .about-bio-cap div {
    margin-top: -90px;
  } */
}

@media (min-width: 1024px) {
  .navbar-end {
    align-items: center;
    gap: 10px;
    font-size: 14px;
  }

  .navbar-item {
    padding: 0.5rem 0 !important;
  }

  #profile {
    padding: 0 !important;
    width: 28px;
    height: 28px;
  }

  .section.members {
    padding-top: 37px !important;
  }
}
