﻿
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #222;
}


header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 40px;
    background: #1a1a1a;
    color: white;
}

.header-left {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    transition: 0.2s;
}

    .logo img:hover {
        opacity: 0.8;
    }

.site-name {
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 1px;
    margin-left: 20px;
}


nav {
    flex: 1;
    display: flex;
    justify-content: space-evenly;
    margin-left: 50px;
}

    nav a {
        color: white;
        text-decoration: none;
        font-weight: bold;
        font-size: 18px;
    }

        nav a:hover {
            text-decoration: underline;
        }


footer {
    text-align: center;
    padding: 20px;
    background: #f2f2f2;
    margin-top: 50px;
}


button {
    cursor: pointer;
    transition: 0.2s;
}

    button:hover {
        opacity: 0.9;
    }


h1, h2, h3 {
    color: #222;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
    color: #555;
}


main {
    padding: 50px;
    max-width: 1200px;
    margin: 0 auto;
}


a {
    text-decoration: none;
    color: inherit;
    transition: 0.2s;
}

    a:hover {
        text-decoration: underline;
    }


input, textarea {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    width: 100%;
}


@media (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .site-name {
        font-size: 22px;
    }
}
