/* =========================
   FONT IMPORT
   ========================= */
@font-face {
  font-family: "Clash Display";
  font-weight: 400;
  font-style: normal;
  src: url("./assets/fonts/ClashDisplay-Regular.woff2") format("woff2"),
    url("./assets/fonts/ClashDisplay-Regular.woff") format("woff");
  font-display: swap;
}

@font-face {
  font-family: "Clash Display";
  font-weight: 500;
  font-style: normal;
  src: url("./assets/fonts/ClashDisplay-Medium.woff2") format("woff2"),
    url("./assets/fonts/ClashDisplay-Medium.woff") format("woff");
  font-display: swap;
}

@font-face {
  font-family: "Clash Display";
  font-weight: 600;
  font-style: normal;
  src: url("./assets/fonts/ClashDisplay-Semibold.woff2") format("woff2"),
    url("./assets/fonts/ClashDisplay-Semibold.woff") format("woff");
  font-display: swap;
}

@font-face {
  font-family: "Clash Display";
  font-weight: 700;
  font-style: normal;
  src: url("./assets/fonts/ClashDisplay-Bold.woff2") format("woff2"),
    url("./assets/fonts/ClashDisplay-Bold.woff") format("woff");
  font-display: swap;
}

/* =========================
   RESET & BASE
   ========================= */
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Clash Display", sans-serif;
  background: #fef7ed;
  color: #2c2c2c;
}

/* Text default margin reset */
h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
  padding: 0;
}

/* =========================
   HEADER
   ========================= */
header {
  padding: 10px 200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid;
}

/* Location Container */
.header-location {
  display: flex;
  align-items: center;
  height: 42px;
  padding: 0 40px;
  border: 3px solid #000;
  border-radius: 100px;
  background: #fff;
  transform: rotate(-3.5deg);
}

/* City Text */
.header-location-city {
  font-size: 32px;
  font-weight: 600;
}

/* =========================
   MAIN WEATHER
   ========================= */
.main-weather {
  margin: 60px auto;
  width: 1200px;
  height: 600px;
  background: #fff;
  box-shadow: 6px 6px 0 #000;
  border: 4px solid #000;
  display: flex;
  align-items: center;
}

.main-weather-temperature {
  width: 50%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-weather-temperature .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.main-weather-temperature .container .current-weather {
  font-size: 36px;
  font-weight: 600;
  color: #9333ea;
}

.main-weather-temperature .container h1 {
  font-size: 122px;
  font-weight: 600;
}

.main-weather-temperature .container .status {
  font-size: 48px;
  font-weight: 500;
}

.main-weather-temperature .container .switch {
  font-size: 28px;
  font-weight: 400;
  margin-top: 20px;
  width: 250px;
  background: #ffdc58;
  box-shadow: 6px 6px 0 #000;
  border: 4px solid #000;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.main-weather-temperature .container .switch:active {
  box-shadow: none;
  transform: translate(6px, 6px);
}

.main-weather-temperature .container .weather-details {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 100px;
}

.main-weather-temperature .container .weather-details .humidity,
.main-weather-temperature .container .weather-details .wind {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 24px;
  font-weight: 600;
}

.main-weather-temperature .container .weather-details .humidity-value,
.main-weather-temperature .container .weather-details .wind-value {
  display: flex;
  font-weight: 500;
  margin-top: 5px;
}

.main-weather-temperature .container .weather-details .humidity-value p,
.main-weather-temperature .container .weather-details .wind-value p {
  margin-left: 5px;
}

.main-weather-icon {
  width: 50%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* =========================
   HOUR-WEEK TOGGLE
   ========================= */
.hour-week-toggle {
  margin: 50px auto;
  width: 300px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 3px solid #000;
  border-radius: 25px;
  overflow: hidden;
}

.hour-week-toggle .hourly,
.hour-week-toggle .weekly {
  width: 50%;
  height: 100%;
  font-size: 24px;
  font-weight: 500;
  color: #f472b6;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.hour-week-toggle .hourly {
  border-right: 2px solid #000;
}

.hour-week-toggle .active {
  background-color: #f472b6;
  color: #fff;
}

/* =========================
   HOUR-WEEK CARDS
   ========================= */
.hour-week-container {
  margin: 0 auto;
  margin-bottom: 100px;
  width: 1500px;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

.hour-week-container .left-arrow,
.hour-week-container .right-arrow {
  width: 50px;
  height: 50px;
  background-color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid #000;
}

.hour-week-container .card1,
.hour-week-container .card2,
.hour-week-container .card3 {
  width: 320px;
  height: 500px;
  background: #f472b6;
  box-shadow: 6px 6px 0 #000;
  border: 4px solid #000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hour-week-container .inside-card {
  width: 260px;
  height: 400px;
  background: #fff;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  font-weight: 600;
  gap: 5px;
}

.hour-week-container .inside-card .status {
  font-weight: 500;
}

.hour-week-container .inside-card .precipitation {
  font-weight: 400;
}

/* =========================
   UV & TIPS SECTION
   ========================= */
.index-tips-container {
  margin: 0 auto;
  margin-bottom: 80px;
  width: 1200px;
  height: 450px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #61a5fa;
  box-shadow: 6px 6px 0 #000;
  border: 4px solid #000;
  gap: 20px;
}

.index-tips-container h1 {
  margin-left: 50px;
  color: #fff;
  font-weight: 600;
  font-size: 42px;
}

.index-tips-container .uv-index,
.index-tips-container .tips {
  margin: 0 auto;
  width: 1100px;
  height: 140px;
  background-color: #fff;
  border: 4px solid #000;
}

.index-tips-container .uv-index {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.index-tips-container .uv-index .uv-index-title {
  margin-left: 20px;
  font-size: 28px;
  font-weight: 600;
}

.index-tips-container .uv-index .uv-index-values {
  margin-left: 20px;
  display: flex;
  align-items: center;
}

.index-tips-container .uv-index .uv-index-values .circle {
  width: 60px;
  height: 60px;
  border: 3px solid #000;
  border-radius: 50%;
  background-color: #f97316;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 32px;
  font-weight: 600;
}

.index-tips-container .uv-index .uv-index-values .title-explanation {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.index-tips-container .uv-index .uv-index-values .title {
  font-size: 28px;
  font-weight: 600;
  margin-left: 20px;
}

.index-tips-container .uv-index .uv-index-values .explanation {
  font-size: 20px;
  font-weight: 500;
  margin-left: 20px;
}

.index-tips-container .tips {
  display: flex;
  align-items: center;
}

.index-tips-container .tips img {
  margin-left: 20px;
}

.index-tips-container .tips p {
  margin-left: 20px;
  font-size: 20px;
  font-weight: 500;
}

/* =========================
   FOOTER
   ========================= */
footer {
  width: 100%;
  height: 80px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 1px solid #000;
  font-size: 18px;
  font-weight: 500;
}
