@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500&display=swap');

/**
 * Helpers
 */

.ml-2 {
    margin-left: 20px;
    margin-right: 20px;
}

.mt-2 {
    margin-top: 20px;
}

* {
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
}

.container {
    margin: 0 auto;
}

a {
    text-decoration: none;
}

body {
    background-color: #f8f8f8;
    min-height: 100vh;
}

.navbar {
    align-items: center;
    background-color: #21262a;
    display: flex;
    height: 56px;
    justify-content: space-between;
    padding: 0 40px;
}

.navbar .container {
    align-items: center;
    display: flex;
    justify-content: space-between;
    width: 1140px;
}

.navbar-brand {
    color: #f8f8f8;
    font-size: 32px;
    font-weight: 300;
    text-transform: uppercase;
    user-select: none;
}

.navbar-brand span {
    color: #8cbd30;
}

.navbar-nav {
    display: flex;
    font-weight: 300;
    gap: 12px;
    margin-left: 36px;
}

.nav-item {
    color: #f8f8f8;
    list-style: none;
    padding: 16px 0;
}

.nav-item a {
    color: #f8f8f8;
}

.nav-item .green {
    color: #8cbd30 ;
}

.nav-item .green:hover {
    color: #f8f8f8;
    border-bottom: 2px solid #f8f8f8;
}

.nav-item .active_page {
    border-bottom: 2px solid #f8f8f8;
}

.nav-item a:hover {
    color: #8cbd30;
    border-bottom: 2px solid #8cbd30;
}

.nav-button {
    display: block;
    background-color: #8cbd30;
    padding: 8px 24px;
}

.navbar-toggle {
    color: #8cbd30;
    display: none;
}

.jumbotron {
    /*background-color: #333333;*/
    background-image: url('images/background4.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    height: 400px;
    margin-bottom: 0px;
    width: 100%;
}

.jumbotron .contact-form {
    background-color: #f8f8f8;
    border-radius: 10px;
    height: 300px;
    margin: 56px 0px 0 20px;
    padding: 0px 36px;
    width: 50%;
}

.jumbotron .show-demo {
    background-color: aqua;
    height: 300px;
    margin: 56px 0 0 0;
    width: 50%;
}

.contact-form input {
    border: 0;
    border-bottom: 2px solid #8cbd30;
    font-size: 24px;
    outline: none;
    padding: 12px;
    width: 100%;
}

.jumbotron .contact-form p {
    color: #f8f8f8;
    font-size: 24px;
    position: relative;
    left: -40px;
    top: -40px;
}

.jumbotron .show-demo p {
    color: #f8f8f8;
    font-size: 24px;
    position: relative;
    top: -40px;
}

.jumbotron .container {
    align-items: center;
    display: flex;
    justify-content: center;
}

.contact {
    height: 32px;
    width: 100%;
}

.contact .container {
    align-items: center;
    display: flex;
    height: 32px;
    justify-content: end;
    width: 100%;
}

.contact .phone-number {
    background-color: #21262a;
    border-radius: 0 0 10px 10px;
    color: #f8f8f8;
    height: 32px;
    line-height: 32px;
    text-align: center;
    margin-right: 12px;
    width: 300px;
}

.contact .email {
    background-color: #21262a;
    border-radius: 0 0 10px 10px;
    color: #f8f8f8;
    height: 32px;
    line-height: 32px;
    text-align: center;
    width: 300px;
}

.articles .container {
    background-color: #f8f8f8;
    width: 100%;
}

.articles article {
    background-color: #f8f8f8;
    border-radius: 10px;
    width: 100%;
    margin-bottom: 20px;
}

article h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    color: #8cbd30;
    font-size: 32px;
    padding: 20px 20px 10px 20px;
}

article p {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 20px;
    margin: 0 0 40px 0;
    padding: 0 60px;
    text-align: justify;
}

article span {
    color: #8cbd30;
    font-size: 20px;
    font-weight: 500;
    margin: 0 0 40px 0;
    padding: 0 60px;
}

article a {
    color: #8cbd30;
}

article ol {
    padding: 0 100px;
    font-weight: 300;
}

article ol li {
    font-size: 20px;
    list-style: decimal;
    padding-bottom: 20px;
}

article ul {
    padding: 0 100px;
    font-weight: 300;
}

article ul li {
    font-size: 20px;
    list-style:square;
    padding-bottom: 20px;
}

article .img-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

article img {
    margin: 0 auto;
    text-align: center;
}


footer {
    position: sticky;
    background-color: #21262a;
    height: 76px;
    margin-top: 40px;
    width: 100%;
}

footer .container {
    align-items: center;
    display: flex;
    height: 76px;
    justify-content: center;
    flex-flow: column;
    overflow: hidden;
    width: 100%;
}

footer p {
    color: #f8f8f8;
    font-size: 20px;
}


/* Kontakt */

.contact-container {
    align-items: center;
    display: flex;
    width: 100%;
    height: 400px;
    justify-content: center;
}

.address {
    align-items: center;
    background-color: #f8f8f8;
    display: flex;
    flex-direction: column;
    font-size: 20px;
    height: 440px;
    justify-content: center;
    width: 50%;
}

.form-container {
    align-items: center;
    background-color: #f8f8f8;
    display: flex;
    flex-direction: column;
    height: 440px;
    justify-content: center;
    width: 50%;
}

.form-container form {
    border: 1px solid #21262a;
    border-radius: 4px;
    gap: 20px;
    padding: 50px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.form-container input {
    background-color: #f8f8f8;
    border: none;
    border-bottom: 2px solid #21262a;
    outline: none;
    padding: 10px;
}

.form-container input:focus {
    border-bottom: 2px solid #8cbd30;
}

.form-container button {
    background-color: #21262a;
    border: none;
    border-radius: 4px;
    color: #f8f8f8;
    margin-top: 20px;
    padding: 12px 0;
}

.form-container button:hover {
    background-color: #8cbd30;
    color: #21262a;
    cursor: pointer;
}


@media (min-width: 1200px) {
    .articles .container {
        width: 960px;
        border-radius: 10px;
    }

    .jumbotron .container {
        width: 1140px;
        border-radius: 10px;
    }

    .contact .container {
        width: 1140px;
    }

    footer .container {
        width: 1140px;
    }

    .show-demo {
        display: flex;
    }
}


@media (max-width: 880px) {
    .container {
        width: 100%;
    }

    .navbar-toggle {
        display: block;
    }

    .navbar-nav {
        display: none;
        background-color: #333333;
        position: absolute;
        flex-direction: column;
        text-align: center;
        top: 56px;
        right: 0;
        height: calc(100vh - 56px);
        width: 100%;
        z-index: 100;
    }

    .active {
        display: block;
    }

    .address {
        width: 100%;
    }

    .form-container {
        display: none;
    }
}

@media (max-width: 600px) {
    .contact .phone-number {
        border-radius: 0;
        margin-right: 0;
    }

    .contact .email {
        border-radius: 0;
    }
}
