﻿@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap');

* {
    transition: 400ms;
}

html {
    scroll-behavior: smooth;
    font-size: 10px;

}

body {
    font-family: 'Lora', sans-serif;
    font-size: 1.6rem;
}

/*nawigacja mobile*/

.open{
    display: none;
}
.burger{
    position: fixed;
    display: none;
    background-color:#ccc;
    font-size: 4rem;
    padding: 1rem 1.3rem;
    right: 2rem;
    top: 2rem;
    border-radius: 1rem;
    z-index: 3;
}
.nakladka{
    position: fixed;
    background-color: rgba(255,255,255,.9);
    height: 00%;
    width: 100%;
    overflow: hidden;
    right: 0;
    bottom: 0;
    z-index:1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.zamknijX{
    position:absolute;
    font-size: 7rem;
    top: 1.7rem;
    right: 1.8rem;
    padding: 0 1rem;
    text-decoration:none;
    color:black;
}
.nakladka ol{
    text-align: center;
    align-items: center;
}
.nakladka ol li{}


.nakladka ol li img{
   
    height: 10vh;
    width: 10vh;
}

.nakladka ol li a{
    display: block;
    padding: 3vh 25vw;
    margin-bottom: 1rem;
    font-size: 6vw;
    text-decoration: none;
    color: #333;
    font-weight: 800;
}
.nakladka ol li a:hover{
    background-color: #333;
    color: #fff;
}

.nakladka ol li div {
    margin:auto;
    height: 16vh;
    width: 16vh;
    background-color: white;
    align-items: center;
    text-align: center;
    color: black;
    font-size: 5rem;
    border-radius: 50vh;
    font-weight: 900;
    display: flex;
    justify-content: center;
    overflow: hidden;
}
    /*nawigacja*/
    nav {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    width: 100%;
    background-color: #777;
    color: white;
    padding: 1.5vh 0;
    height: 5vh;
    z-index: 1;
}

nav ol {
        display: flex;
        justify-content: space-evenly;
        

}

nav ol li{}
    nav ol li a {
        text-decoration: none;
        color: white;
        display: block;
        padding: 2.5vh 5vw;
        margin: 2vh 1vw;
        text-transform: uppercase;
        font-size: 1.2rem;
        background-color: #206972;
        border-radius: 5px;
    }

nav ol li a:hover{
    transform: translateY(-5px);
    box-shadow: 10px 10px 10px black;
}

nav ol li img{
    position: absolute;
    left: 1vh;
    top: 1vh;
    height: 6vh;
    width: 6vh;
}
    nav ol li div {
        position: absolute;
        left: 1vh;
        top: 1vh;
        height: 6vh;
        width: 6vh;
        background-color: white;
        align-items: center;
        text-align: center;
        color: black;
        font-size: 5rem;
        border-radius: 50px;
        font-weight: 900;
        display: flex;
        justify-content: center;
        overflow: hidden;
    }
/*wszystkie sekcje*/

section {
    min-height: 90vh; 
    display: flex; 
    align-items: center;
    justify-content: center;
    scroll-margin-top: 5vh;

}

.content{}

/*sekcje*/

#inviting_page {
    padding-top:10rem;
    background: url("../img/mainkuchnia.jpeg") no-repeat fixed center;
    background-size: cover;
}

    #inviting_page .content {
        font-size: 15vw;
        font-weight: 900;
        color: #206972;
        mix-blend-mode: darken;
        text-align: center;
        text-shadow: 0 2rem 1rem rgba(0,0,0,.8);
        text-transform: uppercase;
    }


#inviting_page .content p{}


#about_me {
    padding: 2em 1em;
    background-color: #ADB4BE;
}

    #about_me .content {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        margin-top: 10px;
        background-color: #210F0F;
        border-radius: 8px;
    }


#about_me .content article{
    width: 40vw;
    height:auto;
    padding:5vh 0;
    margin-right: 1rem;
    background-color: #210F0F;

    text-align: center;
    margin-top:5px;
    
}

#about_me .content article h3{
    font-size: 5rem;
    font-weight:400;
    margin-bottom: 2rem;
    text-align: center;
    color: #BBB;
}

#about_me .content article p{
    margin:1rem 3rem;
    color: #FFF;
}

#about_me .content img{
    width: 40vw;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    
}

    #about_me .content article ol {
        list-style-type: decimal;
        margin-left: 30px;
        padding: 10px;
        text-align: left;
        display: inline-block;
    }
    #about_me .content article ol li{
        padding: 5px;
        color: white;
        margin-top: 5px;
       
    }

#works {
    padding: 2em 1em;
    position: relative;
}

#works .content{
    display: flex;
    flex-wrap:wrap;
    gap: 40px;
    justify-content:center;

    
}

#works .content .buttons{
    position: absolute;
    margin: auto 0;
    top:15vh;
    bottom:0;
    height: 30%;
    width: 4%;
    background-color:#206972;
    color: white;
    font-weight:900;
    font-size: 3rem;
}

#works .content #button1{
    right:0;
   
}

#works .content #button2{
    left:0;
}

#works .content h3{
    font-size: 5rem;
    font-weight:400;
    margin-bottom: 2.5rem;
    text-align: center;
    margin-top: 2rem;
}

#works .content div{
    margin-top: 0;
    display: flex;
    justify-content:center;
    align-items: center;
    gap: 40px;
    height:90%;
}

#works .content div img{
    width: 27%;
    height: 80%;
}

#works .content div img:hover{
    transform: scale(1.2);
}

#footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    position: relative;
}

#footer .content {
    display: flex;
    justify-content: space-between;
    width: 70%;
}

    #footer .content div {
        flex: 1;
        display: flex;
        flex-direction: column;
        margin: 1rem 1rem;
        grid-gap: 1rem;
        align-items: center;
        width: 50%;
    }


#footer .content div h3{
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 2rem;

}

#footer .content div p {
    margin: .5rem 0;
   

}

    #footer .content div p a {
        text-decoration: none;
        color: #fff;
    }

#footer .content div p a:hover{}

#footer .content form{
        flex: 1;
        display: none;
        flex-direction: column;
        margin: 1rem 1rem;
        grid-gap:1rem;
        align-items: center;
        width: 50%;
        
}

#footer .content form h3{
    font-size: 3rem;
    font-weight:400;
    margin-bottom: 2rem;
    text-align: center;
}

#footer .content form main{
        display: flex;
        flex-direction: column;
        margin-top: 0;
        margin-bottom: 1.5rem;
}

#footer .content form main label{
    display: block;
    margin-bottom:.5rem;
}

#footer .content form main input{
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    
    font-family: inherit;
}

#footer .content form main textarea{
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    resize:vertical;
    font-family: inherit;
}

#footer .content form main input:focus{
    transform: scale(1.2);
}

    #footer .content form main textarea:focus {
        transform: scale(1.2);
    }

#footer .content form div{}

#footer .content form div input{
    padding: 10px;
    background-color: #206972;
    color: #fff;
    border: none;
    cursor: pointer;
    width: 100%;
}

#footer .content form div input:hover{
    box-shadow: 0 0 10px white;
}

#footer h4 {
    text-align: center;
    position: absolute;
    bottom: 6px;
    margin-bottom:0px;
    font-size: 1rem;
}

/*style mobile*/

@media all and (max-width: 700px) {
    *{

    }
    body{
        
    }



    .burger {
        display: block;
    }

    nav {
        display: none;
    }

    .nakladka ol li img{
        margin-bottom:10px;
    }

    section {
        min-height: 90vh;
        scroll-margin-top: 0;
    }

    #inviting_page{
        padding-top:0;
        background: url("../img/mainkuchniamobile.jpg") no-repeat fixed center;
        height: 100vh;
    }
        #inviting_page .content {
            color: white;
            mix-blend-mode: overlay;
        }
    #about_me{
        padding:0;
        margin: 0;
    }

    #about_me .content{
        
        justify-content: center;
        margin-top:0;
    }

    #about_me .content article{
        width: 100%;
        
        margin-right:0;
    }

    #about_me .content img{
        width: 90%;
        margin-bottom: 2%;
    }

    #works{
        min-height: 100vh;
    }

    #works .content {
        height: 80vh;

    }

    #works .content .buttons {
        height: 20%;
        width: 10%;
        font-size: 3rem;
    }

    #works .content #button1{
        margin-right: 1%;
    }

    #works .content #button2 {
        margin-left: 1%;
    }

    #works .content div{
        width: 80%;
    }

    #works .content div #image1{
        display: none;
    }

    #works .content div #image2{
        height:70%;
        width: 100%;
        margin-bottom: 20%;
    }

    #works .content div #image2:hover{
        transform: scale(1);
    }

    #works .content div #image3{
        display: none;
    }

    #footer{
        height: 100vh;
    }

    #footer .content {
        display: flex;
        width: 100%;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        
    }

    #footer .content div{
        margin-left:0;
        margin-right:0;
        width:100%;
        margin-bottom: 30px;
    }

    #footer .content form{
        width: 90%;
        display: none;
    }

    #footer .content form main{
        padding: 10px;
        width: 80%;
    }
    

    #footer .content form main input {
            width: 90%;

    }

    #footer .content form main textarea {
            width: 90%;
    }

}