*, *::before, *::after {box-sizing: border-box;}

body {
    margin: 0px;
    background-color: #F4F1E7;
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
    cursor: default;
}

header {
    display: flex;
    flex-direction: column;
    padding: 20px;
}

button {
    background-color: #1C3D2B;
    border: none;
    border-radius: 0px;
    color: white;
    font-family: "Inter", sans-serif;
    padding: 15px 40px 15px 40px;
    cursor: pointer;
    transition: 1s;
    display: flex;
    align-items: center;
    gap: 10px;
}

button:hover {
    background-color: #52bb81;
    transition: 1s;
}

.top_menu {
    display: flex;
    font-family: "Inter", sans-serif;
    justify-content: space-between;
    align-items: center;
}

.top_menu a {
    color: #1C3D2B;
    text-decoration: none;
    font-weight: bold;
    font-size: 20px;
    cursor: pointer;
    transition: 1s;
}

.top_menu a:hover {
    color: #52bb81;
    transition: 1s;
}

.top_menu .center_menu {
    display: none;
    gap: 40px;
}

.top_menu .center_menu a {
    font-weight: normal;
    font-size: 14px;
}

.top_menu .call {
    display: none;
    align-items: center;
    gap: 10px;
}

.top_menu .call img {
    width: 22px;
    height: 22px;
}

.border_bottom {
    height: 5px;
    border-radius: 5px;
    background-color: #EBE7D9;
    margin: 25px auto 25px auto;
    width: 60%;
    text-align: center;
}

.top_holder {
    text-align: center;
    display: flex;
    flex-direction: column;
    padding: 0 20px;
}

.top_holder h1 {
    font-family: "Inria Serif", serif;
    color: #1C3D2B;
    text-align: center;
}

.top_holder .imgs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: center;
    margin-top: 60px;
    margin-bottom: 60px;
}

.top_holder .imgs img {
    border: 10px solid white;
    width: 100%;
    height: auto;
    cursor: pointer;
}

@media screen and (min-width: 600px) {
    .top_holder .imgs img {
        flex: 1 1 0;
        min-width: 0;
        width: 0;
        height: auto;
        object-fit: cover;
    }
}

.green_section {
    background-color: #1C3D2B;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10%;
    padding: 40px 20px;
}

.green_section .obj {
    width: 100%;
    margin-bottom: 20px;
    text-align: center;
}

.green_section p {
    font-family: "Inria Serif", serif;
    color: white;
}

.about_place {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 30px auto 30px auto;
    width: 100%;
    max-width: 100%;
    padding: 0 20px;
}

.about_place h2 {
    font-family: "Inria Serif", serif;
    color: #1C3D2B;
    font-size: 2em;
    text-align: center;
}

.about_place .split {
    display: flex;
    flex-direction: column;
    gap: 5%;
    justify-content: space-around;
    align-content: space-around;
    margin: 20px 0 0 0;
    width: 100%;
}

.about_place .text {
    text-align: center;
}

.about_place button {
    margin: auto;
}

.about_place .split p {
    font-family: "Inria Serif", serif;
    color: #1C3D2B;
}

.about_place .split img {
    border: 10px solid white;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.last_one {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 60px auto 30px auto;
    padding: 0 20px;
    width: 100%;
}

.last_one h3 {
    font-family: "Inria Serif", serif;
    color: #1C3D2B;
    font-size: 2em;
    text-align: center;
}

.last_one p {
    font-family: "Inria Serif", serif;
    color: #1C3D2B;
    margin-bottom: 60px;
}

/* Podstrony */
.page_content {
    max-width: 900px;
    margin: 40px auto 60px auto;
    padding: 0 20px;
}

.page_cover {
    margin-bottom: 30px;
}

.page_cover img {
    width: 100%;
    height: auto;
    border: 10px solid white;
}

.page_article h1 {
    font-family: "Inria Serif", serif;
    color: #1C3D2B;
    font-size: 2.2em;
    margin-bottom: 20px;
}

.page_body {
    font-family: "Inria Serif", serif;
    color: #1C3D2B;
    line-height: 1.7;
    font-size: 1.05em;
}

.page_body h2, .page_body h3 {
    font-family: "Inria Serif", serif;
    color: #1C3D2B;
}

.page_body a {
    color: #52bb81;
    transition: 1s;
}

.page_body a:hover {
    color: #1C3D2B;
}

.page_body img {
    max-width: 100%;
    height: auto;
    border: 10px solid white;
    margin: 10px 0;
}

footer {
    display: flex;
    flex-direction: column;
    font-family: "Inria Serif", serif;
    width: 100%;
}

.bottom {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    gap: 10%;
    padding: 20px;
}

.bottom .obj {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.bottom .obj b {
    color: #1C3D2B;
}

.bottom .obj a {
    text-decoration: none;
    color: #1C3D2B;
    cursor: pointer;
    transition: 1s;
}

.bottom .obj a:hover {
    color: #52bb81;
    transition: 1s;
}

.srlsy_btm {
    background-color: white;
    padding: 10px;
    text-align: center;
}

.srlsy_btm p {
    margin: 0;
    font-family: "Inter", sans-serif;
    font-size: 12px;
}

.mobile_overlay {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #1C3D2B;
    width: 100%;
    height: 100%;
    padding: 20px;
    z-index: 9999;
}

.mobile_overlay.open {
    display: flex;
}

.mobile_overlay img {
    width: 32px;
    height: 32px;
}

.mobile_overlay .overlay_nav {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    color: white;
}

.mobile_overlay .overlay_nav a {
    text-decoration: none;
    color: white;
    font-family: "Inter", sans-serif;
    font-size: 19px;
    margin-top: 15px;
}

@media screen and (min-width: 600px) {
    .top_holder {padding: 0;}
    .top_menu {justify-content: space-around;}
    .top_menu .mobile_only {display: none;}
    .top_menu .center_menu {display: flex;}
    .top_menu .call {display: flex;}
    .top_holder .imgs {flex-direction: row; padding: 0 5% 0 5%;}
    .green_section {flex-direction: row; padding: 40px;}
    .green_section .obj {width: auto; margin-bottom: 0;}
    .about_place {padding: 0;}
    .about_place .split {flex-direction: row; align-items: center; padding: 0 20% 0 20%;}
    .about_place .text {text-align: left;}
    .about_place .text button {margin-top: 10%; margin-left: 0;}
    .about_place .split img {width: auto;}
    .last_one {padding: 0;}
    .bottom {flex-direction: row; padding: 20px 0 20px 0;}
    .srlsy_btm {padding: 10px 20% 10px 20%; text-align: left;}
    .page_content {padding: 0;}
}
