@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
body{
    background-color: rgb(245, 245, 238);
    margin: 0;
    padding: 0;

}

*{
    margin: 0;
    padding: 0;
}

.logo>a>img{
    width: 80px;
    padding: 0.5em;
    
}
header{
    padding: 0 3em;
    border-bottom: 4px solid #663300;
    background-color: white;
    position: sticky;
    top: 0;
    z-index: 10;
    font-family: sans-serif;

    
}
.nav-wrapper{
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    
}

.menu-checked{
   display: flex;
   flex-direction: row;
   text-transform: uppercase;

}
.menu-checked li{
    margin: 0 1.5em;
    padding: 5px; 
}

.menu-checked li a:hover,
.menu-checked li:hover{
    color: #663300;
}

ul,a,li{
    list-style-type: none;
    text-decoration: none;
    color: black;  
    letter-spacing: 1px;
    text-align: center;
}



.main-pic-wrapper{
    background-image: url(images/tyler-franta-iusJ25iYu1c-unsplash.jpg);
    height: 600px;
    margin: 0 auto;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;    
    
}
.welcome-wrapper{
    text-align: center;
    letter-spacing: 1px;
    background-color: rgba(255, 255, 255, 0.541);
    padding: 3em;
    backdrop-filter: blur(30px);
    box-shadow: 1px 1px 5px rgb(161, 161, 161);
   
}
.welcome-text{
    margin-bottom: 1em;
    font-size: 1.5rem;
    
}


.welcome-text>h2{
    font-size: 1rem;
}
.quote{
    font-style: italic;
    font-size: 1.2rem;
}
.quote>.sapkowski{
    text-align: end;
}
/*-----------------------------------------------*/

.section-about {
    padding: 60px 20px;
    background-color: #fff;
}
.mission-about-us{
    padding: 60px 0 20px 0px;
    margin-bottom: 40px;
}
.mission-wrapper {
    text-align: center;
    max-width: 1200px;
    margin: 0 AUTO;
    padding: 20px;
}

.mission-text{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: white;
    border: 1px solid rgb(202, 202, 202);
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    padding: 40px; 
}

.mission-wrapper h1{
    text-align: left;
    padding: 0px 40px;
    color: brown;
    letter-spacing: 3px;
    margin-bottom: 0;
    text-transform: uppercase;
    font-weight: 400;
}

.mission-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
    text-align:  justify;
}

.about-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}
.section-about>h1:first-child{
    text-align: center;
    letter-spacing: 4px;
    margin-bottom: 60px;
    border-bottom: 4px solid brown;
    padding-bottom: 8px;
    text-transform: uppercase;
    font-weight: 400;
}

.about-wrapper:nth-of-type(2) .image-and-about {
    flex-direction: row-reverse;
  }

.image-and-about {
    display: flex;
    max-width: 1200px;
    background-color: #fff;
    overflow: hidden;
}

img {
    width: 350px;
    height: auto;
    object-fit: cover;
}

.about-text {
    padding: 40px;
    flex: 1;
}

h2 {
    scroll-margin-top: 180px;
}

h1 {
    font-size: 2rem;
    font-family: sans-serif;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 400;
    scroll-margin-top: 140px;
}
.about-text>h1{
    color: brown;
}
p {
    font-size: 1rem;
    line-height: 1.6;
}


.atuty {
    display: flex;
    margin-top: 2em;
    justify-content: center;
    background-color: white;
    border-bottom: 1px solid brown;
    border-top: 1px solid brown;
    flex-wrap: wrap;
  }

  .atuty > p {
    letter-spacing: 4px;
    padding: 1em;
    margin: 0.5em;
    border-right: 1px solid brown;
  }

  .atuty > p:last-child {
    border-right: none;
  }
  .atuty > p:first-child{
    font-weight: bold;
    color: brown;

  }



/*---------KONTAKT ------------*/
.contact-section{
    display: flex;
    flex-direction: column;
    text-align: center;
  
}


/*-----------------------------------*/
.text>ul>li,
.text-left>ul>li{
    letter-spacing: 0;
    list-style: square; 
    text-align: left;
    list-style-position: outside;
    margin-left: 30px;
    font-size: 1rem;
    line-height: 1.6;
}
.text>ul>li::marker,
.text-left>ul>li::marker{
    color: brown
}
/*-----------------------------------*/
.about-text-phone>h1{
    color: brown;
    text-align: center;
    letter-spacing: 3px;
}
.about-text-phone>p{
    padding: 0.5em 0;
}


/*-----------------------------------*/

.section-right{
    margin: 20px 60px;
    display: flex;
    justify-content: center;
}

.section-left{
    margin: 20px 60px;
    display: flex;
    justify-content: center;
    flex: 1;
}

.section-left>.text-wrapper{
    flex-direction: row-reverse;
}

.section-left>.text-wrapper>.text-left{
    margin-left: -35%;
    background-color: white;
    border: 1px solid rgb(202, 202, 202);
    justify-content: center;
    flex-direction: column;
    z-index: 1;
    font-size: 1.2em;
    text-align: justify;
    padding: 40px;
    flex: 1;
    min-width: 350px;
}

.text-wrapper{
    display: flex;
    align-items: center;
    flex-direction: row;
    text-align: center;
    max-width: 1200px;
    margin: 0 AUTO;
    padding: 20px;
}

.text{
    background-color: white;
    border: 1px solid rgb(202, 202, 202);
    justify-content: center;
    flex-direction: column;
    margin-right: -35%;
    z-index: 1;
    font-size: 1.2em;
    text-align: justify;
    padding: 40px;
    flex: 1;
    min-width: 350px;
}

.text>h2,
.text-left>h2{
    margin-bottom: 1em;
    font-weight: 400;
    text-transform: uppercase;
    border-bottom: 4px solid brown;
    padding-bottom: px;
    letter-spacing: 3px;
    font-family: sans-serif;
}

.text-left>p,
.text>p{
    padding: 0.75em 0 0.75em 0;
}

.image img{
    display: block;
}

.image>img{
    max-width: 100%;
    width: 850px;
    height: auto;
    box-shadow: 1px 1px 10px rgb(179, 179, 179);
}


/*-----------------------------------*/
input[type=checkbox]{
    display: none;
}

.hamburger{
    display: none;
    user-select: none;
    font-size: 35px;
    color: black;
}

@media (max-width: 820px) {
    .menu-checked{
        display: none;
        position: absolute;
        margin-top: 50px;
        padding: 1em 0;
        right: 0;
        left: 0;
        text-align: right;
        z-index: 1;
        background-color: white;
        border-bottom: 3px solid #663300;

    }

    input[type=checkbox]:checked ~ .menu-checked{
        display: block;
    }
    .hamburger{
        display: block;
        float: right;
        clear: left;
    }
    .menu-checked a:hover{
        display: inline-block;
        
    }
  
    .menu-checked li{
        padding: 1em 0;
    }
    .logo>a>img{
        width: 80px;
        height: auto;
    }
    header{
        padding: 10px 10px 0 10px;
    }
    .nav-wrapper{
        padding: 0;
        
    }

}


@media (max-width: 768px) {
    .image-and-about {
        flex-direction: column;
    }
    .about-wrapper:nth-of-type(2) .image-and-about {
        flex-direction: column;
      }

    img {
        width: 100%;
        height: 300px;
    }

    .about-text {
        padding: 20px;
    }

    h1 {
        font-size: 1.8rem;
    }

    p {
        font-size: 0.95rem;
    }

    .mission-text p {
        font-size: 1rem;
    }

    .atuty {
        flex-direction: column;
        align-items: center;
      }
  
    .atuty > p {
        border-right: none;
        border-bottom: 1px solid brown;
        width: 100%;
        margin: 0 ;
        padding: 1em 0 ;
        text-align: center;
      }
  
    .atuty > p:last-child {
        border-bottom: none;
      }
      
    .menu-checked{
        display: none;
        position: absolute;
        margin-top: 50px;
        right: 0;
        left: 0;
        text-align: right;
        z-index: 1;
        background-color: white;
        border-bottom: 3px solid #663300;

    }

    input[type=checkbox]:checked ~ .menu-checked{
        display: block;
    }
    .hamburger{
        display: block;
        float: right;
        clear: left;
    }
    .menu-checked a:hover{
        display: inline-block;
        
    }
    .logo>a>img{
        width: 80px;
        height: auto;
    }

    header{
        padding: 10px 10px 0 10px;
    }
    .nav-wrapper{
        padding: 0;
        
    }
   

.menu-checked{
    padding: 1em 0;
}

.menu-checked li{
    padding: 1em 0;
}

 ul,a,li{
    text-align: center;
 }

 .image img{
    display: none;
}
.text,
.section-left>.text-wrapper>.text-left{
    margin: 0;
}
.section-right,
.section-left{
    margin: 20px 0px;
}
.text>h2,
.text-left>h2{
    text-align: center;
}
.text>ul>li,
.text-left>ul>li{
    font-size: 0.95rem;
}
}