#main-container {
    max-width: 1000px;
    margin: auto;
    padding: 10px;
}

.cv-container {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    margin-bottom: 10px;
}

.cv-item {
    display: flex;
    align-items: center;
    flex-direction: column;
    min-height: 100px;
    padding: 15px;
    border-radius: 10px;
    overflow: hidden;
    background-color: rgba(125,125,125,.1);
}

.cv-mini-item {
    display: flex;
    align-items: center;
    flex-direction: row;
    min-height: 20px;
    padding: 15px;
    border-radius: 10px;
    overflow: hidden;
    background-color: rgba(125,125,125,.1);
}

.cv-item-header {
    display: flex;
    width: 100%;
    justify-content: space-between;
    /* align-items: center; */
    margin-bottom: 20px;
}

.cv-mini-item-content {
    display: flex;
    width: 100%;
    align-items: center;
    /* justify-content: space-between; */
}

.cv-item-header p {
    margin-bottom: 0pt;
}

.cv-item-img {
    /* overflow-x: hidden; */
    margin-top: 5px;
    margin-left: 5px;
    transition: max-width .5s ease-out;
    max-width: 50%;
}

.cv-item-title {
    width: 100%;
    height: 100%;
}

.cv-item-content {
    width: 100%;
    height: 100%;
}

.container-mini {
    grid-template-columns: repeat(auto-fit, minmax(min-content, 1fr)) !important;
}

.container-mini .cv-item {
    min-height: 30px !important;
}

.cv-item:hover, .cv-mini-item:hover {
    background-color: rgba(199, 133, 0, 0.1);
}

.cv-item-img * {
    border-radius: 7px;
    margin-right: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cv-item:hover .cv-item-img {
    max-width: 50%;
}

.cv-extra-info {
    opacity: .75;
}

.language-flag {
    border-radius: 4px;
    margin-right: 1em;
}

.mini-logo {
    display: none;
    width: 2ex;
}

.mini-img {
    height: 30px;
    margin-right: 1em;
}

h3, h4, h5, h6 {
    margin-bottom: 0pt;
}