/* || General style */
body
{
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: auto 1fr auto;
    grid-gap: 0;
    min-height: 100vh; /* Together with grid-template-rows: auto 1fr auto makes a sticky footer */
    /* background-color: #1F584C; */
    background: linear-gradient(#1F584C,#3DBAA0);
    font-family: 'Open Sans', sans-serif;
    margin: 0;

}

header {
    background-color: #f2f2f2;
    background-color: white;
    user-select: none;
    grid-column: 1 / 13;
    grid-row: 1;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.logo-image {
    flex: 4;
    max-width: 100%;
    /* padding-left: 50px; */
}

.logo-image>a {
    padding: 80px;
}

main {
    display: grid;
    /* grid-template-rows: minmax(1fr, 270px); minmax(3fr, 800px); */
    grid-column: 2 / 12;
    grid-row: 2 / 3;

    /* When background-color removed a horizontal line appears */
    background-color: #c8d8e4;
    color: black;
}

article {
    background-color: #c8d8e4;
}

footer
{
    /* display: flex;
    flex-flow: column wrap;
    align-items: center;
    justify-content: space-between; */
    grid-column: 1 / 13;
    grid-row: 4;
    background-color: #1F584C;
    background-color: white;
    color: #ffffff;
    color: #1F584C;
    padding: 5px;

    display: grid;
    grid-template-rows: 1fr 1fr 1fr;
}

h1
{
    font-family: 'Playfair Display', serif;
    flex: 4;
    color: black;
    font-weight: 700;
}

h1 a {
    display: block;
    /* border: 1px black solid; */
    padding: 20px;
    margin: 0;
    text-decoration: none;
    color: black;
}

h1 a:hover {
    text-decoration: underline;
}

h1 a:visited {
    color: black;
}

/* O nas, Oferta, etc. */
.upper-menu {
    color: #1F584C;
    flex: 9;
    flex-wrap: wrap;
    text-align: center;
}

.navigation {
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 100px;
    list-style-type: none;
    /* border: solid 3px green; */
}

.navigation a {
    flex: 1;
    text-decoration: none;
    margin: 0;
    padding: 20px;
    color: #1F584C;
}

.navigation a:hover {
    color: white;
    border-radius: 20px;
    background-color: #1F584C;
}

/* Setting up the dropdown menu*/
.dropdown {
    position: relative;
    /* display: inline-block; */
}

.dropdown-content {
    display: none;
    position: absolute;
    list-style-type: none;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 20px;
    padding: 20px;
}

.dropdown-content a {
    color: #1F584C;
    padding: 12px 16px;
    text-decoration: none;
    display: block;

    /* text-align: center; */
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
    background-color: #1F584C;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .navigation {
    background-color: #3e8e41;
}


.dropdown-content li {
    z-index: 100;
}

.navigation > li:hover > .dropdown-content {
    display: block;
}

/* Styling a subdrop-down */
.subdropdown {
    /* position: relative; */
    display: block;
    position: relative;
}

.subdropdown-content {
    display: none;
    list-style-type: none;
    padding: 20px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

.subdropdown:hover>ul {
    display:block;
    position: absolute;
}

.subdropdown-content {
    left: 100%;
    top: 0;
    background-color: #f1f1f1;
    border-radius: 20px;
}

.subdropdown-content a:hover {
    background-color: #1F584C;
}

/* || Snapshots with text overlay */
.snapshots {
    /* border: solid 3px rgb(17, 98, 126); */
    background-color: #c8d8e4;
    min-height: 60vh;
    /* flex: 3; */
    display: grid;
    grid-template-columns: 1fr 1fr 5fr 5fr 1fr 1fr;
    grid-template-rows: 10fr 1fr;
}

.text {
    grid-column: 3 / 4;
    grid-row:1;
    text-align: justify;
    padding-top: 97px;
    padding-right: 20px;
}

.text > a {
    color: black;
    text-decoration: none;
}

.text > a:visited {
    color: black;
}

.pic {
    grid-column: 4 / 5;
    grid-row: 1;
    padding-top: 20px;
}

.text:hover {
    cursor: pointer;
}

.snapshots  img {
    grid-column: 4 / 5;
    grid-row: 1;
    padding-top: 20px;
    object-fit: cover;
}

.snapshots > img:hover {
    filter: blur(3px);
    cursor: pointer;
}

.snapshots > .leftArrow {
    grid-column: 1;
    grid-row: 1 / 3;
    background-color: #b7c7d3;/*#c8d8e4;*/
    display: grid;
    align-items: center;
    justify-items: center;
    
}

.snapshots > .leftArrow:hover {
    cursor: pointer;
    background-color: #a6b6c2;
}

.leftArrow > a {
    color: grey;
}

.leftArrow > a:visited {
    color: grey;
}


.snapshots > .rightArrow {
    grid-column: 6;
    grid-row: 1 / 3;
    background-color: #b7c7d3;/*#c8d8e4;*/
    display: grid;
    align-items: center;
    justify-items: center;}

.snapshots > .rightArrow:hover {
    cursor: pointer;
    background-color: #a6b6c2;
}

.rightArrow > a {
    color: grey;
}

.rightArrow > a:visited {
    color: grey;
}

.snapshots > .dots {
    grid-column: 3 / 5;
    grid-row: 2;
    display: grid;
    align-items: center;
    justify-items: center;
}

.dots > a {
    grid-row: 1;
    color: grey;
}

.dots > a:hover {
    cursor: pointer;
    color: rgb(190, 190, 190);
}

/* .dots {
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 100px;
    list-style-type: none;
} */

/* .dots a {
    flex: 1;
    text-decoration: none;
    margin: 0;
    padding: 20px;
    color: #1F584C;
} */
/* .visible {
    display: block;
    position: relative;
    width: 100%;
    margin-left: auto;
    margin-right: auto; 
    text-align: right;
    padding-right: 200px;
     display: grid;
     grid-template-columns: 1fr 5fr 5fr 5fr 1fr;
    grid-template-rows: 10fr 1fr;
   grid-column: 4;
}

.visible > img {
    width: 10%;
    grid-column: 3 / 5;
}

.visible > .text {
    position: absolute;
    left: 16px;
    top: 8px;
    color: white;
    grid-column: 2;
}

.hidden {
    display: none;
} */

/* || Buttons: info, KONTAKT, DOJAZD */
.buttons {
    text-align: center;
    /* border: solid 3px blue; */
    background-color: #ffffff;/* b7c8d3, org: c8d8e4 */
    min-height: 50vh;
    padding-bottom: 5vh;
}

.buttons-list {
    /* border: 1px red solid; */
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: space-around;
    list-style-type: none;
    text-align: center;
    padding: 0;
    margin-top: 0;
    }

.buttons-list li {
    background-color: #1F584C;
    margin: 30px;
    color: white;
    font-weight: 600;
    border-radius: 10px;
    padding: 5vw;
    min-width: 5vw;

}

.buttons-list li:hover::before {
    content: '\2022'; /*fallback*/
     content: '•'; 
}

.buttons-list li:hover {
    background-color: #0e473b;
    padding: 5vw;
    cursor: pointer;
}

/* || List: "Wykonujemy badania" */
.bullet-points {
    padding: 3vw;
    text-align: center;
    color: #000000;
    flex: 1;
}

.bullet-points-list{
    list-style-type: none;
}

.bullet-points-list li {
    padding: 10px;
}

/* Set the bullets to ticks */
.bullet-points-list li::before {
    content: '✓ ';
}

/* || Styling the footer */
.footer-logo {
    /* flex: 1;
    align-self: center; */
    margin-bottom: 0;
    text-align: center;
}

footer p {
    text-align: center;
    /* margin-top: 8px;
    flex: 1; */
}

.sitemap-footer {
    flex: 1;
    display:flex;
    flex-flow: row wrap;
    width: inherit;
    list-style-type: none;
    margin: 2px;
}

.sitemap-footer li {
    flex: 1;
    text-align: center;
}

.sitemap-footer a {
    text-decoration: none;
    color: #1F584C;
    padding: 20px;
}

.sitemap-footer a:hover {
    color: white;
    border-radius: 20px;
    background-color: #1F584C;
}

.sitemap-footer a:visited {
    text-decoration: none;
}