/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

      /*-------------------------------------my style starts----------------------------------------*/


      *{
    box-sizing: border-box;
      }
      /*--------------------------------------layout-----------------------------------------------*/   
header {
  font-family: "DM Serif Text", serif, Arial, Helvetica, sans-serif;
  background-color: #8ba37c;
  max-width:none;
  padding-left: 15px;
  padding-top: 15px;
  padding-bottom: 15px;
  font-weight:200;
  font-style: normal;
  color:#fff 
}
body{
 background-color: #fff;
 color: #000;
}
main{
    max-width:960px;
    font-family:'DM Serif Display Regular', Cambria, Cochin, Georgia, Times, serif; 
    margin: 0 auto;
    padding-left: 30px; 
    font-size: 1.2em;
    line-height: 1.3;
}
ul a{
  font-family: "DM Serif Text", serif, Arial, Helvetica, sans-serif; 
  text-decoration: none; 
  padding:15px;
  color: #fff;
}
    /*-------------------------------------navigation------------------------------------------------------*/
nav{
    font-family: "DM Serif Text", serif, Arial, Helvetica, sans-serif;
    display:flex;
    padding: 15px 30px;
    gap:80px;
    align-items: center;
}
nav span{
    color: white;
    font-size: 22px;
    margin:0 auto;
    text-align: left;
    justify-content: space-between;
}
nav ul{
   font-family: "DM Serif Text", serif, Arial, Helvetica, sans-serif;
   display: flex;
   gap:3rem;
   list-style: none;
   margin:0;
   padding:0;
   margin-left: auto;
   margin-right:1rem;
}
nav ul li{
    margin:0;
    font-family: "DM Serif Text", serif, Arial, Helvetica, sans-serif;
}
nav a {
    font-family: "DM Serif Text", serif, Arial, Helvetica, sans-serif;
    color: white;
    text-decoration: none;
    font-size: 25px;
    align-items: center;
}
nav a:hover {
    color:#033f12;
}
           /*-----------------------------------------typography--------------------------------------------*/
h1{
    font-family:'DM Serif Display Regular',Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    text-align: center;
    font-size: 3em;
    font-weight:900;
    padding-top:15px;
    padding-bottom:20px;
    color:#1c4204;
}
h2{
    font-family:'DM Serif Display Regular',Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size:1.5em;
    font-weight:bold;
    color:#1c4204;
    padding:3px 3px;
}
h3{
    font-size:1.5em;
    font-weight:bold;
    color:#1c4204;
    padding:2px 2px;   
}

h2 {
    font-size:2.0em;
    font-weight:bold;
    color:#1c4204;
    padding:2px 2px; 
    text-align: center;  
}
p{
    padding:6px;
    line-height: 1.6;
    font-family:'Roboto Regular',Georgia, 'Times New Roman', Times, serif;
}
span{
    color:#660310;
   
}
footer {
  background-color:#8ba37c;
  color: #ecf0f1;
  padding: 1.5rem 1.5rem;
  margin-top: 2rem;
  text-align: center;
  font-size: 1.08rem;
  line-height: 1.5;
}

footer p {
  margin: 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

footer a {
  color: #073e02;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #043c0d;
  text-decoration: underline;
}
           /*--------------------------------------media queries-------------------------------------------*/
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
}
