﻿@font-face {
    font-family: Oxanium;
    src: url(Oxanium/static/Oxanium-Regular.ttf);
}

body, html {
    margin: 0;
    font-family: Oxanium;
    height: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 130px;
    text-align: center;
}

#shadow {
    position: fixed;
    width: 100%;
    background-color: rgb(20, 20, 20, 0.9);
    z-index: 2;
    height: 100%;
}

#mail {
    position: fixed;
    top: 20%;
    width: 100%;
    background-color: white;
    padding: 20px;
}

#mail button {
    padding: 20px;
    padding-left: 40px;
    padding-right: 40px;
    font-size: 6vw;
    font-family: Oxanium;
    border: none;
    background-color: rgb(20, 20, 20, 0.2);
}

#mail p {
    font-size: 4vw;
}

#mail h3 {
    font-size: 7vw;
}

/* Header style */

#PCNav {
    display: none;
}

#mobileNav {
    position: fixed;
    width: 80%;
    height: 100%;
    top: 0;
    box-sizing: border-box;
    display: block;
    padding: 10px;
    padding-left: 30px;
    padding-right: 30px;
    background-color: rgb(20, 20, 20, 1);
    font-size: 5vw;
    z-index: 1;
    left: -80%;
    transition: 1s;
}

#mobileNav a {
    padding: 20px;
    text-decoration: none;
    color: white;
}

nav {
    margin-left: 0;
}

#mobileNav ul {
    display: block;
    width: 100%;
    padding-left: 0;
}

#mobileNav ul li {
    display: block;
    width: 90%;
    margin-top: 20%;
    padding-top: 20px;
    padding-bottom: 20px;
    border-bottom: medium solid;
    border-color: white;
    margin-left: 5%;
}

#main {
    padding-left: 0;
}

.ImgSpan {
    font-weight: bold;
    font-size: 10vw;
    background-color: rgb(20, 20, 20, 0.2);
    padding: 20px;
    margin-top: 150px;
    margin-bottom: 150px;
}

#headerCopy {
    display: inline;
    color: white;
    position: absolute;
    bottom: 0px;
    left: 10%;
    margin-right: 40%;
}

#navToggle {
    display: block;
    color: white;
    position: absolute;
    background-color: rgb(20, 20, 20, 1);
    top: 50px;
    right: -130px;
}

#navToggle img {
    width: 100%;
    height: auto;
}

/* Main body style */

main {
    background-color: white;
    padding: 30px;
}

#FrontPageImg {
    background-image: url("img/header.jpg");
    height: 60%;
    background-attachment: fixed;
    background-position: 60%;
    background-repeat: no-repeat;
    background-size: cover;
}

#FrontPageImg div {
    position: absolute;
    top: 5%;
    left: 15%;  
    color: black;
    width: 70%;
    padding-top: 5%;
    padding-bottom: 5%;
    text-align: center;
}

main section {
    background-color: rgb(0, 0, 0, 0.1);
    display: inline-block;
    padding: 0;
    padding-top: 20px;
    padding-bottom: 20px;
}

main section h3 {
    margin: 20px;
    margin-bottom: 0;
    display: inline-block;
    font-size: 7vw;
    padding: 10px;
}

main section p {
    margin: 20px;
    margin-top: 0;
    display: inline-block;
    font-size: 4vw;
    padding: 10px;
}

main div {
    display: flex;
    align-items: center;
    width: 100%;
    margin-top: 20px;
    margin-bottom: 40px;
    align-items: stretch;
}

/* About Us */

#ONas {
    display: block;
}

#ONasImg {
    display: none;
}

#ONas section {
    width: 100%;
    margin-right: 10px;
}

#ONasMobileImg {
    width: 100%;
    display: block;
    margin-bottom: 20px;
}

/* Our Offer */

#Oferty {
    margin: 0;
    flex-wrap: wrap;
    align-items: stretch;
}

#Oferta {
    flex-wrap: wrap;
    align-items: stretch;
}

.Oferta {
    width: 100%;
    display: block;
    margin-bottom: 0;
}

.OfertaImg {
    min-height: 200px;
    display: inline-block;
    background-attachment: scroll;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#Oferta1Img {
    background-image: url("img/oferta1.jpg");
    background-position: 100%;
}

#Oferta2Img {
    background-image: url("img/oferta2.jpg");
    background-position: 0% 30%;
}

#Oferta3Img {
    background-image: url("img/oferta3.jpg");
    background-position: 0% 110%;
}

/* Contact */

#Kontakt {
    background-color: rgb(0, 0, 0, 0.8);
    padding: 20px;
    padding-left: 10%;
    padding-right: 10%;
    color: white;
    display: block;
}

#Kontakt section {
    display: inline-block;
}

#Kontakt h3 {
    margin: 0;
    font-size: 7vw;
    padding: 10px;
}

#Kontakt p {
    margin: 0;
    font-size: 4vw;
    padding: 7px;
}

#Kontakt form {
    text-align: left;
    display: block;
}

#Kontakt form p, input, textarea {
    display: inline-block;
}

#Kontakt form input, textarea {
    width: 100%;
    margin: 7px;
    padding: 7px;
    font-size: 4vw;
}

#Kontakt textarea {
    resize: block;
}

/* Footer style */

footer {
    background-color: rgb(20, 20, 20);
    text-align: center;
    color: white;
    padding: 20px;
    font-size: 4vw;
}

/* Galeria */

#Galeria section {
    width: 100%;
}

#Galeria a {
    width: 100%;
    margin: auto;
    margin-top: 10px;
}

#Galeria a img {
    object-fit: cover;
    height: 500px;
    width: 100%;
}

.obrazy {
    display: flex;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
}