* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f7fc;
    color: #333;
    line-height: 1.6;
    
}

a {
    text-decoration: none;
    color: inherit;
}

h2, h3 {
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

h3 {
    font-size: 1.2em;
}


header {
    background-color: #f4f7fc;
    color: #000;
    padding: 20px 0;
    text-align: center;
}

header h1 {
    font-size: 2.5em;
}


ul {
    list-style-type: none;
    padding: 0;
}

ul li {
    display: inline-block;
    margin: 10px 20px;
}

ul li a {
    padding: 10px 20px;
    background-color: #6a47ed;
    color: #fff;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

ul li a:hover {
    background-color: #000;
}

img {
    border-radius: 5px;
    transition: transform 0.3s ease;
}

img:hover {
    transform: scale(1.05);
}

.resim-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

.resim-container div {
    margin: 15px;
}

button {
    background-color: #6a47ed;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #6a47ed;
}


form {
    max-width: 500px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

form input[type="text"],
form input[type="file"],
form select,
form button {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 1em;
}

form input[type="file"] {
    padding: 5px;
}
form input[type="password"],
form input[type="file"],
form select,
form button {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 1em;
}

form button {
    background-color: #007bff;
    color: white;
}

form button:hover {
    background-color: #ee721b;
}

form a {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: #007bff;
}

form a:hover {
    text-decoration: underline;
}

.populer-resimler {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.populer-resimler img {
    margin: 10px;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.populer-resimler img:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .resim-container div, .populer-resimler img {
        width: 100%;
    }
    .hmenu{
        position: relative;
    }
}
footer {
    position: absolute;
    bottom: 0;
    width: 100%; 
    background-color: #f4f7fc; 
    color: #000; 
    text-align: center; 
}
footer p {
    margin: 0;
    font-size: 14px; 
}
.category-list{text-align:center;margin-bottom:10px;}
.hmenu{
    position: relative; 
    bottom: 0;
    width: 100%; 
    color: #000; 
    text-align: center; 
    padding: 10px 0; 
}
input[type="submit"] {
    display: block;
    margin: 0 auto;
    background-color: #4CAF50;
    color: white;
    padding: 12px 24px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

input[type="submit"]:hover {
    background-color: #45a049;
}
#insta_link{
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
}
.delete{
    background-color:#6a47ed ;
}
.user{background-color:#fff; padding:10px; border-radius: 5px; width: 100%; font-size:18px;}

nav ul {
    list-style: none;
    gap: 15px;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
}
.footer-menu{display:none;}

@media (max-width:1115px){
        nav ul {
        display: none;
        flex-direction: column;
        background-color: #f8f8f8;
        position: absolute;
        top: 60px;
        right: 10px;
        padding: 10px;
        border-radius: 6px;
        box-shadow: 0 0 8px rgba(0,0,0,0.2);
    }

    nav ul.show {
        display: flex;
    }

    .menu-toggle {
        background-color:#6a47ed !important ;
        display: block;
        position: absolute;
        top: 35px;
        right: 20px;
    }
    .logo{width: 50%;}
    ul li {display: contents;}
    .footer-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0px 0 10px 0;
}

.footer-menu li a {
    text-decoration: none;
    color: #fff;
    font-size: 15px; 
    transition: color 0.3s;
}

.footer-menu li a:hover {color: #6a47ed; }
}

form input[type="text"], form input[type="file"], form select, form button{margin-bottom:0;}

