@font-face {
    font-family: Outfit;
    src: url('../font/outfitVar.ttf');
}

:root{
    --bg-dark: #201e1e;
    --bg-darkgrey: #555252;
    --bg-lightgrey: #e2dbdb;
    --bg-light: #ebe6e6;
    --text-light: #f0e3e3;
    --accent: #8b3939;
}

h1{
    margin: 5px;
}

h2{
    margin: 5px;
}

nav a{
    color: var(--text-light);
    text-decoration: none;
}

nav a:hover, nav a:focus, nav a:active{
    text-decoration: underline;
}

#main-logo{
    background-color: var(--accent);
    width: 35px;
    height: 35px;
    border: 0;
    margin-right: auto;
    border-radius: 5px;
}

body{
    margin: 0 auto;
    font-family: "Outfit", "Verdana", sans-serif;
    font-size: 11pt;
}

nav{
    width: 100%;
    height: 55px;
    background-color: var(--bg-dark);
    color: var(--text-light);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

#leftnav, #rightnav{
    display: flex;
    flex-direction: row;
    align-items: center;
}

#leftnav{
    margin-left: 10%;
    justify-content: flex-start;
    gap: 40px;
}

#rightnav{
    margin-right: 10%;
    justify-content: flex-end;
}

#rightnav > *:first-child, #rightnav > *:last-child{
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    text-decoration: none;
}

#rightnav > *:first-child:hover, #rightnav > *:last-child:hover, .active-view{
    background-color: var(--accent);
    text-decoration: none;
}

#rightnav > *:first-child{
    height: 25px;
    border-radius: 5px 0px 0px 5px;
    border: 1px solid var(--accent);
    padding: 15px 20px 15px 20px;
}

#rightnav > *:last-child{
    height: 25px;
    border-radius: 0px 5px 5px 0px;
    border-top: 1px solid var(--accent);
    border-right: 1px solid var(--accent);
    border-bottom: 1px solid var(--accent);
    padding: 15px 20px 15px 20px;
}

#rightnav .active-button{
    background-color: var(--accent);
}

#duo-selector{
    width: 100%;
    margin: 0 auto;
    height: 30px;
    background-color: blue;
}

#map {
    height: calc(100vh - 100px);
    width: 100%; /* Optional: Adjust width */
    margin: auto; /* Center the map */
}

footer{
    width: 100%;
    height: 45px;
    background-color: var(--bg-dark);
}

#articles{
    min-height: 87vh;
    width: 100%;
    background-color: var(--bg-darkgrey);
    display: flex;
    justify-content: center;
}

.testheight{
    height: 5000px;
}

#articles-container{
    width: 1500px;
    min-height: 1000px;
    background-color: var(--bg-light);
    padding: 50px 100px;
    box-sizing: border-box;
}

#articles-container > h1{
    margin-bottom: 40px;
    margin-right: 0px;
    margin-left: 0px;

}

#articles-container > h2{
    margin-top: 40px;
    margin-bottom: 20px;
    margin-right: 0px;
    margin-left: 0px;

}

#articles-items{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.article{
    max-width: 900px;
    min-height: 100px;
    padding: 15px 15px;
    border-left: 1px solid var(--bg-dark);
    background-color: var(--bg-lightgrey);
    transition: 0.05s;
    border-radius: 5px;
    box-sizing: border-box;
    transition: 0.1s;
}

.article:hover{
    background-color: var(--bg-light);
    transition: 0.1s;
}

.article-title{
    font-size: 16pt;
    display: flex;
    flex-direction: column;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.article-title-main{
    font-weight: 700;
}

.article-title-sub{
    font-weight: 600;
    opacity: 0.7;
}

.article-authors{
    margin-bottom: 12px;
}

.lastname{
    font-variant-caps: small-caps;
}

.article-abstract{
    margin-bottom: 10px;
    text-align: justify;
    hyphens: auto;
    opacity: 0.7;
    border-left: 1px dotted var(--bg-darkgrey);
    padding-left: 10px;
}

.article-ref{
    font-size: 9pt;
    text-align: right;
}

.article-actions{
    font-size: 12pt;
    font-weight: 600;
    display: flex;
    gap: 20px;
}

#articles a{
    color: var(--accent);
    text-decoration: none;
}

#articles a:hover{
    text-decoration: underline;
}