
* {
  box-sizing: border-box;
}

body{
background: linear-gradient(
    180deg,
  #E6E1C6 0%,
    #D4AA8B 45%,
    #C86569 100%
  );
  background-size: 100% 200%;
    font-family:"Roboto", sans-serif;
    margin: 50px 150px auto;
    align-items: center;
    font-size: 16px;
    transition: 1s ease,
    color 0.5s ease;
}
.dark{
    background: linear-gradient(
    180deg,
      #4D284E 0%,
    #4C4D8D 55%,
    #9C6177 100%
  );
  background-size: 100% 200%;
    font-family:"Roboto", sans-serif;
    margin: 50px 150px auto;
    align-items: center;
    font-size: 16px;
    transition: 1s ease,
    color 0.5s ease;
}
.weather-app{
    background-color: white;
    max-width: 700px;
    width: 100%;
    margin: 45px auto; 
    padding: 30px; 
    border-radius: 10px;
     box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.25),
    0 6px 14px rgba(0,0,0,0.18);
    backdrop-filter: blur(12px);
}
.dark .weather-app{
    background: linear-gradient(
    145deg,
      #4C4D8D 0%,
     #4D284E 75%);
     color:#f2e5f2;
   box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.25),
    0 6px 14px rgba(0,0,0,0.18);
}
header{
    font-size: 20px;
    border-bottom: 0.5px solid #f2e5f2;
    padding: 25px 30px 45px 30px;
    margin-bottom: 20px;
}
footer{
font-size: 13px;
align-items: center;
text-align: center;
}
.weather-details{
    display: flex;
    align-items: space-between;
    align-items: center;
    border-bottom: 0.5px solid #f2e5f2;
    padding-bottom: 20px;
}
.city-submit{
    background: linear-gradient(
    225deg,
    #cc99cc 0%,
    #a64ca6 15%,
    #993299 55%, 
    #8c198c 100%
       );
    color: white;
    border-width: 0px;
    border-radius: 10px;
    padding: 5px 20px;
    font-size: 16px;
    margin-left: 20px;
    height: 40px;
     box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.25),
    0 6px 14px rgba(0,0,0,0.18);
}
.city-submit:hover{
      background: linear-gradient(
    45deg,
        #cc99cc 0%,
    #a64ca6 10%,
    #993299 55%, 
    #8c198c 100%
       );
}
.city-input{
    background-color: #f2e5f2 ;
    border-width: 1px;
    border-color:#E6E1C6;
    padding: 5px 5px 5px 15px;
    color: #190019;
    border-radius: 10px;
    width: 75%;
    height: 40px;
    font-size: 16px;
     box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.25),
    0 6px 14px rgba(0,0,0,0.18);
}
.button {
    height: 50px;
    display:flex;
    flex-direction: column;
    align-self: end;
}


.dark-mode-button{
    background: linear-gradient(
    225deg,
    #cc99cc 0%,
    #a64ca6 15%,
    #993299 55%, 
    #8c198c 100%
       );
    color: white;
    border-width: 0px;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 16px;
     box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.25),
    0 6px 14px rgba(0,0,0,0.18);
    align-self: self-end;
    margin: 10px 20px;
}
.dark-mode-button:hover{
     background: linear-gradient(
    45deg,
        #cc99cc 0%,
    #a64ca6 10%,
    #993299 55%, 
    #8c198c 100%
       );
    color: #f2e5f2;
}

.accent{
    color: #4C4D8D;
    font-weight: 700;
}
.dark .accent{
    color: #bf7fbf;
}


.weather-app-temperature-container {
  display: flex
}

.degrees{
    align-self:flex-start;
    margin-left: auto;
}
.dark .degrees{
    text-shadow: 
    0 0 8px rgba(200,101,105,0.45),
    0 0 18px rgba(178,102,178,0.25);
}
.weather-app-icon {
  width: 60px;
  height:60px;
  margin-top: 22px;
}

.weather-app-temperature {
  font-size: 88px;
  margin-left: 10px;
  font-weight: bold;
}

.weather-app-unit {
  margin-top: 14px;
  font-size: 28px;
}
.weather-forecast{
    display:flex;
    justify-content: space-between;
    margin-top: 30px;
    margin-bottom: 30px;
   
}
.weather-forecast-day{
    text-align: center;
    color: #4C4D8D;
    line-height: 20px;
    font-size: 16px;
    margin-bottom: 10px;
}
.dark .weather-forecast-day{
    color: #f2e5f2;
}
.weather-forecast-icon{
    width: 88px;
    text-align: center;
    display: block;
    margin: 0 auto;
}
.weather-forecast-temperatures{
    text-align: center; 
    color: #4C4D8D;
    display: flex;
    justify-content: center;
    margin-top: 10px;
}
.dark .weather-forecast-temperatures{
    color: #f2e5f2;
}
.weather-forecast-temperature{
    padding: 0 5px;
}
.dark .weather-forecast-temperature-max{
    text-shadow:
    0 0 8px rgba(200,101,105,0.45),
    0 0 18px rgba(178,102,178,0.25);
}
a{
    color: #b266b2;
}
.dark a{
    color: #a5a7fa;
}
.dark .current-city{
   text-shadow:0 0 8px rgba(200,101,105,0.45),
    0 0 18px rgba(178,102,178,0.25);
}