:root {
    --main-width: 600px;
    --big-margin: 48px;
    --small-margin: 24px;
    --main-fontsize: 16pt;
    --small-fontsize: 14pt;
}


body {
    width: 100vw;
    height: 100vh;
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    overflow-x: hidden;
    position: static;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    margin: 0;
    font-family: "neue-haas-unica", sans-serif;
    font-weight: 400;
    font-size: var(--main-fontsize);
}

.home-button {
    background-color: white;
    color: #000000;
    outline: none;
    padding: 10px 10px;
    height: auto;
    width: fit-content;
    font-size: 9pt;
    border: 1px solid #BDBDBD;
    border-radius: 10px;
    position: fixed;
    align-content: start;
    margin: 15px;
    left: 0;
    z-index: 2;
}

.main-box {
    max-width: var(--main-width);
    padding: 0;
    margin: 0px 40px 0px 40px;
    position: relative;
}

.spacer {
    height: calc(50vh - 150px);
}

.loadmore {
    margin-bottom: var(--big-margin);
}

.picture {
    margin-bottom: var(--big-margin);
}

.email-sub {
    margin-top: var(--big-margin);
    margin-bottom: var(--big-margin);
}

.first-email-sub {
    margin-bottom: calc(var(--big-margin) * 2);
}

.email-sub-text {
    margin-top: 0;
    margin-bottom: var(--small-margin);
    color: #BDBDBD;
}

.main-title {
    color: #000000;
    margin: 0;
    margin-bottom: var(--small-margin);
    padding: 0;
    text-align: center;
    font-size: 70pt;
    line-height: 85%;
    text-align: left;
    align-self: center;
    font-family: 'Times New Roman', Times, serif;
    font-weight: 500;
    top: 0;
}

.sub-title {
    color: #000000;
    margin-bottom: var(--big-margin);
}

h1 {
    font-size: 36pt;
    line-height: 1.25;
    font-weight: 500;
}

h2 {
    font-size: 28pt;
    line-height: 1.3;
    font-weight: 500;
}

h3 {
    font-size: 22pt;
    line-height: 1.35;
    font-weight: 500;
}

p {
    font-size: var(--main-fontsize);
    line-height: 1.6;
    font-weight: 400;
}

blockquote {
    border-left: 4px solid #BDBDBD;
    margin-left: 0;
    padding-left: 15px;
    color: #8a8a8a;
}

a {
    text-decoration: none;
}


img {
    width: var(--main-width);
    height: auto;
    border-radius: 20px;
    background-color: #f5f5f5;
}

.qoute {
    color: #BDBDBD;
    margin-top: 10px;
    margin-bottom: var(--big-margin);
}

.headline-blog {
    color: #000000;
    margin: 0;
    padding: 0;
    text-align: center;
    line-height: 85%;
    text-align: left;
    align-self: center;
    font-family: 'Times New Roman', Times, serif;
    font-weight: 500;
    top: 0;
    font-size: 50pt;
    margin-bottom: var(--small-margin);
}

.blog-info {
    color: #BDBDBD;
    margin-bottom: var(--big-margin);
    font-size: var(--small-fontsize);
}

form {
    background-color: #fdfdfd;
    display: flex;
    max-width: var(--main-width);
    font-size: var(--small-fontsize);
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    border: none;
    margin: 0;
}

form input {
    background-color: #f5f5f5;
    outline: none;
    padding: 15px 15px;
    height: auto;
    width: auto;
    flex: 1;
    font-size: var(--small-fontsize);
    border: 1px solid #BDBDBD;
    border-right: 0;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    margin: 0;
}

form button {
    background-color: white;
    font-family: "neue-haas-unica", sans-serif;
    font-weight: 400;
    font-size: var(--main-fontsize);
    color: #000000;
    outline: none;
    padding: 15px 15px;
    height: auto;
    width: fit-content;
    font-size: var(--small-fontsize);
    border: 1px solid #BDBDBD;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    margin: 0;
}

form button:hover {
    background-color: #303030;
    color: #ffffff;
    outline: none;
    padding: 15px 15px;
    height: auto;
    width: fit-content;
    font-size: var(--small-fontsize);
    border: 1px solid #BDBDBD;
}

span {
    color: #BDBDBD;
    margin-top: 10px;
    display: block;
}

#message {
    color: #d61212;
    margin-top: 5px;
    font-size: var(--small-fontsize);
}

.blogposts-container {
    margin-bottom: calc(var(--big-margin) * 2);
}

.title {
    font-family: 'Times New Roman', Times, serif;
    font-weight: 200;
    font-size: 27pt;
    margin-top: var(--small-margin);
    margin-bottom: calc(var(--small-margin) / 2);
    color: #000000;
}

.info {
    margin-top: 0;
    margin-bottom: var(--big-margin);
    font-size: var(--small-fontsize);
    color: #BDBDBD;
}

.line {
    border-top: 1px solid black;
    margin: 0;
}

.loadmore {
    text-align: center;
}

.footer {
    max-width: var(--main-width);
    padding: 0;
    margin: 0px 40px 0px 40px;
    position: relative;
    align-content: center;
    align-items: center;

}

.margin {
    height: var(--big-margin);
}

.rights {
    text-align: center;
    font-size: var(--small-fontsize);
}

.main-box {
    width: var(--main-width);
}

.icon-container {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    align-content: center;
}

@media (max-width: 600px) {
    :root {
        --main-width: calc(100vw - 45px);
        --big-margin: 36px;
        --small-margin: 18px;
        --main-fontsize: 12pt;
        --small-fontsize: 10pt;
    }

    h1 {
        font-size: 36pt;
        line-height: 1.25;
        font-weight: 500;
    }

    h2 {
        font-size: 28pt;
        line-height: 1.3;
        font-weight: 500;
    }

    h3 {
        font-size: 22pt;
        line-height: 1.35;
        font-weight: 500;
    }

    p {
        font-size: var(--main-fontsize);
        line-height: 1.6;
        font-weight: 400;
    }

    .spacer {
        height: calc(50vh - 280px);
    }

    .main-title {
        font-size: 47pt;
    }

    .title {
        font-size: 20pt;
        margin-top: var(--small-margin);
        margin-bottom: calc(var(--small-margin) / 2);
    }

    .headline-blog {
        font-size: 35pt;
    }

    .icon-container {
        gap: 5px;
    }

    .icon-container svg {
        transform: scale(70%);
    }
}