body {
    width: 100vw;
    overflow-x: hidden;
}

body {
    margin: 0;
    background-color: #F5F5F5;
}

#name_bloc {
    padding-left: 4%;
    padding-top: .1em;
    padding-bottom: .1em;
    background: white;
}

#name {
    margin: 0;
}


/* Menu */

#menu_list {
    z-index: 1;
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #333;
    position: -webkit-sticky;

    /* Safari */
    position: sticky;
    top: 0;
}

.menu_elem {
    float: left;
}

@media (max-width: 300px) {
    .menu_elem {
        float: left;
        width: 50%;
    }
}

@media (max-width: 640px) and (min-width: 301px) {
    .menu_elem {
        float: left;
        width: 33%;
    }
}

.menu_elem a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.menu_elem a:hover {
    background-color: #111;
}

#content {
    margin: auto;
    margin-top: 1em;
    max-width: 80%;
    /* border: solid; */
    padding: 10px;
}

.index_h3 {
    margin-top: 9px;
    margin-bottom: 9px;
    font-size: 1.25em;
}

.article_name,
.card h2,
#main_card h2 {
    display: block;
    font-size: 1.5em;
    margin-bottom: 1em;
    margin-left: 0;
    margin-right: 0;
    font-weight: bold;
}

.card {
    background-color: white;
    padding: 20px;
}

@media (max-width: 640px) {
    .publication h3 {
        padding-top: 20px;
    }
}

.publication h3 {
    margin-top: 0;
    font-size: 1.1em;
}

@media (max-width: 640px) {
    #content {
        padding: 0;
        margin: 0;
        max-width: 100%;
    }

    .card {
        box-sizing: border-box;
        margin-bottom: 0;
        box-shadow: 0;
        border-top: solid thin;
        padding: 1em;
    }
}

.justify {
    text-justify: inter-character
}

@media (min-width: 640px) {
    .card {
        margin-bottom: 20px;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    }

    .authors {
        text-align: justify;
    }
}

.comma-list {
    display: inline;
    list-style: none;
    padding: 0px;
}

.comma-list li {
    display: inline;
}

.comma-list li::after {
    content: ", ";
}

.comma-list li:last-child::after {
    content: "";
}

.bib,
.resume {
    margin: 1em;
    padding: 1em;
    background-color: #f1f1f1;
}

.material-symbols-outlined {
    vertical-align: bottom;
    font-size: 18px !important;
}

.butt {
    border: solid;
    background-color: #f1f1f1;
    border: none;
    padding: 7px 16px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    /* font-size: 16px; */
}

.grid {
    display: grid;
    gap: 1rem;
}

.article_name {
    margin-bottom: 1em;
}

.half-color {
    /* position: ; */
    position: relative;
    font-size: 80px;
    display: inline-block;
    color: silver;
    font-family: 'Chilanka', cursive;
}

.half-color:before {
    content: attr(attribute);
    color: brown;
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    overflow: hidden;
}

a {
    text-decoration: none;
    color: black;
}

.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
}

.medal {
    padding-left: 2em;
    padding-bottom: 1em;
}

.expand_compet {
    cursor: pointer;
}

#jury {
    -moz-column-width: 14.5em;
    /* Firefox */
    -webkit-column-width: 14.5em;
    /* webkit, Safari, Chrome */
    column-width: 14.5em;
}


/*remove standard list and bullet formatting from ul*/

#jury ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

#jury li {
    padding-top: 1em;
}


/* correct webkit/chrome uneven margin on the first column*/

#jury ul li:first-child {
    margin-top: 0px;
}

.competitem {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 18px;
    padding-bottom: 18px;
}

.justified_text {
    text-align: justify;
    text-justify: inter-character;
}

.inactive_course {
    background-color: rgba(255, 255, 255, 0.38);
    box-shadow: 0 1.5px 3px rgba(0, 0, 0, 0.16), 0 1.5px 3px rgba(0, 0, 0, 0.23);
}