html 
{
    box-sizing: border-box;
    font-size: 16px;
}
  
*, *:before, *:after
{
    box-sizing: inherit;
}
  
body, h1, h2, h3, h4, h5, h6, p, ol, ul
{
    margin: 0;
    padding: 0;
    font-weight: normal;
}
  
ol, ul 
{
    list-style: none;
}
  
img 
{
    max-width: 100%;
    height: auto;
}

a
{
    text-decoration: none;
}

header
{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    height: 15vh;
}

#logo
{
    width: 40%;
    height: 100%;
    display: block;
    border: 1px solid #448F3F;
    background-color: #448F3F;
    border-radius: 0% 64% 49% 0% / 0% 0% 100% 7%;
    color: #fff;
    padding: 20px 0 0 20px;
}

#logo h1
{
    font-weight: 900;
    text-shadow: 5px 5px 15px rgba(255, 255, 255, 0.87);
}

nav
{
    width: 60%;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

nav ul
{
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

nav ul li
{
    display: block;
    padding: 5%;
}

nav ul li a
{
    color: #fff;
    font-weight: 700;
}

#menu
{
    background-color: #448F3F;
    border: 1px solid #448F3F;
    border-radius: 50% 0% 0% 50% / 50% 0% 0% 50%;
}

#menu-two
{
    margin-top: 3vh;
}

#menu-two ul
{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

#menu-two ul a
{
    width: 20vw;
    height: 100px;
    text-align: center;
    display: flex;
    flex-direction: column;
    font-weight: 700;
    box-shadow: 8px 8px 24px 0px rgba(162, 175, 159, 1);
    color:  #2F4858;
}

#menu-two ul a:hover
{
    background-color:  #448F3F;
    box-shadow: none;
    color: #fff;
    transition: all 1s ease;
}

svg:hover
{
    fill:red;
}

#menu-two ul a li img
{
    width: 25%;
    height: 40%;
    margin: 2vh auto;
    display: block;
}

#formularz
{
    margin: 8vh auto 2vh auto;
    width: 90%;
    padding: 2vh 0;
}

#tools p
{
    color: #2F4858;
    font-weight: bold;
}

input[type=text]
{
    width:75%;
    height: 8vh;
    margin-right: 2%;
    font-size: 1.2rem;
    border: 2px solid #448F3F;
    border-radius: 5px;
}

input[type=submit]
{
    height: 8vh;
    width:15%;
    font-weight: bold;
    color: #fff;
    font-size: 1.2rem;
    border: none;
    border-radius: 5px;
    background-color:  #448F3F;
}

input[type=text]:active
{
    border: 1px solid #008458;
}

input[type=submit]:hover
{
    background-color: #008458;
}

.topic
{
    width: 95%;
    color: #2F4858;
    font-weight: bold;
}

.center
{
    text-align: center;
}

#infos
{
    margin: 4vh auto 2vh auto;
    width: 95%;
    padding: 1vh 2vw;
    display: flex;
    flex-flow: row wrap;
    text-align: center;
    align-content: stretch;
}

.inf
{
    width: 200px;
    min-height: 200px;
    margin: 1vh;
    flex-grow: 2;
    padding: 4px;
    box-shadow: 0px 0px 10px 5px rgba(68, 143, 63, 1);
}

.inf h3
{
    color: #2F4858;
    font-weight: bold;
    margin-bottom: 4px;
}

.inf p
{
    color: #2F4858;
    font-size: 0.9rem;
}

.inf img
{
    width: 100px;
    height: 100px;
}

#tresc, #tresc_tree
{
    background-color: #000;
    color: #fff;
}

.topic_one
{
    width: 95%;
    color: #E6405D;
    font-weight: bold;
}

#tresc, #tresc_two, #tresc_tree
{
    margin: 4vh auto 2vh auto;
    width: 95%;
    min-height: 50vh;
    padding: 1vh 2vw;
    display: flex;
    flex-flow: row wrap;
    text-align: center;
    align-content: stretch;
    box-shadow: 0px 0px 10px 0px rgba(68, 143, 63, 1);
}

#tresc ol li, #tresc_two ol li, #tresc_two p, #tresc_tree ol li, #tresc_tree p
{
    text-align: left;
    padding: 0.5rem;
}

.wyroznienie
{
    color:#E6405D;
    font-weight: 700;
}

#busy, #neutral
{
    background-color: #E6405D;
    color: #fff;
    padding: 2vh;
    font-weight: 700;
    border: 1px solid #E6405D;
    border-radius: 50px 50px 50px 50px;
    text-align: center;
}

#free
{
    background-color: #57C152;
    color: #fff;
    padding: 2vh;
    font-weight: 700;
    border: 1px solid #57C152;
    border-radius: 50px 50px 50px 50px;
    text-align: center;
}

#content
{
    width: 80%;
    padding: 1vh 4vh;
    margin: 0 auto;
}

#content p
{
    padding: 1vh;
    background-color: #F6EDD9;
}

#content p:nth-child(2n)
{
    background-color: #D1D0BD;
}

#faq
{
    margin: 4vh auto 2vh auto;
    width: 95%;
    min-height: 50vh;
    padding: 1vh 2vw;
    display: flex;
    flex-flow: row wrap;
    text-align: center;
    align-content: stretch;
    box-shadow: 0px 0px 10px 0px rgba(68, 143, 63, 1);
}

#faq h2
{
    font-weight: 700;
}

#faq ul
{
    display: flex;
}

#faq ul li
{
    padding: 2vh;
}

#faq ul li h4
{
    font-weight: bold;
    margin-bottom: 1vh;
}

#faq ul li p
{
    text-align: justify;
}

footer
{
    background-color: #000;
    color: #fff;
    display: grid;
    grid-template-columns: 1fr 1fr 3fr;
    padding: 3% 10%;
}

footer ul li, footer a, footer p
{
    color: grey;
}

#sites p
{
    padding-bottom: 10px;
}

#tools li
{
    padding: 10px 0;
}

#copyRights
{
    text-align: center;
}

#shadow
{
    display: flex;
    box-shadow: 9px 7px 24px 1px rgba(68, 143, 63, 1);
    padding: 10vh 0 10vh 0;
    margin-bottom: 10vh;
    margin-top: 10vh;
}

.formularz
{
    display: flex;
    flex-direction: column;
    gap: 1.5vh;
}

.formularz textarea
{
    width: 39vw;
    height: 15vh;
    margin: 0 10px 10px 0;
    border: solid 2px  #448F3F;
    border-radius: 5px;
}

.formularz input
{
    width: 39vw;
}

.error
{
    color: red;
    margin-top: 10px;
    margin-bottom: 10px;
}

#podziekowanie
{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}
.thx
{
    font-weight: 700;
    font-size: 2rem;
    margin: 0;
}

@media screen and (max-width: 900px) {

    #faq ul
    {
        display: flex;
        flex-direction: column;
    }
}

@media screen and (max-width: 768px) {
    /*style menu*/
    nav
    {
        position: relative;
    }
    #menu-button{
        background: #448F3F;
        width: 50px;
        border-radius: 5px;
        position: absolute;
        cursor: pointer;
        transition: all linear .3s;
        padding: 4px;
        z-index: 1;
        top:-30px;
        right:10px;
      }
      
      #menu-button.active{
        background: #448F3F;
      }
      #line-1,#line-2,#line-3{
        width: 90%;
        background: #fff;
        height: 8px;
        margin: 4px auto;
        border-radius: 2px;
        transition: all linear .3s;
      }
      
      #line-1.active{
      -webkit-transform: translate(0px,12px) rotate(45deg);
      transform: translate(0px,12px) rotate(45deg);
      }
      
      #line-2.active{
      opacity: 0;
      }
      
      #line-3.active{
      -webkit-transform: translate(0px, -12px) rotate(-45deg);
      transform: translate(0px, -12px) rotate(-45deg);
      }
      
      #menu{
        background: #448F3F;
        width: 150px;
        padding:0 10px 10px 10px;
        color: #fff;
        font-family: arial;
        font-size: 1.5rem;
        display: none;
        position: absolute;
        right:5px;
        top: -35px;
        border-radius: 5px;
      }
      
      #menu ul {
        list-style: none;
        display: block;
        padding-top: 50px;
        text-align: center;
      }
      
      #menu ul li{
        margin: 8px 0;
      }
      
      #menu ul li a{
        color:#fff;
      }
      /* koniec stylów menu*/

    #logo
    {
        padding: 12px 0 0 10px;
        font-size: 0.8rem;
    }
    #menu-two ul
    {
        flex-direction: column;
        justify-content: center;
        width: 90vw;
        margin: 0 auto;
        padding-bottom: 1vh;
    }
    #menu-two ul a
    {
        width: 60vw;
        height: 100px;
        margin: 1vh auto;
    }

    #menu-two ul a li img
    {
        width: 20%;
        height: 35%;
        margin: 3vh auto;
    }

    .inf
    {
        min-height: auto;
    }

    #content
    {
        width: 100%;
        padding: 0;
    }

    footer
    {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr 1fr;
        padding: 1% 5%;
    }

    footer img 
    {
        width: 70%;
        margin-top: -50px;
    }

    #shadow
    {
        display: flex;
        flex-direction: column;
        text-align: center;
        box-shadow: 9px 7px 24px -10px rgba(68, 143, 63, 1);
        padding: 2vh 0 2vh 0;
        margin-bottom: 2vh;
        margin-top: 2vh;
    }

    .formularz input
    {
        margin: 0 auto;
    }

    .formularz textarea 
    {
        margin: 0 auto;
        width: 100%;
        height: 30vh;
    }


}
