@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Shadows+Into+Light&display=swap');
body {
    font-family: "Roboto", sans-serif;
    margin: 0;
    background-color: #3e672f;
}

header h1 {
    font-family: "Shadows Into Light", cursive;
    color: yellow;
    font-size: 4em;
    text-align: center;
    font-weight: normal;
    font-style: italic;
}

header {
    display: flex;
    flex-direction: column;  
    background-image: linear-gradient(to bottom, #436f32, #294222);
    align-items: center;  
    padding: 30px 10%;
}


nav {
    text-align: center;
    margin: 30px 50px;
    padding: 5px 20px;
    display: flex; 
                         
    flex-direction: column;
    margin-bottom: 30px; 
    border: none; 
    border-width: 0px;
  }
  @media (min-width: 1000px) {    
      nav {
          flex-direction: row; 
          justify-content: center;   
      }
  }

  a {
    background-color: green; 
    color: white;                    
    text-decoration: none;    
    padding: 10px 30px;       
    border: 1px solid darkgreen;  
    border-radius: 20px 2px; 
    margin: 15px; 
    transition: 0.3s ease-in; 
    background-image: linear-gradient(to bottom, #436f32, #092202);       
 }

 a:hover {
    background-color: rgb(2, 73, 2);
    transition: 1.5s;
    border-color: white;
    border-radius: 0px 25px;
 }

 main p {
    color: black;
    text-align: center;
 }

 section{
    display: flex;
    flex-direction: column;
    padding: 20px 10%;
    background-color: #eaeaea;
 }

 section h1 {
    color: black;
    text-align: center;
 }

 @media (min-width: 800px) {
    nav {
        flex-direction: row;
        justify-content: center;
    }

    section {
        flex-direction: row;
    }

    article {
        padding: 20px;
        text-align: center;
        padding: 10px;
    }
 }

 article a{
    margin-left: 0px;
    text-align: center ;
 }

 img {
    width: 100%;
    max-width: max-content;
    border-radius: 15px;
    box-shadow: 0px 0px 2px black;
 }

p {
    text-align: justify;
}

footer {
    text-align: center;
    color: white;
    background-color: #3e672f;
    background-image: linear-gradient(to bottom, #436f32,  #092202);
    padding: 10px;
}

 @media (max-width: 900px) {
    header img {
        display: none;
    }
 }