:root {
    --mainColor: rgb(255, 180, 180);
    --secondColor: rgb(229, 255, 204);
    --bgtransparent: rgba(255, 255, 255, 0.603);
    --mainFont: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* {
    box-sizing: border-box;
}

body>* {
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
}

body {
    margin: 0;
    font-family: var(--mainFont);
}

header {
    background-color: var(--mainColor);
    background-image: url(../bg.jpg);
    color: white;
    display: flex;
    flex-direction: column;
}

header>section {
    flex: 1 1 auto;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: row;
}

header>section>div {
    flex: auto;
}

header>section>div:nth-of-type(2) {
    background-color: tomato;
}

h1 {
    justify-content: center;
    align-items: center;
}

nav {
    background-color: var(--bgtransparent);
    position: sticky;
    top: 0;
}

nav ul {
    display: flex;
    margin: 0;
}

nav li {
    list-style-type: none;
    padding: 5px;
}

nav a {
    text-decoration: none;
}

nav a:hover, .active {
    background-color: rgba(255, 255, 255, 0.603);
}

main, footer {
    background-color: var(--secondColor);
}

main, footer {
    padding: 0 5em;
}