
/* general page styling*/

html {
    min-height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    position: relative;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    font-family: 'Courier New', monospace;

    background: linear-gradient(
        135deg,
        #f8d7e6 0%,
        #f0b2cc 50%,
        #cd7da5 100%
    );

    overflow-x: hidden;
    overflow-y: auto;
}


/* particals */

#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Keep website content above particles */

nav,
main,
footer {
    position: relative;
    z-index: 1;
}


/* navigation*/

nav {
    text-align: center;
    padding-top: 2%;
    position: relative;
    z-index: 2;
}

#nav_bar {
    padding: 0;
    margin: 0;
}

#nav_bar .nav_button {
    display: inline-block;
    list-style: none;
    margin: 0 12px;
}

nav a {
    color: #553653;
    font-size: larger;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease, opacity 0.3s ease;
}

nav a:hover {
    color: #C987A8;
    opacity: 0.85;
}


/* main content*/

main {
    position: relative;
    z-index: 1;
    text-align: center;
    font-size: larger;
}

h1 {
    color: #553653;
    font-family: 'Courier New', monospace;
    font-size: xx-large;
}

p {
    padding-left: 15%;
    padding-right: 15%;
    text-align: center;
    font-size: large;
    line-height: 1.6;
    font-family: 'Courier New', monospace;
    color: #302532;
}


/* images */

img {
    max-width: 50%;
    width: 15%;
    height: auto;
    border-radius: 8px;
}


/* columes*/

.column {
    width: 20%;
    height: auto;
    background-color: rgba(248, 237, 242, 0.75);
    display: inline-block;
    margin: 10px;
    padding: 12px;
    box-sizing: border-box;
    border: 1px solid rgba(85, 54, 83, 0.2);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.column:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(85, 54, 83, 0.2);
}


.backgrnd {
    width: 90%;
    max-width: 600px;
    height: auto;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;

    color: #302532;
    text-align: center;

    background-color: rgba(248, 237, 242, 0.75);
    border: 1px solid rgba(85, 54, 83, 0.2);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(85, 54, 83, 0.12);
}


/* footer*/

footer {
    text-align: center;
    padding: 20px 10px;
    position: relative;
    z-index: 2;
    width: 100%;
    box-sizing: border-box;
}

.home-buttons {
    display: inline-block;
    margin: 0 8px;
    color: #553653;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.home-buttons:hover {
    transform: scale(1.2);
    opacity: 0.7;
}

.home-buttons i {
    color: #553653 !important;
}


/* particals */

.count-particles {
    position: absolute;
    top: 48px;
    left: 0;
    width: 80px;

    background: #553653;
    color: #F8EDF2;

    font-size: 0.8em;
    text-align: left;
    text-indent: 4px;
    line-height: 14px;
    padding-bottom: 2px;

    font-family: 'Courier New', monospace;
    font-weight: bold;
    border-radius: 0 0 3px 3px;
}

.js-count-particles {
    font-size: 1.1em;
}

#stats,
.count-particles {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#stats {
    border-radius: 3px 3px 0 0;
    overflow: hidden;
}


/* hide scrollbar*/

::-webkit-scrollbar {
    width: 0;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: transparent;
}


/* mobile repinsiveness */

@media screen and (max-width: 600px) {

    nav {
        padding-top: 10%;
    }

    #nav_bar .nav_button {
        margin: 5px 7px;
    }

    nav a {
        font-size: medium;
    }

    img {
        max-width: 30%;
        width: auto;
        height: auto;
    }

    .backgrnd {
        width: 90%;
        padding: 15px;
    }

    .column {
        width: 80%;
        margin: 10px auto;
        display: block;
    }

    p {
        padding-left: 6%;
        padding-right: 6%;
        font-size: medium;
    }

    h1 {
        font-size: x-large;
    }
}


/* accessability */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
