@import url("partials/_footer-rGhLLiK.css");
@import url("partials/_header--4uqlD3.css");
@import url("partials/_project_card-bDtLs0l.css");
@import url("partials/_tag-KyatBeW.css");

:root {
    --border: #e5e7eb;
    --background: #f1f1f1;
    --color-main: #333333;
    --color-accent: #111111;
    --color-muted: #6b7280;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Helvetica, Arial, sans-serif;
}

body {
    background: var(--background);
    color: var(--color-main);
    line-height: 1.6;
}


/* Layout */

.container {
    max-width: 68.75rem;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}


/* Responsive */

.visible-mobile {
    display: flex;
}

.visible-desktop {
    display: flex;
}

@media (max-width: calc(48rem - 1px)) {
    .visible-desktop {
        display: none !important;
    }
}

@media (min-width: 48rem) {
    .visible-mobile {
        display: none !important;
    }
}


/* Components */

a {
    color: inherit;
    text-decoration: none;
}

section:first-child {
    padding-bottom: 4rem;
}

section:not(:first-child) {
    padding: 4rem 0;
    border-top: 1px solid var(--border);
}

section h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}


/* Buttons */

.btn {
    padding: 0.625rem 1.125rem;
    border-radius: 0.5rem;
    font-size: 0.95rem;
    border: 1px solid var(--border);
    background: #ffffff;
    cursor: pointer;
    display: inline-block;
}

.btn:hover {
    opacity: 0.9;
}

.btn-primary {
    background: var(--color-main);
    border-color: var(--color-accent);
    color: #fff;
}


/* Inputs */

input[type="text"],
input[type="password"],
input[type="email"],
textarea {
    border: 1px solid var(--border);
    padding: 0.5rem 0.75rem;
    font-size: 0.95rem;
    outline: none;
}

textarea {
    height: 15vh;
    max-height: 50vh;
    resize: vertical;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
textarea:focus {
    border: 1px solid var(--color-main);
}


/* Alerts */

.alert {
    display: block;
    border: 1px solid var(--border);
    padding: 0.5rem 1rem;
    border-left-width: 0.375rem;
}

.alert-error {
    color: #721c24;
    background: #f8d7da;
    border-color: #f5c6cb;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}
