


@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Poppins:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@100&display=swap');
*,
*::before,
*::after{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border: 0;
    /* font-family: 'Poppins', sans-serif; */
    /* font-family: 'Barlow Condensed', sans-serif; */
    text-decoration: none;
  
}
ul,
li{
    list-style: none;
    margin: 0;
    padding: 0;
}
section,
span,
p{
  margin: 0;
  padding: 0;
  outline: none;
  border: none;  
}
.container{
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 10px;

}
.header-logo{
font-family: 'Poppins', sans-serif;
font-size: 25px;
letter-spacing: 5px;
text-shadow: 2px 2px 5px black;
border: 1px solid rgba(255,255,255, 0.8);
border-radius: 15px;
padding: 10px 15px;
background-color: rgba(236, 193, 74, 0.219);

}
.header{
background-image: url(http://nilfirin.com/assets/img/ekmeklogo.jpg);
background-position: center;
background-size: cover;
background-attachment: fixed;
height: 100vh;
color: white;
}
.header-navbar{
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    border-radius: 30px;
    justify-content: space-between;
    text-align: justify;
    padding-top: 40px;
    padding-bottom: 20px;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 20px;
    text-shadow: 2px 2px 2px black;
    cursor: pointer;
    position: relative;

}

.anasayfa-btn::before{
    content: "";
    border-bottom: 3px solid white;
    box-shadow: 2px 2px 2px black;
    position: absolute;
    width: 105px;
    bottom: 30px;
    visibility: hidden;
    transform: scaleX(0);
    transition: 0.4s;
}
.anasayfa-btn:hover::before{
    visibility: visible;
    transform: scaleX(1);
}

.kimlik-btn::before{
    content: "";
    border-bottom: 3px solid white;
    box-shadow: 2px 2px 2px black;
    position: absolute;
    width: 60px;
    bottom: 30px;
    visibility: hidden;
    transform: scaleX(0);
    transition: 0.5s;
}
.kimlik-btn:hover::before{
    visibility: visible;
    transform: scaleX(1);
}

.contact-btn::before{
    content: "";
    border-bottom: 3px solid white;
    box-shadow: 2px 2px 2px black;
    position: absolute;
    width: 76px;
    bottom: 30px;
    visibility: hidden;
    transform: scaleX(0);
    transition: 0.4s;
}
.contact-btn:hover::before{
    visibility: visible;
    transform: scaleX(1);
}




ul{
    display: flex;

}
li{
    margin-left: 27px;
}
a{
    color: white;
}
.n-panel{
    display: flex;
    font-size: 25px;
    font-style: italic;
    color: gold;
    font-weight: 600;
    letter-spacing: 2px;
    padding: 5px 40px;
    margin-top: -10px;
    border: 2px solid white;
    border-bottom-right-radius: 35px;
    border-top-left-radius: 35px;
    justify-content: center;
    position: relative;
    overflow: hidden;
    
}
.n-panel::after{
    content:"N Panel";
    display: flex;
    position: absolute;
    color: white;
    background-color:gold;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    top: 0;
    transition: .3s;
}
.n-panel:hover::after{
    top: 100%;
}

.header-text{
    opacity: 1;
    font-family: 'poppins', sans-serif;   
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translatex(-55%);
    font-size: 25px;
    text-shadow: 2px 2px 5px black;
    color: white;
    border: 2px solid white;
    border-radius: 40px;
    padding: 20px 30px;
}
.discover-btn p{
    font-family: 'poppins', sans-serif;
    display: block;
    position: absolute;
    top: 90%;
    left: 50%;
    transform: translateX(-55%);
    border: 2px solid white;
    border-radius: 75px;
    box-shadow: 2px 2px 5px black;
    width: 90px;
    height: 190px;
    color: white;
    font-size: 20px;
    text-shadow: 2px 2px 5px black;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 78px;
   
}
.discover-btn p::after{
    content:"Keşfet";
    position: absolute;
    top:0px;
    left: 0;
    background-color: grey;
    border-radius: 75px;
    width: 90px;
    height: 190px;
    height: 100%;
    width: 100%;
    color: white;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    font-size: 20px;
    padding-bottom: 78px;
    opacity: .7;

}
.discover-btn p:hover::after{
    top: 200px;
}

/* Kimlik */


.kimlik-title h2{
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    width:100%;
    position: absolute;
    display: flex;
    text-align: center;
    color: black;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    font-weight: 500;
   margin-top: 150px;
   margin-bottom: 50px;
   top: 0%;
   position: relative;

}
.kimlik-title h2::before{
    content: "";
    border-bottom: 3px solid black;
    position: absolute;
    width: 100px;
    bottom: 3px;
    visibility: hidden;
    transform: scaleX(0);
    transition: 0.3s;
}
.kimlik-title h2:hover::before{
    visibility: visible;
    transform: scaleX(1);
}

.kimlik-content{
    font-family: 'Poppins', sans-serif;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;

}
.kimlik-image{
    width: 50%;

}
.kimlik-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.kimlik-text h4{
    margin-top: 25px;
    margin-bottom: 5px;
    text-align: center;
    font-size: 30px;
    font-weight: 400;
    color: rgb(139, 114, 93);
}
.kimlik-text p{
    text-align: center;
    padding: 0px;
    color: rgb(139, 114, 93);

}

.kimlik-text img{
    width: 45px;
    margin: 20px;
    align-items: center;
    
    
}
.kimlik-text{
    text-align: center;
    color: rgb(139, 114, 93);
}

/* up buton */

.up-btn a img{
    display: block;
    position: fixed;
    top: 90%;
    right: 5%;
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
    z-index: 3;
    transition: .5s;
}

.up-btn a:hover img{
    transform: scale(1.3);
}
/* portfolio */
.portfolio-title h2{
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    text-align: center;
    color: black;
    font-size: 30px;
    font-weight: 500;
   margin-top: 70px;
   margin-bottom: 50px;
   margin-left: 10px;
   margin-right: 90px;
   position: relative;
}
.portfolio-title h2::before{
    content: "";
    border-bottom: 3px solid black;
    position: absolute;
    width: 220px;
    bottom: -3px;
    visibility: hidden;
    transform: scaleX(0);
    transition: 0.4s;
}
.portfolio-title h2:hover::before{
    visibility: visible;
    transform: scaleX(1);
}

.portfolio{
    display: flex;
    flex-wrap: wrap;
}
.portfolio-item{
    width: 33%;
    height: 400px;
    overflow: hidden;
    position: relative;
}
.portfolio-item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s;
}
.overlay{
    width: 100%;
    height: 100%;
    background-color: sienna;
    position: absolute;
    top: 100%;
    left: 0;
    opacity: .8;
    display: flex;
    font-size: 50px;
    justify-content: center;
    align-items: center;
    transition: .5s;

}
.ikon{
    width: 20%;
}
.ikon img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.portfolio-item:hover .overlay{
    top:0%;
}
.portfolio-item:hover img{
    transform: scale(1.1);
}

/* contact */

.contact-title h2{
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    width:100%;
    position: absolute;
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    color: black;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    font-weight: 500;
   margin-top: 80px;
   margin-bottom: 60px;
   top: 0%;
   position: relative;

}
.contact-title h2::before{
    content: "";
    border-bottom: 3px solid black;
    position: absolute;
    width: 180px;
    bottom: -2px;
    visibility: hidden;
    transform: scaleX(0);
    transition: 0.4s;
}
.contact-title h2:hover::before{
    visibility: visible;
    transform: scaleX(1);
}

.contact-content{
    display: flex;
    flex-wrap: wrap;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 20px;
    margin-left: 9%;

}
.contact-content img{
    width: 24px;
    margin-bottom: 10px;

}

.contact-image1{
    width: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;

}

.contact-image2{
    width: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;

}

.contact-image3{
    width: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

}

/* Footer */
.footer{
    background-color: sienna;
    position: relative;

}

.footer-icon{
    
    opacity: .8;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 20px;
    padding-bottom: 10px;

}

.footer-icon .facebook img{
    display: block;
    width: 45px;
    height: 100%;
    padding: 8px 8px;
    margin-right: 20px;
    transition: 0.5s;
}

.footer-icon .facebook:hover img{
    transform: scale(1.3);
}

.footer-icon .instagram img{
    width: 45px;
    height: 100%;
    padding: 8px 8px;
    display: block;
    transition: 0.5s;
}

.footer-icon .instagram:hover img{
    transform: scale(1.3);
}

.footer-icon .watsapp img{
    width: 52px;
    height: 100%;
    padding: 8px 8px;
    display: block;
    margin-left: 20px;
    transition: 0.5s;

}
.footer-icon .watsapp:hover img{
    transform: scale(1.3);
}




.copyright-text{
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-family: 'Barlow Condensed', sans-serif;
    color: white;
    padding-bottom: 15px;
    opacity: .8;
}



/* Menubar */

.menu-bar{
    width: 23px;
    display: none;
    
}
.menu-bar img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* menu-bar */

@media only screen and (max-width:900px){
    .header-menu ul{
        margin-top: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        position: absolute;
        top: 100px;
        left: 0%;
        background-color: sienna;
        opacity: .8;
        width: 100%;
        overflow: hidden;
        transition: max-height 1s;
        
    }


    .anasayfa-btn::before{
        content: "";
        border-bottom: 2px solid white;
        box-shadow: 2px 2px 2px black;
        position: absolute;
        width: 103px;
        bottom: 132px;
        visibility: visible;
        transform: scaleX(0);
        transition: 0.4s;

    }

    .anasayfa-btn:hover::before{
        transform: scaleX(1);
    }

    .kimlik-btn::before{
        content: "";
        border-bottom: 2px solid white;
        box-shadow: 2px 2px 2px black;
        position: absolute;
        width: 62px;
        bottom: 102px;
        visibility: visible;
        transform: scaleX(0);
        transition: 0.4s;

    }

    .contact-btn::before{
        content: "";
        border-bottom: 2px solid white;
        box-shadow: 2px 2px 2px black;
        position: absolute;
        width: 73px;
        bottom: 70px;
        visibility: visible;
        transform: scaleX(0);
        transition: 0.4s;

    }

    .contact-btn:hover::before{
        transform: scaleX(1);
    }

    .header-menu ul li{
        margin-left: -3%;
    }

    .n-panel{
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .menu-bar{
        display: block;
        cursor: pointer;
    }

}

/* Kimlik */

@media only screen and (max-width:1100px){
    .kimlik-image{
        width: 90%;

    }
    .kimlik-text{
        width: 90%;
    }
}

/* Portfolio */

@media only screen and (max-width:1100px){
    .portfolio-item{
        flex-basis: 50%;

    }
}

@media only screen and (max-width:800px){
    .portfolio-item{
        flex-basis: 100%;

    }
}

/* Contact */

@media only screen and (max-width:600px){
    .contact-content{
        margin-left: 0%;
    }
}

@media only screen and (max-width:600px){
    .contact-image1{
        flex-basis: 100%;

    }
    .contact-image2{
        flex-basis: 100%;
        margin-top:30px;
    }
    .contact-image3{
        flex-basis: 100%;
        margin-top: 30px;
    }
        
}


/* Header text */

@media only screen and (max-width:400px){
    .header-logo{
       width: 80%;
       height: auto;
       font-size: 20px;
    }
}

@media only screen and (max-width:300px){
    .header-logo{
       width: 80%;
       height: auto;
       font-size: 12px;
    }
}

