 :root {
  --max-width: 1000px;
  --main-color: #7800ca;
  --light-color: rgb(178, 143, 255);
  --light-bg: #f9f5ff;
  /* --background-color: rgb(239, 251, 255); */
  --background-color: white;
}

html {
    font-family: sans-serif;
    background-color: var(--background-color);
    color: black; /*var(--main-color);*/

  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 110%;
}

body {
    margin: 0;
}

.topbar {
    /* background-color: rgb(147, 221, 255); */
    margin-top: 8px;
    padding-bottom: 2px;
    margin-bottom: 8px;
    border: 2px solid var(--light-color);
    /* height: 50px; */

    /* background: repeating-linear-gradient( -45deg, var(--light-color), var(--light-color) 2px, #00000000 2px, #00000000 10px );     */
    background: var(--light-bg);
}

.topbar-content {
    margin-left: auto;
    margin-right: auto;
    max-width: var(--max-width);
    padding: 8px;
    margin-top: 4px;
}

a {
    text-decoration: none;
    color: var(--main-color);
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}

.navlinks a {
    font-weight: bold;
    margin-right: 8px;
    font-size: 120%;
    color: var(--main-color);
}

.navlinks {
    /* float: right; */
}

.content {
    display: block;
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 8px;
    padding-right: 8px;
}

footer {
    border-top: 1px dashed var(--main-color);
    text-align: center;
}

h1, h2 {
    border-top: 1px dashed var(--main-color);
    padding-top: 2px;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--main-color);
    clear: both;
}

.cta-button {
    background-color: var(--main-color);
    color: white;
    padding: 8px 14px 8px 14px;
    border-radius: 8px;
    display: inline-block;
}

.cta-button:hover {
    text-decoration: none;
    background-color: var(--light-color);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.benefit-card {
    background: #f7f9fb;
    border: 1px solid #e2e6ea;
    border-radius: 8px;
    padding: 1.5rem;
}

.benefit-card h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.benefit-card p {
    margin: 0;
    line-height: 1.5;
    color: #333;
}

.big-img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    margin-bottom: 8px;
}

@media (width >= 600px) {
    .float-right {
        float:right;
        width:300px;
        height:300px;
        margin-bottom: 8px;
        margin-left: 8px;
    }
}

@media (width < 600px) {
    .float-right {
        width:100%;
        height:300px;
        height: auto;
        margin-bottom: 8px;
    }
}
