/* welcome section */

.welcome-info {
    text-align: center;
    margin: 0 auto;
}

.welcome-info h2 {
    color: var(--light-grey);
}

.mythdeg-welcome {
    font-family: "Daniel Regular";
    font-size: 25pt;
    margin-top: 20px;
    margin-bottom: 10px;
}

.mythdeg-hello {
    font-family: 'Saira', sans-serif;
    font-weight: 300;
    font-size: 35pt;
    text-transform: uppercase;
}

/* news section */

.mythd-message-list-container {
    display: flex;
    flex-direction: column;
    row-gap: 30px;
    max-width: 800px;
    padding-top: 50px;
}

.mythd-message-container {
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: center;
    column-gap: 10px;
}

.mythd-message-image-container {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.mythd-message-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mythd-message-text-container {
    font-size: 15px;
    font-weight: 100;
    flex-grow: 1;
}

.mythd-message-text-headline-container {
    margin-bottom: 10px;
    line-height: 15px;
}

.mythd-message-origin {
    font-weight: 400;
}

.mythd-message-time {
    font-size: 13px;
    opacity: 0.7;
    margin-left: 20px;
}

.mythd-message-link {
    font-weight: 400;
}

#mythd-show-all-messages-button {
    font-size: 13px;
    font-weight: 200px;
    margin-left: 50px;
}

.hide-mythd-message {
    display: none;
}

/* app-board section*/

.toggle-edit-mode-button {
    margin-left: auto;
    margin-right: 25px;
    padding: 20px 0px;
    border: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center; 
    background-color: unset;
}

.toggle-edit-mode-button:focus {
    outline: none;
}

.toggle-edit-mode-button > i {
    font-size: 17pt;
    color: var(--black60);
}

.toggle-edit-mode-button > span {
    font-size: 12pt;
    padding-left: 10px;
    color: var(--black60);
}

.app-tile {
    padding: 4px;
    height: 280px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
}

#mythdeg-board {
    padding: 0 100px;
}

.app-tile-text .app-tile-name {
    overflow: hidden;
    text-align: center;
    font-size: 24px;
    text-transform: uppercase;
    font-weight: 300;
    color: var(--black90);
}

.app-tile-ects-text {
    text-align: center;
    font-size: 15px;
    color: #9C9C9C;
}

.app-tile-ects-text b {
    color: #595656;
}

.app-tile-content-container {
    padding: 10px 40px 10px 26px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 100%;
}

.app-tile > a:hover {
    text-decoration: none
}

.div-bubbles {
    margin: 0 auto;
}

.app-tile-container {
    padding: 10px;
    margin: 10px 0px;
}

#all-apps-collapse {
    width: 100%;
    padding-top: 50px;
}

#all-apps-collapse .app-tile-container {
    background-color: #f1f1f1;
}

.mobile-editing-buttons-container {
    display: none;
}

.mobile-drag-icon {
    font-size: 30px;
}

.app-mobile-move-button {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: red;
    width: 30px;
    min-width: 30px;
    height: 30px;
}

#all-apps-collapse .app-mobile-move-button {
    background-color: green;
}

.app-mobile-move-button > i {
    font-size: 16pt;
    color: white;
}

.tile-edit-mode .app-tile-container .app-tile a {
    pointer-events: none;
}

.tile-edit-mode .regular-text {
    display: none;
}

#mythdeg-board:not(.tile-edit-mode) .editmode-text {
    display: none;
}

.app-board-title {
    text-align: center;
    font-family: 'Saira', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    padding: 20px 0;
    font-weight: 300;
    font-size: 41px;
    margin-top: 100px;
}

.app-board-title:after {
    background: black;
    height: 2px;
    flex: 1;
    content: '';
    margin-left: 50px;
}

.app-board-title:before {
    background: black;
    flex: 1;
    content: '';
}

.app-tile-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.app-tile-image-container {
    width: 80px;
    min-width: 80px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.app-tile-image-container > img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.app-tile > a {
    flex-direction: row;
    height: 100%;
    display: flex;
    border: 1px solid var(--black20);
    border-radius: 2px;
    flex-grow: 1;
}

@media (max-width: 1200px) {
    #mythdeg-board {
        padding: 0 10px;
    }

    .app-tile {
        height: 200px;
    }
}

@media (max-width: 992px) {
    .app-board-title:after {
        display: none;
    }

    .app-board-title:before {
        display: none;
    }
}

@media (max-width: 768px) {
    .mythdeg-welcome {
        font-size: 23px !important;
        margin-top: 15px;
    }

    .app-board-title {
        font-size: 35px;
        margin-top: 50px;
        padding: 10px 0;
    }

    .toggle-edit-mode-button {
        margin-right: 0px;
    }

    .app-tile-container {
        margin: 0px;
        padding: 0px;
    }

    .app-tile {
        height: 105px;
        padding-left: 0px;
        padding-right: 0px;
    }

    .app-tile-content-container {
        padding: 10px 25px 10px 15px;
    }

    .tile-edit-mode .app-tile {
        column-gap: 10px;
    }

    .app-tile-text .app-tile-name {
        font-size: 22px;
        word-break: break-word;
        text-align: left;
    }

    .tile-edit-mode .app-tile-text .app-tile-name {
        font-size: 17px;
        word-break: break-all;
    }

    .app-tile-ects-text {
        font-size: 12px;
        text-align: left;
    }

    .tile-edit-mode .mobile-editing-buttons-container {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-around;
        min-width: 100px;
        width: 100px;
    }

    .tile-edit-mode .app-tile-ects-text {
        display: none;
    }

    .app-tile-image-container {
        width: 50px;
        min-width: 50px;
    }

    .tile-edit-mode .app-tile-image-container {
        display: none;
    }

    #favourite-apps .app-tile .fa-plus {
        display: none;
    }

    #all-apps .app-tile .fa-minus {
        display: none;
    }
}