html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Roboto", sans-serif;
    background: #ecf0f1;    
    font-size: 16px;
    color: #505050;
    line-height: 1.8;
}

div.container {
    min-height: 100vh;
    display: grid;
    grid-template-rows: auto 1fr auto;
    grid-template-areas:
        "header"
        "content"
        "footer";
    overflow-x: hidden;    
}

header {
    grid-area: header;
    text-align: center;
    padding: 20px;
    text-align: center;
    background-color: #fff;
    position: relative;
    box-shadow: 0 8px 32px 0 rgba(0, 69, 255, 0.12), 0 1.5px 6px 0 rgba(0,0,0,0.08);
}

header > div.lang {
    position: absolute;
    top: 10px;
    right: 10px;
    width: auto;
    display: flex;
    flex-flow: row nowrap;
    gap: 10px;
}

main {
    grid-area: content;
    padding: 40px 20px 140px 20px;    
    min-height: 0;        
    display: flex;
    flex-flow: column;
    justify-content: stretch;
    align-items: stretch;
}

.card {
    flex: 1 1 auto;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 8px 32px 0 rgba(0, 69, 255, 0.12), 0 1.5px 6px 0 rgba(0,0,0,0.08);
    border-radius: 18px;    
    max-width: 1010px;    
    padding: 40px;
    font-size: 1.08rem;
    color: #222;
    line-height: 1.7;
    letter-spacing: 0.01em;    
}

.card h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: #3a506b;
    text-align: center;
    letter-spacing: 0.02em;
    line-height: 1.5;
}

.card h2 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 16px;
    color: #3777bc;
    text-align: left;
    letter-spacing: 0.01em;
    line-height: 1.5;
}

.card p {
    margin-bottom: 18px;
    color: #444;
}

.card ul {
    margin: 0 0 18px 24px;
    padding: 0;
}

.card li {
    margin-bottom: 10px;
    font-size: 1rem;
    color: #3777bc;
}

.card a {
    color: #43aa8b;
    text-decoration: underline;
    font-weight: 500;
}

footer {
    grid-area: footer;
    background: #0045ff;
    color: #fff;
    padding-bottom: 30px;
    text-align: center;
    position: relative;
}

footer::before {   
    content: ""; 
    position: absolute;
    top: -100px;
    left: -10%;
    height: 140px;
    width: 120vw;    
    background: #0045ff;
    border-radius: 200% 0 0 0;
    z-index: 0;
}

footer > * {
    position: relative;
    z-index: 1;
}


footer > div.txt {
    margin-top: 30px;
    padding-top: 30px;
    border-top: #4d7dff 1px solid;
}


h1,h2,h3 {
    color: #1e1e1e;
    text-align: center;
    line-height: 1.5;
}

a {
    color: #2560ff;
    text-decoration: none;
}