:root {
    --light: #f6ece0;
    --med: #f1ceba;
    --dark: #dc9e87;
    
}

body {
    padding: 0px;
    margin: 0px;
    background: var(--light);
    font-family: 'josefin sans', sans-serif;
    overflow-x: hidden;
}

.parallax-window {
    height: 350px;
    background: transparent;
    padding-top: 20px;
}
ul {
   list-style: none;
}

h1 {
    font-family: 'great vibes', sans-serif;
    font-size: 36px;
    margin-top: 0px;
}

sup {
        font-size: 16px;    
    }

li {
    display: inline;
    padding-right: 20px;
    padding-left: 15px;
    transition-duration: .3s;
    transition-property: all;
    cursor: pointer;
    color: var(--dark);
    transition-duration: .3s;
    transition-property: all;
    font-size: 22px;
}
li:hover {

    color: white;
   
}

#top {
    height: 40px;
    width: 40px;
    border-radius: 20px;
    background-image: url('../grafika/arrow.svg');
    position: fixed;
    bottom: 50px;
    right: 50px;
    box-shadow: 0px 0px 5px #b4b4b4;
    background-color: white;
    z-index: 1000000000000000000000000000000000000000000000000000000000000000000000;
    cursor: pointer;
}

.flowerTop {
    width: 100%;
    margin-top: -100px;
}

.logo {
    width: 30%;
    position: absolute;
    top: 145px;
    left: 35%;
}

.navMain {
    margin-top: -15%;
}

.logogold {
    width: 180px;
}

.napis {
    width: 600px;
    display: block;
}

.invitation {
    height: 1200px;
    width: 800px;
    background: url('../grafika/sciezkaD.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center top;
}

.linkSlub {

    width: 80%;
    height: 300px;
    margin-left: -120px;
}

.slubInfo {

    display: block;
    height: 250px;
    width: 110%;
}

.boxSlub {
    width: 49%;
    height: 200px;

    float: left;
    text-align: left;
}
.furka {
    width: 37%; 
    height: 220px; 
    background: url('../grafika/mastang.png');
    background-size: contain; 
    background-repeat: no-repeat; 
    float: right;

}

.slubGodzina {
    margin-top: -40px;

}

.boxSlub p {
    font-family: 'great vibes';
    font-size: 26px;
    margin-top: -16px;
}

.boxWesele {

    float: right;
    display: block;
    width: 65%;
    height: 200px;
    text-align: left;
    margin-top: -40px;
}

.boxWesele p {
    font-family: 'great vibes';
    font-size: 26px;
    margin-top: -16px;
}

.linkWesele {

    width: 95%;
    height: 500px;
   display: block;

}
.organizacja {
    width: 80%;
    height: auto;
}

.boxO {
    width: 400px;
    margin: 5%;
    height: 200px;
    display: inline-block;
    border-radius: 5px;
    box-shadow: 0px 0px 7px #b4b4b4;
    background: white;
    color: var(--dark);
    padding: 2px 10px;
    box-sizing: border-box;
}

.flip {
    background: var(--med);
    padding-top: 90px;
    margin-top: 20px;
}

.boxO img {
    width: 80px;
}

.boxO p {
    font-size: 16px;
    line-height: 28px;
}

.boxO a {
    text-decoration: none;
    color: var(--dark);
}

#plan {
    
    text-align: center;
    background: var(--med);
    padding: 30px;
}

#galeria {
    padding: 30px;
}

footer {
    background: var(--med);
    padding-top: 20px;
    border-top: solid 2px var(--dark);
}

.kika {
    position: relative;
    bottom: 0px;
    width: 100%;
    margin-bottom: -8px;
}

.badz {
    width: 60%; 
    margin-top: 20px;
    margin-bottom: 20px;
}

.badzcie {
    width: 100%;
    background: white;
    height: auto;
}

#kontakt {
    width: 90%;
    background-image: url('../grafika/para.png'); 
    background-size: contain; 
    background-repeat: no-repeat;
    background-position: right;
    margin-left: 5%;
}

#kontakt a {
    color: var(--dark);
}

.licznik {
    width: 100%;
    height: 350px;
    background-color: #f3ece6;
    margin-bottom: -250px;
}

.kontaktIco {
    width: 30px;
    line-height: 40px;
    margin-right: 10px;
    margin-top: 5px;
    vertical-align: middle;
}

table a {
    text-decoration: none;
}

table {
    width: 500px;
    margin: 10px auto;
}

td {
    font-size: 24px;
    height: 34px;
}

.gal1, .gal2 {
    width: 300px;
    height: 200px;
    margin: 20px;
    display: inline-block;
    
    padding-top: 180px;
    padding-bottom: -200px;
}

.gal1 {
    background: url('../zdjecia/fotograf.jpg');
    background-size: contain;
    background-repeat: no-repeat;
    transition-property: all;
    transition-duration: .3s;
}

.gal2 {
    background: url('../zdjecia/fotobudka.JPG');
    background-size: contain;
    background-repeat: no-repeat;
    transition-property: all;
    transition-duration: .3s;
}

.gal1:hover {
    transform: scale(1.03);
}

.gal2:hover {
    transform: scale(1.03);
}

#galeria a{
    text-decoration: none;
    color: white;
    margin-top: 100px;
    transition-duration: .3s;
    text-shadow: 0px 0px 8px rgba(0, 0, 0, 1);
}

@media only screen and (max-width: 868px) {
.flowerTop {
    margin: 0px;
}
.logo {
    width: 44%;
    left: 27%;
    top: 110px;
}
    .napis {
        width: 350px;
    }
    .parallax-window {
        height: 300px;
    }
    
    .boxSlub {
        width: 60%;
        padding-top: 20px;
    }
    
    .boxSlub p {
        font-size: 20px;
    }
    
        .boxWesele p {
        font-size: 20px;
    }
    
    .invitation {
        width: 550px;
        height: 1000px;
    }
    
    .slubInfo {
        width: 100%;
    }
    
    .linkSlub {
        height: 170px;
        width: 100%;
        float: left;
        display: block;
    }
    
    .furka {
        width: 40%;
        background-position: center;
    }
    
        #top {
        height: 50px;
        width: 50px;
        border-radius: 5px;
        background-image: url('../grafika/arrow.svg');
        position: fixed;
        left: 20px;
        box-shadow: 0px 0px 5px #b4b4b4;
        background-color: white;
        z-index: 1000000000000000000000000000000000000000000000000000000000000000000000;
        cursor: pointer;
}
    
    .badz {
        width: 80%;
    }
    
    .kontaktIco {
    width: 20px;
    line-height: 25px;
    margin-right: 5px;
    margin-top: 0px;
    vertical-align: middle;
}

    table {
        width: 300px;
        margin-left: 0px;
    }
    
    td {
        font-size: 18px;
    }
    
    tr {
        height: 20px;
        padding: 10px 10px;
    }
    

    
@media only screen and (max-width: 500px) {
    .flip {
        padding-top: 20px;
        margin-top: 10px;
    }
    
    .invitation {
        width: 390px;
        height: 600px;
    }
    h1 {
        font-size: 20px;
    }
    .linkSlub {
        height: 130px;
    }

    .linkWesele {
        height: 180px;
        margin-top: 130px;
    }
    .slubInfo p {
        font-size: 16px;
    }
    
    .boxWesele {
        margin-top: -80px;
    }
    
    .boxWesele p {
        font-size: 16px;
    }
    
    .furka {
        background-position: top;
    }
    
    .boxO {
        margin: 5% 0px 5% -7%;
    }
    
    .wypelniacz {
        display: none;
    }
    
    .slubGodzina {
        margin-top: -10px;
    }
}
    @media only screen and (max-width: 431px) {
        .invitation {
            width: 100%;
        }
        
        #organizacja {
            width: 100%;
        }
        
        .boxO {
            width: 100%;
            margin-left: 1%;
            height: auto;
        }
        .boxO p {
            font-size: 16px;
            line-height: 24px;
        }
        .boxWesele {
            margin-top: -95px;
        }
    }