:root {
    --primary-color: #1365B7;
    --secondary-color: #187fE7;
    --tertiary-color: #D4EFFC;
    --shadow-color: #187fE755;
}

* {
    box-sizing: border-box;
    font-family: sans-serif;
}
body {
    margin: 0;
    padding-top: 50px;
    text-align: center;
    background: white;
    color: var(--primary-color);
}
body > * {
    text-align: initial;
}
h1, h2, h3 {
    text-align: center;
}
h1, h2, h3, h4 {
    margin: 20px 0 10px 0;
}
h1:first-child, h2:first-child, h3:first-child, h4:first-child {
    margin-top: 0;
}
h3 {
    font-size: 18px;
}
ul, ol {
    margin: 0;
    padding: 0;
    padding-left: 20px;
}
p, li {
    margin: 0;
    margin-bottom: 10px;
}
h1:last-child, h2:last-child, h3:last-child, h4:last-child, p:last-child, ul:last-child > li:last-child, ol:last-child > li:last-child {
    margin-bottom: 0;
}

summary {
    font-weight: bold;
    cursor: pointer;
    padding: 10px 0;
}

#header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    height: 50px;
    background: var(--primary-color);
}
#menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    height: 100%;
    margin: 0;
}
#menu li {
    margin: 0;
    padding: 0;
}
#menu li::before {
    display: none;
}
#menu a {
    color: white;
    font-weight: bold;
    text-decoration: none;
}
#menu a:hover {
    text-decoration: underline;
}
#menu-btn {
    display: none;
}

.content {
    max-width: 800px;
    margin: auto;
    padding: 30px;
}

.blocks {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}
.block {
    flex: 1;
    min-width: 250px;
    padding: 20px;
    background: white;
    border: 2px solid var(--secondary-color);
    border-radius: 20px;
    box-shadow: 5px 5px 20px var(--shadow-color);
}
.block summary {
    margin: -20px;
    padding: 20px;
}

@media (max-width: 800px) {
    #menu {
        display: none;
        position: fixed;
        top: 50px;
        width: 100%;
        height: initial;
        background: var(--primary-color);
        border-top: 1px solid var(--secondary-color);
    }
    #menu.show {
        display: block;
    }
    #menu li {
        text-align: center;
    }
    #menu a {
        display: block;
        padding: 10px;
    }
    #menu-btn {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 50px;
        height: 50px;
        background: url('/images/menu.svg') no-repeat center;
        border: none;
        border-radius: 50%;
        cursor: pointer;
    }
    #menu-btn:hover, #menu.show + #menu-btn {
        background-color: var(--secondary-color);
    }
}