*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

header{
  width: 100%;
  margin: 0 auto;
  background-color: #f8f8f8;
  padding: 1em;
}

h1{
  font-family: "Lora", serif;
  font-optical-sizing: auto;
  font-size: 2.5rem;
  font-style: normal;
  color: #143774;
  text-align: center;
}
.nav-title p{
  font-family: "Ubuntu", serif;
  font-weight: 700;
  font-style: normal;
  font-size: 1rem;
  color: #1792d2;
  text-align: center;
  
}

.nav-title{
  margin-bottom: 2em;
}
nav ul{
  list-style-type: none;
  text-align: center;
}
nav ul li{
  margin-bottom: 1em;
}
nav ul li a{
  text-decoration: none;
  text-transform: uppercase;
  font-family: "Ubuntu", serif;
  font-weight: 700;
  font-style: normal;
  font-size: 1rem;
  color: #707070;
}

a:hover, a:focus{
  text-decoration: underline solid 2px #707070;
}
.container{
  width: 95%;
  
  margin: 0 auto;

}
main{
  width: 100%;
}
aside{
  width: 100%;
}
article figure{
  width: 100%;
  margin-block: 2em;
}
img{
  width: 100%;
}

main h2{
  color: #143774;
  font-size: 1.5rem;
  font-family: "Lora", serif;
  font-weight: 400;
  margin-block: 1em;
}

main figcaption{
  color: #707070;
  font-size: .8rem;
  margin-top: 1em;
}

main p{
  font-size: 1rem;
  color: #707070;
  font-family: "Ubuntu", serif;
  font-weight: 400;
  margin-block: 1em;
}

.continue{
  font-size: .8rem;
  color: #1792d2;
  font-family: "Ubuntu";
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: .2em;
 
}
main a{
  color: #1792d2;
}


 aside .upper{
  border: solid 20px #ebebeb ;
  margin-block: 2em;
  padding: 2.5em;
 }
 aside .upper h2{
  color: #143774;
  margin-block: 1em;
 }
 aside .upper p{
  color: #143774;
  font-size: .8rem;
  font-family: "Ubuntu", serif;
  font-weight: 400;

 }

aside .lower{
  border: 20px solid #ebebeb;
  padding: 2.5em;
}
aside .lower h2{
  color: #143774;
  margin-block: 1em;
}
aside .lower a{
  font-family: "Lora", serif;
  font-weight: 400;
  color: #143774;
  font-size: 1.2rem;
  text-decoration: none;

}
footer{
  background-color: #143774;
  padding: 3em;
  margin-top: 3em;
 
}
footer p:first-child{
  font-family: "Ubuntu", serif;
  font-weight: 800;
  font-size: 1.2rem;
  text-align: center;
  color: #ebebeb;
  margin-block: .5em;
}
footer p:last-child{
  font-family: "Ubuntu", serif;
  font-weight: 400;
  font-size: 1.2rem;
  text-align: center;
  color: #ebebeb;
}



@media screen and (min-width:560px){
  nav ul{
    display: flex;
    justify-content: space-evenly;
  }

}

@media screen and (min-width:900px){
  header{
    display: flex;
    justify-content: space-around;
    align-items: center;
  }
  ul li{
    margin-inline: 1em;
  }
  h1{
    font-size: 3.375rem;
  }
  .container{
    display: flex;
    gap: 1rem;
  }
  main{
    flex: 3;
  }
  aside{
    flex: 1;
  }
  .main-article{
    display: flex;
    gap: 1rem;
    line-height: 1.5em;
  }
  .main-article figure{
    flex: 1;
  }
  .main-article .text-info{
    flex: 3;
  }
  .first-article{
    display: block;
    border-bottom: 2px solid #707070;
    padding-bottom: 2em;
    
  }
}