@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');

* {
    margin: 0;
    -webkit-tap-highlight-color: transparent;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

html {
    scroll-behavior: smooth;
}

html, body, textarea, input, select {
    font-family: Noto Sans, sans-serif;
}


section {
    scroll-margin-top: 60px;
}

p,
.social-icons, footer,
.form-container button,
.price {
    font-size: 18px;
}

h2 {
    color: #000000;
    font-size: 80px;
    margin-bottom: 60px;
    text-align: center;
}

h3 {
    font-size: 40px;
    text-align: center;
    margin-bottom: 20px;
}

h4 {
    font-size: 24px;
    margin-bottom: 20px;
}

.content {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 50px 150px 50px 150px;
}

.blue-text {
    color: #005ed6;
}

header,
footer {
    background-color: #000000;
    color: #ffffff;
    padding: 8px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-content,
.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    margin: 0 auto;
}

/* header and navigation */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img {
    width: auto;
    max-height: 35px;
    padding: 10px 0;
}

.hamburger {
    display: none;
}

.hamburger .fas.fa-bars,
.hamburger .fa-times{
    cursor: pointer;
    font-size: 30px;
}

.hamburger .fa-bars {
    display: block;
}

.hamburger .fa-times {
    display: none;
}

.hamburger.icon-active .fa-bars {
    display: none;
}

.hamburger.icon-active .fa-times {
    display: block;
}

.nav-bar ul {
    display: flex;
    list-style: none;
    font-size: 16px;
    padding: 0;
}

.nav-bar ul li {
    display: block;
    text-wrap: nowrap;
    color: #ffffff;
    padding-bottom: 5px;
}

.nav-bar ul li a {
    text-wrap: nowrap;
    text-decoration: none;
    padding: 10px 20px;
    color: #ffffff;
    transition: background 0.2s ease, border-bottom 0.2s ease;
    border-bottom: 3px solid transparent;
}

.nav-bar ul li.link-active {
    border-bottom: 3px solid #005ed6;
}

/* "Pradzia" page content */
.home-image-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin-bottom: 50px;
}

.home-image-container img {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(50%);
}

.home-content {
    position: absolute;
    display: flex;
    padding: 140px 150px 50px 150px;
    top: 20%;
    color: white;
    font-family: "VT323", monospace;
    font-weight: 400;
    font-style: normal;
}

.home-content h1 {
    letter-spacing: 4px;
    font-size: 84px;
    font-weight: 400;
}

.quote {
    font-size: 36px;
    font-family: "VT323", monospace;
    font-weight: 400;
    font-style: normal;
}

/* footer */
footer {
    padding: 20px 0;
}

footer a {
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    padding-bottom: 10px;
}

footer a:hover {
    color: #005ed6;
}

.footer-contacts {
    text-wrap: nowrap;
    align-items: flex-end;
}

.footer-brand,
.footer-contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-text {
    color: #a8a8a8;
    font-size: 13px;
}

.social-icons a {
    display: inline-block;
}

.social-icons a:hover {
    color: #005ed6;
}

/* mobile */
@media (max-width: 450px) {
    p,
    .social-icons, footer,
    .form-container button,
    .price {
        font-size: 16px;
    }

    h2 {
        margin-bottom: 40px;
        font-size: 50px;
    }

    h3 {
        font-size: 25px;
        margin-bottom: 10px;
    }

    h4 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .home-content {
        padding: 80px 15px 40px 15px;
        text-align: center;
    }

    .content {
        padding: 20px 15px 20px 15px;
    }

    .home-content h1 {
        letter-spacing: initial;
        font-size: 54px;
    }

    .quote {
        font-size: 28px;
    }

    .hamburger {
        display: block;
        cursor: pointer;
        padding: 10px 0 10px 0;
    }

    .nav-bar {
        position: absolute;
        top: 66px;
        left: 0;
        right: 0;
        height: 0;
        width: 100vw;
        background: #11101b;
        transition: background 0.2s ease;
        overflow: hidden;
    }

    .nav-bar.active {
        height: 300px;
    }

        .nav-bar ul {
            display: flex;
            flex-direction: column;
            height: 100%;
            transition: background 0.5s ease;
            padding: 0;
        }

    .nav-bar.active ul {
        opacity: 1;
    }

        .nav-bar ul li {
            display: flex;
            flex: 1;
            border-bottom: 1px solid #404055;
        }

        .nav-bar ul li a {
            display: flex;
            padding: 0;
            height: 100%;
            width: 100%;
            justify-content: center;
            align-items: center;
            border-bottom: none;
        }

    .home-content img {
        justify-self: center;
        max-width: 70%;
    }

    footer,
    .footer-content p,
    .footer-contacts {
        font-size: 10px;
    }

    .footer-brand .logo img {
        max-height: 30px;
        padding-left: 0;
    }
}

/* tablet */
@media (max-width: 768px) and (min-width: 450px) {
        h2 {
            font-size: 60px;
        }

        h3 {
            font-size: 30px;
        }

        h4 {
            font-size: 21px;
        }

        .home-content {
            padding: 100px 75px 50px 75px;
            text-align: center;
        }

        .content {
            padding: 50px 75px 50px 75px;
        }

        .home-content h1 {
            letter-spacing: initial;
            font-size: 64px;
        }

        .quote {
            font-size: 32px;
        }

        .hamburger {
            display: block;
            cursor: pointer;
            padding: 10px 0 10px 0;
        }

        .nav-bar {
            position: absolute;
            top: 66px;
            left: 0;
            right: 0;
            height: 0;
            width: 100vw;
            background: #11101b;
            transition: background 0.2s ease;
            overflow: hidden;
        }

            .nav-bar.active {
                height: 300px;
            }

            .nav-bar ul {
                display: flex;
                flex-direction: column;
                height: 100%;
                transition: background 0.5s ease;
                padding: 0;
            }

            .nav-bar.active ul {
                opacity: 1;
            }

            .nav-bar ul li {
                display: flex;
                flex: 1;
                border-bottom: 1px solid #404055;
            }

            .nav-bar ul li a {
                display: flex;
                padding: 0;
                height: 100%;
                width: 100%;
                justify-content: center;
                align-items: center;
                border-bottom: none;
            }

        .home-content img {
            justify-self: center;
            max-width: 70%;
        }

        footer {
            padding: 20px 15px;
            text-align: center;
        }

        .footer-content {
            flex-direction: column-reverse;
            align-items: center;
        }

        .footer-brand,
        .footer-contacts {
            align-items: center;
        }

        .social-icons {
            display: flex;
            justify-content: center;
            width: 100%;
            font-size: 12px;
        }

            .social-icons a {
                margin: 0 5px;
            }

        footer,
        .footer-content p,
        .footer-contacts {
            font-size: 13px;
        }
    }

.text-danger {
    color: red;
    font-style: italic;
}
