#skills { .content { .wrapper { height: 100%; //overflow: hidden; } } } .skills-wrapper { display: flex; flex-direction: column; max-height: calc(100% - 80px); .skills { &.technical { @media screen and (max-width: 1094px) { display: flex; align-items: center; min-height: 300px; overflow-x: auto; } @media screen and (min-width: 1095px) { display: grid; grid-gap: 5px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } @media screen and (min-width: 1445px) { grid-gap: var(--gap) var(--gap); } .skill { flex: 1; display: flex; flex-direction: column; align-items: center; //background: var(--dark-lighter); padding: var(--gap-s); border: 2px solid var(--green); transition: all 0.4s ease; @media screen and (max-width: 1094px) { flex: 1; min-width: 140px; min-height: 230px; justify-content: center; } &-logo { border-radius: 50%; } &-name { font-size: 20px; text-align: center; margin: 0 auto; } &:last-child { .skill-name { font-size: var(--font-size__base); } } } } } .other-skills { margin-top: var(--gap); @media screen and (min-width: 768px) { display: flex; overflow: hidden; } .skills { width: 100%; background: var(--dark-lighter); padding: var(--gap); overflow: auto; &.non-technical { @media screen and (min-width: 768px) { max-width: 340px; margin-right: var(--gap); } } &.responsibilities { h4 { margin-bottom: var(--gap-s); } ol { li { padding-left: var(--gap-s); margin-left: var(--gap-s); &:not(:last-child) { margin-bottom: var(--gap-s); } &::marker { content: '☉'; color: var(--green-lighter); } } } } } } }