

 header nav{
  border-radius: 10px 10px 0 0;
}
header div img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
header div{
  position: relative;
  text-align: center;
  color:white;
  width: 100%;
  height: 350px;
  text-shadow: 2px 2px 2px black;
}
h1{
  margin: 0 0 10px 0;
  font-size: 3em;
  padding: 20px;
}
header div div p{
  font-size: 1.5em;
  margin: 0;
  padding: 20px;
}
header div div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
main{
  display: flex;
  flex-direction: column;
  align-items: center;
}
section:nth-child(1){
  margin: 20px 0 20px 0;
  padding: 15px 20px;
  border-radius:10px;
  width: 80%;
  color: white;
  background-color: rgb(223, 0, 93);
  display: flex;
  flex-direction: column;
  align-items: center;
}
section:nth-child(1) div{
  display: flex;
  margin:0;
  padding: 0;
}
section:nth-child(1) div article p{
  color: white;
  background-color: rgb(165, 0, 69);
  border-radius: 10px;
  box-shadow: 3px 3px 10px rgb(165, 0, 69);
  padding: 20px;
  margin: 20px;
}
section:nth-child(1) h2{
  margin: 15px;
  font-size: 2em
}
section:nth-child(1) p{
  margin: 5px;
  font-size: 1.3em
}
section:nth-child(2){
  width: 80%;
  border-radius: 10px;
  height: 100%;
  padding: 20px;
  margin: 20px 0 20px 0;
  border: 2px solid rgb(223, 0, 93);
  display: flex;
  flex-direction: column;
  align-items: center;
}
section:nth-child(2) h2{
 font-size: 2em;
 margin: 0;
}
section:nth-child(2) div{
  display: flex;
  height: 100%;
  margin-bottom: 20px;
}
section:nth-child(2) div article{
  width: 400px;
  height: 450px;
  position: relative;
  text-align: center;
  border: 10px solid rgb(226, 191, 207);
  background-color: rgb(226, 191, 207);
  border-radius: 10px;
  margin: 30px;
  box-shadow: 2px 2px 10px black;
  display: flex;
  justify-content: center;
}

section:nth-child(2) div article img{
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
  border-radius: 10px;
}
section:nth-child(2) div p{
  position: absolute;
  width: 100%;
  bottom: 0%;
  padding: 5px 0 5px 0;
  color: white;
  background-color: rgb(255, 77, 133);
  font-size: 1.4em;
  border-radius: 0 0 10px 10px;
  margin:0;
}
section:nth-child(2) div h3{
  position: absolute;
  font-size: 1.4em;
  left: 0;
  bottom: 82.5%;
  padding: 15px;
  border-radius: 10px 0 20px 0 ;
  background-color: rgba(255, 255, 255, 0.548);
}
@media screen and (Max-width: 500px){
  header div{
    height: 250px;
  }
  h1{
    font-size: 2.3em;
  }
  header div div p{
    font-size: 1.2em;
  }
  section:nth-child(1) h2{
    font-size: 1.5em;
  }
  main section:nth-child(1) p{
    font-size: 1em;
  }
  main section:nth-child(1) div{
    flex-direction: column;
    align-items: center;
  }
  section:nth-child(2) h2{
    font-size: 1.5em;
  }
  section:nth-child(2) div{
    flex-direction: column;
    margin-bottom: 0;
  }
  section:nth-child(2) div article{
    width: 250px;
    height: 300px;
  }
  section:nth-child(2) div article p{
    font-size: 1.1em;
  }
  section:nth-child(2) div article h3{
    font-size: 1.1em;
    bottom: 77%;
  }
  section:nth-child(2){
    width: 85%;
    padding: 10px;
  }
}