@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;500;600&d,splay=swap");
:root{
    --main-color: #e84242;
    --black-color: #000000;
    --border: 0.1rem solid rgba(255,255,255,0.4);

}




*{
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    text-transform: capitalize;
    transition: 0.2s ease;
}

/*! base html codes */
html{
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-padding-top:auto 9rem;
    scroll-behavior: smooth;

}

html::-webkit-scrollbar{
    width: 0.8rem;
    background-color: white;
}

html::-webkit-scrollbar-track{
    
    background-color: transparent;
}


html::-webkit-scrollbar-thumb{
    border-radius: 3rem;
    background-color: var(--black-color);
}

body{
    background-color: var(--main-color);

  
}
section{
    padding: 3.5rem 7%;

}

.btn{
    margin-top: 1rem;
    display: inline-block;
    padding: 2rem 3.75rem;
    border-radius: 30rem;
    font-size: 1.7rem;
    color: #fff;
    background-color: var(--black-color);
   cursor: pointer;
}
a{
    color: var(--black-color);
    text-decoration: none;
}

.btn:hover{

    opacity: 0.9;
}

.heading{
 color: #fff;
font-size: 4rem;
 text-transform: uppercase;
margin-bottom: 3.5rem;
border-bottom: 0.1rem solid #fff;

}

.heading span{
   color: var(--black-color);
   
    text-transform: uppercase;
   
   }
.arama-input {
   font-size: 1.6rem;
   color: var(--black-color);
   padding: 1rem;
   text-transform: none;
   border-radius: 3rem;

}
/*header start */


.header .search-form{
    position: absolute;
    top: 115%;
    right: 7%;
    background-color: #fff;
    width: 50rem;
    height: 5rem;
    display: flex;
    align-items: center;
    border-radius: 3rem;
    box-shadow: 0px 0px 25px 2px rgb(0 0 0 /75%);
    transform: scaleY(0);

}

.header .search-form.active{
    transform: scaleY(1);
}
.header .search-form i{
    cursor: pointer;
    font-size: 2.2rem;
    margin-right: 1.5rem;
    color: var(--black-color);

}
.header .search-form input{
width: 100%;
}
.header .ikon img {
    height: 10rem;
    margin-left: -8rem;
}
.header {
background-color:  white;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 7%;
margin: 2rem 7%;
border-radius: 30rem;
box-shadow: 0px 0px 17px -2px rgba(0,0,0, 0.75);
position: sticky;
top: 0;
z-index: 1000;
}

.header .navbar  a{
    margin: 0 1rem;
    font-size:1.3rem;
    color: var(--black-color);
    border-bottom: 0.1rem solid transparent;
    padding: 2rem;
}
.header .navbar .active,
.header .navbar   a:hover{
    border-color: var(--main-color);
    padding-bottom: 0.5rem;
}
.header .buttons button{
    cursor: pointer;
    font-size: 2rem;
    margin-left: 2rem;
    background-color: transparent;
    
}

.header .navbar ul{
    display: inline-flex;
  
}
.sub-menu-1{
    display: none;
    
    
}

.btn-menu1{
    display: none;
    
    
}


.btn-menu1 ul  {
    display: block;
    position: absolute;
    background:#eff4f5;
    margin-top: 15px;
    margin-left: -15px;
    font-size: 20px;
    padding: 15px;
}

.buttons:hover .btn-menu1{
    display: block;
    position: absolute;
    background:#f1f5ef;
    margin-top: -15px;
    margin-left: -15px;
    font-size: 20px;
   
    
}

.buttons:hover .btn-menu1 ul{
    display: block;
   
}
.btn-menu1 ul li{
    display: block;
   width: 150px;
   padding: 15px;
   border-bottom: 1px dotted #e84242;
   background: transparent;
   text-align: left;
   border-radius: 0;
   cursor: pointer;
   
}
.btn-menu1 ul li:hover a{
background:#8dde65;
}
.header .cart-items-container{
    position: absolute;
    top: 95%;
    height: calc(100vh - 9rem);
    width: 35rem;
    background-color: #fff;
    box-shadow: 0px 0px 10px 0px rgb(0, 0, 0, 0.75);
    right: -100%;
}
.header .cart-items-container.active{
    right: 3rem;
}
.header .cart-items-container .cart-item{
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;

}
.header .cart-items-container .cart-item:hover{
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.75);
}
.header .cart-items-container .cart-item .fa-times{
position: absolute;
top: 1rem;
width: 1.5rem;
font-size: 2rem;
cursor: pointer;
color: var(--black-color);
} 
.header .cart-items-container .cart-item img{
    height: 7rem;
}

.header .cart-items-container .cart-item h3{
    font-size: 2rem;
    color: var(--black-color);
    padding: 0.5rem;
}
.header .cart-items-container .cart-item .content .price{
   font-size: 1.5rem;
   color: var(--black-color); 
}

.header .cart-items-container .btn{
    width: 100%;
    text-align: center;
    border-radius: unset;
}
.header #menu-btn {
    display: inline-block;
}
/*! header end */

/*! home start */
.home {
    min-height: 100vh;
    background: url(/images/mobiltrade.jpg)
    no-repeat;
    background-size: cover;
    background-position: center;
    margin-top: -18.5rem;
    display: flex;
    align-items: center;
}
.home .content{
    max-width: 60rem;

}
.home .content h3 {
    font-size: 3rem;
color: #2ae5eb;
}
.home .content p{
    font-size: 2rem;
    font-weight: 300;
    line-height: 1.8;
    padding: 1rem 0;
    color: #ccc;
    text-transform: none;
    white-space: pre-line; 
}
/*! home end */

/*! menu start */
.menu .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap:1.5rem;
}

.menu .box-container .box {
    padding: 3rem;
    background-color: #fff;
    border-radius: 3rem;
    background-color: #fff;
    min-height: 60rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;


}
.menu .box-container .box img {
    width: 100%;
    object-fit: cover;

}

.menu .box-container .menu-category {
  font-size: 1.2rem;
  text-transform: uppercase;


}

.menu .box-container .box h3 {
    font-size: 2rem;
    padding: 1rem 0;
  
  }

  .menu .box-container .box .price {
    font-size: 2.5rem;
    padding: 0.5rem 0;
  
  
  }

  .menu .box-container .box .price span {
    font-size: 1.5rem;
   text-decoration: line-through;
   font-weight: 300;
  
  }

/*! menu end */

/*! ozel start */
  .ozel .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap:1.5rem;
  }
.ozel .box-container .box{
    text-align: center;
    background-color: #fff;
    position: relative;
    border-radius: 3rem;
    height: 60rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 3rem;
}

.ozel .box-container .box-head{
display: flex;
flex-direction: column;
align-items: flex-start;
position: relative;
z-index: 10;

}

.ozel .box-container .box-head .title{
   font-size: 1.4rem;
   font-weight: bold;
    }

    .ozel .box-container .box-head .name{
        font-size: 2.2rem;
        font-weight: bold;
        text-align: start;
        overflow-wrap: anywhere;

        
 }
 .ozel .box-container img{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90%;
    height:60%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    border-radius: 3rem;


 }
 
 .ozel .box-container .box-bottom{
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 10;
 }

 .ozel .box-container .box-bottom .info{ 
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    
 }

 .ozel .box-container .box-bottom .info .price{ 
    font-size: 3rem;
        
 }
 .ozel .box-container .box-bottom .info .amunt{ 
    font-size: 1.4rem;
        
 }

 .ozel .box-container .box-bottom .product-btn a {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 6.5rem;
    height: 6.5rem;
    border: 0.2rem solid var(--main-color);

 }

 .ozel .box-container .box-bottom .product-btn a i{
    font-size: 1.6rem;
    color: var(--main-color);
 }

    
/*! ozel end */

/*! about start */
    .about .row {
        display: flex;
        flex-wrap: wrap;
        column-gap: 2rem;
    }
    .about .row .image {
        flex: 1 1 5rem;
        
    }
    .about .row img {
        width: 100%;
             
    }
    .about .row .content {
        flex: 1 1 45rem;
    }
    .about .row .content h3 {
       font-size: 3rem;
       color: #fff;
    }
    .about .row .content p {
        font-size: 1.6rem;
        color: #ccc;
        padding: 1rem 0;
        line-height: 1.8;
    }
    
/*! about end */

/*! yorum start */
.yorum .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 1.5rem;
}
    .yorum .box-container .box{
        border: var(--border);
        text-align: center;
        padding: 3rem 2rem;
        background-color: #fff;
        border-radius: 3rem;
    }
    .yorum .box-container .box p{
        font-size: 1.5rem;
        line-height: 1.8rem;
        padding: 2rem 0;

    }

    .yorum .box-container .box .user{
        height: 7rem;
        width: 7rem;
        border-radius: 50%;
        object-fit: cover;

    }
    .yorum .box-container .box h3{
        padding: 1rem 0;
        font-size: 2rem;
        color: var(--main-color,);

    }
    .yorum .box-container .box .stars{
      
        font-size: 1.5rem;
        color: gold;
        
    }

/*! about end */

/*! kontak start*/
    .kontak .row{
        display: flex;
        background-color: var(--black-color);
        flex-wrap: wrap;
        gap: 1rem;

    }

    .kontak .row .map{
        flex: 1 1 45rem;
        width: 100%;
        object-fit: cover;
    }
    .kontak .row form{
        flex: 1 1 45rem;
        padding: 5rem 2rem;
        text-align: center;
    }

    .kontak .row form h3{
        text-transform: uppercase;
        font-size: 3.5rem;
        color: #fff;
    }


    .kontak .row form .inputBox{
    display: flex;
    align-items: center;
   
    margin: 2rem 0;
    border: var(--border);

    }

    .kontak .row form .inputBox i{
        color: #fff;
        font-size: 2rem;
        padding-left: 2rem;

    }
    .kontak .row form .inputBox input{
        width: 100%;
        padding: 2rem;
        font-size: 1.7rem;
        color: #fff;
        text-transform: none;
        background: none;
        
    }
    .kontak .row form .btn{
        color: var(--main-color);
        background-color: #fff;
        font-weight: bold;

    }

/*! kontak end */

/*! blogs start */
.blogs .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 1.5rem;
    
}

.blogs .box-container .box{
    background-color: #fff;
    border-radius: 3rem;
}

.blogs .box-container .box .image{
    height: 25rem;
    overflow: hidden;
    width: 100%;
}
.blogs .box-container .box .image img{
    height: 100%;
    object-fit: cover;
    width: 100%;
    border-top-left-radius: 3rem;
    border-top-right-radius: 3rem;

}

.blogs .box-container .box:hover .image img{
  transform: scale(1.2)

}

.blogs .box-container .box .content{

    padding: 2rem;
}

.blogs .box-container .box .content .title{
    line-height: 1.5rem;
      font-size: 2.5rem;
      

  }

.blogs .box-container .box .content span{
    display: block;
    padding-top: 1rem;
    font-size: 2rem;


}

.blogs .box-container .box .content p{
    line-height: 1.8rem;
      font-size: 1.6rem;
      color: #ccc;

  }
  
/*! blogs end */

/*! altbilgi start */
.altbilgi{
    background-color: var(--black-color);
    text-align: center;

}

.altbilgi .arama{
    display: flex;
    justify-content: center;
}

.altbilgi .arama .arama-input{
    width: 30rem;

}

.altbilgi .arama .btn-primary{
    background-color: var(--main-color);
    padding: 1rem 2 rem;
    margin-right: 1rem;

}
.altbilgi .paylas{
padding: 2rem 0;


}
.altbilgi .paylas a{
  width: 5rem;
  height: 5rem;
  line-height: 5rem;
  color: #fff;
  font-size: 2rem;
  border: var(--border);
  border-radius: 50%;
  margin:0.3rem;    
    }

    .altbilgi .paylas a:hover{
        background-color: var(--main-color);

    }

    .altbilgi .links{
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
        

    }

    .altbilgi .links a{
        background-color: var(--main-color);
        padding: 0.7rem 2 rem;
        color: #fff;
        font-size: 2rem;
        border: var(--border);
    }

    
    .altbilgi .links a:hover{
        background-color: var(--black-color);
       opacity: 0.7rem;
        
    }

    .altbilgi .credit{
        font-size: 1rem;
        color: #fff;
        font-weight: 300;
        padding-top: 1.5rem;
    }

    .altbilgi .credit span{
      color: var(--main-color);
    }

    .altbilgi .links a.active{
        background-color: var(--black-color);
      
    }


/*! altbilgi end */

   
/*! responsive start */
@media (max-width:991px){
    html{
       font-size: 55%;

    }
    .header{
        padding: 1.5rem 2rem;

    }
    .header .logo img{
        height: 7rem;
    }
    section{
        padding: 2rem;

    }
    .products .box-container .box .box-head .name{

        font-size: 3.4rem;
    }
}


@media screen and (max-width:768px){
   .header #menu-btn{
        display: inline-block;
    }
    .header .navbar  {
        position: absolute;
        top: 95%;
        background-color: #fff;
        height: calc(100vh - 9rem);
        width: 30rem;
        box-shadow: 0px 20px 14px 0px rgb(0 0 0 /75%);
        right: -100%;

    }
    .header .navbar.active{
        right: 3rem;
    }
    .header .navbar   a{
        color: var(--black-color);
        display: block;
        margin: 1.5rem;
        padding: 0.5rem;
        font-size: 1.5rem;

    }
}

@media screen and (max-width:576px)
{ 
    html{
        font-size: 55%;
     }
 }

/*!--  responsive end */

/* giris container start */

.container 
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

 .container body {
    display: grid;
    height: 100vh;
    place-items: center;
    background: linear-gradient(to right, #dfabc5 0%, #1da1f2 100%);
}


.container {
    background: #fff;
    max-width: 350px;
    width: 100%;
    padding: 25px 30px;
    border-radius: 5px;
    position: relative;
}

.container .logo img {
    position: absolute;
    width: 90px;
    height: 90px;
    left: 70%;
    top: 5px;
    border-radius: 50%;
    border: 5px ;
}


.container form .title {
    font-size: 30px;
    font-weight: 600;
    margin: 20px 0 10px 0;
    position: relative;
}



.container form .title::before {
    content: '';
    position: absolute;
    height: 4px;
    width: 33px;
    bottom: 2px;
    left: 0;
    border-radius: 5px;
    background: #1da1f2;
}


.container form .input-box {
    width: 100%;
    height: 45px;
    margin-top: 25px;
    position: relative;
}

.container form .input-box input {
    height: 100%;
    width: 100%;
    outline: none;
    font-size: 16px;
    border: none;
}

.container form .underline:before {
    position: absolute;
    content: '';
    height: 2px;
    width: 100%;
    background: #ccc;
    left: 0;
    bottom: 0;
}

.container form .underline:after {
    position: absolute;
    content: '';
    height: 2px;
    width: 100%;
    left: 0;
    bottom: 0;
    background: red;
    transform: scaleX(0);
    transform-origin: left;
    transition: all 0.3s ease;
}

.container form .input-box input:focus~.underline:after,
.container form .input-box input:valid~.underline:after {
    transform: scaleX(1);
    transform-origin: left;
}

.container form .button {
    margin: 40px 0 20px 0;
}

.container form .input-box input[type="submit"] {
    font-size: 17px;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
    background: red;
    transition: all 0.3s ease;
}

.container form .input-box input[type="submit"]:hover {
    letter-spacing: 1px;
    background: rgba(0, 0, 0, 0.15);
    color: red;
    font-weight: bold;
    border-radius: 10px;
}


.container .text{
    font-size: 14px;
    text-align: center;
}

.container .github a,
.container .twitter a,
.container .facebook a{
    display: block;
    width: 100%;
    height: 45px;
    font-size: 15px;
    text-decoration: none;
    padding-left: 20px;
    color: #fff;
    line-height: 45px;
    border-radius: 5px;
}

.container .github a{
    background-color: #24292e;
    margin: 20px 0 15px 0;
}

.container .github a:hover{
    background-color: #6d7e8f;
}

.container .twitter a{
    background: #1ad1f2;
    margin: 20px 0 15px 0;
}

.container .twitter a:hover{
    background: #aabbbe;
}

.container .facebook a{
    background: #4267b2;
    margin: 20px 0 50px 0;
}

.container .facebook a:hover{
    background: #8797b6;
}

.container .github i,
.container .twitter i,
.container .facebook i{
    font-size: 22px;
    padding-right: 22px;
}
/* giris container end */

/* online container start */
.online-btn{
    margin-top: 1rem;
    display: inline-block;
    padding: 2rem 3.75rem;
    border-radius: 30rem;
    font-size: 1.7rem;
    color: #0c0b0b;
    background-color:#c5c9d4 ;
   cursor: pointer;
}
a{
    color: var(--black-color);
    text-decoration: none;
}

.online-btn:hover{
    transform:scale(0.96);
    background: #17d570;
    color:hsl(234, 89%, 53%);
    opacity: 0.9;
}
