@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap'); :root{ --text-color: black; } *{ box-sizing: border-box; padding: 0px; margin: 0px; } html{ height: 100%; } body{ font-family: 'Open Sans', sans-serif; min-height: 100vh; display: flex; flex-direction: column; } .header{ display: flex; justify-content: center; margin-bottom: 1.5rem; font-size: 1.5rem; } .header .left{ display: flex; gap: 1rem; } .header a{ text-decoration: underline; color: var(--text-color); } .header .jmeno{ text-align: center; } .header > *{ width: 100%; } .header .right{ text-align: right; } .wrapper{ margin-right: auto; margin-left: auto; max-width: 80%; padding-right: 10px; padding-left: 10px; } .page > *{ margin-bottom: 3rem; } .projects > *:not(:first-child){ margin-bottom: 1rem; } .projects > :first-child{ margin-bottom: .5rem; } .contact{ display: flex; flex-direction: column; align-items: center; } .contact form{ display: flex; flex-direction: column; width: 30rem; } .contact form button{ margin-left: 10rem; margin-right: 10rem; padding-top: 1rem; padding-bottom: 1rem; border-radius: 10px; background-color: rgba(255, 255, 255, 0.719); font-size: 1rem; cursor: pointer; box-shadow: 5px 5px 15px -5px rgba(0,0,0,0.58); } .footer{ display: flex; flex-direction: column; align-items: center; margin-top: auto; } .footer .text{ font-size: 1.3rem; } .footer .links a{ color: var(--text-color); text-decoration: underline; }