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

body {
    font-family: sans-serif;
    font-size: 1.2em;
    line-height: 1.8em;
}

header {
    position: fixed;
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #6b380c;
}

header ul {
    display: flex;
    justify-content: space-evenly;
    width: 80%;
}

header ul li {
    display: flex;
    align-items: center;
    color: #ffd54f;
    font-size: 25px;
}

header ul li img {
    width: 40px;
    height: 40px;
    margin-right: 15px;
}

header ul li img:hover {
    transform: scale(1.2);
}

main {
    width: 100%;
    height: auto;
    min-height: 100vh;
    background: linear-gradient(#0000002e, #0000002e),
                url("img/bee-background.jpg") no-repeat;
    background-size: cover;
    background-attachment: fixed;
    color: #efe3e3;
}

/* Kontejner pro obsah v main */
main .wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 200px;
}

/* Všechny sekce v main */
main section {
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 3px 3px 20px rgba(255,255,255,0.10);
}

h1 {
    line-height: 1.4em;
}

p {
    margin-top: 10px;
}

section ul li {
    list-style: none;
}

main img {
  width: 100%;
  max-width: 410px;
  border-radius: 10px;
}

/* Obrázek v main s nástroji */
.tools {
  margin-left: auto;
}

/* Obrázek v main s včelařkou */
.beewoman {
    margin-bottom: 50px;
}

footer {
    font-size: 15px;
    line-height: 60px;
    text-align: center;
    background-color: #b8871a;
    color: #2b0e0285;
}

/* Media queries */
@media (max-width: 920px) {
    header ul li img {
    width: 30px;
    height: 30px;
    margin-right: 15px;
    }

    header ul li div {
    font-size: 18px;
    }
}

@media (max-width: 730px) {
    header {
        height: 150px;
    }
    header ul {
    flex-direction: column;
    align-items: center;
    }

    main {
        background-attachment: scroll;
    }

    main .wrapper {
        grid-template-columns: 1fr;
    }
}