@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');

/* --- Reset & Variables --- */
*, *::before, *::after {
    box-sizing: border-box;
}

:root {
    --main: #4cd16f;
    --text: #edf2ee;
    --bg: #0b130d;
    --border-color: #0b130d;
    font-family: "Work Sans", sans-serif;
    font-size: 100%;
}

body {
    background: var(--bg);
    margin: 0;
    padding: 1rem; 
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center; 
    overflow: hidden;
}

main {
    background: var(--main);
    color: var(--bg);
    border-radius: 1rem;
    width: 100%;
    max-width: 1400px;
    height: 100%;
    max-height: 95vh;
    display: flex;
    gap: 0.75rem;
    padding: 1rem;
    position: relative; 
}

aside {
    border-right: 2px solid var(--border-color);
    padding-right: 1rem;
    min-width: 175px;
    display: flex;
    flex-direction: column;
}

aside ul {
    list-style-type: none;
    padding-left: 0;
    margin-top: 1rem;
}

aside li {
    padding-bottom: 0.5rem;
    font-size: 1.2rem;
    cursor: pointer;
  transition: 0.1s ease-in-out;
}

main > section {
    flex-grow: 1;
    display: grid;
    grid-template-columns: 1fr 2fr 1.5fr; 
    grid-template-rows: auto 1fr 1fr; 
    gap: 1rem;
    overflow-y: auto; 
}


.main_title {
    grid-column: 1; 
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.status {
    font-size: 0.85rem;
    opacity: 0.8;
    display: flex;
    flex: 0;
    flex-wrap: wrap;
    gap: .5rem;
}
.status span{
    position: relative;
    background-color: var(--bg);
    border-radius: 50px;
    padding: .25rem .5rem;
    color: var(--main);
}


.date {
    grid-row: 2 ; 
    grid-column: 1; 
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: right;
    font-size: 2rem;
    font-weight: 600;
}

.updates {
    grid-row: 1 / span 3;
    grid-column: 2;
    
    border-left: 2px solid var(--border-color);
    border-right: 2px solid var(--border-color);
    padding: 0 1rem;
    
    overflow-y: auto;
    max-height: 100%;
}

.updates article {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}

*:focus{
  border: 2px solid cyan;
 }

/*---- Animations -----*/
aside li:hover,
aside li:focus{
  padding-left:.75rem  

}