/*** Fonts ***/

@font-face {
    font-family: "IBM Plex Sans";
    src: url(../fonts/IBM-Plex-Sans.ttf);
}

/*** General ***/

html {
    /* Required to make background occupy full page. */
    min-height: 100%;

    /* Center the entire content. */
    display: flex;
    align-items: center;
    justify-content: center;

    /* Align the background to the right so the tower is visible. */
    background-color: #171717;
}

.content {
    /* Use a 12-column framework for the grid. */
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1.5rem;

    background-color: rgba(212, 212, 212, 0.1);
    backdrop-filter: blur(8px);
    padding: 1.5rem;
    margin: 1rem;
    border-radius: 0.5rem;

    border: 2px solid #737373;

    max-width: 1200px;
}

@media (max-width: 900px) {
    header {
        grid-column: span 12;
        grid-row: 1;
    }

    .user_btn {
        grid-column: span 6;
    }

    .app_btn {
        grid-column: span 6;
    }
}

@media (min-width: 900px) {
    header {
        grid-column: span 4;
        grid-row: span 2;
    }

    .user_btn {
        grid-column: span 2;
        grid-row: 2;
    }

    .app_btn {
        grid-column: span 2;
    }
}

/*** Header ***/

header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    border-radius: 0.5rem;
    padding: 1.5rem;
}

header img {
    width: 140px;
    height: 140px;
    filter: drop-shadow(0.4rem 0.4rem 0.3rem #000000);
}

header .site_title {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

header .site_title h1 {
    color: #ffffff;
    margin: 0;
    font-family: "IBM Plex Sans";
    font-size: 22px;
}

header .site_title h2 {
    color: #ffffff;
    margin: 0;
    font-family: "IBM Plex Sans";
    font-size: 20px;
    font-weight: unset;
}

/*** App Buttons ***/

.app_btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    box-shadow: 0.2rem 0.2rem 0.8rem #000000;
    border-radius: 0.5rem 0.5rem 0.5rem 0.5rem;
    background-color: #343434;
}

.app_btn h3 {
    margin: 0;
    font-family: "IBM Plex Sans";
    font-size: 16px;
    font-weight: 450;
    color: #ffffff;
    text-shadow: 0px 4px 4px #000000;
    border-radius: 0 0 0.5rem 0.5rem;
    width: calc(100% - 1rem);
    padding: 0.5rem;
}

.app_btn img {
    width: calc(100% - 1rem);
    height: 140px;
    border-radius: 0.5rem 0.5rem 0 0;
    padding: 1.5rem;
}

.app_btn:hover h3 {
    text-decoration: underline;
}

.app_btn:hover {
    background-color: #4d4d4d;
}

.app_btn:active {
    background-color: #868686;
}

.cloud_grad {
    background: linear-gradient(to right, #2A36B3, #1487CC);
}

.git_grad {
    background: linear-gradient(to right, #F12811, #F4A718);
}

.wiki_grad {
    background: linear-gradient(to right, #db36a4, #f7ff00);
}

.sheets_grad {
    background: linear-gradient(to right, #129B8E, #35E97E);
}

.docs_grad {
    background: linear-gradient(to right, #000000, #434343);
}

.media_grad {
    background: linear-gradient(to right, #9A287F, #F27023);
}

.link_grad {
    background: linear-gradient(to right, #4A00E0, #8E2DE2);
}

.pass_grad {
    background: linear-gradient(to right, #ff512f, #dd2476);
}
