@import url('https://fonts.googleapis.com/css2?family=Arvo:ital,wght@0,400;0,700;1,400;1,700&family=Dancing+Script&family=Economica:wght@700&family=Josefin+Sans:wght@300;400;600;700&family=Merriweather:wght@300;400;700;900&family=Montserrat:wght@400;600;700&family=Playfair+Display:wght@700;800&family=Roboto+Condensed:wght@400;700&family=Roboto:wght@100&display=swap');

:root{
    --bg-d:#7b879e;
    --bg:#a8b1c6;
    --bg-pink:#e4cec8;
    --title:#c85943;
    --bt:#efae8e;
    --parten-1:#d1cfa4;
    --parten-2:#fdfaee; 
    --parten-3:#e7c29a;
    --parten-4:#adab81;
    --green:#7c8d6c;
    --blue:#5d779a;
    --white:#ffffff;
}

html, body{
    /* width: 100vw; */
    /* overflow: hidden; */
    /* font-family: 'Montserrat', sans-serif; */
    font-family: 'Josefin Sans', sans-serif;
    font-size: 20px;
    background-color: var(--bg-d);
}


h2{
    font-size: 34px;
    margin-bottom: 40px;
    font-family: 'Playfair Display', serif;
    font-size: 45px;
    font-weight: 700;
    color: var(--bt);
    letter-spacing: .05em;
}

h2 span{
    color: var(--bg-pink);
    letter-spacing: .1em;
}

h3{
    color: var(--title);
    font-family: 'Playfair Display', serif;
    font-size: 35px;
    line-height: 1.2em;
    font-weight: 800;
    margin-bottom: 30px;
    text-align: center;    
}

@media screen and (min-width:768px) {

    h3{
        font-size: 35px;
        padding-left: 70px;
        text-align: left;
        margin-bottom: 80px;
    }
    
}

h4{
    font-size: 25px;
    letter-spacing: .08em;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
}

p{
    font-size: 16px;
    color: var(--white);
    line-height: 1.4em;

}

/* TOP鈕 */

.backToTop{
    background-color: var(--bg-pink);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    position: fixed;
    right: 100%;
    bottom: 40px;
    opacity: 0;
    transition: opacity 1s, right 0s 1s;
} 

.backToTop i{
    font-size: 40px;
    color: #c85943;
}

.backToTop.active{
    opacity: 1;
    right: 30px;
    transition: opacity 1s;
}

.home-page .main-header{
    background-color: var(--bg);
}



/* header */

.main-header{
    width: 100%;
    padding:10px;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    position: relative;

}

.logo img{
    width: 100%;
    vertical-align: top;
}

.main-nav a{
    display: block;
    font-size: 18px;
    color: var(--white);
    text-decoration: none;
    padding: 20px 10px;
}

.main-menu input{
    display: none;
}

#menu-switch{
    display: none;
}

.side-nav li a{
    font-family: 'Montserrat', sans-serif;
}



/*手機主選單 */
@media screen and (max-width:767px){

    .logo{
        width: 100px;
        height: 100px;
    }
    
    .main-header .hb{
        width: 40px;
        height: 40px;
        position: relative;
        pointer-events: visible;
    }

    .main-header .hb span{
        position: absolute;
        width: 80%;
        height: 2px;
        background-color: var(--white);
        left: 0;
        right: 0;
        margin: auto;
    }

    /* ----------漢堡----------- */
    .hb .bar2{
        top: 19px;
        opacity: 1;
    }
    #menu-switch:checked ~ .main-header .hb .bar2{
        opacity: 0;
    }

    .hb .bar1{
        top: 11px;
        rotate: 0;
        transition: top .3s .3s, rotate .3s;
    }
    #menu-switch:checked ~ .main-header .hb .bar1{
        top: 19px;
        rotate: 45deg;
        transition: top .3s, rotate .3s .3s;
    }
    
    .hb .bar3{
        top: 27px;
        rotate: 0;
        transition: top .3s .3s, rotate .3s;
    }
    #menu-switch:checked ~ .main-header .hb .bar3{
        top: 19px;
        rotate: -45deg;
        transition: top .3s, rotate .3s .3s;
    }


    /*-----------第一層 主選單----------- */
    .main-header .main-nav{
        width: 100%;
        background-color: var(--bg-d);
        height: 100vh;
        position:absolute;
        padding-top: 40px;
        top: 100%;
        left: -110%;
        transition: left .5s;
        z-index: 100;
    }

    .main-nav .main-menu li{
        display: flex;
        flex-wrap: wrap;
        position: relative;
    }
   
    .main-nav .main-menu li > a{
        width: 0;
        flex-grow: 1; 
    }

    .main-nav .main-menu li > label{
        width: 40px;
        color: #fff;
        font-size: 22px;
        padding: 10px;
        text-align: center;
        transition: 1s;
    }

    .side-nav{
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 1s;
    }


    /* .main-menu label:has( :checked) ~ .side-nav{
        max-height: 100vh; 
    } */

    /* .main-menu label:has( :checked){
        rotate: 180deg; 
    } */

    .side-nav .side-menu{
        display: block;
        margin-left: 5%;    
    }

    .fa-chevron-down,
    .fa-chevron-up{
        position: absolute;
        top: 20px;
        right: 20px;
    }

    .main-nav .fa-chevron-up{
        display: none;
    }

    #menu-switch:checked ~ .main-header .main-nav{
        left: 0; 
    }

    .main-nav li + li{
        border-top: 1px solid #fff;
    }
    
}


/* 桌機主選單 */
@media screen and (min-width:768px){

    .main-header{
        justify-content: center;
        padding: 60px 0 120px;
        box-sizing: border-box;
    }
    .logo{
        width: 120px;
        height: 120px;
        position: absolute;
    }

    .main-nav{
        position: relative;
    }

    .main-nav ul{
        display: flex;
    }
    .main-nav a{
        position: relative;
        padding: 0 50px;
        z-index: 20;
    }

    .main-menu label{
        display: none;
     }
    .main-nav .service{
        margin-right: 120px;
    }
    .main-nav a::after{
        content: '';
        display: block;
        height: 2px;
        background-color: var(--bt);
        position: relative;
        width: 0%;
        margin: auto;
        bottom: -3px;
        transition: .4s;
    }
    
    .main-nav li:hover > a::after{
        width: 100%;  
    } 

    .side-nav{
        opacity: 0;
        position: absolute;
        padding:10px 20px;
        margin-left: 10px;
        box-sizing: border-box;
        flex-direction: column;
        transition: opacity .1s;
    }

    .side-nav .side-menu a{
        text-align: center;
        width: fit-content;
        margin: auto;
        display: block;
        padding: 5px 0;
    }

    .main-menu li:hover .side-nav{
        opacity: 1;
    }

    .side-nav .side-menu:hover > a{
        color: var(--parten-3);
    }
    .side-nav .side-menu:hover > a::after{
        width: 0;
    }

}

/* kv-page */

.kv-page{
    background: var(--bg);
    position: relative;
}

.kv-page .blue-background{
    width: 100%;
    background: var(--bg-d);
    position: absolute;
}

.kv-page .photo-sticker img{
    vertical-align: bottom;
}

.kv-page .intro span{
    display: block;
    color: var(--white);
    font-family: 'Roboto Condensed', sans-serif;
    letter-spacing: .2em;
}

.kv-page .intro .name{
    display: flex;
    font-size: 0px;
}

.kv-page .intro .name span{
    font-family: 'Economica', sans-serif;
    color: var(--parten-2);
    letter-spacing:.08em;
       
}

.kv-page .intro .name span:nth-child(even){
    color: transparent;
    -webkit-text-stroke: 4px var(--parten-2);
}

.kv-page .intro P{
  
    font-family: 'Montserrat', sans-serif;
   
}



/* 手機視覺 */
@media screen and (max-width:767px) {

    .kv-page .blue-background{
        display: none;
    }
    .kv-page .intro{
        font-size: 24px;
    }
    .kv-page .intro,
    .about-me-page .intro{
        text-align: center;
    }
    .kv-page .photo-sticker img{
        width: 100%;
        margin-bottom: 30px;
    }

    .kv-page .intro span{
        margin-bottom: 20px;
    }
   
    .kv-page .intro .name span{
        font-size: 150px;
        margin: auto;
        letter-spacing:.03em;
        margin-bottom: 20px;
    
    }
    .kv-page .intro P{
        font-size: 26px;
        text-align: center;
             
    }

 
}
/* 平板視覺(直) */
@media screen and (min-width:768px) {

    .kv-page .blue-background{
        height: 300px;
        margin-top: 50px;
    }

    .kv-page::after{
        content: ''; 
        display: block;
        width: 100%;
        height: 100%;
        background-image:url('images/bg-blue.png') ;
        background-repeat: no-repeat;
        background-size:100%;
        position: absolute;
        top:12px;
        left: 0px;
    }

    .kv-page .intro{
        padding-top: 60px;
        position: relative;  
        z-index: 2;
        
     }
    .kv-page .photo-sticker img{
        width: 100%;
        margin-top: 20px;
        margin-left: 50px;
       
    }
    .kv-page .intro .name{
        margin-left: -20px;
    }
    .kv-page .intro .name span{
        font-size: 180px;
    }
    
    .kv-page .intro P{
        font-size: 26px;
        margin-left: -20px;
        text-align: right;   
    }

    .kv-page::before{
        content: ''; 
        display: block;
        width: 100%;
        height: 100%;
        background-image:url('images/pattern-3.png') ;
        background-repeat: no-repeat;
        background-size:20%;
        position: absolute;
        top: 280px;
        z-index: 1;
    }

    .kv-page .row,
    .about-me-page .intro{
        flex-direction: row-reverse;
        padding: 0 30px;
        box-sizing: border-box;
        align-items: center;
        justify-content: center;
        position: relative;
        
    }
   
    
}

/* 平板視覺(橫) */
@media screen and (min-width:1024px){

    .kv-page .blue-background{
        height: 400px;
       
    }
    .kv-page::after{
        top:-20px;
    }
    .kv-page .intro .name span{
        font-size: 250px;
    }
    
    .kv-page .intro P{
        font-size: 32px;
        margin-left: 20px;
    }
    .kv-page::before{
        top: 330px;
    }


}


/* 桌機視覺 */
@media screen and (min-width:1180px) {

    .kv-page .blue-background{
        height: 380px;
        margin-top: 70px;
    }

    .kv-page .intro{
        padding-top: 90px;
        position: relative;  
        z-index: 2;        
    }

    .kv-page .photo-sticker img{
        width: 90%;
       
    }
    .kv-page .intro .name{
        font-size: 0px;
        margin-left: -20px;
    }
   
    .kv-page .intro p{
        font-size: 30px;
        line-height: 1.2em;
        margin-bottom: 3em;
       
    }
}    





/* service */

.service-page{

    background-color: var(--bg);
    
}
.service-txt{
    width: 100%;
    padding: 0 50px;
    box-sizing: border-box;
    font-family: 'Merriweather', serif;
    text-transform: uppercase;
    
}

@media screen and (max-width:767px) {
    
    .service-page h3{
        font-size: 40px;
        margin-top: -40px;
    }
    .service-txt{
        margin-top: 50px;
    }
    .service-txt .txt-box{
        font-size: 32px;
        color: var(--white);
        text-align: center;
        margin-bottom: 40px;
        letter-spacing: .03em;
    }
   
}
@media screen and (min-width:820px){
    .service-page .row{
        justify-content: center;
        margin-bottom: -50px;
    }

    .service-txt{
        display: grid;
        grid-template-columns:repeat(4, 1fr);
        grid-auto-rows: minmax(40px, auto);
        color: var(--white);
        gap: 25px;
        font-weight: 300;
        font-size: 30px;
    }
    
    .service-txt .txt-box{
        align-self: center;
        transition: .5s;
    }
    .service-txt .txt-box:hover{
        color: var(--bg-pink);
    }
    .posters{
        grid-column: 1/2;
        font-size: 36px;
        transform: scale(1);
        animation: poster 8s alternate infinite;
    } 

    @keyframes poster {
         0%{transform: scale(1);}
        25%{transform: scale(1.1);}
        50%{transform: scale(1);}
        75%{transform: scale(1.2);}
       100%{transform: scale(1);} 
        
    }
    .web{
        grid-column: 2/4;
        font-size: 22px;
        justify-self: center;
    }
    .sticker{
        grid-column: 4/5;
        font-size: 55px;
        justify-self:end;
        align-self: center;
        transform: scale(1);
        animation: sticker 10s 3s alternate infinite;
    }
    @keyframes sticker {
        0%{transform: scale(1);}
       25%{transform: scale(.9);}
       50%{transform: scale(1);}
       75%{transform: scale(1.15);}
      100%{transform: scale(1);}    
   }
    .banner{
        grid-column:1/3;
        font-size: 60px;
        justify-self: end;
        font-weight: 400;
    }
    
    .flyer{
        grid-column:3/5;
        justify-self: center;
        font-size: 30px;
       
    }
    .package{
        grid-column:1/3;
        font-size: 25px;
        transform: scale(1);
        animation: package 8s 4s alternate infinite;
    }
    @keyframes package {
        0%{transform: scale(1);}
       25%{transform: scale(1);}
       50%{transform: scale(1.11);}
       75%{transform: scale(1);}
      100%{transform: scale(1.11);}    
   }
   
    .menu{
        grid-column:3/5;
        font-size: 75px;
        font-weight: 700;
        justify-self: center;
        transform: scale(1);
        animation: menu 8s 2s infinite alternate;
    }

    @keyframes menu {
         0%{transform: scale(1);}
        25%{transform: scale(1.1);}
        50%{transform: scale(1);}
        75%{transform: scale(1.1);}
       100%{transform: scale(1);}    
    }
    .business{
        grid-column:1/4;
        font-size: 38px;
        justify-self: center;
       
    }
    .landing{
        grid-column:4/5;
        font-size: 22px;
        justify-self:end;
       
    }
       


}
@media screen and (min-width:1180px) {

    .service-txt .txt-box{
        align-self: center;
        transition: .5s;
    }
    .service-txt .txt-box:hover{
        color: var(--bg-pink);
    }
    .posters{
        grid-column: 1/2;
       
    } 

    .web{
        grid-column: 2/4;
        font-size: 26px;
        justify-self: center;
    }
    .sticker{
        grid-column: 4/5;
        font-size: 55px;
        justify-self:end;
        align-self: center;
       
       
    }
  
    .banner{
        grid-column:1/3;
        font-size: 55px;
        justify-self: center;
        font-weight: 400;
    }
    
    .flyer{
        grid-column:3/5;
        justify-self: end;
        font-size: 23px;
       
    }
    .package{
        grid-column:1/3;
        font-size: 25px;
    }
      
    .menu{
        grid-column:3/5;
        font-size: 75px;
        justify-self: start;
    }

    
    .business{
        grid-column:1/3;
        font-size: 36px;
        justify-self: end;
       
    }
    .landing{
        grid-column:3/5;
        font-size: 22px;
        justify-self:end;
       
    }
       
   
}


/* owl-carousel */
.owl-carousel .item img{
    width: 100%;
    vertical-align: bottom;
    border-radius: 20px;
}
@media screen and (min-width:768px) {

    .owl-carousel{
        max-width: 1000px;
        /* padding: 0 50px; */
        margin: auto;
        /* position: relative; */
        display: block;
        box-sizing: border-box;
        overflow: hidden;
        margin-bottom: 80px;
    }

    /* .owl-carousel .item img{
        width: 100%;
        vertical-align: bottom;
        border-radius: 20px;
    } */

    /* .owl-carousel .owl-nav button.owl-prev,
    .owl-carousel .owl-nav button.owl-next{
    position: absolute;
    background-color: transparent;
    color: #fff;
    padding: 0 5px!important;
    box-sizing: border-box;
    font-size: 60px;
    height: 100%;
    top: 0;
    border-radius: 0;
    margin: 0;
    } */

    /* .owl-carousel .owl-nav button.owl-prev{
        left: 0;
    }
    .owl-carousel .owl-nav button.owl-next{
        right: 0;
    } */
    
    .owl-carousel .owl-dots .owl-dot span{
        transform: scale(1);
        transition: 1.3s;   
    }  
    .owl-carousel .owl-dots .owl-dot.active span{
        transform: scale(1.2);
        color: var(--bg-d);    
    }      
}


/* portfolio */

.portfolio-page{
    background-color: #ffeee8;
}

.item .pic img{
    width: 100%;
    border-radius: 50%;
}

.txt{
    text-align: center;
}

.txt h4{
    color: var(--blue);
}
.txt p{
    color: #5a6c89;
    font-size: 18px;
}

.btn{
    width: fit-content;
    margin-top: 40px;
    text-decoration: none;
    color: var(--white);
    display: inline-block;
    padding: 6px 18px;
    background-color: var(--bt);
    border-radius: 20px;
    transition: .3s;
}

.btn .arrow{
    margin-left: 20px;
}

.btn:hover{
    background-color: var(--title);
    
}



@media screen and (max-width:767px){

    .item .pic{
        margin-bottom: 30px;    
    }

    .item .txt h4{
        font-size: 30px;
    }

    .item .txt p{
        font-size: 16px;
    }

    
}

@media screen and (min-width:768px) {

    .portfolio-page{
        background-color: var(--bg);
        background-image: url(images/backgrund-pink.png) ;
        background-repeat: no-repeat;
        background-position: top center ;
        background-size: cover;
        padding-top: 220px;
        box-sizing: border-box;

    }
    .portfolio-page .container{
        max-width: 1000px;
    }
    .portfolio-page .row{
        align-items: center;
        /* justify-content: center; */
        }

    .portfolio-page .row .txt{
        text-align: left;
        padding-left: 60px;
        
     }
     
    .portfolio-page .row .txt h4{
        text-align: left;
    }
    
    
}

/* contact */

.contact-page{
    background-color: var(--bg);
}

.contact-page img{
   width: 100%;
   vertical-align: bottom;
}

.contact-page form{
    display: flex;
    flex-direction: column;
    /* outline: 1px solid red; */
    
}

.contact-page form input,
.contact-page form textarea
{
    width: 100%;
    border: none;
    background-color: var(--bg-d);
    padding: 15px 20px;
    box-sizing: border-box;
    border-radius: 20px;
    margin-bottom: 10px;
    /* font-family: 'Montserrat', sans-serif; */
    font-family: 'Josefin Sans', sans-serif;
    color: #e4cec8;
}

.contact-page form textarea{
    height: 100px;
    resize: none;  
}

.contact-page 
form input::placeholder,
.contact-page form textarea::placeholder{
    color: var(--white);
    /* font-family: 'Montserrat', sans-serif; */
    font-family: 'Josefin Sans', sans-serif;
}

.contact-page form textarea:focus,
.contact-page form input:focus{
    outline: none;
}

@media screen and (min-width:768px) {

    .contact-page .container{
        max-width: 1000px;
    }
    .contact-page h3{
        margin-bottom: 20px;
        padding-left: 0;
    }

    .contact-page .btn{
        margin-top: 40px;
    }
   
}

/* copyright */
.copyright-page{
    /* background-color: var(--bg-pink); */
    padding: 10px 0;
    text-align: center;
}

.copyright-page p{
    font-size: 14px;
    letter-spacing: .2em;
}







/* about-me page*/

.about-me-page .photo-sticker img{
    width: 100%;
    vertical-align: bottom;
    
}
.about-me-page .intro .title::before{
    content: 'hey there';
    font-family: 'Dancing Script', cursive;
    font-weight: 400;
    color: #000;
    font-size: 30px;
    letter-spacing: normal;
    position: absolute;
    transform: rotate(-10deg);
}
.about-me-page .intro p{
    line-height: 1.6;
    font-weight: 300;
    font-size:22px; 
}
.about-me-page .work-with-me .row{
    max-width: 1200px;  
    margin-top: 80px; 
    
}
.about-me-page .work-with-me .row .col{
    gap:0;
    margin: 0;
    padding: 0;
}
.about-me-page .work-with-me .row img{
    width: 100%;
    vertical-align: bottom;    
}
.web-design{
    display: none;
}

.about-me-page .work-with-me h1{
    color: #7c798d;
    letter-spacing: .06em;
    text-shadow: -3px 2px 0px var(--white);
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-style: italic;
    
}

.about-me-page .addition{
    text-align: center;
} 
.addition h2{
    margin: auto;
    margin-bottom: 50px;
}
.about-me-page .addition p{
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 30px;
    color: var(--bg-d);
}

.personal-pic{
    width: 100%;
    position: relative;
    z-index: 1;
}
.personal-pic img{
    width: 100%;
    vertical-align: bottom;
    filter:grayscale(1);
    border-radius: 50px 0 50px 0;
    border: 10px solid var(--bg);
    box-sizing: border-box;
}

.personal .personal-txt h4{
    text-transform:capitalize;
    font-family: 'Playfair Display', serif;
    letter-spacing:.02em;
    position: relative;
    background-color: var(--bg);
    display: inline-block;
    padding: 8px 15px;
    border-radius: 10px;
    z-index: 2;
    
}

.personal-txt span{
    font-weight: 500;
    font-style: italic;
}

.personal-txt a{
    display: block;
    text-decoration: none;
    margin-bottom: 10px;
    color: var(--bt);
}


/* .about-me-page .personal .contact{
    width: fit-content;
    margin: auto;
    text-decoration: none;
    padding: 10px 15px;
    background: transparent;
    border-radius: 5px;
    border: 1px solid #fff;
    color: #fff;
    margin-top: 40px;
    cursor: pointer;
    transition: .3s;
} */

/* .about-me-page .personal .contact:hover{
    color: var(--white);
    background: var(--title);
} */

/* 手機 */
@media screen and (max-width:767px){

    .about-me-page .intro .title::before{
       display: none;
    }
    .web-design{
        display: block;
    }

    .about-me-page .work-with-me h1{
       display: none;
    }
   
    .personal .personal-pic .personal-pic-bg{
        display: none;
    }
    
}

/* 平板 */

@media screen and (max-width:1179px){
    .about-me-page .intro h2{
        position: relative;
    }
    
    .about-me-page .intro .title::before{
       
        top: -45px;
        left: -10px;
       
    }
    .about-me-page .intro p{
       font-size: 20px;
      
    }
    .about-me-page .addition{
        margin: 100px 0 ;
        background-color: #e4cec8;
        border-radius: 20px;
        padding: 40px 20px;
        box-sizing: border-box;
    }

    .addition h2{
        font-size: 32px;
        margin-bottom: 30px;
    }
    .addition p{
        font-size: 24px;
    }
    .about-me-page .personal .col{
        align-self: center;
    }
    .personal .personal-pic .personal-pic-bg{
        background: url(images/pattern-4.png);
        background-repeat: no-repeat;
        background-size: cover;
        position: absolute;
        width: 100%;
        height: 70%;
        top: 50%;
        right: 0;
        transform: rotate(-6deg);
        z-index: -1;
    }
    .about-me-page .work-with-me{
        position: relative;
    }

    .about-me-page .work-with-me h1{
        font-size: 45px;
        position: absolute;
        top: 47%;
        left: 37%;
    }
   
    .personal .personal-txt h4{
        font-size: 30px;
        margin-bottom: 10px;
        text-align: left;
    }
    .personal .personal-txt p{
        margin-top: 30px;
        font-size: 28px; 
        margin-bottom: 50px;
    }
    .personal-txt a{
        font-size: 24px;
    }
    
}
 
/* 桌機 */
@media screen and ( min-width:1180px){
    .about-me-page{
        background-image: url(images/pattern-6.png),
        url(images/pattern-5.png);
        background-repeat: no-repeat;
        background-position: left, right 65%;
        background-size: auto;
    }
    .about-me-page .intro h2{
        position: relative;
    }
    
    .about-me-page .intro .title::before{
        top: -45px;
        left: -10px;
        
    }
    /* .about-me-page .work-with-me{
        background-color: rgba(62, 109, 196, 0.6);
        background-image: url('images/about-me.jpg');
        background-blend-mode:screen;
        background-size:100% ;
        background-repeat: no-repeat;
        background-position: 0 -150px;
        width: 100%;
        height: 450px;
        margin-top: 180px; 
        position: relative;  
        border-radius: 10px;   
    } */
    .about-me-page .work-with-me{
        position: relative;
    }
    .about-me-page .work-with-me h1{
        font-size: 70px;
        position: absolute;
        top: 40%;
        left: 37%;
    }
    
    .about-me-page .addition{
        padding: 200px 0px;
        margin-top: 100px;
        box-sizing: border-box;
        background-image: url(images/about-me-bg.png);
        background-repeat: no-repeat;
        background-size: 100%;
    }

    .addition p{
        max-width: 900px;
        padding: 0 20px;
        box-sizing: border-box;
        margin: auto;
        margin-bottom: 20px;
    }
    .personal{
        padding-top: 80px;
    }
    
    .personal-pic{
        width: 90%;
        margin-left: auto;
    }
   
    .personal .personal-txt h4{
        text-align: left;
        font-size: 43px;
        left: -10%;
        top: 40px;
        margin-bottom: 20px;
    }
    
    .personal-txt p{
        margin-top: 60px;
        font-size: 26px; 
        margin-bottom: 50px;
    }
    
    .personal-txt a{
        font-size: 20px;
    }
   

}



/* menu-portfolio */

.menu-intro .menu-pic{
    margin-bottom: 30px;
}
.menu-intro .menu-pic img,
.banner-intro img,
.business-card-intro img{
    width: 100%;
    vertical-align: bottom;
    border-radius: 20px;
}
.menu-summary h3{
    color: var(--parten-1);
    margin-top: -30px;
}
.summary p{
    text-align: center;
    margin-bottom: -60px;
    color: #fff;
    font-size: 18px;
    font-weight: 300;
}
.summary p span{
    font-weight: 600;
    color: var(--bt);
}

@media screen and (min-width:768px) {
    .intro .container{
        max-width: 1000px;

    }
    .summary{
        padding-top: 60px;
        box-sizing: border-box;
        
        /* outline: 1px solid red; */

    }
    .summary h3{
        padding: 0;
        text-align: left;
        letter-spacing: .3em;
    }
    .summary p{
        text-align: left;   
        margin-top:-40px;
        line-height: 1.7em; 
        font-size: 20px; 
   
    }
  
}

/* banner-portfolio */
.banner-intro .summary{
    text-align: center;
    padding-top: 40px;    
}

@media screen and (min-width:768px) {
    .banner-intro .summary{
       
    }    
}


/* business card-portfolio */
.business-card-intro .summary{
    text-align: center;
    background-repeat: no-repeat;
    background-position: top -70px right 60px;
    padding-top: 40px;    
}

@media screen and (min-width:768px) {
    .business-card-intro .summary{
        background-size: 25%;
        background-position: top -50px right 120px;

    } 
}

.portfolio-gallery{
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 50px 20px;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px ,1fr));
    grid-auto-rows: 300px;
    grid-auto-flow: dense;
    grid-gap: 30px 20px;

}

.portfolio-gallery .item{
    position: relative;
    background-color: #fff;
    overflow: hidden;
    /* box-shadow: 5px 5px 10px var(--blue); */
    /* border: 20px solid var(--bg); */

}

.portfolio-gallery .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    transition: transform 0.5s;
    
}

.portfolio-gallery .item:hover img{
    transform: scale(1.1);
}

.portfolio-gallery .tem a{
    cursor: zoom-in;
}



/* .intro .cutoff-text{
    --max-lines:8;
    --line-height:1.7;

    max-height:calc(var(--max-lines)*1em*var(--line-height));
    font-weight: 300;
    line-height: var(--line-height);
    overflow: hidden;
    position: relative;
    
} */

/* .intro .cutoff-text::before{
    content: '';
    position: absolute;
    height: calc(1em*var(--line-height));
    width: 100%;
    bottom: 0;
    left: 0;
    background: linear-gradient(to bottom, transparent, var(--bg-d));

} */
/* .intro .expand-text{
    width: fit-content;
    text-decoration: none;
    color: var(--white);
    border: 1px solid #fff;
    font-family: 'Montserrat', sans-serif;
    border-radius: 20px;
    padding: 10px 20px;
    box-sizing: border-box;
    position: relative;
    top: 20px;
    font-size: 14px;
} */

/* .intro .expand-text:hover{
    background-color: var(--white);
    color: var(--bg-d);
   
} */

/* .intro .expand-text::before{
    content: "";
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
} */

/* .intro .expand-text:checked:before{
    content: "Collapse";
}  */

/* .intro .expand-text:hover::before{
    color: var(--blue);
}  */

/* .cutoff-text:has(+ .expand-text:checked){
    max-height: none;
} */







