/*@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Mooli&family=Open+Sans:wght@300;400;500;600;700;800&family=Roboto:wght@100;300;400;500;700;900&display=swap");*/

@font-face {
  font-family: 'ubunturegular';
  src: url('ubuntu-r-webfont.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'lalezarregular';
  src: url('lalezar-regular-webfont.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

/* CSS resets */
  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;
  }
  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;
  }

  /* weather CSS styles */
  body {
    background-color: #325197;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    font-family: "ubunturegular", sans-serif;
    margin: 0;
    padding: 0;
    color: rgb(228, 246, 252); /* Text color */
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  hr {
    width:50%;
    color: lightseagreen
  }

  .shortline {
    width: 10%;
    color: lightseagreen;
  }
 
  .container {
    text-align: center;
    position: relative;
    width: 95vw;
   }
  
  h1 {
    font-size: 2vh;
    font-weight: bold;
    color: #ffffff;
    letter-spacing: 2px; 
    text-align: center; 
    text-shadow: 2px 2px 4px rgba(192, 192, 192, 0.4); 
    border-bottom: 1px, solid, black;
    padding: 14px;
  }
  
  h2 {
    font-size: 1.90vh;
    font-weight: bold;
    color: #ffffff;
    letter-spacing: 2px; 
    text-align: center;
  }

  .search {
    margin-top: 10px;
    display: flex;
    justify-content: left;
  }

  .inputtext {
    font-size: 4vh;
    text-align: center;
    font-family: "lalezarregular", sans-serif;
    width: 100vw;
    color: rgb(62, 56, 97);
    background-color: lightseagreen;
  }
     
  .weather-info {
    margin-top: 0px;
  }

  .current-weather {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    text-align: center;
  }

  .forecast {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    text-align: center;
  }
  
  .currtemp, .high, .condition {
    border-radius: 10px;
    text-align: center;
    padding: 5px;
    margin: 0px;
  }

  .currtemp p {
    font-size: 10vh;
  }

  .condition p, .high p {
    font-size: 3vh;
    padding: 1px;
  }

  .feelslike p {
    font-size: 2vh;
    padding: 1px;
  }

  .sun p {
    font-size: 2vh;
    padding: 2px;
  }

  .forecast-day {
    flex: 1;
    border-radius: 5px;
    padding: 8px;
    text-align: center;
  }

  .fcondition, .fsun, .fhighlow {
    font-size: 2.5vh;
  }
  
    .forecast-date {
    font-size: 2.5vh;
  }
  
.hourly-forecast {
    display: -webkit-flexbox;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 5px;
    white-space: nowrap; 
    overflow-x: auto; /* Allows horizontal scrolling */
}

.hour-column {
    display: -webkit-flexbox;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: column; 
    align-items: center;
    min-width: 75px;
    text-align: center;
    border-left: 1px solid lightseagreen;
}

.hr-temperature {
    font-size: 1.75vh;
}

.hr-sun {
    font-size: 1.75vh;
}

.hr-time {
    font-size: 1.75vh;
    font-weight: bold;
}
