html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

body {
    font-family: "Lato", sans-serif;
    background-color: white;
}

#header-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    color: black;
    padding: 5px;
    box-shadow: 0 4px 2px -2px rgba(0, 0, 0, 0.1);
    margin: 10px 20px 20px 20px;
}

#company-name {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
}

nav {
    display: flex;
}

nav a {
    padding: 10px 30px;
    margin: 0 20px;
    text-decoration: none;
    color: black;
    font-size: 15px;
    text-align: center;
    border-radius: 25px;
    transition: background-color 0.3s, color 0.3s;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

nav a:hover {
    background-color: black;
    color: white;
}

#banner {
    width: calc(100% - 40px);
    height: 300px;
    background-image: url("../images/baner.jpg");
    background-size: cover;
    background-position: center;
    margin: 0 20px;
    overflow: hidden;
    border-radius: 15px;
}

a, a:hover, a:visited {
    color: black;
}

main {
    flex: 1;
    padding-bottom: 50px;
}

.content {
    display: none;
    padding: 20px;
    margin: 0 auto;
    max-width: 1000px;
}

.active {
    display: block;
}

h1 {
    font-size: 24px;
    font-weight: 700;
}

p {
    font-size: 15px;
    line-height: 1.6;
}

footer {
    background-color: #333;
    color: white;
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    width: 100%;
    justify-content: center;
    align-items: center;
}
#copyright {
    margin: auto;
}

.fade-in {
    opacity: 0;
    animation: fadeIn 0.5s forwards;
}

.fade-out {
    opacity: 1;
    animation: fadeOut 0.5s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@media (max-width: 600px) {
    #header-banner {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    nav {
        margin-top: 10px;
        flex-direction: column;
        align-items: center;
    }

    nav a {
        margin-bottom: 5px;
        width: 100%;
    }
}
