/* Resetování výchozích stylů prohlížeče */

* {

    box-sizing: border-box;

}

h1, h2 {
    margin: 0;
    padding: 0;
}


.content {
    max-width: 1080px;
    width: 100%; /* Ensure the container takes the full width of the viewport if it's smaller than 800px */
    padding: 0px;
    box-sizing: border-box; /* Include padding in the total width */
}

iframe {
    width: 750px; /* Default width for desktop */
    height: 421px; /* Default height for YouTube video */
}

/* Media query for mobile devices */
@media only screen and (max-width: 750px) {
    iframe {
        width: 100%; 
    }
}

/* Styles for <p> elements */
p {
    font-family: Arial, sans-serif;
    font-size: 1.1rem;
    line-height: 1.9;
    color: black;
    text-align: left;
    padding: 15px;
}

/* Add a subtle border bottom to paragraphs */
h2 {
    border-bottom: 1px solid #ccc;
    margin: 0;
    padding: 0;
}

/* Add space under <h2> elements with a border-bottom */
.heading-container {
    padding-bottom: 20px; /* Adjust the value as needed */
}

a {
color: #333;
}


/* Styly pro hlavní obsah (main) */
main {
    padding: 20px;
}


.main-functions {
    font-family: 'Helvetica', serif;
    background-color: #dcdcdc;
    padding: 10px;
}

.main-functions li {
    margin-bottom: 20px;
}

.styled-text {
    font-style: italic;
    font-weight: 700;
    background: #f0f0f0;
    color: #333;
}

/* Základní styly pro tělo stránky */
body {
    font-family: Arial, sans-serif;
    background-color: #eaeaea;
    color: #333;
    line-height: 1.6;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
    margin: 0;
    padding: 0;
}

header {
    background-color: #333;
    color: #fff;
    text-align: center;
    max-width: 800px;
    padding: 20px;
    width: 100%; /* Ensure the container takes the full width of the viewport if it's smaller than 800px */
    box-sizing: border-box; /* Include padding in the total width */
}


nav ul {
    list-style-type: none;
    display: flex;
    font-size: 1.2rem;
    justify-content: center;
    background-color: #444;
    padding: 12px 0;
}

nav ul li {
    margin: 0 10px;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
}

nav a:hover {
    text-decoration: none;
    color: #FFA500;
}


/* Styly pro sekce (section) */
section {
    margin-bottom: 20px;
}


section ul li {
    padding-top: 5px;
}


.container {
    display: flex;
    height: 100%;
	flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.container2 {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Adjust widths as needed */
    justify-items: center;
    align-items: center;
    border: 0px solid #FFA500;
    border-radius: 10px;
    background-color: transparent;
    width: 100%;
    padding: 10px;
}

.feature {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 90%;
    padding: 20px;
    min-height: 200px;
    margin-top: 5px;
    margin-bottom: 15px;
    border: 1px solid #FFA500;
    border-radius: 10px;
    background-color: #f0f0f0;
    font-family: Arial, sans-serif;
    font-family: 'Helvetica', serif;
    font-size: 1.2rem;
    line-height: 1.7;
    color: black;
    text-align: justify;

    }

.feature-gfx {
    border: 0px solid #FFA500;
    width: 80%;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-around;
}


.feature-gfx img {
    width: calc((60% / var(--img-count)) - 0px);
    max-width: 70px;
    @media only screen and (max-width: 750px) {
        width: calc((100% / var(--img-count)) - 0px);
    }
    height: auto;
}

.step {
    width: 70%;
    padding: 20px;
    border: 5px solid #FFA500;
    border-radius: 10px;
    background-color: #f0f0f0;
    text-align: left;
    margin-bottom: 20px;
}

.step img {
    width: 80px;
    float: right;
    padding: 20px;

}

/* Styly pro zápatí (footer) */
footer p {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px;
}

.footer-text {
    color: white;
}

