@import "variables.css";
@import "forms.css";
@import "parts.css";
@import "nav.css";
@import "footer.css";
@import "homepage.css?v=2";
@import "about-us.css";
@import "contact.css";
@import "price-list.css";
@import "functions.css";
@import "demo.css";

* {
    box-sizing: border-box;
    font-family: var(--primary-font);
    scroll-margin-top: 90px;
}

body {
    margin: 0;
    padding: 0;
    top: 0;
    height: 100%;
    font-family: var(--primary-font);
    font-weight: 400;
    font-size: 16px;
    color: var(--web-text);
    background-color: white;
}

html {
    height: 100%;
    scroll-behavior: smooth;
}

/*------------------------------*/

h1, h2, h3 {
    color: var(--web-headline-text);
    font-family: var(--headline-font);
    font-weight: bold;
}

h1 {
    padding-top: 102px;
    font-size: 48px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: 800;
    line-height: 1;
    margin: 0 auto;
    width: 95%;
}

h1 span {
    color: var(--prihlaskovna-green);
}

h2 {
    width: 95%;
    font-size: 36px;
    margin: 0;
    text-align: center;
}

h3 {
    font-size: 20px;
    margin: 0;
}

p {
    line-height: 1.5;
}

/*------------------------------*/

.box {
    width: 100%;
}

.box-content {
    max-width: 1250px;
    width: 95%;
    margin: 0 auto;
}

#main {
    padding-top: 72px;
    min-height: calc(100vh - 329px);
}

.plain-page h1 {
    margin-bottom: 80px;
}

.plain-page {
    padding-bottom: 80px;
}

.box-content.plain-page {
    max-width: 600px;
}

/*------------------------------*/

#cookies {
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 700px;
    border-radius: 10px;
    padding: 30px 20px;
    display: flex;
    justify-content: space-between;
    background-color: var(--light-grey);
    font-size: 14px;
    gap: 20px;
    z-index: 10000;
}

#cookies h3 {
    font-size: 20px;
    margin-top: 0;
    font-weight: bold;
    margin-bottom: 15px;
}

#cookies p {
    margin: 0;
}

#cookies a, #cookies a:visited, #cookies a:hover {
    color: var(--text);
}

#cookies div:last-of-type {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

#cookies .button {
    height: 42px;
}

@media (max-width: 935px) {
    #main {
        padding-top: 60px;
    }
}

@media (max-width: 700px) {
    body {
        font-size: 14px;
    }

    h1 {
        font-size: 35px;
        padding-top: 50px;
    }

    h2 {
        font-size: 26px;
    }

    h3 {
        font-size: 18px;
    }
}
