/* Universal Styles */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth !important;
  font-family: 'Montserrat', sans-serif;
}

h1 {
font-weight: 400;
font-size: 35px;
line-height: 1.2em;
letter-spacing: 0.1em;
text-transform: uppercase;
}

h2 {
  font-size: 25px;
  font-weight: 400;
  line-height: 1.2em;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  }

h3 {
  font-size: 18px;
  font-style: italic;
  font-weight: 200;
  text-transform: lowercase;
  letter-spacing: 0.1em;
}

h4 {
  font-size: 18px;
  text-transform: capitalize;
  font-weight: 400;
  letter-spacing: 0.1em;
}

.container {
  padding-left: 100px;
  padding-right: 100px;
  width: 100vw; 
}

body {
  line-height: 1.8em;
  font-size: 14px;
  color: #2F3E46;
  background: linear-gradient(rgb(255, 255, 255), rgba(255, 255, 255, 0.63), #ffffffb9), 
  url("/assets/images/river.png");
  background-size: cover;

}

a {
  text-decoration: none;
  color: #52796F;
}

a:visited {
  color: #52796F;
}

 /* Navigation */

.navContainer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px 5px 50px;
  
}

.navLogo {
  text-transform: uppercase;
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  font-size: 48px;
  line-height: 59px;
  letter-spacing: 0.1em;
}

.navLogo img {
  width: 190px;
}

.navListContainer {
  display: flex;
  justify-content: space-evenly;
  list-style-type: none;
}

.navItem {
  padding: 16px;
  font-size: 14px;
  letter-spacing: 0.1em;
  font-weight: 500;
}

/* nav anchor tag styling */

nav a:hover {
  text-decoration: 1.5px solid line-through #2F3E46 ;

  
}


/* dark mode button  */

.dark-mode {
  /* background-color: #2F3E46; */
  background: linear-gradient( #000, #2F3E46, #000),
  url("/assets/images/Challenges.png");
  color: white;
}


/* button styling */

.btnClass {
  padding:10px;
  background-color: #2F3E46;
  text-transform: uppercase;
  color: white!important;
  font-size: 12px;
  border:none;
  letter-spacing: 2px;
}

/* Image Header & Intro Paragraph */

/* //see MEDIA QUERIES For .mainHeader styling */

.headerContent {
  padding: 130px;
  width: 50%;
} 

.headerh2 {
  /* text-decoration: 5px solid overline #84A98C ; */
  padding-bottom: 10px;
}

hr {
  margin-top: 20px;
  margin-bottom:20px;
  border-top: #CAD2C5 solid 2px;

}

.headerh2 img {
  opacity: .1;
}

.headerBtn  {
  margin-bottom: 20px;
}

.headerImage {
  display: block;
  position: relative;
  /* width: 50%; */
  height: 100vh;
  object-fit: cover;
}

.mobile-image {
  display:none;
}

.headerCaption{
  padding-bottom: 10px;
  width: 95%;
  color: white;
  position: absolute;
  border-bottom: 1.8px solid white;
  bottom: 20%;
  left: 5%;
  font-size: 12px;
}

main {
  margin-bottom: 50px;
}

/* Form  */

.formHeader {
  text-align: center;
  padding-bottom: 25px;
  padding-top: 50px;
}


#searchForm {
  display: flex;
  align-items: stretch;
  justify-content: space-evenly;
  background-color: #CAD2C5;
  margin-bottom: 20px;
}

#stateInputText {
  width: 100%;
  padding: 15px;
  border-top: 1px dashed #CAD2C5;
  border-bottom: 1px dashed #CAD2C5;
  border-left:none;
  border-right: none;
}

.formBoxes {
  width: 50%;
}


label {
    padding: 20px;
}

/* API Placeholder Boxes */

#cityStateList {
  display: flex;
  flex-wrap: nowrap;
  list-style-type: none;
}

#apiCityBox {
  padding-right: 5px;
}

/* #apiContainer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #cad2c567;
    padding: 15px;
} */

#weatherBtn {
  padding: 15px;
}

#apiWeatherInfoContainer {
  display:flex;
  margin-top: 20px;
  justify-content: space-evenly;
}

.apiWeatherBoxes {
  width: 100%;
  padding: 40px;
  margin: 5px;
  border: 1px dashed #CAD2C5;
  width: 100%;
  text-align: center;
}


/* API DINAMIC  */


#sPark {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;

}

#finalDataContainer {
  width: 48%;
  padding: 40px;
  border: 1px dashed #CAD2C5;
  margin: 8px;
  list-style-type: none;
}

.cityLiBox {
  display: flex;
  padding-right: 5px;
}

.stateLiBox {
  margin-left:3px
}

/* Sofias Code CSS */

.sofiaHeader {
  text-align: center;
  padding-bottom: 25px;
  /* padding-top: 50px; */
}


/* footer */

.footerContainer {
  padding: 50px;
  background-color: #2f3e46;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

.footerLogo {
  opacity: 1.1;
}

.footerLogo img {
  width: 250px;
}

.footerBox ul {
list-style: none;
}

.footerListContainer {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    /* text-align: right; */
}

.footerListItemBox {
    padding-right: 20px;
    font-size: 200;
    font-weight: 200;
}

.footerBox a {
  color:white;
  text-decoration: 2px overline wavy #CAD2C5;
}

.footerBox a:hover {
  color:#52796F;
  text-decoration: 2px overline wavy #52796F;
}

/* mobile  */

@media only screen and (max-width: 915px) { 
  

  /* nav  */
  .navContainer {
    display: flex;
    padding: 20px 50px 20px 50px;
    flex-direction: column;
    align-items: center;
}

  .navListContainer {
    display: flex;
    list-style-type: none;
    flex-direction: column;
    align-items: center;
}

.navItem {
  padding: 8px;
}

  /* image header  */
  .mainHeader {
    width: 100%;
    background-color: #cad2c52a;
}
.headerContent {
  padding: 50px;
  width: 100%;
}

/* .headerImage {
  display: none;
} */

.mobile-image {
  display:block;
  width: 100%;
}

.mobile-image img {
  
    height: 400px;
    object-fit: cover;
}


.headerCaption {
  padding-bottom: 10px;
  /* width: 95%; */
  color: white;
  position: absolute;
  border-bottom: 1.8px solid white;
  bottom: 20%;
  left: 20%;
}

/* Global Main Container */

.container {
  padding-left: 50px;
  padding-right: 50px;
}

/* form */

#searchForm {
  flex-wrap: wrap;
}

label {
  padding: 10px;
  text-align: center
}

#stateInputText {
  text-align: center
}

.formBoxes {
  width: 100%;
}
#finalDataContainer {
  width: 100%;
}

/* footer  */
.footerContainer {
  padding: 50px;
  background-color: #2f3e46;
  color: white;
  display: flex;
  flex-direction: column;
}

.footerListContainer {
  display: flex;
  list-style: none;
  flex-direction: column;
  text-align: center;
}

.footerBox {
  margin-bottom: 20px;
}

.footerLinks {
  text-align: center;
}

}

/* Tablet */
@media only screen and (min-width: 916px) and (max-width:1023) { 

  .mainHeader {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100vh;
  }

  .headerContent {
    padding: 70px!important;
  }


}

/* desktop */

@media screen and (min-width: 1024px) { 

  .mainHeader {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100vh;
  }
/* 
  .headerContent {
    padding: 70px;
  } */


}


