/*!
Theme Name: Dorota Miciak Salon Fryzjerski
Author: Jarosław Decowski
Description: Code Your Own! Or contact me if You need custom template :) 
Text Domain: Commercial site


*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&family=Playfair+Display:wght@400;500;600;700;800;900&display=swap');

*,
*::before,
*::after{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root{
    /* font-size: 16px; */
    font-family: 'Montserrat', sans-serif;


    --blackOpac: rgba(0, 0, 0, 45%);
    /* for background */
    --grey: #607080;
    /* standard buttons */
    --blandPink: #DFBFC0;
    /* for borders */
    --darkPink: #C08082;
    /* for hover style */
    --lightPink: #F1A5B1;
    /* for icons style */
}


h1{
    font-family: 'Playfair Display', serif; 
}

p,
a,
li,
h2,
h3,
h4,
h5,
button{
    font-family: 'Montserrat', sans-serif;
}

    /* FLEX */

    .flex{
        display: flex;
    }

        .f-center{
            justify-content: center;
        }

        .f-start{
            justify-content: flex-start;
        }

        .f-end{
            justify-content: flex-end;
        }


    /* GRID */

    .grid{
    display: grid;
    }

  



body{
    min-width: 320px;
    scroll-behavior: smooth;
}


  /* MOBILE VIEW */

  

    /* font sizes */
    h1{
        font-size: calc(28px + (60 - 28) * ((100vw - 300px) / (1140 - 300)));
    }

    p, 
    td{
        font-size: calc(14px + (16 - 14) * ((100vw - 300px) / (1140 - 300)));
    }

    .category-name{
        font-size: calc(16px + (18 - 16) * ((100vw - 360px) / (1140 - 360)));
    }

        footer li,
        footer p,
        .profile-description-wrapper p,
        .box p{
            font-size: calc(12px + (14 - 12) * ((100vw - 300px) / (1140 - 300)));
        }

        .products-container p{
            font-size: calc(12px + (16 - 12) * ((100vw - 300px) / (1140 - 300)));
        }


    .menu ul li a{
        font-size: 18px;
        
    } 

    .cta_button,
    .hero-btn{
        font-size: 1rem;
        
    }

 

    .scroll-span-wrapper span{
        font-size: 0.5rem;
    }




p{
    letter-spacing: 1.25px;
    line-height: 1.45em;
}

p,
a,
li{
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    text-decoration: none;
}

a, li{
    color: white;
}

ul{
    list-style-type: none;
}

h1{
    text-transform: uppercase;
    color: white;
    line-height: 1;
    margin-bottom: 20px;
}

h3{
    font-weight: 600;
    letter-spacing: 1px;
    
}


section{
    margin: 60px 0;
}

    /* HEADER */

.social{
    justify-content: flex-end;
    display: flex;

}
.social a{
    height: 25px;
    width: auto;
    margin: 0 5px;
}

    .social a img{
        position: relative;
        height: inherit;
        width: inherit;
    }

.navbar{
    background: #171717;
    height: 70px;
    padding: 10px 50px;
}



nav{
   
    display: none;    
}

.logo{
    margin: auto 0;
}


.menu{
   text-align: center;

}

 

.hamburger-menu{
    position: relative;
    height: 100%;
    cursor: pointer;
    margin-left: auto;
    
}

.hamburger-icon{
    background: white;
    display: inline-block;
    height: 2px;
    position: relative;
    width: 18px;    
    vertical-align: middle;
    margin-top: auto;
    margin-bottom: auto;
}

    .hamburger-icon::before, .hamburger-icon::after{
        background: inherit;
        content: "";
        display: inline-block;
        height: 2px;
        position: absolute;
        width: 18px;
    }

    .hamburger-icon::before{
        top: 5px;
    }

    .hamburger-icon::after{
        top: -5px;
    }

.hero-container{
    padding: 0 25px;
}

.hero{
 
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: url(assets/images/hero_image.jpg);
    background-size: cover;
    background-origin: content-box;
    background-position: center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    display: flex;
    flex-flow: column;
}

.hero-wrapper{
    display: flex;
    height: 75vh;
    margin-top: auto;
    margin-bottom: auto;
}

.container{
    padding: 0 50px;
}
    .container__hero{
        flex-flow: column;
        text-align: center;
        position: relative;
        top: 25%;
        max-width: 100vw;
    }



.subtitle{
    color: white;
    opacity: 90%;
    font-weight: 500;
    margin-bottom: 40px;
}

.cta_button, 
.hero-btn{
    position: relative;
    background: var(--grey);
    transition: all .5s;
    max-width: 250px;
    padding: 15px 25px;
}

.cta_button{
    margin: 0 auto;
}

.hero-btn{
    margin: 0 auto;
    text-align: center;
}


   
    .hero-btn:hover,
    .cta_button:hover{
        transition: all .3s ease-in-out;
        background: var(--lightPink);
        
    }

    .scroll-span-wrapper{
        display: inline-block;
        position: fixed !important;
        bottom: 35px;
        width: 100%;
        text-align: center;
        
    }
    
        .scroll-span-wrapper span{
            font-family: 'Montserrat';
            color: white;
            
            letter-spacing: 2.5px;
            font-weight: 500;
            opacity: 0%;
            transition: all 1s;
            animation: blink 3s ease-out infinite .9s;
        }
    
    
    .scroll-wrapper{
        display: block;
        position: fixed !important;
        bottom: 0;
        width: 100%;
        text-align: center;
    }
    
    
        .scroll-line{
            animation: grow-line 3s linear infinite .9s;
            -o-animation: grow-line 3s linear infinite .9s;
            -moz-animation: grow-line 3s linear infinite .9s;
            -webkit-animation: grow-line 3s linear infinite .9s;
            display: block;
            z-index: 1;
            width: 1px;
            background: white;
            border: 1.5px solid white;
            margin: 0 auto;
        }

    .services{  
        position: relative;
      
        padding: 60px 0;
        text-align: center;
        margin-top: 0;
        
    } 

    .grid{
        gap: 20px;
    }

    .card{
        display: flex;
        flex-flow: column;
        align-items: center;
    }
    
   
    .caption{
        position: relative;
        background: white;
        border: 2px solid var(--blandPink);
        display: flex;
        flex-flow: column; 
        justify-content: center;
        align-items: center;
        padding: 10px 40px;
        top: -8%;
        min-width: 208px;
    }

    .section_heading{
        margin-bottom: 4em;
        text-align: center;
    }

        .section_heading img{
            width: 45px;
            height: 15px;
            position: relative;
            left: 0;
        }

    .service-name{
        color: black;
        margin-bottom: 10px;

    }

    .link{
        color: var(--darkPink);
        font-weight: 500;
        letter-spacing: 1.25px;
    }

     .background-image{
        display: none;
      
    }

    .welcome-section{
        position: relative;
    }

    .box,
    .profile-description-wrapper{
        position:relative;
        display: flex;
        text-align: center;
        flex-flow: column;
       
    }
    
        .box h2{
            margin-bottom: 10px;
        } 
        .profile-description-wrapper h3{
            margin-bottom: 20px;
        }

        .box .logo img{
            transform: scale(0.9);
            margin: 10px auto;
        }

        .box p, 
        .profile-description-wrapper p{
            color: black;
            margin-bottom: 10px;
        }


        .box a,
        .profile-description-wrapper a{
            padding: 10px 20px;
            position: relative;
            top: -10px;
        }
        
    .text-wrapper,
    .profile-description-wrapper{
        padding: 20px 50px;
        position: relative;
    }

    .benefits_section{
        margin-bottom: 60px;
    }

    .benefits{
        justify-content: center;
        
    }

    .benefits_heading{
        margin-bottom: 2em;
    }

    .benefit-card{
        transition: all .2s linear;
        padding: 1.25em 2em;
        max-width: 350px;
        box-sizing: content-box;
        box-shadow: 0 40px 60px -20px rgba(12, 5, 62, 0.15);
        background: white;
    }

        .benefit-card:hover{
           
            transition: all .3s linear;
            transform: scale(1.1);
            z-index: 1;
            background: white;
            border: 2px solid var(--darkPink);
        }

    .benefit-card,
    .benefits_heading{
        text-align: center;
    }

        .benefit-icon{
            position: relative;
            /* height: 50px;
            width: 55px; */
            height: 2.5em;
            width: 2.7em;
            margin: 10px auto;
      
        }


        .benefit-card img{
            position: relative;
            width: inherit;
            height: inherit;
        }

        .benefit-card h3{
            margin-bottom: 20px;
            
        }

        .benefit-card p,
        .benefit-card h3 {
            color: black;
            line-height: 1em;
         }
    
    .products-section{
        position: relative;
    }

    .products_heading{
        text-align: center;
        margin-bottom: 2em;
    }

    .products-image{
        width: 100%;
        display: flex;
        flex-flow: column;
        align-items: center;
        justify-content: center;
        margin: auto 0;
    }

        .products-image img{
            width: 100%;
            height: 50%;
        }

    .products-container{
        position: absolute;
        margin: 0 10%;;
        
        display: flex;
        flex-flow: column;
        text-align: center;
        
    }

      .products-container p {
        color: white;
        margin-bottom: 20px;
      
        }

        .btn-alt{
            background: var(--lightPink);
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: all .3s ease;
        }

        .btn-alt:hover{
            background: white;
            color: black;
            transition: all .3s ease;
        }

    
    
    .brands-grid{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        justify-content: center;
        gap: 3%;
        padding: 5% 10%;
        margin: 0 auto;
    }

    .brand-single{
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        border: 1px solid var(--blandPink);
        box-shadow: 0 40px 60px -20px rgba(12, 5, 62, 0.15);
        transition: all .3s linear;
        height: 50px;
        max-width: 150px;
        overflow: hidden;
        background: white;
        padding: 1%;
    }

        .brand-single:hover{
            transform: scale(1.1);
            transition: all .3s ease;
        }

     
        .brand-single img{
            position: relative;
            width: 45%;
            height: auto;
           
        }

    .figure-image{
        display: none;
    }

    .figure-image-inside{
        display: block;
        position: relative;
        width: 155px;
        height: 100px;
        margin: 20px auto;
    }

        .figure-image-inside img{
            position: relative;
            width: 100%;
            height: 100%;
            border-radius: 100%;
        }
 

    .para_profile_desc{
        color: black;
    }
    
    footer{
        background: black;
        height: 70px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        

           footer p{
               color: #8e8e8e;
          }

    .contact-wrapper li{
        display: flex;
        margin-bottom: 10px;
        justify-content: center;
    }

    .working-hours-ul_wrapper{
        display: flex;
        justify-content: center;
    }

 

    .working-hours-wrapper li{
        padding-left: 2rem;
        margin-bottom: 10px;
    }

    
    .category-name{
        margin: 2em 0;
        color: white;
        font-weight: 600;
        text-align: center;
    }

    .icon-container{
        display: flex;
        position: relative;
        justify-content: center;
        align-items: center;
        max-height: 20px;
        max-width: 20px;
        margin-right: 20px;
    }

        .icon-container img{
            position: relative;
            max-height: inherit;
            max-width: inherit;
        }

  

    .copy-section{
        /* padding: 20px 0; */
        text-align: center;
    }

    .copy-section p{
        font-size: 8px;
        text-align: center;
    }

    .author{
        color: white;
    }

    .logo-footer{
        display: none;
    }


    .products-wrapper{
        display: flex;
        flex-flow: column;
    }

    .subpage-header{
        padding: 2em 10%;
        text-align: center;
    }

    .contact-content{
        padding: 0 10%;
        justify-content: space-between;

    }



    .contact-data,
    .mapouter{
        position: relative;
    }

    .mapouter{
        margin: auto;
    }

/*
    ====================
        PROMOCJA PAGE
    ===================
*/


.posts-wrapper{
    padding: 0 10%;
}

    .posts-wrapper :is(h2, .updated-at){
        margin-bottom: 20px;
    }

    .updated-at,
    .entry-date{
        font-size: 16px;
        color:rgba(0, 0, 0, 0.601);
    }

        .updated-at img{
            vertical-align: -2px;
            margin-right: 5px;
        }

        

    .post{
        display: grid;
        grid-template-columns: 1fr;
        margin-bottom: 40px;
        position: relative;
        width: 95%;
        margin-bottom: 4em;
    }

        .post-excerpt{
            margin-bottom: 4rem;
        }

    

        .read-more a{
            border: 1px solid black;
            padding: 10px 20px;
        }

        .post-content-wrapper{
            padding: 20px;
        }

        .post a{
            color: black;
            transition: color .3s ease;
        }

        .post a:hover{
            color: var(--darkPink);
            transition: color .3s ease;
        }

.post-image{
    
    position: relative;
    display: flex;
    height: 100%;
}

    .post-image img{
        position: relative;
        width: 250px;
        height: 250px;
        margin: auto;
    }


.page-title{
    padding: 3% 10%;
}

.page-content-wrapper{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 5% 4em;
}

/* Contact */

.site-contact{
    margin: 0;
}

.site-contact :is(h2,h3,h4,h5, p, li, a){
    color: black;
}


.working-hours-wrapper{
    margin-bottom: 2em;
}



/* table */

table{
    margin-bottom: 1.25em;
    border-spacing: 10px;
    border-collapse: separate;
}


tr{
    padding: 10px 0;
}

/* Promocje */

.site-promocje .subpage-header{
    height: 15vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 4em;
}

.subpage_heading{
    background:rgba(0, 0, 0, 0.301);
    width: 80%;
    min-width: 130px;
    margin: 0 auto;
    color: white;
}


/* single */

.single-body{
    padding: 4em 10%;
    max-width: 1400px;
    min-height: 100vh;
    margin: auto;
}

    .single-body h2{
        margin-bottom: 1.25rem;
    }

    .single-body a{
        color: black;
        position: relative;
        width: auto;
        font-weight: 600;
        text-decoration: underline;
    }

        .single-body a:hover{
            color: var(--lightPink);
        }

    .single-body p{
        margin-bottom: 2em;
        line-height: 2em;
        letter-spacing: normal;
    }

.single-image{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 4em;
}

.single-entry{
    margin-bottom: 2rem;
}




 

@media screen and (min-width: 600px){

   



    .brands-grid{
      grid-template-columns: repeat(3, 33%);
    }

    .brand-single{
        height: 80px;
    }
    
     .box .cta_button{
        margin: 0 0 0 auto;
        
    }

    .about-me{
        position: relative;
        padding: 0 50px;
    }

    .about-content-wrapper{
        display: flex;
        align-items: center;
        flex-flow: column;
        margin: 0 auto;   
    }
      
    .profile-description-wrapper{
        position: relative;
        background: white;
        order: 1;
    }

}


@media screen and (max-width: 1139px){

    .active-nav{
        display: flex;
        flex-flow: column;
        justify-content: center;
        align-items: center;
        position: fixed; 
        top: 0;
        height: 100vh;
        width: 100%;
        margin: auto;
        animation: enter .6s ease-out;
        z-index: 99999;
        background: var(--darkPink);
        padding: 20px 0;
        left: 0;
    }   
        .close{
            margin-left: auto;
            margin-right: 50px;
            margin-bottom: 20px;
            top: -13%;
            position: relative;
        }

        .mobile-nav-title{
            text-transform:uppercase;
            font-size: 20px;
            font-weight: 500;
            margin-bottom: 20px;
            color: white;
        }

        .active-nav li{
            margin-bottom: 20px;
        }

        .active-nav li a{
            font-size: 18px;
        }
        .header-cta{
            padding: 10px 20px;
            font-size: 14px;
            background: transparent;
            color: white;
            font-weight: 500;
            text-transform: uppercase;
            border: 1px solid white;
            margin-bottom: 20px;
        }
                .header-cta span{
                    vertical-align: middle;
                    margin-right: 10px;
                }
    
    
    @keyframes enter{
        from{
            left: -1000px;
        }

        to{
            left: 0;
        }
    }

    .menu ul li:hover{
        transition: all .3s ease-in-out;
        color: white;
        background-color: var(--lightPink);
    }

   
} 
    

    /* TABLETS VIEW */

     @media screen and (min-width: 768px){

        .hamburger-icon{
            width: 25px;    

            
        }
        
            .hamburger-icon::before, .hamburger-icon::after{
                width: 25px;
            }

        .close{
            top: -27.5%;
            height: 25px;
            width: auto;
        }

            .close img{
                height: inherit;
                width: inherit;
            }
    

        .container{
            padding: 0 150px;
        }        


        .container__hero{
            text-align: left;
        }

        .hero-container{
            padding: 0 150px;
        }

        h1{
            margin-bottom: 40px;
        }        
        
        .subtitle{
            margin-bottom: 60px;
        }

        .hero-btn{
            margin: 0 auto 0 0;
           
        }

        .cta_button{
            padding: 15px 25px;
            margin: 0 auto 0 0;
        }

       

        .grid{
            grid-template-columns: 1fr 1fr;
            gap: 5%;
            
        }

        .card{
            box-shadow: 0 40px 60px -20px rgba(12, 5, 62, 0.15);
            transition: all .3s ease;
        }

            .card:hover{
                transition: all .3s ease;
                transform: scale(1.05);
            }

        .caption{
            top: -7%;
        }

        .background-image{
            display: flex;
            justify-content: flex-end;
            position: relative;
            height: 350px;
            width: 80%;
            margin-left: auto;
            margin-right: 50px;
            z-index: -1;
        }

        .background-image img{
            height: inherit;
            width: inherit;
        }

       

        .box{
            z-index: 1;
            position: absolute;
            border: 4px solid var(--blandPink);
            height: max-content;
            width: 425px;
            margin: auto 25% auto 15%;
            top: 3vh;
            left: -10vw;
            background: white;
        }


        .benefits{
            gap: 20px;
            grid-template-columns: 1fr 1fr;

        }

        .benefit-card{
            max-height: 200px;
            align-items: baseline;
            padding: 20px;
        }

        .benefit-card p{
            font-size: 14px;
        }

        .benefit-wrapper{
            display: flex;
            flex-flow: column;
            height: 50px;
            
        }

            

            .benefit-card h3{
                margin: auto;
            }

       
   
    .welcome-section{
        padding: 60px 0;
    }
    
    

    .brands-grid{
        padding: 5% 10%;
        gap: 20px;
        grid-template-columns: repeat(3, 33%);
        grid-template-rows: repeat(3, 1fr);
    
        margin: 0 auto;
        
    }

 
    .cta_button{
        margin: 0 auto;
    }

   

    .logo-footer{
        display: block;
        margin: auto;
    }

       /* promocje */

    .post{
        grid-template-columns: 300px 1fr;
    }

    .site-promocje .subpage-header{
        height: 400px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 4em;
    }
    
    .subpage_heading{
        background:rgba(0, 0, 0, 0.501);
        width: 50%;
        min-width: 130px;
        margin: 0 auto;
        color: white;
        padding: 10px 20px;
    }
  
    .site-contact .subpage-header{
        padding: 2em 10% 0;
    }
 

}
       
     @media screen and (min-width: 1140px){
         .social{
             flex-flow: column;
             justify-content: space-between;
             margin-left: 2em;
         }

            .social a{
                height: 20px;
                width: auto;
            }

        header{
            justify-content: space-between;
        }
            .close,
            .mobile-nav-title{
                display: none;
            }

            .header-cta{
                padding: 10px;
                font-size: 16px;
                background: transparent;
                letter-spacing: -.5px;
                color: white;
                font-weight: 500;
                text-transform: uppercase;
                border: 1px solid var(--darkPink);
                margin-bottom: 20px;
                margin: auto 0;
                border-radius: 1px;
                background: var(--darkPink);
                margin-left: 20px;
                cursor: pointer;
                transition: all .3s ease;
            }

                .header-cta:hover{
                    border: 1px solid var(--lightPink);
                    color: white;
                    background: var(--lightPink);
                    transition: all .3s ease;
                }

        .hamburger-menu{
            display: none;
        }

        nav{
            position: relative;
            display: flex;
            flex-flow: row;
            transition: all .3s smooth;
        }

        .menu{
            text-align: center;
            margin: auto;
            justify-content: flex-end;
         }
         
             .menu ul{
                 display: flex;
                 flex-flow: row;
                
             }
          
             .menu ul li{
             
                 font-weight: 400;
                 padding: 0.625em;
                 margin: auto 0;
                 background-color: transparent;
             }
             
             .menu ul li a{
               z-index: 1;
                position: relative;
             }
                 


            
            .menu ul li a::before{
                background: none repeat scroll 0 0 transparent;
                bottom: 0;
                content: "";
                float: right;
                height: 3px;
                left: 0;
                bottom: -2px;
                position: absolute;
                background: var(--lightPink);
                width: 0px;
                transition: width .3s ease;
                z-index: 0;
            }

            .menu ul li a:hover:before{ 
                display: block;
                width: 100%;
                transition: width 0.3s ease 0s, left 0.3s ease 0s;
                z-index: 0;
            }



            section{
                margin: 120px 0;
            }

            .container__hero{
                max-width: 50vw;
            }
        
    
            .card img{
                transform: scale(0.8);
            }

            .grid{
                grid-template-columns: 1fr 1fr 1fr 1fr;
                max-width: 1200px;
                margin: auto;
            }

            .caption{
               
                min-width: 180px;
                padding: 10px 20px;
                width: 80%;
                margin-top: 10%;
            }

            .welcome-section{
                padding: 60px 0 60px 150px;
                margin: 0;
            }
            
            .background-image{
                height: 500px;
                margin: 0 0 0 auto;
                width: 90%;
            }

            .box{
                top: 9vh;
                left: 11vw;
                margin: auto 0;
                box-shadow: 0 40px 60px -20px rgba(12, 5, 62, 0.15);
            }

            .brands-grid{
                gap: 20px;
                padding: 3% 3%;
                margin: 0 auto;
            }

            .brand-single{
                max-width: 160px;
                padding: 10px 20px;
            }


            .brand-single img{
                width: 80%;
              
            }

            .about-me{
             
                padding: 0 0 0 50px;
            }

            .about-content-wrapper{
                display: flex;
                align-items: center;
                margin: auto 0 auto auto;   
                
            }


            .profile-description-wrapper{
                border: 4px solid var(--blandPink);
                position: absolute;
                z-index: 1;
                max-width: 45%;
                left: 5%;
                top: 13vh;
                background: white;
            }

            .figure-image{
                display: block;
                position: relative;
                z-index: -1;
                margin-bottom: 40px;
                margin-left: auto;
                margin-right: 0;
            }

            .figure-image-inside{
                display: none;
            }

            .products-wrapper{
                display: flex;
                flex-direction: row;
                justify-content: space-between;
            }

            .products-container{
                margin-left: auto;
                margin-right: 0;
                width: 30%;
            }

            .products-image{
                height: 30%;
                width: 50%;
            }

            th, tr{
                padding: 20px 40px;
            }

           
    }
            @media screen and (min-width: 1400px){

            .background-image{
                height: 650px;
            }

            .box{
                top: 11vh;
            }

            .text-wrapper,
            .profile-description-wrapper{
                padding: 40px;
            }

            /* .welcome-section{
                margin-bottom: 140px;
            } */

            .profile-description-wrapper{
                left: unset;
                right: calc(100% - 60vw);
            }

           .brand-single{
                max-width: 200px;
                height: 90px;
            }
      
     }


    /* ANIMATIONS */
    @keyframes open{
        0%{
            left: 1000px;
        }

        100%{
            left: 0;
        }
    }

    @keyframes grow-line{
        0%{
            height: 0px;
        }

        20%{
            height: 25px;
        }

        100%{
            height: 25px;
        }
     }

     @keyframes blink{
         0%{
             opacity: 0%;
         }

         51%{
             opacity: 100%;
         }

         100%{
             opacity: 0%;
         }
     }
