@font-face {
    font-family: 'Teko';
    src: url('fonts/Teko-VariableFont_wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-optical-sizing: normal;
}

html {
  scroll-behavior: smooth;
}

body {
    font-family: 'Teko', sans-serif;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    margin: 0;
    line-height: 0.85;
}

a {
    text-decoration: none;
    transition: filter 0.3s ease;
}

a:hover {
    filter: brightness(175%);
}

#header_main {
    display: flex;
    justify-content: space-between;
    background-color: #F2EDD7;
    padding: 0 20px 0 40px;
}

#header_main div {
    display: flex;
    align-items: center;
}

header h1 {
    font-weight: bold;
    font-size: 40px;
    padding-top: 5px;
}

header img {
    width: 55px;
    margin-right: 20px;
}

#header_main a {
    color: #18361E;
}

#header_small {
    display: none;
    background-color: #18361E;
    padding: 0 40px;
}

header ul {
    margin: auto 0;
    padding: 5px 0 0 0;
    height: 100%;
    display: flex;
    align-items: center;
    list-style-type: none;
}

#header_small ul {
    justify-content: space-between;
    gap: 20px;
}

header ul li {
    margin-right: 20px;
    line-height: 40px;
}

#header_small ul li {
    margin-right: 0;
}

header ul li a {
    font-size: 30px;
    font-weight: bold;
}

#header_small ul li a {
    color: #F2EDD7;
}

div#home {
    height: 500px;
    background-image: url(src/nordpack-pattern_white_spaced.svg);
    background-position: center;
    background-repeat: repeat;
    background-size: 120vh;
    background-color: #18361E;
    text-align: center;
}

.overlay {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);  
}

div#home h1 {
    text-align: center;
    font-weight: bold;
    font-size: 140px;
    margin: 0;
    color: #F2EDD7;
}

div#home h2 {
    display: inline-block;
    font-size: 40px;
    color: #f5f5f5;
    margin: 0;
}

div.part {
    padding: 30px 40px;
}

h3 {
    font-weight: bold;
    font-size: 35px;
    margin: 0 0 20px 0;
}

#onas {
    background-color: #F2EDD7;
    color: #18361E;
}

#introduction {
    padding: 0 0 0 40px;
}

#introduction li {
    font-size: 22px;
    margin-bottom: 15px;
    line-height: 30px;
}

#produkty {
    background: #18361E;
    color: #F2EDD7;
    padding: 0 0 0 40px
}

#produkty h3 {
    margin: 30px 0;
}

div#product_cards {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin: 0 40px 60px 0;
}

div.product_card {
    display: block;
    width: 300px;
    height: auto;
    padding-bottom: 6px;
    background: #F2EDD7;
    border: #665D39 solid 3px;
}

h4 {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #C4B08F;
    padding: 0 10px;
    height: 80px;
    margin: 0;
    font-weight: bold;
    font-size: 22px;
    color: black;
}

div.product_card li {
    font-size: 20px;
    margin-bottom: 15px;
    line-height: 30px;
    padding: 0 30px 0 7.5px;
    color: black;
}

div#kontakt {
    background-color: #F2EDD7;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

div#contact_info p {
    font-size: 25px;
    margin: 12px 0;
}

div#contact_info p.contact_mail {
    margin: 20px 0 0 0;
}

div#contact_info p.contact_mail a {
    font-weight: bold;
}

div#contact_phone p.contact_phone {
    margin: 8px 0;
}

div#contact_info p a {
    color: rgb(90, 90, 90);
    font-size: 20px;
}

/* Responsive */
@media only screen and (max-width: 800px) {
    nav {
        display: none;
    }

    div#home h1 {
        font-size: 20vw;
    }

    div#home h2 {
        font-size: 6vw;
    }

    #header_small {
        display: block;
    }
}

@media only screen and (max-width: 380px) {
    iframe {
        width: 100%;
        height: 300px;
    }
}