/* Base Styling */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.25), rgb(7, 7, 7, 1)), url('Bez názvu-1.png');
    color: rgb(255, 255, 255);
    padding: 15%;
    text-align: center;
    font-size: 275%;
    background-repeat: no-repeat;
    background-size: cover;
    font-family: Cinzel, serif;
}

main {
    flex: 1;
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.3), rgba(17, 17, 17, 0.7)), url('Total-War-Rome.jpeg');
    background-size: cover;
    background-repeat: no-repeat;
    font-family: 'Cormorant Garamond', serif;
    font-size: 135%;
}

.menu {
    background-color: rgb(7, 7, 7);
    padding: 0.8%;
    text-align: center;
}

.menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.menu li {
    display: inline;
    margin-right: 15px;
}

.menu a {
    text-decoration: none;
    color: white;
    font-family: Cinzel, serif;
    font-size: 18px;
    padding: 8px 15px;
    transition: background-color 0.2s;
}

.menu a:hover {
    background-color: #0f0f0f;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-size: cover;
    background-position: center;
    height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.sections-container1 {
    justify-content: space-between;
}

.section1 {
    background: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.65));
    padding: 3%;
    height: 8%;
    margin-right: 50%;
    padding-bottom: 4%;
    padding-left: 20%;
    margin-top: 4%;
    color: white;
}

.section2 {
    margin-top: 10%;
    background: linear-gradient(to left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.65));
    padding: 4%;
    height: 8%;
    margin-left: 50%;
    padding-right: 20%;
    color: white;
}

.section3 {
    text-align: center;
    margin-top: 7%;
    margin-bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.65));
    padding-bottom: 0;
}

.section3 img {
    width: 100%;
    height: auto;
    max-width: 800px;
    display: block;
    margin: 0 auto;
}

footer {
    background: rgb(7, 7, 7, 1);
    color: white;
    text-align: center;
    padding: 1%;
    padding-bottom: 2%;
    width: 100%;
    font-family: 'Cormorant Garamond', serif;
}

@media (max-width: 600px) {
    header {
        font-size: 1.5em;
    }
    .menu li {
        display: block;
        margin: 5px 0;
    }
    .section1, .section2 {
        margin: 10px 0;
    }
    .sections-container1 {
        flex-direction: column;
    }
}
