section.homepage {
    display: flex;
    gap: min(4vw, 56px);
    justify-content: space-between;
}

.scheduled-meetings {
    flex: 1;
}

.scheduled-meetings h1.large-homepage-title{
    margin-top: 16px;
    font-size: 2em;
}

.scheduled-meetings-list >.list-item {
    display: flex;
    flex-direction: column;
    border-bottom: var(--border); 
}

.scheduled-meetings-list > .list-item > .row-homePage {
    display: flex;
    align-items: center;
    gap: 24px;
    -webkit-user-select: none;
    user-select: none;
    transition: padding 0.3s ease;
}

.scheduled-meetings-list > .list-item > .row-homePage:first-child {
    padding: 20px 0px;
    cursor: pointer;
}

.scheduled-meetings-list > .list-item > .row-homePage.header {
    transition: 0.4s ease;
}

.scheduled-meetings-list>.list-item>.row-homePage.header:hover {
    /* transform: scale(1.01); */
    transform: scale(0.99);
}

.row > .col:nth-child(1){
    width: 96px;
    flex-shrink: 0;
}

.row > .col:nth-child(2) { 
    flex: 1;
}

.meeting-status {
    background-color: var(--lightgrey);
    border-radius: var(--borderRadius);
    display: flex;
    gap: 6px;
    align-items: center;
    padding: 6px 0;
    font-size: var(--text-s);
    color: grey;
    width: 120px;
    justify-content: center;
    -webkit-user-select: none;
    user-select: none;
}

.row-homePage > .col:nth-child(1) {
    width: 96px;
    flex-shrink: 0;
}

.row-homePage > .col:nth-child(2) {
    flex: 1;
}

.meeting-date {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-start;
  -webkit-user-select: none;
  user-select: none;
}

.meeting-date p:first-child {
  font-size: 40px;
  color: var(--boardPrimary);
  font-weight: 400;
}

.meeting-date p:last-child {
  font-weight: 600;
}

.meeting-more-info > div {
  display: flex;
  gap: 16px;
  margin-bottom: 8px;
}

.meeting-more-info > div:not(.participants, .buttons) {
  display: grid;
  grid-template-columns: 100px 1fr;
}

.meeting-more-info > div.buttons {
  gap: 8px;
}

.meeting-more-info > div.buttons > button {
    flex-shrink: 0;
}

.meeting-more-info > div > p:first-child {
    font-weight: 600;
}

.meeting-more-info > div.participants {
    flex-direction: column;
    margin: 32px 0px;
}

.scheduled-meetings-list > .list-item > .more-info {
    margin-bottom: 32px;
    transition: opacity .5s ease;
}

.participants > div {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.participant {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.participant > img {
    border-radius: 50%;
    border: var(--border);
    width: 40px;
}

.participant > p {
    margin-top: 12px;
}

.user-info {
    width: min(20vw, 280px);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    position: sticky;
    top: 104px;
    -webkit-user-select: none;
    user-select: none;
}

.proposal-submission-deadline-countdown {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 6px;
    font-size: var(--text-s);
    color: var(--darkgrey);
    align-items: center;
}

.proposal-submission-deadline-text {
    margin-top: 4px;
    font-size: 0.8rem;
    color: var(--darkgrey);
    display: none;
}

.proposal-submission-deadline-text.visible {
  display: block;
}

.proposal-submission-deadline-text span{
    color: var(--green);
}

.proposal-submission-deadline-text span.warning{
    color: var(--yellow)!important;
}

.proposal-submission-deadline-countdown.green{
    color: var(--green);
}

.proposal-submission-deadline-countdown.warning{
    color: var(--yellow);
}

/*MY TASKS*/
.my-tasks {
    width: -moz-fit-content;
    width: fit-content;
    padding: 8px 24px 11px 24px;
    border-radius: var(--borderRadius);
    background-color: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color 0.2s ease, border 0.2s ease;
}

.my-tasks:hover {
    background-color: var(--white);
    border: var(--border);
}

.my-tasks:active {
    background-color: var(--background);
    border: var(--border);
}

.my-tasks > .numbering {
    display: flex;
    justify-content: center;
    align-items: center;
}

.my-tasks > .numbering > p {
    font-size: 64px;
    font-weight: 400;
}

.my-tasks .icon-component {
    width: 50px;
    height: 50px;
    margin-top: -5px;
}

.my-tasks .icon-component .stroke{
    stroke-width: 1.2px;
}

.my-tasks > .title {
    justify-content: center;
}

.my-tasks > .title > p {
    font-weight: 600;
}


/** Chart **/
.chart-container {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    position: relative;
}

.chart-container>img {
    border-radius: 50%;
    position: absolute;
    width: min(16vw, 220px);
    top: 50%;
    transform: translateY(-50%);
    /* z-index: -1; */
    box-shadow: 0px 11px 19px var(--shadow);
    height: min(16vw, 220px);
    object-fit: cover;
}

.circle-chart__circle {
    stroke: var(--boardPrimary);
    stroke-width: 0.8;
    stroke-linecap: round;
    fill: none;
    transform: rotate(-90deg);
    transform-origin: center;
    animation: circle-chart-fill ease-in-out 1s reverse;
}

.circle-chart__circle.back {
    stroke: var(--lightgrey);
    stroke-width: 0.1;
    stroke-linecap: round;
    fill: none;
    transform: rotate(-90deg);
    transform-origin: center;
    animation: none;
}

.circle-chart__background {
    stroke: var(--lightgrey);
    stroke-width: 0.1;
    fill: none;
}

.chart-label {
    background-color: var(--boardPrimary);
    border-radius: 32px;
    display: flex;
    flex-direction: row;
    position: absolute;
    bottom: 11px;
    padding: 6px 16px 6px 16px;
    z-index: 2;
    font-weight: 600;
    color: var(--white);
    align-items: center;
    box-shadow: 0px 11px 19px var(--shadow);
    gap: 4px;
}

/* .chart-label img {
    margin-top: -1px;
    width: 12px;
    padding: 0;
} */

.meeting-status > span {
    line-height: 0;
}

@keyframes circle-chart-fill {
    to {
        stroke-dasharray: 0 100;
    }
}

@keyframes circle-chart-appear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

svg.circle-chart {
    transform: rotate(225deg);
    z-index: -1;
}

/*SUBSTITUTE TASKS*/
.my-tasks .substitute-tasks {
    border: var(--border);
    padding: 8px 16px;
    border-radius: var(--borderRadius);
    margin-top: 16px;
}

.my-tasks .substitute-tasks span{
    font-weight: 600;
}

/* user xp disabled */
.chart-container.xp-disabled {
    width: 95%;
}

.chart-container.xp-disabled .chart-label {
    display: none;
}

.chart-container.xp-disabled .circle-chart .user-xp {
    display: none;
}

.chart-container.xp-disabled .circle-chart .back {
    stroke-dasharray: 100;
}

@media only screen and (max-width: 1000px) {
    .homepage>.cont {
        flex-direction: column-reverse;
        align-items: center;
    }
    .scheduled-meetings {
        width: 100%;
    }

    .row-homePage.more-info>.col:nth-child(1),
    .row-homePage.more-info>.col:nth-child(3) {
        display: none;
    }
    .scheduled-meetings-list>.list-item>.more-info {
        border-top: var(--border);
        padding-top: 32px;
    }
    .meeting-more-info>div.buttons>button {
        flex-grow: 1;
        justify-content: center;
    }
}

@media only screen and (max-width: 700px) { 
    .homepage .titles-bar .buttons {
        width: 100%;
        flex-wrap: wrap;
        gap: 4px;
    }
    
    .homepage .titles-bar .buttons button,
    .homepage .titles-bar .buttons a.button { 
        flex: 1;
        justify-content: center;
        min-width: 190px;
    }
}

@media only screen and (max-width: 650px) {
    .scheduled-meetings-list > .list-item > .row-homePage {
        gap: 12px;
        align-items: flex-start;
    }

    .meeting-status, .proposal-submission-deadline-countdown {
        display: none;
    }

    .proposal-submission-deadline-text {
        display: block !important;
        margin-top: 8px;
    }

    .homepage .list-item #icn-arrow {
        margin-top: 8px;
    }

    .meeting-date {
        margin-top: -8px;
    }
}

@media only screen and (max-width: 480px) {
    .meeting-more-info>div.buttons {
        flex-direction: column;
    }
    .meeting-date p:first-child {
        font-size: 2rem;
    }

    .meeting-date p:last-child {
        line-height: 14px;
        font-size: 0.8rem;
    }

    .meeting-date {
        gap: 4px;
    }

    .row-homePage>.col:nth-child(1) {
        width: 64px;
    }

    .row-homePage > .col:nth-child(2) { 
        margin-top: -3px;
    }    

    .scheduled-meetings-list>.list-item>.row-homePage {
        gap: 16px;
    }
    .scheduled-meetings-list>.list-item>.more-info {
        padding-top: 24px;
    }
    
    .scheduled-meetings-list > .list-item > .row-homePage.header { 
        align-items: flex-start;
    }

    .participants > div {
        gap: 8px;
    }
}