@import url('https://fonts.googleapis.com/css2?family=BBH+Hegarty&family=Comfortaa:wght@300..700&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=DM+Serif+Display:ital@0;1&family=Imperial+Script&family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Kedebideri:wght@400;500;600;700;800;900&family=Licorice&family=Monsieur+La+Doulaise&family=Mr+Dafoe&family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Playwrite+CZ:wght@100..400&family=Quicksand:wght@300..700&family=Raleway:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&family=Rubik+Moonrocks&family=Stack+Sans+Text:wght@200..700&family=Zalando+Sans+SemiExpanded:ital,wght@0,200..900;1,200..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Roboto", sans-serif;
    background-color: #e7e7e7;
    background-image:
    url(""),
}

/*================= Header =================*/

/* Header */

header {
    background-color: #e7e7e7;
    background-image: 
    url("");
    padding: 1% 3%;
}

/*** Logo a Nav ***/

.logo-nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
}

/* Logo */

.logo {
    flex: 1;
}

.logo img {
    position: relative ;
    display: block;
    max-width: 50%;
    min-width: 30%;
}

/* Nav */

.logo-nav ul {
    display: flex;
    flex-direction: row;
    justify-content: right;
    flex: 2;
    margin-top: 2%;
    margin-right: 2%;
}

.logo-nav li {
    list-style: none;
    margin: 0 3%;
}

.logo-nav li a {
    text-decoration: none;
    font-weight: bold;
    color: rgb(48, 80, 124);
    font-size: 1.65rem;
} 


.nav-menu .click-nav a {
    color: rgb(51, 116, 51);
}

/* Hamburger menu */

#menu-toggle {
    position: absolute;
    opacity: 0;
}


#menu-toggle:checked + .hamburger-menu span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

#menu-toggle:checked + .hamburger-menu span:nth-child(2) {
    display: none;
}

#menu-toggle:checked + .hamburger-menu span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.hamburger-menu span {
    transition: 400ms;
}


.hamburger-menu {
    margin-top: 2.3%;
    margin-right: 0.7%;
    display: none;
    cursor: pointer;
}

.hamburger-menu span {
    display: block;
    width: 50px;
    height: 7px;
    background: white;
    margin: 8px 0;
}

.nav-menu {
    display: flex;
    justify-content: right;
    list-style: none;
}


/*================= Main =================*/

main {
    padding: 1% 5%;
}

/*  Dokumenty */

.section-documents {
    padding: 5% 4%;
    background-color: rgba(255,255,255,0.9);
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    margin: 4% 0;
}

.section-documents .section-title {
    font-size: 2rem;
    color: rgb(51, 116, 51);
    margin-bottom: 2%;
    position: relative;
}

.section-documents .section-title::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 70px;
    height: 4px;
    background-color: rgb(51, 116, 51);
    border-radius: 3px;
    margin: -10px 0;
}

.document-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3%;
    margin-top: 3%;
}

.doc-item {
    background-color: #fff;
    border-radius: 12px;
    padding: 3% 4%;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
    transition: transform 250ms;
}

.doc-item:hover {
    transform: translateY(-5px);
}

.doc-name {
    font-size: 1.1rem;
    color: rgb(48, 80, 124);
    margin-bottom: 1.2%;
}

.doc-link {
    display: inline-block;
    text-decoration: none;
    background-color: rgb(51, 116, 51);
    color: white;
    padding: 2% 4%;
    border-radius: 6px;
    font-size: 1rem;
    transition: background 250ms;
}

.doc-link:hover {
    background-color: rgb(39, 89, 39);
}
