@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&display=swap');


:root {
    --my-background-color: #fffff8;
    --my-grey: #c1c1c3;
    --my-dark-grey: #535353;
    --my-nav-background: #f3f3f3;
    --sidebar: #f1f1f1;
}
body{
  background-color: var(--my-background-color);
  padding: 0;
  font-family: "Lora", serif;
}

.body-flex{
  display: flex;
  flex-direction: row;
}  

.d-none.d-md-block img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.logo-mobile{
  height: 5vh;
  width: auto;
}

.navbar{
  padding: 0;
  border-radius: 0;
  background-color: var(--my-background-color);
  border-bottom: solid 1px var(--my-grey);
  box-shadow:0px 10px 8px var(--my-nav-background);
  margin-bottom: 2vh;
}

nav .container-fluid{
  background-color:var(--my-background-color);
  padding: 0;   
}

.dolar-weather{
  display: flex;
  align-items: center;
  border-bottom: solid 1px var(--my-grey);
}

.dolar-weather label{
  font-size: small;
  margin-left: 1vw;
  font-family: "Open sans";
}

.btn{
  color: var(--my-dark-grey);
  background-color: var(--my-background-color);
  border-color: var(--my-dark-grey);
  border-radius: 0;
}
.btn:hover{
  color: var(--my-background-color);
  background-color: var(--my-dark-grey);
  border-color: var(--my-dark-grey);
  border-radius: 0;
}

a {
  text-decoration: none;
}

.sidebar-main{
  display: flex;
  flex-direction: row;
}

.sidebar{
  background-color: var(--my-background-color);
  width: 18vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-left: 2vw;
  padding-right: 2vw;
  padding-bottom: 2vh;
  border-right: solid 1px #d4d4d4;
  padding-top: 2ch;
}

.sidebar-section{
  display: flex;
  flex-direction: column;
  text-align: center;
  font-weight: 500;
  color: black;
  margin-bottom: 3vh;
}

.sidebar img{
    width: 80%;
    margin-bottom: 1vh;
}

#nasaImg{
  width: 100%;
  border-radius: 5px;
}

#nasaTitle{
  color: var(--my-dark-grey);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgb(168, 187, 216);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

#nasaTitle:hover{
  color:rgb(168, 187, 216);
}

.title{
  width: 100%;
  text-align: center;
  margin-bottom: 3vh;
  margin-top: 3vh;
  font-family: "Lora";
}

main{
  width: 75vw;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: auto;
}

.news{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  padding: 2vh;
  background-color: var(--my-nav-background);
  justify-content: center;
  border-radius: 4px;
  margin-bottom: 2vh;
}

.new{
  width: 21vw;
  margin: 1vw;
  padding: 4px;
  border: solid 1px var(--my-grey);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
}

.contact{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-content: center;
    margin-top: 2vh;
}

.contact form{
  width: 50%;
  margin: auto;
}

.form-control{
  border-radius: 0;
  border-color: var(--my-dark-grey);
  resize: none;
}

.dolar{
  display: flex;
  align-items: center;
}

hr{
  margin: 0;
  padding: 0;
}

.about{
  display: flex;
  flex-direction: column;
  margin: auto;
  margin-top: 4vh;
  width: 50vw;
  justify-content: center;
  text-align: center;
}
.about-text{
  font-size: larger;
  padding: 3vw;
  border: solid 1px var(--sidebar);
  box-shadow:3px 4px 8px var(--my-grey);
  margin-bottom: 4vh;
}

h5{
  margin-bottom: 2vh;
  
}

.weather-title{
  text-align: center;
  margin-top: 2vh;
}

.forecast-container{
  display : flex;
  flex-direction: row;
  justify-content: space-around; 
  flex-wrap: wrap;
  background-color: var(--my-nav-background);
  border-radius: 4px;
  margin-bottom: 2vh;
  padding: 2vh;
}

.forecast-card{
  width: 20vw;
  margin: 10px;
  border: solid 1px var(--my-grey);
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 4px;
}

.weather-info img{
  width: 55%;
}


@media (max-width: 996px){
.navbar{
  background-color: var(--my-background-color);
  height: 11vh;
  box-shadow:0px 7px 6px var(--my-nav-background);
  margin-bottom: 2vh;
  text-align: center;
  border: 0;
}

.navbar-icon{
  order:-1;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.mobile-banner-link{
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: auto;
}

.mobile-banner-img {
  width: 190px;
  height: auto;
  display: flex;
}

.body-flex{
  flex-direction: column;
}

.body-flex main{
  order:-1;
}

.navbar-collapse{
  display: flex;
  justify-content: flex-end;
}

.sidebar-main{
  flex-direction: column;
}

.sidebar{
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  padding-left: 2vw;
  border-right: 0;
  border-top: solid 1px var(--my-grey);
  margin: auto;
  justify-content: center;
}

.sidebar-section{
  width: 32vh;
  align-content: center;
  align-items: center;
  margin: auto;
}

.sidebar img{
  width: 50%;
  margin-bottom: 0;
  padding-top: 2vh;
}

.sidebar a{
  display: flex;
  flex-direction: column;
}

#nasaImg{
  width: 95%;
  border-radius: 4px;
}

main {
  width: 100%;
}
.contact form{
  width: 80%;
}

.about{
  width: 75vw;
  order:-1;
}
.new{
  width: 46%;
  border: solid 1px var(--my-grey);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
}

.new a{
  font-size: small;
}

.forecast-container{
  display : flex;
  flex-direction: row;
  justify-content: center;
  align-content: center; 
}

.forecast-card{
  width: 45vw;
}

.weather-section{
    order: -1;
}

}

@media (min-width: 768px) {
  .mobile-banner-link {
      display: none !important;
  }

}
@media (max-width: 768px) {
  .forecast-container{
  display : flex;
  flex-direction: column;
  justify-content: center;
  align-content: center; 
}

  .forecast-card{
    width: 80vw;
}

}

.collapse.show ~ .mobile-banner-link {
  display: none !important;
}
