
/* #region GENERAL */

* {
    margin: 0; padding: 0;
    box-sizing: border-box;
    font-family: var(--main-font);
    color: var(--main-text-color);
    -webkit-tap-highlight-color: transparent;
    font-size: 2rem;
}


::selection {
    background: var(--main-text-color);
    color: var(--reverse-text-color);
}


html, body {
    width: 100%;
    min-height: 100vh; min-height: 100dvh;
    background-color: var(--main-background-color);
    display: flex;
    flex-direction: column;
}

/* #endregion */




/* #region DEFAULT TEXT */

h1, h2, h3, h4, h5, h6 {
    color: var(--main-theme-color);
    font-weight: normal;
    text-align: center;
}

p {
    font-size: 0.7rem;
    line-height: 1em;
}

h1 {
    font-size: 1.7rem;
}

h2 {
    font-size: 1.2rem;
}

h3 {
    font-size: 0.9rem;
}

h4 {
    font-size: 0.8rem;
    color: var(--main-text-color);
    text-decoration: underline;
}

h5 {
    font-size: 0.9rem;
    color: var(--sec-theme-color);
    text-decoration: underline;
}


/* #endregion */






/* #region GENERAL ELEMENTS */

.defaultHr {
    min-width: 300px;
    width: 80%;
    margin: 1rem 0;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    height: 2px;
    background-color: var(--separator-color);
    box-shadow: var(--separator-glow);
    border: none;
}

.defaultSub {
    display: block;
    color: var(--main-text-color);
    font-size: 0.65rem;
    text-align: center;
}


.linkBtn {
    display: flex;
    justify-content: center;
    width: 50%;
    min-width: max-content;
    text-decoration: none;
    padding: 4px 2px;
    background-color: var(--main-background-color-dark);
    border: 2px solid var(--main-border-dark);
    border-radius: 5px;
    font-size: 0.7rem;
    margin: 0 auto;
    transition: all 0.2s ease-in-out;
}

.linkBtn:hover {
    border-color: var(--separator-color);
    box-shadow: var(--separator-glow);
}



.grayP {
    color: var(--main-text-color-dark);
    font-size: 0.6rem;
}


/* #endregion */






/* #region BACKGROUND */

.stripedBg {
    background-color: #222;
    background-image: linear-gradient( -45deg, #1a1a1a 25%, #111 25%, #111 50%, #1a1a1a 50%, #1a1a1a 75%, #111 75%, #111 );
    background-size: 15px 15px;
}

.pageDiv {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 20px;
    overflow-x: hidden;
}

/* #endregion */









/* #region SECTIONS */

.sectionsContainer {
    display: flex;
    flex-direction: column;
    gap: 150px;
    margin: 75px 0;
}

.floatingSection {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    width: 75%;
    height: fit-content;
    background-color: var(--main-background-color-dark);
    border: 2px solid var(--main-border-dark);
    border-radius: 8px;
    transition: all 0.2s ease-in-out;
}

.floatingSection:hover {
    border-color: var(--separator-color);
    box-shadow: var(--separator-glow);
}

.floatingContainer {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 90%;
    margin: 0 auto;
    align-items: center;
}

.floatingContainer * {
    text-align: left !important;
}

.rowSection {
    flex-direction: row;
    gap: 12px;
}

.sectionSub {
    display: block;
    color: var(--main-text-color);
    font-size: 0.6rem;
    text-align: center;
    margin: 0 auto;
}

.sectionIcon {
    height: 2rem;
    width: auto;
}



@media (max-width: 725px) {
    .floatingSection {
        width: 100%;
    }
    .floatingContainer {
        width: 100%;
    }
}



/* #endregion */








/* #region GRID */


.gridDiv {
    justify-content: center;
    align-items: center;
    display: grid;
    grid-template-columns: repeat(auto-fit, 9rem);
    gap: 20px;
    padding: 20px;
    height: max-content;
}

.gridBox {
    display: flex;
    flex-direction: column;
    gap: 3px;
    background-color: var(--main-background-color-dark);
    width: 100%;
    height: 100%;
    padding: 10px 15px 15px 15px;
    border: 2px solid var(--main-border-dark);
    border-radius: 5px;
    text-align: center;
    justify-content: center;
    transition: all 0.2s ease-in-out;
}

.gridBox:hover {
    border-color: var(--separator-color);
    box-shadow: var(--separator-glow);
}


/* #endregion */








/* #region LANDING */

#landingDiv {
    display: flex;
    width: 100%;
    min-height: calc(100vh - 100px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


#landingTitle {
    --animation-offset: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: -17px;
}

.titleBracket {
    color: var(--main-theme-color);
    font-size: 2rem;
    z-index: 2;
}

.titleBracket:first-child {
    margin-right: calc(var(--animation-offset) / -1 - 4px);
}

.titleBracket:last-child {
    margin-left: calc(var(--animation-offset) / -1 + 0px);
}


#landingInnerTitle {
    display: flex;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    text-wrap: nowrap;
    overflow-x: hidden;
    font-size: 1.7rem !important;
    animation: landingTitleOpen 12s cubic-bezier(0.15, 1, 0, 1) both;
    z-index: 1;
}

@keyframes landingTitleOpen {
    0% {
        opacity: 0.5;
        width: 0;
        padding: 4px 0 0;
    }
    100% {
        opacity: 1;
        width: 100%;
        padding: 4px 25px 0; 
    }
}

/* #endregion */





