section > h2,
summary > h2 {
    margin: 0;
    border-radius: 8px;
    padding: 1mm;
    background-color: var(--main-color);
    color: var(--background-color);
}
h3 {
    padding: 0;
    margin: 0 0.5rem 0 0;
    font-weight: bold;
}
li h3
#resumeHeader {
    color: var(--background-color);
    padding: 2mm;
    background-color: var(--main-color);

}
#resumeHeader > * {
    margin-right: 5mm;
}
#resumeHeader section {
    display: flex;
    font-size: medium;
}

#resumeHeader section h3 {
    font-size: medium;
}
#resumeHeader h1 {
    margin: 0;
    margin-bottom: 2mm;
}
#my-photo {
    border-radius: 5%;
}
#resumeHeader #my-photo {
    height: 180px;
    width: auto;
}
ul.skills-main {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
}
ul.skills-main > li {
    border-radius: 5%;
    border: 0.8mm gray solid ;
    margin: 1mm ;
    padding: 1mm;
}
ul {
    list-style-type: none;
}
ul.wide li {
    display: grid;
    grid-template-columns: 300px 500px;
}
li > *{
    height: 100%;  
    margin-bottom: 1mm;
    margin-top: 1mm;
}
article {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    padding: 1cm;
}
article > * {
    width: 100%;
}
@media print {
    #internships {
        display: none;
    }
    article {
        display: initial;
        padding: 0;
    }
}

@media print, screen and (orientation: landscape) {
    .unimportant {
        display: flex;
    }
}
@media print, screen and (orientation: portrait) {
    article {
        padding: 1cm 0;
        width: 100%; 
    }
    ul.wide li {
        display: grid;
        grid-template-columns: min(33%, 300px) min(66%, 500px);
    }
}

.line{
    display: flex;
    border-top: 0.5mm rgb(124, 124, 124) solid;
    margin-left: 5%;
    margin-right: 5%;
    justify-content: center;
}
.line>.smallHeader{
    font-size: small;
    color: rgb(124, 124, 124);
}
#consent{
    font-size: small;
    color: rgb(124, 124, 124);
}
