* {
    margin: 0;
    padding: 0;
    background-color: #ecf0f1;
}
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
}

.navbar {

    padding: 20px 0;
    justify-content: center;
    align-items: center;
    
}

.menu ul {

    list-style-type: none;
    padding: 5;
    margin: 5;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu ul li {
    margin: 10px;
    
}

.menu ul li a {

    border: 5px solid #fff;
        padding: 10px 35px;
        text-transform: uppercase;
        font-family: oswald;
        font-size: 15px;
        background-color: #ef9c00;
        color: #fff;
        text-decoration: none;
        position: relative;
        bottom: 1px;
        height: 6px;
        
}

.menu ul li a:hover {
    background-color: #4183f0;
}
.menu ul li a::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 2px;
    left: 0;
    background-color: #fff;
    visibility: hidden;
    transform: scaleX(0);
    transition: all 0.4s ease-in-out;
}
.menu ul li a:hover::before {
        visibility: visible;
        transform: scaleX(1);
    }
.blog-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    
}

.blog-section {
    width: calc(50% - 20px);
    max-width: 300px;
}
.blog-section {
    width: 300px; /* Dergi kapak boyutu */
    height: 400px; /* Dergi kapak boyutu */
    padding: 20px;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.blog-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
}
.blog-header {
    text-align: center;
    padding: 20px;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.blog-lear {
    text-align: center ;
    padding: 10px;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.abautus {
    display: inline-block;
    background: #fff;
    color: #333;
    border: 2px solid #666;
    padding: 1.6rem 3.2rem;
    margin: 0.0rem 0;
    transition: all 0.4s;
    text-decoration: none;
}

.sales{
    display: inline-block;
    background: #fff;
    color: #333;
    border: 2px solid #666;
    padding: 1.6rem 3.2rem;
    margin: 0.0rem 0;
    transition: all 0.4s;
    text-decoration: none;
}

.Contactus2{
    display: inline-block;
    background: #fff;
    color: #333;
    border: 2px solid #666;
    padding: 1.6rem 3.2rem;
    margin: 0.0rem 0;
    transition: all 0.4s;
    text-decoration: none;  
}

@media screen and (max-width: 768px) {
    .menu ul {
        flex-direction: column;
        align-items: center;
    }

    .blog-section {
        width: 100%;
    }
}