@import "./component.css";
@import "./dashboard.css";
@import "./landing.css";
@import "./payment.css";

:root {
    --primary-color: #F0FDE4;
    --secondary-color: #002619;
    --secondary-opacity-10-color: #0026190a;
    --secondary-opacity-20-color: #00261918;
    --accent-color: #b2ee40;

    font-size: 16px;
    background-color: var(--primary-color);

    font-family: "Kantumruy Pro", sans-serif;
}

body {
    margin: 2rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    gap: 1rem;
    align-items: center;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

a:hover {
    text-decoration: underline;
}

nav,
footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav img,
footer img {
    height: 4rem;
}

h1, h2, h3, p {
    margin: 0;
}

.spacer {
    height: 1rem;
}

input, textarea {
    font-family: inherit;
    background-color: var(--secondary-opacity-10-color);
    border: none;
    padding: 1rem;
    border-radius: 0.5rem;
    font-size: inherit;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 30rem;
}

.leave-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

@media screen and (max-width: 768px) {
    :root {
        font-size: 18px;
    }

    body {
        margin: 1rem;
    }

    .title {
        font-size: 3rem;
    }

    footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}
