:root {
    --color-main: #1992d4;
    --color-background: #e2e8f0;
    --color-accent: #f0b429;

    /* font-family: sans-serif; */
    font-family: Arial, Helvetica, sans-serif;
}

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

.main {
    width: 100vw;
    display: flex;
    justify-content: center;
}

.left-bar {
    background-color: var(--color-main);
    height: 100vh;
    width: 350px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
}
.main-content {
    flex: 1 1 100%;
    display: flex;
    flex-direction: column;
}

.navigation {
    display: flex;
    flex-direction: column;
    border-top: 2rem solid transparent;
    border-bottom: 2rem solid transparent;
    border-left: 2rem solid transparent;
}

.logo {
    font-size: 2rem;
    padding: 2rem;
    display: inline-flex;
    align-items: center;
    color: white;
}
.logo img {
    padding-right: 1rem;
    filter: invert();
}

.navigation a {
    width: 100%;
    font-size: 1.5rem;
    color: white;
    list-style: none;
    border: 0.8rem solid transparent;
    display: inline-flex;
    transition: 500ms;
}
a span {
    border-left: 1rem solid transparent;
}

a img {
    filter: invert();
}

.navigation a:hover {
    background-color: var(--color-accent);
}

.navigation a:link {
    text-decoration: none;
}

.header {
    display: flex;
    flex-direction: column;
    background-color: white;
    gap: 20px;
    border-top: 1rem solid transparent;
    border-bottom: 1rem solid transparent;
}

.bottom-header,
.top-header {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
}

.top-header input {
    width: 100%;
    height: 2rem;
    border: none;
    background-color: #e2e8f0;
    border-radius: 20px;
}

.header img {
    border-radius: 50%;
}

.top-header :first-child,
.bottom-header :first-child {
    margin-left: 30px;
}
.top-header :last-child,
.bottom-header :last-child {
    margin-right: 30px;
}

.bottom-header .buttons {
    margin-left: auto;
}

.projects {
    background-color: var(--color-background);
    flex: 1 1 auto;
    border: 2rem solid transparent;
    display: flex;
    gap: 20px;
}
.projects-panels {
    height: 100%;
    flex: 1;
    overflow: auto;
}
.secondary-bar {
    height: 100%;
    flex: 0 0 auto;
    flex-basis: 300px;
    overflow: auto;
}

.projects-panels h2,
.secondary-bar h2 {
    margin: 0 0 1rem;
}

.announ {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.news {
    background-color: white;
    border: 2rem solid white;
    border-radius: 8px;
}
hr {
    width: 70%;
}

.actual-projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 450fr));
    gap: 20px;
    grid-template-rows: repeat(5, 200px);
}

.project {
    border: 5px solid transparent;
    border-radius: 10px;
    background-color: white;
    border-left: 5px solid var(--color-accent);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-div {
    border: 1rem solid transparent;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.p-description,
.p-options {
    border: 5px solid transparent;
    flex: 1 1 auto;
}
.p-description h3 {
    border-bottom: 1rem solid transparent;
}

.p-description {
    margin-top: auto;
    overflow: hidden;
}
.p-options {
    display: flex;
    justify-content: end;
    flex: 0 0 auto;
    gap: 20px;
}

button {
    background-color: var(--color-main);
    border: 2px solid var(--color-main);
    color: white;
    padding: 8px 8px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 4px;
    transition-duration: 0.4s;
    cursor: pointer;
    min-width: 80px;
}

button:hover {
    background-color: white;
    color: black;
}
