:root { --my-brown: brown; --my-red: red; --my-black: black; } footer { position: fixed; bottom: 0; } body { background-image: url(obrazky/005.jpg); background-size: 100%; max-width: 1200px; margin: auto; margin-bottom: 25px; /* obrázek na pozadí */ background-attachment: fixed; /* pozadí neroluje */ /*background-color: black; /* případná barva pozadí černá */ /*color: white; } /* bílý text */ } @media screen and (max-width: 600px) { body { width: calc(100% - 16px); background-image: url(obrazky/white-21.jpg); } } /*flebox*/ .flexbox { display: flex; justify-content: flex-start; gap: 45px; } /* */ .dot { list-style-type: none; } @media screen and (max-width: 600px) { .flexbox { flex-direction: column; } .menu { order: -1; } .text-obsah { order: 1; } } @media screen and (max-width: 600px) { .clock { display: flex; display: none; } } /* web s projekty */ .flexbox-project { flex-direction: column; background-color: rgba(250, 250, 250, 0.576); text-align: center; border-radius: 50px; } .h1pr { text-align: center; } .project { margin-bottom: 15px; padding: 10px; } @media screen and (max-width: 600px) { .flexbox-projekt { width: calc(100% - 16px); flex-direction: column; display: flex; } .h1pr { text-align: center; } /* .dot.pr { text-align: center; color: red; } */ .content-pr { /* display: flex; */ text-align: center; padding: auto; } .project { /* display: flex; */ text-align: center; padding: auto; } } /* ˇO mě */ .obsah { flex-direction: column; background-color: rgba(250, 250, 250, 0.576); text-align: center; border-radius: 50px; }