/*
Theme Name: Serkan Onur V1
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;700&display=swap');
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    outline: none;
    box-sizing: border-box;
    text-decoration: none;
    list-style-type: none;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 1px; 
}
 


html,
body {
    width: 100%;
    height: 100%;
    
}

body {
    display: flex;
    flex-direction: column;
    font-size: 16px;
    background: #eee; 
    overflow: auto;
    position: relative;
}

.body.noscroll {
    overflow: hidden;
}

a {
    font: inherit;
    color: inherit;
    cursor: pointer;
}


.b1 {
    border: 1px solid red;
}

.clear {
    clear: both;
}

 

img {
    display: block;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 020px;
    background: #fff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 800;
}

 

.main {
    margin-top: 80px;
    position: relative;
    
}


.title{
    text-transform: uppercase;
    font-weight: 500;     
}
.bb-1{
    border-bottom: 1px solid #333;
}

.bb-2{
    border-bottom: 2px solid #333;
}

.fw-500{
    font-weight: 500;
}

/* .container {
    height: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}
  */


  .container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .container {
        /* width: 540px; */
        width: 100%;
    }
}

@media (min-width: 768px) {
    .container {
        width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        width: 1140px;
    }
}

@media (min-width: 1400px) {
    .container {
        width: 1320px;
    }
}

/*  header  */

.header .logo img{
    height: 42px;
}

.header .headermenu{
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    justify-content: center;
}
.mobilmenu{
    display: none;
    position: fixed;
    top: 0px;
    left: -260px;
    bottom: 0;
}

.mobilmenu.active{
    left: 0px;
}


.header .headerbuttons{
    display: flex;
    flex-direction: row;
    gap: 20px;

}

.header .headerbuttons .menu-bars{
    display: none;
}

.header .headerbuttons a, .header .headerbuttons span{
    border: 1px solid #dedede;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: #dedede;
    cursor: pointer;
}

.header .headerbuttons a:hover,.header .headerbuttons span:hover{
    background: #d2d2d2;
}


@media (max-width: 991px) {
    .header .headerbuttons .menu-bars{
        display: flex;
    }
    .header .headermenu{
        display: none;
    }
    .mobilmenu{         
        flex-direction: column;
        gap: 10px;
        align-items: start;
        justify-content: start;
        display: flex;
        background: #ffffff;
        padding: 30px;
        transition: all 0.4s;
        z-index: 1100;
        width: 260px;
    }
    .overview{
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.6);
        z-index: 1000;
    }
    .overview.active{
        display: block;
    }
    .toggle-menu-logo{
        margin-bottom: 30px;
    }
    .toggle-menu-logo img{
        display: block;
        width: 200px; 
    }
}


 
.slider {
    position: relative;
    width: 100%; 
    margin: auto;
    overflow: hidden;
    border: 2px solid #ddd;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
    position: relative;
}

.slide img {
    width: 100%;
    display: block;
    min-height: 450px;
    object-fit: cover;
}

.prev, .next {
    position: absolute;
    top: 50%;
    width: 50px;
    height: 50px;
    padding: 6px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    display: block; 
    user-select: none;
    background: #47d9ec;
    border: #47d9ec 2px solid;
}

.prev {
    left: 20px;
    border-radius: 25%;
}

.next {
    right: 20px;
    border-radius: 25%;
}

.prev:hover, .next:hover {
    background-color: #0a7e8d;
    border: #0a7e8d 2px solid;
}

.slider-text{
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 4px;
    width: 100%;
    max-width: 800px;
    text-align: center;
}

.slider-text h2{
    font-size: 2em;
    margin-bottom: 5px;
}
.slider-text p{
    font-size: 1.2em;
    margin-bottom: 18px;
}
.slider-text a{
    display: block;
    font-size: 1.2em;
    border-radius: 4px;
    background: #0a7e8d;
    color: #fff;
    padding: 4px 25px;
}


/* category */

.category{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.category .card{
    background: #d2d2d2;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    
}
@media  (max-width :767px) {
    .category{
       padding: 0 20px;
    }
}
.category .card img{
    display: block;
    width: 100%;
    object-fit: cover;
    height: 160px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.category .card .card-text{
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 20px;
}

.category .card .card-text a:hover{
    color: #0a7e8d;
}
.category .card .card-footer{
    margin-top: auto;
}
.category .card .card-footer a{
    display: block;
    font-size: 1.2em;
    border-radius: 4px;
    background: #0a7e8d;
    color: #fff;
    padding: 4px 25px;
}

/*two col*/
.two-col-container{
    background: #fff;
    padding: 30px 0;
}
.two-col{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px; 
    
}
.two-col-right,
.two-col-left{
    padding: 20px;
}
@media (max-width: 991px) {
    .two-col{ 
        grid-template-columns:  1fr; 
    }
}

.img-res{
    display: block;
    max-width: 100%;
}

/*health-category*/
.health-category-card{
    background: #fff;
    padding: 20px;

    border-radius: 5px;
}
.health-category-card .icon{
    margin-bottom: 20px;
}
.health-category-card .card-top h2{
    font-size: 1.3em;
    margin-bottom: 20px;
}

.health-category-card .card-center a:hover{
    color: #0a7e8d;
}
.health-category-title{
    text-align: center;
    margin: 50px 0 30px 0;
    font-size: 2em;
}
.health-category{ 
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    padding: 30px 0;
}

.health-category .card-center,
.health-category .card-top
{
    display: flex;
    flex-direction: column;
    text-align: left;
}



.footer{
    background: #0a7e8d;
    color: #fff;
 
}
.footer a{ 
    color: #fff;
}
.footer a:hover{ 
    color: #d2d2d2;
}

.footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    padding: 50px 0;
}

.footer-card{
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.footer-logo{
    margin-bottom: 30px;
}

.footer-card h3{
    font-size: 1.5em;
    font-weight: 500;
    margin-bottom: 20px;
}

.footer-card .social-icon{
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-top: 30px;
}

.footer-card .social-icon a{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #d2d2d2;
}

.footer-copy{
    border-top: 1px solid #fff;
    padding: 20px;
}

.footer-copy-wrapper{
    background: #0a7e8d;
    color: #fff;
}