*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

body {
  line-height: 1.25;
  -webkit-font-smoothing: antialiased;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

#root,
#__next {
  isolation: isolate;
}

:root {
  --lightGrey: #f5f7fa;
  --darkGrey: #c8d6e5;
  --accent-blue: #4834d4;
  --accent-purple: #6c5ce7;
  --text-primary: #2d3436;
  --text-secondary: #636e72;
  --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 8px 32px rgba(0, 0, 0, 0.15);
  --border-radius: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.main {
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.main::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 1px,
    transparent 1px
  );
  background-size: 50px 50px;
  animation: float 20s infinite linear;
  opacity: 0.3;
}

@keyframes float {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.container {
  width: min(90vw, 1000px);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: var(--shadow-medium);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
  animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.container:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.searchCityDiv {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.searchCityDiv input {
  flex: 1;
  height: 60px;
  border: 2px solid var(--lightGrey);
  border-radius: 15px;
  padding: 0 20px;
  font-size: 1.1rem;
  color: var(--text-primary);
  background: white;
  transition: var(--transition);
  box-shadow: var(--shadow-light);
}

.searchCityDiv input:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 4px rgba(72, 52, 212, 0.1);
  transform: translateY(-2px);
}

.searchCityDiv input::placeholder {
  color: var(--text-secondary);
  font-weight: 400;
}

.searchCityDiv button {
  width: 60px;
  height: 60px;
  border: none;
  border-radius: 15px;
  background: linear-gradient(
    135deg,
    var(--accent-blue) 0%,
    var(--accent-purple) 100%
  );
  color: white;
  font-size: 1.8rem;
  font-weight: 300;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.searchCityDiv button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--shadow-medium);
}

.searchCityDiv button:active {
  transform: translateY(-1px) scale(0.98);
}

.weatherContentDiv {
  display: none;
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#City {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 25px;
  text-align: center;
  background: linear-gradient(
    135deg,
    var(--accent-blue) 0%,
    var(--accent-purple) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.todayPanelDiv {
  display: flex;
  align-items: flex-start;
  gap: 25px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.8) 0%,
    rgba(248, 250, 252, 0.9) 100%
  );
  padding: 25px;
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  box-shadow: var(--shadow-light);
  border: 1px solid rgba(255, 255, 255, 0.3);
  flex-wrap: wrap;
}

.tempInfo {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  min-width: 300px;
}

.todayPanelImg {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
  animation: bounce 3s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.tempDiv {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  flex-wrap: wrap;
}

#temperature {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tempDiv p {
  font-size: 1.4rem;
  margin-top: 8px;
  font-weight: 600;
  transition: var(--transition);
}

.tempCelciusText {
  color: var(--accent-blue);
}

.tempFahrenheitText {
  color: var(--text-secondary);
}

.tempFahrenheitText:hover,
.tempCelciusText:hover {
  cursor: pointer;
  transform: scale(1.1);
  color: var(--accent-purple);
}

.tempDiv div {
  margin-left: 15px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 120px;
}

.tempDiv div p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  transition: var(--transition);
}

.tempDiv div p:hover {
  background: rgba(72, 52, 212, 0.1);
  transform: translateX(5px);
}

.dayInfo {
  text-align: right;
  min-width: 180px;
  max-width: 220px;
  flex-shrink: 0;
}

.dayInfo h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 15px;
}

.dayInfo p {
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
  margin: 8px 0;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

#loadingScreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 30px;
  justify-content: center;
  align-items: center;
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.95) 0%,
    rgba(118, 75, 162, 0.95) 100%
  );
  backdrop-filter: blur(20px);
  color: white;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

#loadingScreen h1 {
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 25px;
    margin: 10px;
    width: calc(100vw - 20px);
  }

  .todayPanelDiv {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    align-items: center;
  }

  .tempInfo {
    justify-content: center;
    min-width: auto;
    width: 100%;
  }

  .dayInfo {
    text-align: center;
    min-width: auto;
    max-width: none;
    width: 100%;
  }

  #temperature {
    font-size: 3rem;
  }

  #City {
    font-size: 2rem;
  }

  .todayPanelImg {
    width: 70px;
    height: 70px;
  }

  .tempDiv {
    justify-content: center;
  }

  .tempDiv div {
    margin-left: 10px;
  }
}

@media (max-width: 480px) {
  .searchCityDiv {
    flex-direction: column;
    gap: 10px;
  }

  .searchCityDiv button {
    width: 100%;
    height: 50px;
  }

  .container {
    padding: 20px;
  }

  #temperature {
    font-size: 3rem;
  }
}


/*# sourceMappingURL=main.css.map*/