@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300..700&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Pacifico&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,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&family=Rubik+Marker+Hatch&display=swap');
*{
    padding: 0;
    margin: 0;
}

body{
    font-family: "Comfortaa", serif;
}
header{
    background-color: black;
    color: white;
}
header p{
    text-align: center;
    padding: 10px;
}
nav a{
    color: white;
    text-decoration: none;
    background-color: red;
    padding: 5px 10px ;
    margin: 3px;
}
h1{
    color: rgb(255, 0, 0);
    text-align: center;
    padding: 10px;
}

h1 strong{
    color: rgb(255, 255, 255);
}
nav{
    display: flex;
    flex-direction: column;
    text-align: center;
}
header div{
    padding: 25px;
}
main h2{
    text-align: center;
    color: red;
}
main p{
    padding-top: 10px;
}
main section{
    display: flex;
    flex-direction: column;
    text-align: justify;
}
main article{
    padding: 15px;
    margin: 15px;
    background-color: rgb(211, 211, 211);
    flex: 1;
}
main{
    background-color: grey;
}
img{
    width:100%;
    max-width: max-content;
}
footer a {
    text-decoration: none;
    color: white;
}
footer{
    background-color: black;
    padding: 20px;
}
footer section{
    display: flex;
    flex-direction: row;
}
ul{
    padding-left: 40px;
}
ol{
    padding-left: 40px;
}
footer article{
    flex: 1;
    text-align: center;
}
@media(min-width:700px){
    main   section{
        flex-direction: row;
    }
    nav{
        flex-direction: row;
        justify-content: center;
    }
    main div{
        flex: 1;
        display: flex;
    }
}
@media(min-width:1200px){
    header div{
        padding: 0px;
    }
    div.top{
        justify-content: space-between;
        display: flex;
        flex-direction: row;
        align-items: flex-end;
        padding: 20px;
    }
    header{
        padding: 20px;
    }
    main section{
        padding: 15px;
    }
    main section{
        display: flex;
    }
    .text{
        order: 1;
    }
    main div section img{
        order: 2;
    }
    main section div{
        flex: 1;
    }
    section div.velky{
        flex: 2;

    }
    section div.text{
        flex: 2;

    }


}