html{
    scroll-behavior: smooth;
}

/* main parts of page */

body{
    background-image: url(img/t%C5%82o1.jpg);
    background-color: #DED1AF;
    background-blend-mode: soft-light;
    font-family:  'Quicksand', sans-serif;
    font-size: 1.2rem ;
    margin: 0px;
    line-height: 1.5em;
}

#rodo{
    z-index: 1000;
    background-color: white;
    color: black;
    width: 100%;
    min-height: 5em;
    text-align: center;
}

#navbar{
    
    width: 100%;
    min-height: 5.6em;
    font-size: 1.2rem;
    color: black;
    background-color: white;
    opacity: 0.8;
    z-index: 1000;
    transition: 200ms linear;
}

.content {
  padding: 16px;
}

#mk{
    
    float: left;
    margin: 0.5em 2em 0.5em 2em;
    transition: 300ms linear;
}

#menu{
    
    float: right;
    z-index: 100;
    margin: 1em;
    display: inline-flex; 
}

.tile{
    padding: 1em;
    transition: 300ms linear;
}

#fb{
    padding: 1em;
    transition: 300ms linear
}

#ig{
    padding: 1em;
    transition: 300ms linear
}

.bulka{
    font-size: 1.75rem;
    background: transparent;
    border: none;
    display: none;
    float: right;
    margin: 1.14em;
    color: black;
    transition: 300ms linear;
    
}

.block{
    width: 100%;
    background-color: white;
}

#blockstart{
    margin-top: 11em;
    margin-bottom: 6em;
    padding: 4em 0em 2em 0em;
}
#start{
    max-width: 920px;
    font-size: 1.25rem;
    margin: auto;
    margin-bottom: 4em;
    color: black;
    text-align: center;
    line-height: 5em;
}

#about{
    
    margin-top: 6em;
    margin-bottom: 6em;
    margin: auto;
    max-width: 920px;
    padding: 4em;
}

#aboutme{
    
    margin-top: 6em;
    margin-bottom: 6em;
    margin: auto;
    max-width: 920px;
    padding: 4em;
    color: white;
}

#aboutmetxt{
    width: 40%;
    display: inline-block;
}

#aboutmeimg{
    width: 60%;
    height: 19em;
    align-items: center;
    display: inline-block;
}

#photo{
    display: block;
    margin-top: 8.5%;
    margin-bottom: 8.5%;
    margin-left: auto;
    margin-right: auto;
    width: 70%;
}

#photo2{
    display: none;
}

#offer{
    
    margin-top: 6em;
    margin-bottom: 6em;
    margin: auto;
    max-width: 920px;
    padding: 4em;
}

#poem{
    
    margin-top: 2em;
    margin-bottom: 4em;
    margin: auto;
    max-width: 920px;
    padding: 4em;
    line-height: 2em;
}

#opakowanie{
    width: 100%;
    display: inline-block;
}

#cen{
    width: 45%;
    float: left;
    font-weight: 500;
    
}
#kalendarz{
    width: 45%;
    float: right;
    align-self: center;
    
}

#contact{
    
    margin-top: 4em;
    margin-bottom: 0.5em;
    margin: auto;
    min-height: 25em;
    max-width: 920px;
    padding: 4em;
    font-weight: 500;
}


#dane{
    width: 100%;
    margin-top: 3em;
    padding-top: 1em;
    margin:auto;
    display: block;
    
}

#contactblock{
    background-color: #f3f3f6;
}

#footer{
    
    margin-top: 4em;
    margin-bottom: 4em;
    max-width: 960px;
    text-align: center;
    margin: auto;
    color: white;
}


/* classes for js */

.after{
    transition: 200ms linear;
    background-color: white !important;
    color: black !important;
    opacity: 0.9;
}

.afterbulka{
    transition: 200ms linear;
    background-color: transparent;
    color: black !important;
    opacity: 0.9;
}

.sticky + .content {
  padding-top: 60px;
}

.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  
}

/* buttons hrs etc */

a{
    text-decoration: inherit;
    color: inherit;
}

hr{
    width: 5rem;
    height: 0.4rem;
    border: 0px transparent solid;
    border-radius: 25px 25px 25px 25px;
    background-color: #ED5821;
}

h1{
    text-align: center;
    font-weight: 500;
}

h4{
    margin-bottom: 0.3em;
    margin-top: 0.8em;
}

h6{
    text-align: center;
    font-size: 0.8rem;
    margin: 0.3em;
}

.button{
    
    margin: auto;
    height: 4em;
    width: 13em;
    color: black;
    background-color: white;
    border: 0px;
    font-family: 'Quicksand', sans-serif;
    border-radius: 30px 30px 30px 30px;
}

input[type=text], textarea{
    border-color: transparent;
    border-bottom: 1px #ED5821 solid;
    background-color: #f3f3f6;
    padding: 0.5em;
    display: block;
    margin: 1.2em;
    height: 2em;
    width: 90%;
    max-height: 15em;
    font-family: 'Quicksand', sans-serif;
    font-size: 1.1rem;
    color: black;
}

::placeholder{
    color: black;
}

/* on mobile device */

@media (max-width: 1230px){
    
    body{
        font-size: 1.1rem;
    }
    .tile{
        border: none !important;
        font-weight: 500;
    }
    #blockstart{
        margin: 2em 0em 2em 0em;
        background-color: rgb(62, 68, 43, 0.5);
    }
    .contactform{
        display: block;
        margin: auto;
        margin-top: 2em;
        padding-top: 1em;
        width: 80%;
        font-size: 1rem;
    }
    #opakowanie{
        align-items: center;
        display: block;
    }
    #cen{
        display: block;
        margin: auto;
        width: 80%;
        margin-bottom: 4em;
        margin-top: 2em;
        float: none;
    }
    #kalendarz{
        display: block;
        margin: auto;
        width: 100%;
        float: none;
        margin-bottom: 0em;
        padding-bottom: 0em;
    }
    
    .button{
        background-color: #ED5821;
        color: white;
    }
    h1{
        font-size: 1.9rem;
    }
    #dane{
        display: block;
        margin: auto;
        float: none;
        margin-top: 2em;
        width: 80%;
        font-size: 1rem;
    }
    
    #contact{
        align-items: center;
        padding: 2em;
        padding-top: 3em;
        padding-bottom: 3em;
    }
    #aboutme{
        padding: 2.5em;
    }
    #aboutmeimg{
        width: 0%;
        height: 0%;
    }
    #aboutmetxt{
        width: 100%;
        margin-top: 1em;
        margin-bottom: 0px;
    }
    #photo{
        display: none;
    }
    #photo2{
        display: block;
        width: 70%;
        margin-left: auto;
        margin-right: auto;
    }
    #image{
        display: block;
        width: 100%;
    }
    #about{
        padding: 2.5em;
    }
    #offer{
        padding: 2.5em;
    }
    #poem{
        padding: 2.5em;
    }
    input[type=text], textarea{
        width: 80%;
        font-size: 1rem;
    }
    #start{
        line-height: 3em;
        font-size: 1rem;
        width: 80%;
        padding: 1.5em;
        margin-top: 2em;
        margin-bottom: 2em;
    }
    #menu{
        display: none;
        flex-wrap:wrap;
        flex-direction: column;
        max-width: 50%;
        z-index: 100;
    }
    .bulka{
        display: block;
    }
    #menu.show{
        display: flex;
    }
    #menu.hide{
        display: none;
    }
}


/* animations */

.tile:hover{
    
    animation: border 500ms linear;
    border-bottom: 1px #ED5821 solid;
    color: #ED5821;
    cursor: pointer;
}


@keyframes border{
    0%{
        border-bottom: 1px transparent solid;
    }
    100%{
        border-bottom: 1px #ED5821 solid;
    }
}


#fb:hover{
    
    color: #ED5821;
    cursor: pointer;
}

#ig:hover{
    
    color: #ED5821;
    cursor: pointer;
}



.bulka:hover{
    color:#ED5821 !important;
    cursor: pointer;
    animation: 500ms linear;
}



.button:focus{
    border: none;
}

.button:hover{
    
    margin: auto;
    height: 4em;
    width: 13em;
    color: white;
    background-color: #ED5821;
    border: 0px #ED5821 solid;
    font-family: 'Quicksand', sans-serif;
    border-radius: 30px 30px 30px 30px;
    animation: button 200ms linear;
    cursor: pointer;
}

@keyframes button{
    
    0%{
        background-color: white;
        color: #ED5821;
    }
    100%{
        background-color: #ED5821;
        color: white;
        
    }
}


::-webkit-scrollbar {
    width: 10px;
  }
 
  
  ::-webkit-scrollbar-track {
    background: transparent;
  }

  ::-webkit-scrollbar-thumb {
    background: #ED5821;
    border-radius: 10px;
  }