/* global styles */
/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
body {
  font-family: system-ui, sans-serif;
  font-weight: 400;
}
.h1 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  font-weight: 600;
}
.h2 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  font-weight: 600;
}
/*.layout and view styling */
header {
  padding: 1rem;
}
footer {
  padding: 1rem;
}
.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
body {
  background-image: url("./public/NATUREgoed-01.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  overflow: hidden;
}
li {
  background: rgba(255, 255, 255, 0.3);

  backdrop-filter: blur(10px);
  height: 18rem;
  width: 22rem;
  margin: 1rem;
  border-radius: 8px;
}
ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-self: center;
  justify-self: center;
}
ul li a {
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: black;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  place-items: center;
}
.city-name {
  font-weight: bold;
  text-transform: capitalize;
  font-size: 24px;
}
.local-time {
  font-size: 20px;
}
.zoekHome {
  padding: 12px 20px;
  width: 300px;
  font-size: 20px;
  border: 2px solid #ccc;
  border-radius: 25px;
  outline: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.zoekHome:focus {
  border-color: #4a90e2;
  box-shadow: 0 0 8px rgba(74, 144, 226, 0.6);
  background-color: #f9f9f9;
}
.home-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  gap: 1rem;
}
.temperatuur {
  font-size: 28px;
}
.omschrijving {
  font-size: 20px;
}
.detailPagina {
  & h1 {
    font-size: 2rem;
    text-align: center;
    margin-top: 3rem;
  }

  & .middenBlok {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    height: 65vh;
    width: 65vw;
    margin: 1rem;
    border-radius: 8px;
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(3, 2fr);
    grid-template-rows: repeat(2, 1fr);
    place-items: center;
  }

  & .flexBox {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  & .achtergrondDetail {
    width: 100vw;
    height: 100vh;
    position: absolute;
    left: 0;
    top: 0;
    object-fit: cover;
  }

  .content-wrapper {
    z-index: 1;
    position: relative;
  }

  & svg {
    width: 20%;
    height: 20%;
  }

  & .sunriseSet {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;

    & section {
      display: flex;
      align-items: center;
      gap: 1rem;
      font-size: 30px;
    }
  }

  & .icoontje {
    width: 100%;
    object-fit: contain;
  }

  & .voeltals,
  .windSpeed,
  .Luchtvochtigheid {
    font-size: 30px;
  }

  & .eersteBlok p,
  .tweedeBlok p,
  .sunriseSet .peen {
    position: absolute;
    top: 20px;
  }

  & .derdeBlok .ptwee,
  .vierdeBlok .pdrie,
  .vijfdeBlok .pvier {
    position: absolute;
    top: 16rem;
  }

}
@view-transition {
  navigation: auto;
}
/* component styling */
.card {
  width: 100%;
  max-width: 300px;
}
.card__image {
  width: 100%;
  height: auto;
  margin-top: 1rem;
}
body {
  color: black;
  max-width: 1440px;
  margin: 0 auto;
}
main {
  padding: 1rem;
}
