@import url('https://fonts.googleapis.com/css2?family=Host+Grotesk:ital,wght@0,300..800;1,300..800&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Noto+Color+Emoji&family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Playwrite+GB+S:ital,wght@0,100..400;1,100..400&family=Rethink+Sans:ital,wght@0,400..800;1,400..800&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&family=Tangerine:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Host+Grotesk:ital,wght@0,300..800;1,300..800&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Noto+Color+Emoji&family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Playwrite+GB+S:ital,wght@0,100..400;1,100..400&family=Rethink+Sans:ital,wght@0,400..800;1,400..800&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&family=Rubik+Moonrocks&family=Tangerine:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Mr+Dafoe&display=swap');

body{
    font-family: "Nunito";
    margin: 0px;
}
header h1 {
    font-family: "rubik moonrocks"; 
    font-size: 4em;
    color: white;
}
a {
    text-decoration: none;
    margin: 5px;
    box-shadow: 0px 0px 5px 0px white;
}
header {
    background-color: cornflowerblue;
    flex: 1;
    padding: 40px  10%;
}
nav {
    display: flex;
    flex-direction: column;
    
    
}
nav a {
    background-color: cornflowerblue;
    text-decoration: none;
    color: white;
    padding: 10px 30px;
    border: rgb(255, 255, 255) 1px solid;
    border-radius:  2px;
    margin: 5px;
}
img {
    max-width: max-content;
    width: 100%;
    border-radius: 20px ;
   box-shadow: 0px 0px 5px 0px white;
   flex: 1;
   box-sizing: content-box;
   display: block;
  }
  header img {
    margin-top: 30px;
    margin: 0px;
  }
  section {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  article h1 {
    font-family: "Mr Dafoe";
    text-align: center;
    font-size: 2em;
  }
  
  article{
    margin: 30px;
    text-align: justify;
  }
    
  p {
    text-align: center;
    text-align: justify;
  }
  main h2 {
    text-align: center;
  }
  section.tmava{
    background-color: cornflowerblue;
    flex: 1;
    margin: 20px;
    
    }

    @media (min-width:1000px) {
        nav {
            flex-direction: row;
            justify-content: center;
        }
        h1 {
            text-align: center;
        }
        section {
            flex-direction: row;
            margin: 20px;
        }
    }
    main {
        flex: 1;
        padding: 40px  10%;
    }