/*-- beginning of global section--*/
* {
  margin: 0%;
  padding: 0%;
  box-sizing: border-box;
}

main {
  flex-grow: 1;
  padding: 1rem 1.5rem;
}
a {
  text-decoration: none;
  color: inherit;
}
main h4 {
  color: red;
  padding-bottom: 5px;
  font-weight: bolder;
  font-size: 1.2rem;
  line-height: 1.7rem;
}
main p {
  font-family: sans-serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1.5rem;
}

/*-- end of global section--*/

/*-- beginning of background gradient styling--*/
.background {
  background: linear-gradient(to top left, #ffcc66 0%, #0066ff 100%);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  /*--it seem better to put the gap at the top and bottom on the body section-*/
  padding-top: 0.5rem;
  height: 100%;
}
/*-- end of background gradient styling--*/

/*--beginning of pamphlet sectio--*/

.pamphlet {
  display: flex;
  flex-direction: column;
  width: 70%;
  margin: auto;
  padding-top: 0%;
  padding-bottom: 0px; /*--best place to put the padding for content--*/
  background-color: #ffffff;
  height: 100%;
  min-height: 100vh;
  overflow: hidden;
}
/*--end of pamphlet sectio--*/
/*--start banner--*/
.container {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  padding: 0rem 2rem 0 0;
  background-color: #ffedf8;
}

#banner-img {
  width: 70%;
  padding-left: 35px;
}
.container h2 {
  font-weight: 200;
  font-size: 1rem;
  text-transform: none;
  text-align: right;
  line-height: 1.5rem;
  padding-top: 25px;
}
.container span {
  text-transform: none;
  display: block;
}
/*--End banner--*/

/*-- beginning of divider section--*/
/* Dashed border */
hr.solid {
  border-top: 1px solid #bbb;
  margin: 10px 25px;
}

/*-- End of divider section--*/

/*--Start of horizontal navbar section--
.nav-bar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #333;
  }
 
 .nav-bar ul li {
    float: left;
  }
 
.nav-bar ul li a {
    display: block;
    color: white;
    text-align: center;
    padding: .8rem 1rem;
    text-decoration: none;
  }
 
  /* Change the link color to #111 (black) on hover 
  .nav-bar ul li a:hover {
    background-color: red;
  }
  /*--end of horizontal navbar section--*/

/*--beginning of intro section--*/
.intro {
  text-align: center;
  line-height: 1rem;
  padding-bottom: 25px;
  margin-bottom: 15px;
}
.intro h1 {
  color: red;
}
.intro p {
  text-align: justify;
  padding: 10px 10px 10px 10px;
}
.intro {
  background-color: #f0f0f0;
  padding-top: 15px;
  border-radius: 10px;
}
/*--end of intro section--*/

/* Begin grid section styles*/

.grid-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  place-items: center;
  margin-bottom: 15px;
}
.grid-left h1 {
  text-align: center;
}
.grid-left {
  background-color: #f0f0f0;
  border-radius: 3px;
}
.grid-section > div {
  padding: 2%;
}
.grid-section .grid-right {
  width: auto;
  object-fit: cover;
}
.grid-section .grid-right img {
  width: 90%;
  padding-left: 50px;
}

/* End of grid section*/

/* beginning outro section*/

.outro {
  background-color: #f0f0f0;
  padding: 10px;
  border-radius: 3px;
}

/*start Main image section*/
.main-img-section {
  padding: 0.5rem 2rem 0;
  font-weight: 900;
  text-transform: capitalize;
  text-align: center;
}
.main-img-section .head {
  font-size: 2rem;
  color: red;
}
#main-img {
  width: 90%;
  padding-bottom: 25px;
}
/*End of main image section*/

/* beginning outro section*/

.outro h2 {
  text-align: center;
  padding: 15px 0px 1px 0px;
}

.outro p {
  text-align: justify;
  margin: 0.5rem;
}

/*-- beginning button--*/
/*Start of gradient button styles*/
a {
  text-decoration: none;
  color: inherit;
}
.gradient-btn {
  background: linear-gradient(to right, yellow, orange);
  color: red;
  text-transform: capitalize;
  font-weight: 900;
  font-size: 1.75rem;
  padding: 1rem 2rem;
  width: fit-content;
  margin: 0.5rem auto;
  cursor: pointer;
  border-radius: 10px;
}
/* End of gradient button*/
/*-- end button--*/

/* end outro section*/

/*-- beginning of footer section--*/
footer {
  font-size: 1.4rem;
  background-color: #5d236d;
  color: white;
  display: flex;
  padding: 0.6rem 1.25rem;
  justify-content: space-between;
  align-items: center;
  bottom: 0;
  width: 100%;
}

footer .footer-nav {
  display: flex;
  font-size: 1rem;
}

footer .footer-nav a {
  display: flex;
  flex-direction: row;
  align-items: center;
  color: white;
  padding: 0.6rem 0.5rem;
  margin-left: 0;
}
footer .footer-nav:hover {
  cursor: pointer;
}
footer .copyright {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-size: 0.85rem;
  margin-left: 1.5rem;
}
.logo {
  background-color: #0066ff50;
  padding: 0px 10px 0px 10px;
  border-radius: 5px;
}

/*--Start responsive--*/
/*--Start responsive--*/
/*--Start responsive--*/
/*--Start responsive--*/

@media screen and (max-width: 1100px) {
  .pamphlet {
    width: 70%;
  }
  .background {
    padding-top: 0%;
  }
  .container h2 {
    padding: 0.5rem;
    font-size: 0.75rem;
    text-align: right;
    line-height: 1.5;
    padding-left: 0.75rem;
  }
  .grid-section {
    display: flex;
    flex-direction: column;
    text-align: justify;
  }
  #main-img {
    width: 100%;
  }
  h4 {
    line-height: 1.5rem;
  }
  footer {
    font-size: 1.25rem;
    padding: 0.6rem;
  }
  footer .footer-nav a {
    padding: 0.6rem;
  }
}

@media screen and (max-width: 870px) {
  .pamphlet {
    width: 80%;
  }
  .container h2 {
    padding: 0.5rem;
    font-size: 0.75rem;
    text-align: right;
    line-height: 1.5;
    padding-left: 0.75rem;
  }
  #banner-img {
    width: 90%;
    padding: 0.1rem 0.75rem 0.75rem 0.75rem;
  }
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    margin-bottom: 1.5rem;
  }
  footer {
    flex-direction: column;
    align-items: center;
    padding: 1.25rem;
  }
  footer > div {
    margin-bottom: 0.5rem;
  }
  footer .footer-nav a {
    padding: 0.6rem;
  }
}

@media screen and (max-width: 750px) {
  .pamphlet {
    width: 80%;
  }
  .container {
    display: grid;
    grid-template-columns: 1fr;
    text-align: left;
  }
  .container h2 {
    padding: 0.5rem;
    font-size: 1rem;
    text-align: center;
    line-height: 1;
    padding-left: 0.75rem;
  }
  #banner-img {
    width: 70%;
    height: auto;
  }
  .container span {
    display: inline;
  }
  h2 {
    font-size: 1.5rem;
  }
  h4 {
    line-height: 1.5rem;
    padding: 0px 5px 0px 5px;
    text-align: center;
  }
  .intro h1 {
    font-size: 1.5rem;
    line-height: 1.5rem;
  }
  .intro h3 {
    line-height: 1.5rem;
    padding: 0.5rem;
  }
  .grid-section {
    display: flex;
    flex-direction: column;
    text-align: justify;
  }
  a {
    font-size: small;
  }

  /*Start of gradient button styles*/
  a {
    text-decoration: none;
    color: inherit;
  }
  .gradient-btn {
    background: linear-gradient(to right, yellow, orange);
    color: red;
    text-transform: capitalize;
    font-weight: 900;
    font-size: 1.5rem;
    padding: 1rem 2rem;
    width: fit-content;
    margin: 0.5rem auto;
    cursor: pointer;
    border-radius: 10px;
  }
  /* End of gradient button*/

  .main-img-section {
    width: auto;
  }

  #main-img {
    width: 100%;
    height: auto;
    padding-bottom: 15px;
  }
  ------------------ .in footer .footer-nav {
    display: block;
    text-align: center;
  }
  footer .footer-nav a {
    display: block;
    padding: 0.1rem auto;
    text-align: center;
  }
}

@media screen and (max-width: 580px) {
  .pamphlet {
    width: 90%;
  }
  .background {
    padding-top: 0%;
  }
  .container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .container h2 {
    width: 100%;
    padding: 0.5rem;
    font-size: 0.75rem;
    text-align: center;
    line-height: 1.5;
    padding-left: 0.75rem;
  }
  #banner-img {
    width: 99%;
    height: auto;
    padding-left: 0.75rem;
  }

  h4 {
    line-height: 1.5rem;
    padding: 0px 5px 0px 5px;
    text-align: center;
  }
  .intro h1 {
    font-size: 1.5rem;
    line-height: 1.5rem;
  }
  .intro h3 {
    line-height: 1.5rem;
    padding: 0.5rem;
  }
  .grid-section {
    display: flex;
    flex-direction: column;
    text-align: justify;
  }
  a {
    font-size: small;
  }

  /*Start of gradient button styles*/
  a {
    text-decoration: none;
    color: inherit;
  }
  .gradient-btn {
    background: linear-gradient(to right, yellow, orange);
    color: red;
    text-transform: capitalize;
    font-weight: 900;
    font-size: 1.5rem;
    padding: 1rem 2rem;
    width: fit-content;
    margin: 0.5rem auto;
    cursor: pointer;
    border-radius: 10px;
  }
  /* End of gradient button*/

  ------------------ .in footer .footer-nav {
    display: block;
    text-align: center;
  }
  footer .footer-nav a {
    display: block;
    padding: 0.1rem auto;
    text-align: center;
  }
}

@media screen and (max-width: 430px) {
  .pamphlet {
    width: 100%;
  }
  .background {
    padding-top: 0%;
  }

  .container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .container h2 {
    width: 100%;
    padding: 0.5rem;
    font-size: 0.75rem;
    text-align: center;
    line-height: 1.5;
    padding-left: 0.75rem;
  }
  #banner-img {
    width: 99%;
    height: auto;
    padding-left: 0.75rem;
  }
  h4 {
    line-height: 1.5rem;
    padding: 0px 5px 0px 5px;
    text-align: center;
  }
  .intro h1 {
    font-size: 1.5rem;
    line-height: 1.5rem;
  }
  .intro h3 {
    line-height: 1.5rem;
    padding: 0.5rem;
  }
  .grid-section {
    display: flex;
    flex-direction: column;
    text-align: justify;
  }
  a {
    font-size: small;
  }

  /*Start of gradient button styles*/
  a {
    text-decoration: none;
    color: inherit;
  }
  .gradient-btn {
    background: linear-gradient(to right, yellow, orange);
    color: red;
    text-transform: capitalize;
    font-weight: 900;
    font: size 1.5rem;
    padding: 1rem 2rem;

    width: fit-content;
    margin: 0.5rem auto;
    cursor: pointer;
    border-radius: 10px;
  }
  /* End of gradient button*/
  .main-img-section {
    max-width: 100%;
    height: auto;
    left: 0px;
    right: 0px;
  }
  #main-img {
    width: 100%;
    height: auto;
    left: 0px;
    right: 0px;
  }

  ------------------ .in footer .footer-nav {
    display: block;
    text-align: center;
  }
  footer .footer-nav a {
    display: block;
    padding: 0.1rem auto;
    text-align: center;
  }
}
