html,
body {
    margin: 0;
    padding: 0;
}

main {
    height: 100vh;
    width: 100vw;
    overflow-x: auto;
}

#background {
    width: 100%;
    position: sticky;
    top: 0;
    background-image: url(../img/bg/03.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
    height: auto;
}

.pageContent {
    padding: 5% !important;
    padding-bottom: 0 !important;
}

.pageContent.oss-sidebar-is-mobile {
    margin-top: 50px;
}

.topRow {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-content: space-between;
}

.topRow .welcomeText {
    font-family: "Roboto-OSS";
    color: var(--ec-ol-white);
    font-size: 80px;
    user-select: none;
    margin-block-start: 0;
    margin-block-end: 1.5em;
    padding-right: 2%;
}

.topRow .messageBox {
    background-color: var(--ec-ol-white);
    border-radius: 10px;
    min-width: 20%;
    max-width: 30%;
    max-height: 10%;
    height: 10%;
    border: 1px solid var(--ec-ol-middlegrey);
}

.topRow .messageBox .closeBtn {
    position: relative;
    left: 94%;
    top: 6px;
    width: 20px;
    height: 20px;
    background-image: url('../sidebar/img/icons/close.svg');
}

.topRow .messageBox h1 {
    font-family: 'Roboto-OSS';
    font-size: larger;
    color: var(--ec-ol-middlegrey);
    padding-left: 2%;
}

.topRow .messageBox * {
    user-select: none;
}

.topRow .messageBox p {
    font-family: "Roboto-OSS";
    font-size: medium;
    color: var(--ec-ol-middlegrey);
    padding-left: 2%;
    padding-right: 2%;
}

.topRow .messageBox a {
    text-decoration: none;
    color: var(--ec-ol-orange)
}

.topRow .messageBox a::after {
    display: inline-block;
    content: ' ';
    background-image: url('../sidebar/img/icons/ext-link.svg');
    background-size: 15px 15px;
    height: 15px;
    width: 15px;
    margin-left: 3px;
}

.iconBackground {
    background-color: rgba(0, 0, 0, 0.73);
    border-radius: 25px;
    padding-top: 60px;
    padding-bottom: 60px;
}

.bottomGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(max(130px, 100%/5), 1fr));
    grid-gap: 20px;
    row-gap: 20px;
    grid-auto-rows: minmax(100px, auto);
    margin-left: 20px;
    margin-right: 20px;
    justify-content: space-around;
}


.bottomGrid div {
    justify-self: center;
    cursor: pointer;
    min-width: -moz-available;
}

.bottomGrid .appIcon {
    display: block;
    background-color: var(--ec-ol-greyblack);
    transition: background 0.5s;
    border-radius: 35px;
    justify-self: center;
    /*min-width: 125px;*/
    min-width: 150px !important;
    max-width: 150px !important;
    margin-left: auto;
    margin-right: auto;
    min-height: 150px !important;
    max-height: 150px !important;
    display: flex;
    justify-content: center;
}

.bottomGrid div:hover .appIcon {
    background: linear-gradient(to right, var(--ec-ol-gradient-start), var(--ec-ol-gradient-end))
}

.bottomGrid div p {
    font-family: 'Roboto-OSS';
    font-size: 25px;
    text-align: center;
    color: var(--ec-ol-white);
    user-select: none;
    text-decoration: none;
}

.bottomGrid a {
    text-decoration: none;
}

.bottomGrid .appIcon.ossGradient {
    background-image: linear-gradient(60deg, var(--ec-ol-gradient-start) 10%, var(--ec-ol-gradient-end) 50%)
}

.bottomGrid .appIcon.ossGradient svg {
    fill: var(--ec-ol-white);
}

.bottomGrid .appIcon svg {
    fill: var(--ec-ol-white);
    width: 70%;
    min-width: 80px;
    transition: fill 0.75s;
    /*
    padding-left: 15%;
    padding-top: 15%;
    padding-bottom: 15%;
    padding-right: 15px;
    */
    padding: 20%;
}

.bottomGrid div:hover .appIcon svg {
    fill: var(--ec-ol-white);
}

@media screen and (max-width: 900px) {
    .topRow .welcomeText {
        font-size: 60px;
    }
}

@media screen and (max-width: 550px) {
    .topRow .messageBox {
        position: fixed;
        bottom: 10px;
        left: 10px;
        width: calc(100% - 40px);
        max-width: calc(100% - 40px);
        min-width: calc(100% - 40px);
        height: fit-content;
        max-height: fit-content;
        height: -moz-fit-content;
        max-height: -moz-fit-content;
        border-radius: 30px;
        padding: 10px;
    }
    main {
        height: 100%;
        width: 100%;
    }
    .pageContent {
        margin-left: 0 !important;
    }
    .topRow .welcomeText {
        font-size: 40px;
    }
    /*
    .bottomGrid .appIcon {
        width: 70%;
        margin-left: 15%;
        margin-right: 15%;
    }
    */
}

@supports (-webkit-touch-callout: none) {
    /* CSS specific to iOS devices */
    .topRow .messageBox {
        position: fixed;
        bottom: 10px;
        left: 10px;
        width: calc(100% - 20px);
        max-width: calc(100% - 20px);
        min-width: calc(100% - 20px);
        height: fit-content;
        max-height: fit-content;
        height: -moz-fit-content;
        max-height: -moz-fit-content;
        border-radius: 30px;
    }
    .pageContent {
        margin-left: 0 !important;
    }
}