@font-face {
    font-family: 'PPTelegraf';
    src: url('../stuff/PPTelegraf-Regular.otf');
}


body {
    font-family:'PPTelegraf';
    color: #dbadad;
    background: linear-gradient(to top, rgba(0, 0, 0, 0)50%,rgba(0, 0, 0, 0)50%), url("../img/background.png");
    background-position: center;
    background-size: cover;
    background-repeat: repeat-y;
    margin: 0;
    padding: 0;
}

.logo img {
    margin: 0;
    padding: 0;
    display: block;
    height: 100%;
}

.icon{
    width: auto;
    height: 160%;
    float: left;
    margin-right: 5%;
}

.main{
    width: 100%;
}

.navbar{
    width: 100%;
    height: 125px;
    margin: auto;
    background-color: #100751;
    position: fixed;
    top: 0;
    left: 0;
}

.menu{
    width: 400px;
    float: left;
    height: 70px;
    float: left;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu a{
    list-style: none;
    margin-left: 20%;
    margin-top: 15%;
    font-size: 3vh;

    z-index: 1000;
    text-decoration: none;
    color: #dbadad;
    font-family: "PPTelegraf";
    font-weight: bold;
    transition: 0.4s ease-in-out;
}

.menu a:hover{
    color: #dbadada9;
    cursor: pointer;
    text-decoration: underline;
}

.articles{
    margin-left: 10%;
    margin-top: 10%;
    width: 60%;
    display: flex;
    justify-content: left;
    align-items:flex-start;
    height: max-content;
    flex-direction: column;
}

.article{
    border-radius: 5%;
    margin-left: 5%;
    margin-top: 5%;
    width: 60%;
    display: inline;
    align-items: center;
    height: max-content;
}

.article-abstract{
    border: 5px solid #dbadad;
    background-color: #dbadad;
    padding-left: 3%; 
    color: #100751;
}
.article h3{
    font-family: "PPTelegraf";
    font-size: small;
    background-color: #100751;
    width: max-content;
    padding: 2% 5% 2% 5%;
}

.article h2{
    background-color: #100751;
    padding: 2% 5% 2% 5%;
    width: max-content;
    text-decoration: none;
}

.article h2 a{
    text-decoration: none;
    color: #dbadad;
}

.article h2 a:hover{
    color: #dbadada9;
    text-decoration: underline;
}
.article-info{
    display: flex;
    gap: 5%;
}

@media (max-width: 500px){
    .icon{
    width: max-content;
    height: 100%;
    float: left;
    margin-right: 5%;
    }
    .navbar{
    width: 100%;
    height: 80px;
    margin: auto;
    background-color: #100751;
    position: fixed;
    top: 0;
    left: 0;
    }
    .menu{
    width: 90px;
    float: left;
    height: 63px;
    float: left;
    display: flex;
    margin-left: 13%;
    justify-content: center;
    align-items: center;
    }
    .menu a{
    margin-left: 20%;
    margin-top: 20%;
    font-size: 1.5vh;
    color: #dbadad;
    }
    .articles{
    margin-left: 5%;
    margin-top: 20%;
    width: 100%;
    display: flex;
    justify-content: left;
    align-items:flex-start;
    height: max-content;
    flex-direction: column;
    }
    .article{
    border-radius: 5%;
    margin-left: 5%;
    margin-top: 10%;
    width: 80%;
    display: inline;
    align-items: center;
    height: max-content;
    }
    .article h2{
    padding: 2% 5% 2% 5%;
    font-size: 20px;
    }
    .article-abstract{
    padding-left: 3%; 
    font-size: 12px;
    }
    .article-info{
    display: flex;
    gap: 3%;
    }
}
