/* CSS Reset */

* {
    margin: 0;
    padding: 0;
    box-sizing: content-box;
}

/* Variables */

:root {
    --TEXT-COLOR: rgb(247, 242, 233);
    --HOVER-TEXT-COLOR: rgb(172, 172, 172);
    --HTML-BG-IMG: linear-gradient(to bottom, rgb(83, 83, 83), rgb(34, 34, 34));
}

/* Elements */

html {
    display: flex;
    justify-content: center;
    background-image: var(--HTML-BG-IMG);
    color: var(--TEXT-COLOR);
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0 0.5rem;
    padding: 0 0.5rem;
    width: 75vw;
    border-left: solid black 1.5px;
    border-right: solid black 1.5px;
    background-color: rgba(255, 255, 255, 0.1);
}

p {
    padding: 0 0.5rem;
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

section {
    margin: 0.5rem 0;
}

a {
    text-decoration: none;
    color: var(--TEXT-COLOR);
}

ul {
    font-size: 1.05rem;
    list-style-type: none;
    margin: 0.5rem 1rem;
}

li {
    margin-top: 0.5rem;
}

h1 {
    text-align: center;
}

section article {
    margin: 0.5rem 0;
}

/* Classes */

.hero {
    display: flex;
    margin: 0.5rem;
    justify-content: space-between;
}

.hero_img {
    width: auto;
    max-height: 200px;
    border: solid black 2px;
    border-radius: 50%;
}

.zakladne_info {
    list-style-type: none;
    margin: 0.5rem 1rem;
}

.prototypImg {
    height: auto;
    max-width: 45%;
    margin-bottom: 1rem;
}

/* Utility classes */

.centerText {
    text-align: center;
}

.bold_italic {
    font-weight: bolder;
    text-decoration: underline;
    font-style: italic;
}

.displayFlex {
    display: flex;
    justify-content: space-around;
    flex-flow: wrap;
}

.underline {
    text-decoration: underline;
}

/* Pseudo Elements */

a:visited {
    color: var(--TEXT-COLOR);
}

a:hover {
    color: var(--HOVER-TEXT-COLOR);
}

/* Media Queries */

@media (prefers-color-scheme: light) {
    :root {
        --TEXT-COLOR: rgb(0, 0, 0);
        --HOVER-TEXT-COLOR: rgb(63, 63, 63);
        --HTML-BG-IMG: linear-gradient(to bottom, rgb(231, 231, 231), rgb(82, 82, 82));
    }
}
