/* FONTS

'Merriweather', serif
'Merriceather Sans', sans-serif

*/

main .content * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

ol, ul {
    list-style: none;
    display: flex;
    flex-direction: column;   
}

main .content h2 {
    font-weight: 800;
    font-size: 25px;
    margin-block: 2%;
    color: var(--white-1);
}

main .content h1 {
    font-size: clamp(30px, 3.1vw, 50px);
    margin-block: 2%;
    color: var(--white-1);
}

main .content {
    padding-inline: 12%;
}

section.main-section {
    padding: 2.5% 5%;
    margin-top: 20px;
    background-color: var(--button-bg-color);
    border-radius: 20px;
}

.skills > * {
    position: relative;
    margin-block: 10px;
}

.skills h3 {
    margin-block: 5px;
    transform-origin: center;
    transform: rotate(-90deg);
    
    position: absolute;
    text-align: center;
    left: -40px;
    top: 35%;
    
    width: 105px;
    
    box-shadow: 0px 0px 5px 1px black;
}

.skills .languages {
    width: 100%;
    margin-left: 0px;
}

.skills .languages > ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 5px;
    
    width: calc(100% - 10%);
    list-style: none;
}

.skills .languages .language {
    display: flex;
    flex-direction: row;
    margin-right: 0px;
}

.skills .languages .language .name {
    padding: 8px 10px;
    background-color: #64A3E3;
    border-radius: 5px;
    font-weight: 700;

    font-size: 15px;
    align-self: center;

    z-index: 1;
}

.skills .languages .language .libs {
    position: relative;
    transform: translateX(-10px);

    background-color: #A5CBF2;

    border-left: 0px;
    border-radius: 0px 5px 5px 0px;
    font-weight: 600;
    padding: 0px 0px 0px 8px;

    font-size: 11px;
    display: flex;

    margin-right: -10px;
    z-index: 0;
}

.skills .languages .language .libs ul {
    display: flex;
    flex-direction: row;
    gap: 5px;

    padding: 4px 10px 4px 10px;

    align-self: center;
}

.skills .skills-list {
    margin-top: 5px;
    width: calc(100% - 10%);
    margin-left: 0px;
}

.skills .skills-list ul {
    display: flex;
    flex-direction: row;
    gap: 5px;
    list-style: none;
    flex-wrap: wrap;
}

.skills .skills-list ul li {
    padding: 8px 10px;
    border-radius: 5px;
    /* border: solid 1px rgba(0, 0, 0, 0.5); */

    font-size: 0.8em;
    font-weight: 700;
    align-self: center;
    margin-right: 0px;

    background-color: #61D7FF;
}

.skills .skills-list ul li:nth-child(n+2) {
    background-color: #C9F1FF;
}

.tools .tools-list ul {
    display: flex;
    flex-direction: row;
    gap: 5px;
    list-style: none;
    flex-wrap: wrap;
}

.tools .tools-list ul li {
    padding: 8px 10px;
    border-radius: 5px;
    color: var(--white-1);
    border: 1px solid var(--white-1);

    font-size: 12px;
    font-weight: 700;
    align-self: center;
    margin-right: 0px;

    background-color: rgba(0, 0, 0, 0.2);
}

@media (max-width: 800px) {
    main .content {
        padding-inline: 2.5%;
    }
    main .content > h1 {
        text-align: center;
    }
}

@media (max-width: 400px) {
    main .content > section.skills.main-section > div, main > section.skills.main-section > div .languages span {
        font-size: 14px;
    }
    .skills .languages .language .name {
        font-size: 12px;
    }
    .skills .languages .language .libs {
        font-size: 10px;
    }
}