/* RESET */
@font-face {
  font-family: 'MyCustomFont';
  src: url('calibril.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: MyCustomFont;
  font-weight: bold;
}

/* HEADER */
.header {
  /*position: sticky;*/
  top: 0;
  z-index: 1000;
  background: #0b1599;
  color: white;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGOS */
.logo-container {
  display: flex;
  align-items: center;
  gap: 2px;
}

.agency {
  font-size: 1.7rem;
  text-shadow: 3px 3px 3px grey;
}

.logo-container img {
  height: 75px;
}

/* MENU */
.menu {
  background: transparent;
}

.nav-list {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.nav-list > li {
  position: relative;
}

.nav-list a {
  display: block;
  padding: 12px 16px;
  text-decoration: none;
  color: #fff;
}

.nav-list a:hover {
  background: #fff;
  background: transparent;
  color: yellow;
}

/* Dropdown */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 180px;
  background: rgba(0,0,0,0.85); /* dark dropdown */
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
  z-index: 1000;
}

.dropdown-menu li a {
  padding: 10px 14px;
  white-space: nowrap;
  color: #fff;
}

.dropdown-menu li a:hover {
  background: rgba(255,255,255,0.1); /* soft hover */
}

.dropdown:hover .dropdown-menu {
  display: block;
}


/* CONTENT */
.content {
  padding: 20px;
  min-height: 80vh;
  background-color: #EFF3F9;
}

/*SECTION*/
section {
  margin-top: 2%;
  margin-bottom: 2%;
}

.citybg {
  background-image: url("../photos/Obando_church.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: 500px;
}

#time {
  background: #0b1599;
  width: 35%;
  color: white;
  padding: 10px 10px 10px 10px;
  font-size: 1.25rem;
  text-align: center;
  border-radius: 20px;
  margin-bottom: 2%;
}
/* FOOTER */
.footer {
  /*position: fixed;*/
  bottom: 0;
  left: 0;
  width: 100%;
  background: #333;
  color: white;
  text-align: center;
  padding: 10px 0;
}

/*content*/
.main-weather {
  display: flex;
  box-shadow: 10px 5px 5px 5px lightgrey;
  border-radius: 20px;
  gap: 10px;
  padding: 10px 10px 10px 20px;
  background-color: #0b1599;
}

.weather-sum {
  width: 30%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: white;
}

.weather-icon {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.weather-icon img{
  width: 30%;
  margin: 0 auto;
}

.weather-icon span {
  margin: 0 auto;
}

.weather-data {
  width: 70%;
}

.weather-details {
  display: flex;
  align-items: center;
}


.left {
  display: inline-block;
  width: 50%;
  vertical-align: top;
  font-size: 20px;
  text-align: center;
}


.right {
  text-align: center;
  font-size: 40px;
  width: 50%;
} 

.weather-data {
  display: flex;
  gap: 20px;
}

.weather-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-self: center;
  width: 40%;
}

.weather-heatair {
  width: 60%;
}

.weather-list div{
  border-radius: 10px;
  text-align: left;
  background-color: white;
  padding: 10px 10px 10px 10px;
}

.weather-air {
  display: flex;
  flex-direction: column;
}

.heatindex{
  border-radius: 20px;
  width: 95%;
  font-size: 42px;
  background-color: rgb(255, 210, 10);
  text-align: center;
}

.weather-air {
  background-color: white;
  border-radius: 20px;
  margin-top: 2%;
  text-align: center;
  padding: 5px 5px 5px 5px;
  width: 95%;
}

.air-title {
  font-weight: bold;
  font-size: 24px;
}

.air-reading {
  font-weight: bold;
  font-size: 72px;
  text-shadow: 20px 20px 20px 20px;
}

.air-status {
  font-weight: bold;
  color: white;
  background-color: green;
  border-radius: 20px;
}

/*tide block*/
.tide-container {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.tide-block {
  width: 90%;
  height: 50px;
  text-align: center;
  background-color: #0b1599;
  color: white;
  align-content: center;
}
.weather-card {
  display: flex;
  gap: 15px;
  margin-top: 3%;
  min-height: calc(10vh - 50px);
}

.weather-cardbox{
  padding: 10px 10px 10px 10px;
  width: 20%;
  box-shadow: 1px 1px 1px 1px;
  border-radius: 20px;
}

.cardbox-date {
  text-align: center;
  opacity: 1px;
  color: black;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.cardbox-date img {
  width: 30%;
  text-align: center;
}

.hourly-datas {
  display: flex;
  flex-direction: column;
  min-height: calc(5vh - 50px);
  /*border: 1px solid black;*/
  border-radius: 20px;
  gap: 10px;
  box-shadow: 10px 5px 5px 5px lightgrey;
  padding: 20px 20px 20px 20px;
}

.datas {
  display: flex;
  flex-direction: row;
  gap: 5px;
  font-size: 24px;
  text-align: center;
  align-items: center;
}

.hourly-time, .hourly-temp, .hourly-percentage, .hourly-wind {
  width: 15%;
}

.hourly-description {
  width: 40%;
}

.hourly-percentage img {
  width: 20%;
  align-items: center;
}

.forecast-title {
  width: 100%;
  background-color: #0b1599;
  padding: 5px 5px 5px 5px;
  color: white;
  text-align: center;
  text-transform: uppercase;
}

/*rain*/
.rain-container {
  display: flex;
  gap: 10px;
}

.rain {
  width: 50%;
  /*border: 1px solid lightgrey;*/
  border-radius: 5px;
}

.rain-title {
  text-decoration: underline;
  text-decoration-color: red;
  text-transform: uppercase;
  font-size: 32px;
  color: #0b1599;
  font-weight: bold;
  text-align: center;
  margin-bottom: 2%;
}

.rain-table {
  display: flex;
  width: 100%;
  gap: 20px;
} 
.rain-table div {
  width: 50%;
}
.rain-table table {
  width: 100%;
  text-align: center;
}

.rain-datas {
  height: 35px;
}

.rain-table table td {
  height: 50%;
  font-size: 16px;
}

.w-cat, .w-heat {
  width: 50%;
  align-content: center;
  align-items: center;
}

.w-cat img {
  width: 100%;
}

.w-heat img{
  height: 500px;
  width: 100%;
}

.main-brgy {
  display: flex;
  gap: 10px;
}

.main-brgy-title {
  width: 95%;
  color: white;
  margin-left: 5%;
  margin-right: 5%;
  background-color: #0b1599;
  color: white;
  font-size: 32px;
  text-transform: uppercase;
  text-align: center;
  border-radius: 10px 10px 10px 10px;
}

.heatable{
  margin-top: 5%;
  background-color: #0b1599;
  color: white;
  width: 95%;
  text-align: center;
  font-size: 32px;
  margin-left: 5%;
}

.mbrgy-table, .mbrgy-map {
  width: 50%;
}

/* MAP */
#map {
  border-radius: 10px 10px 10px 10px;
  height: 900px;
  width: 50%;
}


/*barangay*/
.brgy-title {
  background: blue;
  margin-bottom: 2%;
  padding: 10px 10px 10px 10px;
  color: white;
  width: 35%;
  text-align: center;
  border-radius: 10px 10px 10px 10px;
}

.brgy-forecast {
  text-transform: uppercase;
  font-size: 32px;
  background: blue;
  padding: 10px 10px 10px 10px;
  color: white;
  border-radius: 10px 10px 10px 10px;
  text-align: center;
  width: 35%;
}

.table-forecast {
  margin-top: 2%;
  margin-bottom: 2%;
  width: 100%;
  text-align: center;
  font-size: 1.5rem;
}

.forecast-container {
  display: flex;
  gap: 10px;
  padding: 10px 10px 10px 10px;
  min-height: 35vh;
}

.forecast-land {
  width: 30%;
  background-image: url('../photos/brgy/panghulo.jpg');
  background-position: center;
  background-repeat: no-repeat;
}

.forecast-chart {
  width: 70%;
}

/*EFFECT*/
.effect {
  margin-top: 3%;
  display: flex;
  flex-direction: column;
  background: #0b1599;
  border-radius: 10px 10px 10px 10px;
  min-height: 10vh;
  margin-left: 5%;
  gap: 20px;
}

.effect h3 {
  text-decoration: underline;
  font-size: 32px;
  color: white;
  text-align: center;
}

.effectable {
  margin-left: 2%;
  margin-right: 2%;
  margin-bottom: 2%;
}

.effectext {
  font-size: 20px;
  color: white;
  padding: 10px 10px 10px 10px;
}
