/**
 * Style.css
 *
 * Author: Jonathan CJ
 * Date: 2025-08-26
 * Version: 1.0.0
 *
 * This file contains the styles for the website.
 */
:root {
    --primary-color: #1a9c8f;  /* Lighter teal that works well with dark blue */
    --secondary-color: #272936;  /* The dark blue-gray you requested */
    --text-color: #1f2937;
    --light-bg: #f3f4f6;
    --white: #ffffff;
    --accent-color: #0d9488;  /* Keeping the original teal as an accent */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}


/* Refactored typography styles using vanilla CSS */
h1, h2, h3, h4, h5, h6, p, li {
    margin-bottom: 1rem;
}

h1 { font-size: 2rem; font-weight: bold !important; }
h2 { font-size: 1.75rem; font-weight: bold !important; }
h3 { font-size: 1.5rem; font-weight: bold !important; }
h4 { font-size: 1.25rem; font-weight: bold !important; }
h5 { font-size: 1.125rem; font-weight: bold !important; }
h6 { font-size: 1rem; font-weight: bold !important; }
p { font-size: 1rem; font-weight: normal !important; }
li { font-size: 1rem; font-weight: normal !important; }


.leading-none { line-height: 1 !important; }
.leading-tight { line-height: 1.25 !important; }
.leading-normal { line-height: 1.5 !important; }
.leading-loose { line-height: 2 !important; }

.text-left { text-align: left !important; }
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }

.justify-center { justify-content: center !important; }

.btn {
    display: inline-flex;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    line-height: 1;
    border-radius: 0.25rem;
    transition: all 0.15s ease;
    align-items: center;
    justify-content: center;
    appearance: none;
    outline: none;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-accent {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid currentColor;
    color: currentColor;
}

.btn-lg {
    padding: 1rem 1.5rem;
    font-size: 1.25rem;
    border-radius: 0.3rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 0.2rem;
}

.btn-xl {
    padding: 1rem 1.5rem;
    font-size: 1.25rem;
    border-radius: 0.3rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-center {
    text-align: center;
}

.underline-none {
    text-decoration: none;
}

.uppercase {
    text-transform: uppercase;
}

.text-bold {
    font-weight: 700 !important;
}

.text-xs {
    font-size: 0.75rem !important;
    line-height: 1;
}

.text-sm {
    font-size: 0.875rem !important;
    line-height: 1.25;
}

.text-base {
    font-size: 1rem !important;
    line-height: 1.5;
}

.text-lg {
    font-size: 1.125rem !important;
    line-height: 1.5;
}

.text-xl {
    font-size: 1.5rem !important;
    line-height: 1.5;
}

.text-2xl {
    font-size: 2rem !important;
    line-height: 1.5;
}

.text-3xl {
    font-size: 2.5rem !important;
    line-height: 1.5;
}

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    /* position: fixed; */
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

/* Scroll-aware navbar states */
.navbar.scroll-down {
    transform: translateY(-100%);
    box-shadow: none;
}

.navbar.scroll-up {
    transform: translateY(0);
}

/* Sticky style once user scrolls a bit */
.navbar.is-sticky {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(8px);
    -webkit-backdrop-filter: saturate(180%) blur(8px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.navbar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 20px;
    position: relative;
}

@media (min-width: 768px) {
    .navbar .container {
        justify-content: space-between;
    }
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    z-index: 1001;
}

/* Mobile menu button */
.menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

/* Navigation links */
.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Active state for nav links */
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(1);
    transition: transform 0.3s ease;
}

/* Responsive styles */
@media (max-width: 768px) {
    .menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: right 0.3s ease-in-out;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
        padding: 0.5rem 1rem;
    }

    /* Animate menu button to X when active */
    .menu-btn.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-btn.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* Add overlay when menu is open */
    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }

    .overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: var(--secondary-color) url('/assets/img/001-mac.jpeg') no-repeat center center;
    background-size: cover;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(39, 41, 54, 0.85), rgba(26, 156, 143, 0.75));
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero .container {
    padding-top: 80px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-icon {
    color: var(--white);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-5px);
}

.inner {
    margin: 0 auto;
    max-width: 1200px;
    width: 100%;
}
/* Sections */
section {
    padding: 8rem 0 4rem;
}

section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

/* About Section */
.about {
    padding: 8rem 0;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.about .container {
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 5rem;
    color: var(--text-color);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 4px;
    background: var(--primary-color);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.about-content {
    display: flex;
    align-items: flex-start;
    gap: 6rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.about-img {
    flex: 1;
    position: relative;
    z-index: 1;
    transform: translateX(-20px);
    opacity: 0;
    animation: slideIn 0.8s ease forwards;
}

@keyframes slideIn {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.img-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--light-bg);
}

.img-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 156, 143, 0.1) 0%, rgba(4, 120, 87, 0.1) 100%);
    z-index: 1;
    transition: all 0.4s ease;
}

.img-wrapper:hover {
    transform: translateY(-8px);
    box-shadow: 0 35px 60px -15px rgba(0, 0, 0, 0.2);
}

.img-wrapper:hover .profile-img {
    transform: scale(1.03);
}

.profile-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 0;
}

.about-text {
    flex: 1.2;
    padding: 1.5rem 0;
    transform: translateX(20px);
    opacity: 0;
    animation: slideIn 0.8s ease 0.2s forwards;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.8rem;
    color: var(--text-color);
    font-weight: 700;
    line-height: 1.3;
}

.about-text p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 2.5rem;
    font-weight: 400;
    max-width: 600px;
}

.about-details {
    margin: 2.5rem 0 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.detail-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    border-color: rgba(13, 148, 136, 0.2);
}

.detail-item i {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-top: 0.2rem;
    min-width: 30px;
    text-align: center;
}

.detail-item-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
    color: var(--text-color);
    font-weight: 600;
}

.detail-item-content p {
    margin: 0;
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.6;
    font-weight: 400;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    padding: 1rem 2.2rem;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    border: 2px solid var(--primary-color);
    font-size: 1.05rem;
    box-shadow: 0 4px 15px rgba(13, 148, 136, 0.2);
}

.btn-primary:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(13, 148, 136, 0.3);
}

.btn-primary i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn-primary:hover i {
    transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .about-content {
        gap: 4rem;
    }
}

@media (max-width: 992px) {
    .about {
        padding: 6rem 0;
    }
    
    .about-content {
        flex-direction: column;
        gap: 3.5rem;
        align-items: center;
    }
    
    .about-img {
        max-width: 500px;
        width: 100%;
        margin: 0 auto;
        transform: translateY(-20px);
        opacity: 0;
        animation: slideUp 0.8s ease forwards;
    }
    
    .about-text {
        text-align: center;
        transform: translateY(20px);
        opacity: 0;
        animation: slideUp 0.8s ease 0.2s forwards;
    }
    
    @keyframes slideUp {
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }
    
    .about-details {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .detail-item {
        justify-content: flex-start;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.4rem;
        margin-bottom: 4rem;
    }
    
    .about-text h3 {
        font-size: 1.8rem;
    }
    
    .about-text p {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 2rem;
    }
    
    .about-text h3 {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }
    
    .about-text p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .btn-primary {
        width: 100%;
        padding: 0.9rem 1.5rem;
    }
}

/* Projects Section */
.projects {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.projects h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--text-color);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.projects h2::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 4px;
    background: var(--primary-color);
    bottom: -10px;
    left: 25%;
    border-radius: 2px;
}

/* Projects Page */
.projects-page {
    padding: 6rem 0;
    background-color: var(--white);
}

.projects-page h1 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 3rem;
    color: var(--text-color);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.projects-page h1::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 4px;
    background: var(--primary-color);
    bottom: -10px;
    left: 25%;
    border-radius: 2px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
    padding: 2rem 0;
}

.project-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-card h3 {
    margin: 0 0 1rem 0;
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.project-card p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    align-self: flex-start;
    border: 2px solid var(--primary-color);
}

.btn-xs {
    padding: 0.2rem 0.5rem;
}

.btn-sm {
    padding: 0.4rem 1rem;
}

.btn-lg {
    padding: 0.8rem 2rem;
}

.btn:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.text-center {
    text-align: center;
}

/* Contact Section */
.contact form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact input,
.contact textarea {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

.contact textarea {
    height: 150px;
    resize: vertical;
}

.btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background: var(--secondary-color);
}

/* Footer */
.main-footer {
    background: var(--light-bg);
    padding: 2rem 0;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .nav-links {
        display: none;
    }
}

/* Margin */
.m-0 { margin: 0; }
.m-1 { margin: 0.25rem; }
.m-2 { margin: 0.5rem; }
.m-3 { margin: 0.75rem; }
.m-4 { margin: 1rem; }
.m-5 { margin: 1.25rem; }
.m-6 { margin: 1.5rem; }
.m-8 { margin: 2rem; }
.m-10 { margin: 2.5rem; }
.m-12 { margin: 3rem; }
.m-16 { margin: 4rem; }
.m-20 { margin: 5rem; }
.m-24 { margin: 6rem; }
.m-32 { margin: 8rem; }
.m-40 { margin: 10rem; }
.m-48 { margin: 12rem; }
.m-56 { margin: 14rem; }
.m-64 { margin: 16rem; }

/* Padding */
.p-0 { padding: 0; }
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.p-12 { padding: 3rem; }
.p-16 { padding: 4rem; }
.p-20 { padding: 5rem; }
.p-24 { padding: 6rem; }
.p-32 { padding: 8rem; }
.p-40 { padding: 10rem; }
.p-48 { padding: 12rem; }
.p-56 { padding: 14rem; }
.p-64 { padding: 16rem; }


/* Padding (X and Y) */
.px-0 { padding-left: 0; padding-right: 0; }
.px-1 { padding-left: 0.25rem; padding-right: 0.25rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.px-12 { padding-left: 3rem; padding-right: 3rem; }
.px-16 { padding-left: 4rem; padding-right: 4rem; }
.px-20 { padding-left: 5rem; padding-right: 5rem; }
.px-24 { padding-left: 6rem; padding-right: 6rem; }
.px-32 { padding-left: 8rem; padding-right: 8rem; }
.px-40 { padding-left: 10rem; padding-right: 10rem; }
.px-48 { padding-left: 12rem; padding-right: 12rem; }
.px-56 { padding-left: 14rem; padding-right: 14rem; }
.px-64 { padding-left: 16rem; padding-right: 16rem; }

.py-0 { padding-top: 0; padding-bottom: 0; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.py-32 { padding-top: 8rem; padding-bottom: 8rem; }
.py-40 { padding-top: 10rem; padding-bottom: 10rem; }
.py-48 { padding-top: 12rem; padding-bottom: 12rem; }
.py-56 { padding-top: 14rem; padding-bottom: 14rem; }
.py-64 { padding-top: 16rem; padding-bottom: 16rem; }


/* Responsive */
@media (max-width: 768px) {
    .p-2 { padding: 0.5rem; }
    .p-3 { padding: 0.75rem; }
    .p-4 { padding: 1rem; }
    .p-5 { padding: 1.25rem; }
    .p-6 { padding: 1.5rem; }
    .p-8 { padding: 2rem; }
    .p-10 { padding: 2.5rem; }
    .p-12 { padding: 3rem; }
    .p-16 { padding: 4rem; }
    .p-20 { padding: 5rem; }
    .p-24 { padding: 6rem; }
    .p-32 { padding: 8rem; }
    .p-40 { padding: 10rem; }
    .p-48 { padding: 12rem; }
    .p-56 { padding: 14rem; }
    .p-64 { padding: 16rem; }
}

/* Article Image */
.article-image {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 1.5rem 0;
}

.w-full {
    width: 100%;
}

/* Width */
.w-1 { width: 0.25rem; }
.w-2 { width: 0.5rem; }
.w-3 { width: 0.75rem; }
.w-4 { width: 1rem; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-16 { width: 4rem; }
.w-20 { width: 5rem; }
.w-24 { width: 6rem; }
.w-32 { width: 8rem; }
.w-40 { width: 10rem; }
.w-48 { width: 12rem; }
.w-56 { width: 14rem; }
.w-64 { width: 16rem; }
.w-auto { width: auto; }
.w-px { width: 1px; }
.w-1\/2 { width: 50%; }
.w-1\/3 { width: 33.33333%; }
.w-2\/3 { width: 66.66667%; }
.w-1\/4 { width: 25%; }
.w-3\/4 { width: 75%; }
.w-1\/5 { width: 20%; }
.w-2\/5 { width: 40%; }
.w-3\/5 { width: 60%; }
.w-4\/5 { width: 80%; }
.w-1\/6 { width: 16.66667%; }
.w-5\/6 { width: 83.33333%; }
.w-full { width: 100%; }
.w-screen { width: 100vw; }


.my-8 {
    margin-top: 2rem;
    margin-bottom: 2rem;
}
/* Max Width */
.max-w-xs { max-width: 20rem; }
.max-w-sm { max-width: 24rem; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-7xl { max-width: 80rem; }
.max-w-full { max-width: 100%; }
.max-w-screen-sm { max-width: 640px; }
.max-w-screen-md { max-width: 768px; }
.max-w-screen-lg { max-width: 1024px; }
.max-w-screen-xl { max-width: 1280px; }
.max-w-screen-2xl { max-width: 1536px; }

/**
Mobile responsive
**/

@media (min-width: 640px) {
    :root {
        --min-width: 640px;
    }
    .sm\:max-w-screen-sm {
        max-width: 640px;
    }
}

@media (min-width: 768px) {
    :root {
        --min-width: 768px;
    }
    .md\:max-w-screen-md {
        max-width: 768px;
    }
    .md\:flex-row {
        flex-direction: row !important;
    }
    .md\:flex-col {
        flex-direction: column !important;
    }
    .md\:justify-between {
        justify-content: space-between;
    }
    .md\:justify-center {
        justify-content: center;
    }
    .md\:justify-end {
        justify-content: flex-end;
    }
    .md\:w-1\/4 {
        width: 25% !important;
    }
    .md\:w-1\/2 {
        width: 50% !important;
    }
    .md\:w-3\/4 {
        width: 75% !important;
    }
}

@media (min-width: 1024px) {
    :root {
        --min-width: 1024px;
    }
    .lg\:max-w-screen-lg {
        max-width: 1024px;
    }
}

@media (min-width: 1280px) {
    :root {
        --min-width: 1280px;
    }
    .xl\:max-w-screen-xl {
        max-width: 1280px;
    }
}

@media (min-width: 1536px) {
    :root {
        --min-width: 1536px;
    }
    .\2xl\:max-w-screen-2xl {
        max-width: 1536px;
    }
}

/** Display utilities **/
.hidden {
    display: none !important;
}
.block {
    display: block !important;
}
.inline-block {
    display: inline-block !important;
}
.flex {
    display: flex;
}
.flex-col {
    flex-direction: column;
}
.flex-row {
    flex-direction: row;
}
.inline-flex {
    display: inline-flex;
}
.grid {
    display: grid;
}
.contents {
    display: contents !important;
}
.list-item {
    display: list-item !important;
}
.table {
    display: table !important;
}

/* Justify content utilities */
.justify-start {
    justify-content: flex-start !important;
}
.justify-end {
    justify-content: flex-end !important;
}
.justify-center {
    justify-content: center !important;
}
.justify-between {
    justify-content: space-between !important;
}
.justify-around {
    justify-content: space-around !important;
}
.justify-evenly {
    justify-content: space-evenly !important;
}

/* Margins */
.m-0 { margin: 0; }
.m-1 { margin: 0.25rem; }
.m-2 { margin: 0.5rem; }
.m-3 { margin: 0.75rem; }
.m-4 { margin: 1rem; }
.m-5 { margin: 1.25rem; }
.m-6 { margin: 1.5rem; }
.m-8 { margin: 2rem; }
.m-10 { margin: 2.5rem; }
.m-12 { margin: 3rem; }
.m-16 { margin: 4rem; }
.m-20 { margin: 5rem; }
.m-24 { margin: 6rem; }
.m-32 { margin: 8rem; }
.m-40 { margin: 10rem; }
.m-48 { margin: 12rem; }
.m-56 { margin: 14rem; }
.m-64 { margin: 16rem; }
.m-auto { margin: auto; }

/* Top margin */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }
.mt-20 { margin-top: 5rem; }
.mt-24 { margin-top: 6rem; }
.mt-32 { margin-top: 8rem; }
.mt-40 { margin-top: 10rem; }
.mt-48 { margin-top: 12rem; }
.mt-56 { margin-top: 14rem; }
.mt-64 { margin-top: 16rem; }
.mt-auto { margin-top: auto; }

/* Right margin */
.mr-0 { margin-right: 0; }
.mr-1 { margin-right: 0.25rem; }
.mr-2 { margin-right: 0.5rem; }
.mr-3 { margin-right: 0.75rem; }
.mr-4 { margin-right: 1rem; }
.mr-5 { margin-right: 1.25rem; }
.mr-6 { margin-right: 1.5rem; }
.mr-8 { margin-right: 2rem; }
.mr-10 { margin-right: 2.5rem; }
.mr-12 { margin-right: 3rem; }
.mr-16 { margin-right: 4rem; }
.mr-20 { margin-right: 5rem; }
.mr-24 { margin-right: 6rem; }
.mr-32 { margin-right: 8rem; }
.mr-40 { margin-right: 10rem; }
.mr-48 { margin-right: 12rem; }
.mr-56 { margin-right: 14rem; }
.mr-64 { margin-right: 16rem; }
.mr-auto { margin-right: auto; }

/* Bottom margin */
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mb-20 { margin-bottom: 5rem; }
.mb-24 { margin-bottom: 6rem; }
.mb-32 { margin-bottom: 8rem; }
.mb-40 { margin-bottom: 10rem; }
.mb-48 { margin-bottom: 12rem; }
.mb-56 { margin-bottom: 14rem; }
.mb-64 { margin-bottom: 16rem; }
.mb-auto { margin-bottom: auto; }

/* Left margin */
.ml-0 { margin-left: 0; }
.ml-1 { margin-left: 0.25rem; }
.ml-2 { margin-left: 0.5rem; }
.ml-3 { margin-left: 0.75rem; }
.ml-4 { margin-left: 1rem; }
.ml-5 { margin-left: 1.25rem; }
.ml-6 { margin-left: 1.5rem; }
.ml-8 { margin-left: 2rem; }
.ml-10 { margin-left: 2.5rem; }
.ml-12 { margin-left: 3rem; }
.ml-16 { margin-left: 4rem; }
.ml-20 { margin-left: 5rem; }
.ml-24 { margin-left: 6rem; }
.ml-32 { margin-left: 8rem; }
.ml-40 { margin-left: 10rem; }
.ml-48 { margin-left: 12rem; }
.ml-56 { margin-left: 14rem; }
.ml-64 { margin-left: 16rem; }
.ml-auto { margin-left: auto; }

