*{
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
}
body{
    max-width: 1800px;
}
header>h1, header>h2{
color: greenyellow;
background-color: brown;
text-align: center;
font-family: 'Courier New', Courier, monospace;
padding: 0px 20px;
border: black solid 10px;
border-style: groove;

}
header>h1{
    font-size: 3rem;
}
header>h2{
    font-size: 2rem;
}
nav>ul{
    list-style-type: none;
    display: flex;
    flex-direction: column;
}
nav>ul>li{
    width: 100%;
}
nav>ul>li>a{
    background-color: lightgray;
    display: block;
    text-align: center;
    padding: 20px 0px;
    border: black solid 1px;
    border-style: groove;
    font-size: 1.5rem;
}
nav>ul>li>a:active{
    background-color: rgba(169, 169, 169, 0.475);
}

main{
    background-color: rgb(0, 160, 107);
}
main>article{
    padding: 10px 15px;
}
main>article>section>h2{
    display: flex;
    font-size: 1.7rem;
}
main>article>section>p{
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}
main>article>section>img{
    max-width: 600px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
footer{
    background-color: rgb(0, 220, 220);
    font-size: 1.3rem;
}
/* surfplatta */
@media screen and (min-width: 601px) {
    header>h1, header>h2{
        background-color: blueviolet;
    }
    main{
        max-width: 1024px;
        margin: auto;
        width: 100%;
        border: black solid 1px;
    }
    main>article>section>div{
        margin: 10px
    }
    main>article>section{
        display: flex;
        margin: 30px;
    }
    main>article>section>div>p{
        align-items:flex-start;
        min-width: 300px;
        font-size: 1.2rem;
    }
    main>article>section>img{
        min-width: 300px;
    }
    nav>ul{
        flex-direction: row;
    }
    body{
        background-color:rgb(62, 71, 79);
    }
}
/* Dator */
@media screen and (min-width: 1025px) {
    body{
        margin: auto;
    }
    header>h1, header>h2{
        background-color: blue;
    }
    main>article>section.V>div{
        order: 1;
    }
    main>article>section.V>img{
        order: 0;
    }
    main>article>section>img{
        width: 150%;
    }
    main>article>section>div>p{
        font-size: 1.4rem
    }
    main>article>section>div{
        text-align: center;
    }
}