@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@1,200&display=swap');
@import url('./root.css');
@import url('./media.css');
*{  
    margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth;
}
a{
    text-decoration: none;
    color:var(--yazi-renk) ;
}
ul{list-style: none;}
img{width: 100%;}
.title{
    background-image: url("../images/boyafirca.png");
    background-size: cover;
    background-position: top;
    width: 250px;height:4rem;
    text-align:center;font-size:35px;font-weight:bold;
    z-index:1; padding: 13px 0;
    margin: auto;
}
/* Navbar */
.header{
    box-shadow: rgba(0, 0, 0, 0.2) 0px 10px 40px -7px;
    background: var(--dark);
    min-width: 100%;
}
.nav{
    display: flex;
    justify-content: center;
    justify-content: space-around;
    min-height: 5rem;
}
.nav_links{
    text-align: center;
    display: flex;
    margin: auto;
}
.nav_links a{
    padding:1rem;
}
.nav_links a:hover{
    border-bottom: 1px solid var(--body);
}
.nav_links a:focus{
    border-bottom: 1px solid var(--iki);
}
.nav_img{
    margin: auto;
    max-width: 100px;
}
/* Anasayfa */
.container{
    max-width:80%;
    margin: 5rem auto;
}
.about{
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    background:var(--body) ;
    height: 30rem;
    display:flex;
}
.about_p{
    width: 49%;
    text-align: justify;
    padding: 2rem;
    margin: auto;
}
.about_p p{
    padding: 1rem;
}
.about_img{
    background-image:url('../images/V-logo.png');
    background-size: cover;
    background-position: top;
    width: 51%; 
    display: flex;
    align-items: center;
}
.about_img input{
    border: none;
    border-radius: 5px;
    background-color: var(--iki);
    width: 100px;
    height: 2em;
    margin: auto;
    box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
}
.about_img input:hover{
    background-color: var(--dark);
    color: var(--yazi-renk);
    box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset;
    
}
/* Projelerim */
.projects{
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    background-color: var(--third);
    padding: 2rem;
    display: flex; justify-content: space-around;
}
.box{
    width: 250px;
    background-color: var(--body);
    border-radius: 5px;margin: auto;
    box-shadow: rgba(0, 0, 0, 0.1) -4px 10px 25px -6px;
    padding-bottom: 1rem;
}
.box:hover{
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}
.box_img img{
border-bottom: 3px solid var(--dark); 
}
.box h1{
    text-align: center;
    width: 8rem;
    margin: auto;
    border-bottom: 2px solid var(--dark);
}
.box p {
    text-align: justify; 
    padding: 8px;
    margin:10px auto;
}
.box div:nth-child(4){
    width: 100px;
    text-align: center;
    border-radius: 5px;
    margin:10px auto;
    background-color: var(--iki);
    box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
}
.box div:nth-child(4):hover{
    background-color: var(--dark);
    color: var(--yazi-renk);
    box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset;
}
/* Content */
.contact{
    background-color: var(--body);
    width: 80%; 
    border-radius: 5rem;
    margin: auto;
    display: flex;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
.contact_logo{
    width: 250px;  
    border-right: 3px solid var(--dark);
}
.contact_text{
    margin: auto;
}
.contact_text h4{
    font-size: 20px;
    padding: 2rem;
    margin-top: -2rem;
    text-align: center;
}
.contact_links{
    text-align: center;
    display: flex;  
    background-color: var(--third);
    border-radius: 5px;
}
.contact_links p{
    padding:0 1rem;
    margin:auto;
}
.contact_links div{
    border-left: 3px dotted;
}
.contact_links div:nth-child(1){
    border: none;
}
.contact_links a{
    color: var(--dark);
    font-size: 18px;
    font-weight: bold;
}
.contact_links img{
    width: 55px;
}
/* Footer */
footer{
    background-color: var(--dark);
}
.footer{
    margin:auto;
    text-align: center;
}
.footer p{
    padding: 1rem 0;
    text-align: center;
}
.footer img{
    margin-top:15px;
    width: 75px;
}
    
.slide_btn:hover,
.slide_btn:focus {
  box-shadow: inset 9em 0 0 0 var(--dark);
}
.button:hover,
.button:focus {
  border-color: var(--yazi-renk);
  color: var(--yazi-renk);
}
.button {
  background: none;
  border: 2px solid;
  font: inherit;
  line-height: 1;
  margin: 0.5em;
  padding: 1em 2em;
  color:var(--dark);
  transition: 0.25s;
  backdrop-filter: blur(5px);
}
/*  
.slide_btn {
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
  
  background: none;
  border: 2px solid;
  font: inherit;
  line-height: 1;
  margin: 0.5em;
  padding: 1em 2em;
  color: var(--dark);
  transition: 0.25s;
  backdrop-filter: blur(5px);
}

.slide_btn:hover,
.slide_btn:focus {
  box-shadow: inset 9em 0 0 0 var(--dark);
  border-color: var(--yazi-renk);
  color: var(--yazi-renk);
  outline: none;
}*/

        /* Butonun genel stili */
        .slide-button {
            position: relative;
            display: inline-block;
            padding: 5px 10px;
            font-size: large;            
            text-decoration: none;
            color: var(--dark); /* Başlangıç yazı rengi */
            border: 2px solid var(--dark);
            text-transform: uppercase;
            font-weight: bold;
            overflow: hidden; /* Taşmaları gizler (slide için önemli) */
            transition: color 0.4s; /* Yazı rengi değişimi hızı */
            z-index: 1;
            cursor: pointer;
            border-radius: 5px;
            margin: auto;
        }

        /* Kayan arka plan (Slide katmanı) */
        .slide-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%; /* Başlangıçta butonun dışında (solda) */
            width: 100%;
            height: 100%;
            background-color: var(--dark);
            transition: all 0.4s; /* Kayma hızı */
            z-index: -1; /* Yazının altında kalması için */
        }

        /* Hover (Üzerine gelince) durumu */
        .slide-button:hover::before {
            left: 0; /* İçeri kayar */
        }

        .slide-button:hover {
            color: #fff; /* Yazı rengi beyaza döner */
        }