body {
  overflow: hidden;
  background-color: black;
  color: white;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  padding-top: 10px;
}

/* Define the fade-out animation */
@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

/* Apply the animation to the body */
body.animate-out {
  animation: fadeOut 0.2s ease-in-out forwards;
}

.welcomeH1 {
  font-size: 5vw;
  position: absolute;
  right: 27vw;
  top: 25vh;
  color: rgb(117, 239, 153);
}

input, textarea, button {font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;}

p {
  margin: 0;
  padding: 0;
}

a {
  color: rgb(99, 99, 99);
  display: flex;
  height: 16%;
  text-decoration: none;
  align-items: center;
}

.home-text {
  font-size: 33px;
  width: 100%;
}

a i {
  transition: all 0.23s ease-in-out;
  display: inline-block; /* Needed for transform to work properly */
  transform: scale(1); /* Smoothly scales icon size */
}

a:hover i {
  color: rgb(255, 255, 255);
  transform: scale(1.3); /* Smoothly scales icon size */
}

.topbarButt {
  border: none;
  background-color: transparent;
  color: wheat;
  font-size: 0.9vw;
  padding: 5px 15px 0 15px;
  cursor: pointer;
  border-radius: 8px;
  transition: 0.08s ease;
}

.topbarButt:hover {
  color: white;
}

.topbarButt:active {
  background-color: rgb(19, 19, 19);
  transition: 0.03s ease;
}

.most-upper-head-div {
  position: absolute;
  display: flex;
  visibility: hidden;
  opacity: 0;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 5vw;
  text-align: center;
  background-color: rgb(32, 32, 32);
  z-index: 100000;
  transition: opacity 0.8s;
}

.most-upper-head-div.hidden {
  visibility: visible;
  opacity: 1;
}

input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.custom-popup {
  background-color: #151515;
  color: white;
}

.fa-arrow-left {
  font-size: 1.5vw;
  margin-right: 0.6vw;
  margin-left: 0.6vw;
  cursor: pointer;
  transition: color 0.15s ease;
}

.fa-arrow-left:hover {
  color: #dd4949;
}

.fa-arrow-left:active {
  color: #3c0f0f;
}

.topbarButt-div {
  display: flex;
  gap: 5vw;
  align-items: center;
}

.comp-inp {
  background-color: transparent;
  border-color: white;
  border-radius: 0.2vw;
  height: 30px;
  color: white;
  font-size: 1vw;
  padding-left: 1vw;
}

.profit-link {
  all: unset;
  color: rgb(165, 165, 165);
  cursor: pointer;
}

.fa-chart-bar {
  font-size: 2vw;
}

.fa-chart-bar:hover {transform: scale(1);}

.translation-link {
  all: unset;
  color: rgb(165, 165, 165);
  cursor: pointer;
}

.fa-language {
  font-size: 2vw;
}

.fa-language:hover {transform: scale(1);}