@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --black: #333;
    --blue: #55679C;
    --red: #F03161;
}

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

body {
    font-family: Poppins, sans-serif;
    color: var(--black);
}

/* Display */

.flex{
    display: flex;
} 

.wrap {
    flex-wrap: wrap;
}

.column {
    flex-direction: column;
}

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

.space-between{
    justify-content: space-between;
}

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

/* Text */

h1, .text-large {
    font-size: 32px;
}

.text-medium {
    font-size: 22px;
}

.text-small {
    font-size: 14px;
}


.bold {
    font-weight: bold;
}

.justify {
    text-align: justify;
}

.medium {
    font-weight: 500;
}

.capitalize {
    text-transform: capitalize;
}

.uppercase {
    text-transform: uppercase;
}

/* Gap */

.huge-gap {
    gap: 4rem;
}

.big-gap {
    gap: 2rem;
}

.gap {
    gap: 1rem;
}

.small-gap {
    gap: 8px;
}

/* Radius */

.radius {
    border-radius: 16px;
}

.small-radius {
    border-radius: 8px;
}

/* Button, a, input, select */

button, a {
    all: unset;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

input {
    text-align: start;
    font-size: 16px;
}

textarea {
    font-size: 16px;
    min-height: 120px;
    font-family: Poppins;
}

.input-box {
    font-size: 16px;
    justify-content: space-between;
    border-collapse: collapse;
    align-items: center;
    border: 1px solid var(--black);
    border-radius: 8px;
    flex-grow: 1;
    padding: 12px 1rem; 
}

select {
    border-radius: 8px;
    text-transform: capitalize;
}

/* Cursor */

.pointer {
    cursor: pointer;
}

/* Others */

.basic-shadow {
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.basic-button {
    padding: 8px 1rem;
    border: 1px solid var(--blue);
    transition: all 0.3s ease;
}

.basic-button:hover {
    box-shadow: 2px 2px 0px 1px var(--blue); 
    transform: translate(-2px, -2px); 
} 

.basic-button:active {
    box-shadow:  var(--blue); 
    transform: translate(2px, 2px); 
} 

.blue-button {
    padding: 8px 1rem;
    background: var(--blue);
    color: white;
    border: 1px solid var(--black);
    transition: all 0.3s ease;
}

.red-button {
    padding: 8px 1rem;
    background: var(--red);
    color: white;
    border: 1px solid var(--black);
    transition: all 0.3s ease;
}

.blue-button:hover, .red-button:hover {
    box-shadow: 2px 2px 0px 1px var(--black); 
    transform: translate(-2px, -2px); 
} 

.blue-button:active, .red-button:active {
    box-shadow:  var(--black); 
    transform: translate(2px, 2px); 
} 


.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    border: 0;
}

.hide {
    visibility: hidden;
}

.remove {
    display: none;
}

/* Main */

.initial-menu-category-button {
    height: 300px;
    width: 300px;
    border-radius: 1rem;
    padding: 1rem;
}

.header-container {
    padding: 2rem;
    text-align: center;
}

main {
    width: 100% ; 
    flex: 1;
    padding: 1rem;
}

.footer-container {
    background: var(--black);
    padding: 2rem;
    color: white;
}

.menu-category-button {
    border-radius: 1rem;
}

.project-title:hover {
    color: var(--blue);
}

.construction-notice {
    position: absolute;
    bottom: 40px;color: red;
    font-weight: bold;
    margin: 0 1rem;
    text-align: center;
}

@media (max-width: 1400px), (max-height: 700px) {
    .initial-menu-category-button {
        width: 250px;
        height: 250px;
    }

    .construction-notice {
        bottom: 10px;
    }
}

@media (max-height: 530px) {
    .header-container, main, .footer-container {
        padding: 1rem;
    }

    .all-projects-list {
        justify-content: start;
    }
}


@media (max-width: 1150px), (max-height: 460px) {
    .menu-category {
        flex-wrap: wrap;
    }
}

@media (max-width: 650px), (max-height: 460px) {
    h1, .text-large {
        font-size: 24px;
    }
    
    .text-medium {
        font-size: 16px;
    }
    
    .text-small {
        font-size: 12px;
    }

    .initial-menu {
        gap: 16px;
    }

    .initial-menu-category-button {
        width: 200px;
        height: 200px;
        gap: 16px;
    }

    .initial-menu-category-button svg {
        width: 48px;
        height: 48px;
    }

    .menu-category {
        gap: 16px;
    }

    .menu-category-button {
        padding: 4px 12px;
        border-radius: 12px;
    }
}

@media (max-width: 480px), (max-height: 380px) {
    h1, .text-large {
        font-size: 20px;
    }
    
    .text-medium {
        font-size: 14px;
    }
    
    .text-small, p {
        font-size: 10px;
    }

    .menu-category {
        gap: 8px;
    }

    .menu-category-button {
        padding: 4px 10px;
        border-radius: 12px;
    }

    .initial-menu-category-button {
        width: 180px;
        height: 180px;
        gap: 8px;
    }

    .initial-menu-category-button svg {
        width: 48px;
        height: 48px;
    }
}