*{
  min-height: 1vh;
}

body {
  margin: 0;
  padding: 0;
  font-family: monospace;
  background-color: #333;
  color: #fff;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 100%;
}

h1 {
  margin-top: 50px;
  font-size: 3em;
  text-shadow: 2px 2px 4px #000;
  text-align: center;
}

.container{
  display: flex;
  flex-direction: column;

  align-items: center;
  min-height: fit-content;
}
.Background{
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  border-radius: 16px;
  opacity: .4;
  z-index: -50;

}

.card { 
  width: fit-content;
  color: #fff;
  text-align: center;
  min-width: 50%;
  min-height: 75%;
  padding: 20px;
  padding-bottom: 20%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: linear-gradient(160deg,rgba(0, 162, 255, 0.2), rgba(0, 255, 55, 0.2));
  border-radius: 16px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(2px); 
  position: relative;
}

.locationParent{
  border: 1px solid black;
  border-radius: 10px;
  padding: 5%;
  margin: 0;
  height: fit-content;
  z-index: 1;
  opacity: 1;
  position: absolute;
  background-color: rgba(68, 68, 68, .4);
  transition: all .4s linear;
  top: 0px;
  left: 0px;
  width: 90%;
}
.locationParentHiden{
  z-index: -1;
  opacity: 0;
  width: 20%;
}

.textInput {
  width: 100%;
  margin: 10px 0px 10px 0px;
}
.selectInput {
  appearance: none;
  border: none;
  outline: none;
  background-color: transparent;
  padding: 5px;
  font-size: 16px;
  cursor: pointer;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #f8f8f8;
  color: #333;
  width: 100%;
  margin: 10px 0px 10px 0px;
  transition: border-color 0.3s ease;
}

.selectInput::after {
  content: '\25BC';
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  pointer-events: none;
}

.selectInput:focus {
  border-color: #007bff;
}

.selectInput:hover {
  border-color: #999;
}

.selectInput:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.selectItem{
 width: 99%;
 margin: 0;
 padding: 0;
 margin: 1px 0px 1px 0px;
 border: 1px solid black;
 border-radius: 10px;
 background-color: rgba(105, 105, 105, 0.7);
}
.selectItem:hover{
  background-color: rgba(116, 116, 116, 0.7);
}
.selectItem:active{
  background-color: rgba(68, 68, 68, .7);
}

#suggestionList{
  list-style-type: none;
  max-height: 200px;
  width: 100%;
  overflow-y: auto;
  border: 1px solid #ccc;
  margin: 0;
  margin-left: 1px;
  padding: 0;
}

#weatherDescription, #temperature {
  margin: 0;
}

#weatherIcon {
  width: 40%;
  height: 40%;
  object-fit: contain;
  margin-bottom: -10%;
}
.OpenAiButton{
  position: absolute; 
  bottom: 10px; 
  left: 10px; 
  width: 20px; 
  z-index: 10;
  scale: 1;
  transition: all .2s ease-in;
}
.OpenAiButton:hover{
  scale: 1.1;
}
.OpenAiButton:active{
  scale: 1.3;
}

.OpenAiTextBox{
  position: absolute;
  overflow-y: scroll;
  margin: 0;
  margin-left: 5%;
  bottom: 0px;
  padding: 0;
  opacity: 1;
  width: 80%;
  height: 30%;
  border: 1px solid black;
  border-radius: 10px;
  background-color: rgba(68, 68, 68, .4);
  transition: all .4s linear;
}
.OpenAiTextBoxHiden{
  opacity: 0;
  width: 10%;
}

.LoadingImage{
  width: 20%;
  background-color: transparent;
  animation: SpinAnim 2s linear infinite;
}

@keyframes SpinAnim {
  0% {
    transform: rotate(360deg) scale(0.8);
    opacity: 0.5;
  }
  50% {
    transform: rotate(180deg) scale(1.2);
    opacity: 1;
  }
  100% {
    transform: rotate(0deg) scale(0.8);
    opacity: 0.5;
  }
}
#countryInput{
  margin-bottom: 0px;
}
.TokenCounter{
  position: relative;
  right: 2px;
  color: red;
}