body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

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

.body-list li {
    position: relative;
    padding-left: 2em;
    color: #222;
    font-family: Montserrat, serif;
    padding-right: 1rem;
    margin: 1rem 0;
}

.body-list li::before {
    content: "";
    position: absolute;
    align-self: center;
    left: 0;
    top: auto;
    width: 1em;
    height: 1em;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%2356A732' stroke-width='1.5' viewBox='0 0 24 24'><path stroke-linecap='round' stroke-linejoin='round' d='M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z'/></svg>") no-repeat center;
    background-size: contain;
}

ul .education-block::before {
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='%2356A732'><path stroke-linecap='round' stroke-linejoin='round' d='M4.26 10.147a60.438 60.438 0 0 0-.491 6.347A48.62 48.62 0 0 1 12 20.904a48.62 48.62 0 0 1 8.232-4.41 60.46 60.46 0 0 0-.491-6.347m-15.482 0a50.636 50.636 0 0 0-2.658-.813A59.906 59.906 0 0 1 12 3.493a59.903 59.903 0 0 1 10.399 5.84c-.896.248-1.783.52-2.658.814m-15.482 0A50.717 50.717 0 0 1 12 13.489a50.702 50.702 0 0 1 7.74-3.342M6.75 15a.75.75 0 0 0-1.5 0V8.25a.75.75 0 0 1 1.5 0v6.75Z'/></svg>") no-repeat center;
}

ul .competency::before {
    width: 1.2rem;
    padding-left: 1rem;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='%2356A732'><path stroke-linecap='round' stroke-linejoin='round' d='M12 18v-5.25m0 0a6.01 6.01 0 0 0 1.5-.189m-1.5.189a6.01 6.01 0 0 1-1.5-.189m3.75 7.478a12.06 12.06 0 0 1-4.5 0m3.75 2.383a14.406 14.406 0 0 1-3 0M14.25 18v-.192c0-.983.658-1.823 1.508-2.316a7.5 7.5 0 1 0-7.517 0c.85.493 1.509 1.333 1.509 2.316V18'/></svg>") no-repeat center;
}

ul .more-info::before {
    width: 1.2rem;
    padding-left: 1rem;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='%2356A732'><path stroke-linecap='round' stroke-linejoin='round' d='M11.25 11.25l.041-.02a.75.75 0 011.063.852l-.708 2.836a.75.75 0 001.063.853l.041-.021M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9-3.75h.008v.008H12V8.25z'/></svg>") no-repeat center;
}

.basic-info {
    margin-top: 7rem;
    width: 80%;
}

.basic-info a {
    font-family: Montserrat, serif;
    font-size: 1.1rem;
}

.contacts svg {
    max-width: 2rem;
}

section h1{
    font-weight: normal;
    color: black;
    font-size: 2rem;
    font-family: Montserrat, serif;
}

.basic-info h2 {
    font-weight: normal;
    color: black;
    font-size: 1.2rem;
    font-family: Montserrat, serif;
}

.contacts {
    display: grid;
    grid-template-columns: 1fr 8fr 1fr 8fr 1fr 8fr;
    grid-column-gap: 1rem;
    align-items: center;
    overflow-wrap: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    line-height: 1.8rem;
}
@media (max-width: 60rem) {
    .contacts {
        grid-template-columns: 1fr 8fr;
    }

}

.contacts a {
    text-decoration: none !important;
    color: green;
}

.contacts svg {
    margin: 0.5rem;
    max-width: 5rem;
}


.headline {
    display: grid;
    grid-template-columns: 1fr 3fr;
    grid-column-gap: 0.5rem;
    margin: 0;
    align-items: center;
}

svg {
    margin: 0.5rem;
    max-width: 5rem;
    color: green;
}
.more-infos,
.competencies,
.publications,
.education,
.experience {
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    box-shadow: 0 1px 10px rgba(30, 50, 30, 0.2);
    margin: 1rem 0;
    width: 80%;
    align-items: center;
}

.more-infos:hover,
.competencies:hover,
.publications:hover,
.education:hover,
.experience:hover {
    box-shadow: 0 1px 10px rgba(30, 50, 30, 0.5);
    transition: 0.5s ease-in-out;
}

.education-block {
    font-weight: bold;
    font-family: Montserrat, serif;
}

.education-block .note {
    font-weight: normal;
    margin: 0;
}

.education-block .year {
    font-weight: lighter;
    opacity: 0.8;
    margin: 0;
}

.publications h2 {
    margin-bottom: 0;
    font-weight: normal;
    color: black;
    font-size: 1.2rem;
    font-family: Montserrat, serif;
}

.publication-list {
    background: green;
    border-radius: 20px;
    box-shadow: 0 1px 10px rgba(30, 50, 30, 0.2);
    padding: 1rem;
    color: white;
    margin: 1rem 0;
}

.publication-list,
.publication-list:visited,
.publication-list:hover,
.publication-list:active {
    text-decoration: none !important;
}

.publication-list:hover {
    box-shadow: 0 1px 10px rgba(30, 50, 30, 0.5);
    transform: scale(1.1);
    transition: 0.5s ease-in-out;
}

.competencies-list {
    width: 85%;
    display: grid;
    grid-column-gap: 3rem;
    align-content: center;
    align-items: center;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
    padding: 0;
}

.competency {
    border-radius: 20px;
    background-color: rgba(220, 220, 220, 0.2);
    color: #222;
    font-family: Montserrat, serif;
    padding: 1rem 1rem 1rem 2rem;
    box-shadow: 0 1px 10px rgba(30, 50, 30, 0.2);
}

.competency:hover {
    background-color: rgba(220, 220, 220, 0.1);
    box-shadow: 0 1px 10px rgba(30, 50, 30, 0.5);
    transition: 0.5s ease-in-out;
}

.more-info-list {
    width: 85%;
    display: grid;
    grid-column-gap: 3rem;
    align-content: center;
    align-items: center;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
    padding: 0;
}

.more-info {
    border-radius: 20px;
    background-color: rgba(220, 220, 220, 0.2);
    color: #222;
    font-family: Montserrat, serif;
    padding: 1rem 1rem 1rem 2rem;
    box-shadow: 0 1px 10px rgba(30, 50, 30, 0.2);
}

.navbar li::before,
.mobile-nav li::before {
    margin: 0 !important;
    background: none !important;
}
