/* base.css */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #121212;
    color: #ffffff;
}

header {
    background-color: #1e1e1e;
    color: white;
    padding: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    height: 60px;
    unicode-bidi: isolate;
}

header .logo {
    text-align: center;
    flex: 1; /* Permite que a logo ocupe o espaço disponvel */
}

header .logo img {
    max-width: 200px; /* Ajuste o tamanho da logo conforme necessário */
    height: auto;
}

main {
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    margin-top: 10px;
}

.headline {
    font-size: 28px;
    margin-bottom: 20px;
    text-align: center;
}

.services {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    justify-content: center;
}

.service {
    flex: 1;
    min-width: calc(50% - 10px);
    max-width: 400px;
    background-color: #2c2c2c;
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
}

.service:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.service h2 {
    font-size: 22px;
    margin-bottom: 10px;
}

.service p {
    font-size: 16px;
    margin-bottom: 20px;
}

.service-button {
    display: inline-block;
    background-color: #bb86fc;
    color: #121212;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
    text-align: center;
    font-size: 16px;
    box-sizing: border-box;
}

.service-button:hover {
    background-color: #9a67ea;
}

.service-button:active {
    transform: scale(0.95);
}

@media (max-width: 600px) {
    header {
        flex-direction: column;
        padding: 10px;
        align-items: center;
    }

    header .logo {
        margin-top: 5px;
        margin-bottom: 0;
        flex: none;
    }

    .headline {
        font-size: 24px;
    }

    .services {
        padding: 0 10px;
        margin: 0;
    }

    .service {
        min-width: 100%;
    }

    .service h2 {
        font-size: 20px;
    }

    .service p {
        font-size: 14px;
    }

    .service-button {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
}
