@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&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');
body{
    margin: 0;
}
header{
    background-color: black;
    padding: 35px 7% 25px;
    
}
h1{
    color: white;
    margin: 0;
    font-family: "Noto Sans", serif;
    font-weight: bold;
}
span{
    color: rgb(157, 0, 0);
}
p{
    font-family: "Roboto", serif;
    color: white;
}
nav{
    display: flex;
    flex-direction: column;
}
a{
    font-family: "Roboto", serif;
    text-decoration: none;
    color: white;
    background-color: rgb(157, 0, 0);
    margin: 5px 0;
    padding: 5px 0;
}
.top{
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}
.head{
    display: flex;
    width: max-content;
    max-width: 100%;
    margin-top: 20px;
}
main{
    background-color: rgb(129, 129, 129);
    padding: 35px 7% 25px;
}
article{
    background-color: rgb(202, 202, 202);
    padding: 20px 20px 15px;
    margin: 5px 0;
}
.horni article{
    flex: 1;
}
.dolni article{
    flex: 1;
}
h2{
    font-family: "Noto Sans", serif;
    color: rgb(157, 0, 0);
    text-align: center;
    font-size: 1.1em;
}
main p{
    color: black;
    text-align: justify;
}
img{
    width: max-content;
    max-width: 100%;
}
footer{
    background-color: black;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 0 7%;
}
footer p{
    margin: 0;
    font-family: "Noto Sans", serif;
    padding: 20px 0;
    margin: 0 10%;
}
section{
    display: flex;
    flex-direction: column;
}
section div{
    display: flex;
}
li{
    color: rgb(157, 0, 0);
    font-family: "Noto Sans", serif;
}
ol li{
    list-style-type: lower-alpha;
}
@media(min-width: 900px){
    nav{
        flex-direction: row;
        justify-content: center;
    }
    a{
        margin: 5px;
        padding: 5px 20px;
    }
    section{
        flex-direction: row;
        justify-content: center;
    }
    article{
        margin: 10px;
    }
    main{
        padding-left: 6%;
        padding-right: 6%;
    }
}
@media(min-width: 1280px){
    .top{
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }
    p{
        text-align: left;
    }
    section .flex2{
        flex: 2;
    }
    section .flex1{
        flex: 1;
    }
    .horni .flex2{
        order: 1;
    }

}