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

body,
html {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    scroll-behavior: smooth;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

p {
    margin-bottom: 20px;
}

img {
    max-width: 100%;
}

.container {
    max-width: 700px;
    margin: 0 auto;
}

.header {
    background: linear-gradient(45deg, #f00, #00f);
    color: #fff;
    padding: 10px 0;
    margin-bottom: 80px;
}



.header .menu ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

.header .menu a {
    color: #fff;
}

.header .menu a:hover {
    color: #f00;
}

.section {
    margin: 30px 0;

}

.section h2 {
    margin-bottom: 30px;
    text-align: center;
    background: linear-gradient(45deg, #f00, #00f);
    color: #fff;
    padding: 10px 0;
    font-size: 40px;
}

.section#home {
    margin-bottom: 100px;
}


.section p:first-of-type {
    background: lightyellow;
}

.section li:nth-child(odd) {
    background: #eee;
}

.section li:nth-child(even) {
    background: #ddd;
}


.section:has(img) {
    background: lightgray;
    padding: 20px;
}

/* Ul +p */
ul+p {
    background-color: #333;
}


a[href^='http://'],
a[href^='https://'] {
    color: #f00;
}

.section:nth-of-type(2) p:first-of-type a:first-of-type,
.section:nth-of-type(2) p:nth-of-type(2) {
    font-weight: bold;
}
