@import url('variables.css');

body {
    font-family: var(--font-mono);
    background-color: var(--background-color);
    color: var(--primary-color);
    margin: 0;
    padding: 0;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: var(--background-color);
}

.logo {
    font-size: 1.5em;
    font-family: var(--font-pixel);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

nav a {
    color: var(--primary-color);
    text-decoration: none;
}

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.hero .matrix-code {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('matrix.webp') repeat;
    background-size: cover;
    opacity: 0.2;
    z-index: -1;
}

.hero-content {
    z-index: 1;
}

.hero h1 {
    font-size: 2.5em;
    font-family: var(--font-pixel);
    margin: 0;
}

.hero p {
    font-size: 1.2em;
}

.cta-button {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 20px;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
}

section {
    padding: 50px 20px;
}

h2 {
    font-size: 2em;
    text-align: center;
    margin-bottom: 30px;
    font-family: var(--font-pixel);
}

.timeline, .projects, .contact-info, .chatbox {
    /* Add specific styles for these elements as needed */
}

#contact {
    display: flex;
    flex-flow: column;
}
.contact-info {
    display: flex;
    margin: 30px auto;
}
.contact-info a {
    margin: 20px 20px;
    font-size: 2.5rem;
    color: var(--primary-color);
    text-decoration: none;
}
.contact-info a:link {
    margin: 20px 20px;
    font-size: 2.5rem;
    color: var(--primary-color);
    text-decoration: none;
}
.contact-info a:visited {
    margin: 20px 20px;
    font-size: 2.5rem;
    color: var(--primary-color);
    text-decoration: none;
}
.contact-info a:hover {
    margin: 20px 20px;
    font-size: 2.5rem;
    color: var(--primary-color);
    text-decoration: none;
}
.contact-info a:active {
    margin: 20px 20px;
    font-size: 2.5rem;
    color: var(--primary-color);
    text-decoration: none;
}

.partner-container {
    margin: 10px 0;
    display: grid;
    grid-template-columns: auto auto;
    justify-content: space-evenly;
}
.partner {
    display: flex;
    flex-flow: column;
    margin: 15px;
}
.partner-name {
    font-size: 2rem;
    font-weight: 600;
}
.partner-description {
    font-size: 1.3rem;
}

.experties-container {
    margin: 10px;
    display: grid;
    grid-template-columns: auto auto;
    justify-content: space-evenly;
}
.experties {
    margin: 30px;
}
.experties-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 10px;
}
.experties-description {
    font-size: 1.3rem;
}
.space {
    margin-bottom: 8px;
}
form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
    margin: 0 auto;
}

input, textarea {
    padding: 10px;
    border: 2px solid var(--primary-color);
    background-color: var(--background-color);
    color: var(--primary-color);
    font-family: var(--font-mono);
}

button {
    padding: 10px;
    border: 2px solid var(--primary-color);
    background-color: var(--background-color);
    color: var(--primary-color);
    cursor: pointer;
    font-family: var(--font-pixel);
}

button:hover {
    background-color: var(--primary-color);
    color: var(--background-color);
}


footer {
    border-top: solid;
    padding: 0 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

footer a {
    font-size: larger;
    color: var(--primary-color);
    margin: 0 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
    }

    .hero {
        height: auto;
        padding: 40px 20px;
    }

    .hero h1 {
        font-size: 2em;
    }

    .hero p {
        font-size: 1em;
    }

    .cta-button {
        margin-top: 15px;
    }

    section {
        padding: 40px 20px;
    }

    h2 {
        font-size: 1.5em;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.2em;
    }

    .hero h1 {
        font-size: 1.5em;
    }

    .hero p {
        font-size: 0.9em;
    }

    .cta-button {
        padding: 8px 16px;
    }

    h2 {
        font-size: 1.2em;
    }

    form {
        width: 100%;
        padding: 0 20px;
    }

    input, textarea {
        font-size: 0.9em;
    }

    button {
        font-size: 0.9em;
    }

    .partner-container {
        margin: 15px;
        display: grid;
        grid-template-columns: auto;
        justify-content: space-evenly;
    }

    .experties-container {
        margin: 10px;
        display: grid;
        grid-template-columns: auto;
        justify-content: space-evenly;
    }

    .contact-info {
        flex-flow: column;
    }
}
