body.hide-cursor,
body.hide-cursor * {
  cursor: none;
}

:root{
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

html {
  font-size: 100%;

}

body
{
  background-color: black;
  font-family: var(--font-sans);

  overflow-x: hidden;
}

body, html
{
  margin: 0;
  padding: 0;

  height: 100%;
}

#cosmic
{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

#cursor-star {
  position: fixed;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  pointer-events: none;

  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 255, 255, 0.5) 30%,
    rgba(255, 255, 255, 0.1) 60%,
    rgba(255, 255, 255, 0) 100%
  );

  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
  z-index: 9999;

  opacity: 1;
  transition: opacity 0.2s ease;
}

.cursor-black {
  background: radial-gradient(
    circle,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.5) 30%,
    rgba(0, 0, 0, 0.1) 60%,
    rgba(0, 0, 0, 0) 100%
  ) !important;
  mix-blend-mode: normal !important;
}

#cursor-star.hidden {
  pointer-events: none;
  opacity: 0;
}

.main_info_container
{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2%;

    width: 100%;

    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;

    margin-bottom: 10%;
}

.main_info_container.visible {
  opacity: 1;
  transform: translateY(0);
}

.left_info
{
    display: flex;
    flex-direction: column;
    align-items: center;

    width: 50%;
}


.right_info
{
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    margin-left: 10%;

    width: 50%;
}

.avatar-wrapper
{
  width: 170px;
  height: 170px;
  border-radius: 50%;
  border: 10px solid #f3efd4;
  overflow: hidden;
  box-shadow: 0 7px 0 #3c272c;
  display: inline-block;
  margin-left: auto;
}

.avatar-wrapper img
{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.title
{
    font-family: 'Inter', sans-serif;
    font-size: 4rem;
    line-height: 1.1;
    color: #f3efd4;
    text-shadow: 0 7px 0 #3c272c;
    text-align: right;

    max-width: 500px;
    word-wrap: break-word;
    white-space: normal;

    margin-left: auto;
}

.description
{
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    line-height: 1.1;
    color: #f3efd4;
    text-shadow: 0 3px 0 #3c272c;
    text-align: right;

    width: 100%;
    max-width: 500px;
    word-wrap: break-word;
    white-space: normal;

    margin-left: auto;
}

.social-btn
{
  display: flex;
  justify-content: space-between;
  align-items: center;

  width: 100%;
  max-width: 350px;
  padding: 16px 24px;

  border: none;
  border-radius: 999px;

  color: #f3efd4;
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: bold;

  box-shadow: 0 7px 0 #3c272c87;
  cursor: pointer;

  transition: transform 0.2s, box-shadow 0.2s;

  text-decoration: none;

  margin-bottom: 5%;
}

.social-btn:hover
{
  transform: translateY(-2px);
  box-shadow: 0 5px 0 #3c272c87;
}

.social-btn img
{
  height: 35px;
  width: 35px;
  margin-left: 12px;

}

.lang-switch-fixed {
  position: fixed;
  top:  calc(env(safe-area-inset-top, 0px) + 12px);
  right: calc(env(safe-area-inset-right, 0px) + 12px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;

  opacity: 0;
  transition: opacity .6s ease-out;
}

.lang-switch-fixed.visible { opacity: 1; }

.lang-btn-flag {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, #3a0ca3, #7209b7, #f72585);
  border: none; border-radius: 12px;
  cursor: pointer; padding: 5px;
  transition: transform .2s, box-shadow .2s, filter .2s;
}

.lang-btn-flag svg {
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

.lang-btn-flag:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.lang-btn-flag:active {
  transform: translateY(2px);
}

@media (max-width: 768px)
{
  .main_info_container
  {
    flex-direction: column;
  }

  .avatar-wrapper
  {
    margin-left: 0px;
  }

  .title
  {
    font-size: 2rem;
    text-align: center;
    max-width: 300px;
    margin-left: 0px;
  }

  .description
  {
    text-align: center;
    margin-bottom: 10%;
    max-width: 400px;
    margin-left: 0px;
  }

  .social-btn 
  {
    margin-bottom: 10%;
    padding-left: 2%;
    padding-right: 2%;
  }

  .left_info
  {
    width: 100%; 
  }

  .right_info
  {
    margin-left: 0px;
    align-items: center;
    width: 100%;    
  }

  .logo_grid
  {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 20px;
    padding: 40px 20px;
    background-color: rgb(214, 214, 214);
    border-radius: 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
    max-width: 1000px;
    margin: 0 auto;

    margin-bottom: 10%;

    margin-left: 5%;
    margin-right: 5%;
  }

  .social-btn span
  {
    padding-left: 5%;
  }

  .social-btn img
  {
    padding-right: 5%;
  }

  #cursor-star
  {
    opacity: 0;
  }
}