/* CSS file for Hexadecimal Nibble website */
/* File is mobile first, desktop second. Specific styling for desktop is at the end of the file. */

/* || Base page CSS, applied to all elements of the same type || */
:root {
    /* Define CSS variables, used for consistent background colors.
    /* These may be adjusted in JavaScript later for easy switching between light and dark mode */
    /* Set standard background color, (text) color, and font family */
    --accent-color: #5cc79a;
    --background-color: #0b1511;
    --primary-color: #b3ffdf;
    --secondary-color: #175e3f;
    --text-color: #e8fff3;
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: "Inter", system-ui, sans-serif;
}

body {
    /* Add fade in animation */
    animation: fadeInAnimation ease 1.5s;
    /* Remove margin from body (or else page doesn't fill the whole screen) */
    margin: 0;
}

img {
    /* Make sure images can't be bigger than the page, override if needed */
    max-width: 100%;
}

.hidden {
    /* Hide an element */
    visibility: hidden !important;
}

/* || Skip to main content link || */
.skip-link {
    /* Styling for hidden skip to main content link for accessibility */
    background-color: var(--background-color);
    color: var(--accent-color);
    height: 0px;
    left: 20px;
    overflow: hidden;
    position: fixed;
    right: auto;
    top: 85px;
    width: 0px;
    z-index: 99999;
}

.skip-link:focus {
    /* Make the hidden skip to main content link visible when focused */
    height: auto;
    width: auto;
}

/* || Navbar || */
nav {
    align-items: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    background-color: rgba(11, 21, 17, 0.4);
    border-radius: 33px;
    display: flex;
    flex-direction: column;
    font-size: 1.2rem;
    height: 64px;
    list-style-type: none;
    margin: 10px;
    overflow: hidden;
    position: fixed;
    top: 0;
    transition: all 0.5s ease-in-out;
    width: calc(100% - 20px);
    z-index: 10;
}

.navbar-menu {
    /* Styling for the list of pages on the navbar */
    display: flex;
    flex-direction: column;
    height: 0;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    visibility: hidden;
}

.navbar-menu a:link, .navbar-menu a:visited {
    color: white;
    text-decoration: none;
}
nav img {
    height: 45px;
}
.navbar-logo {
    line-height: 0;
}
.navbar-spacer {
    width: 60px;
}
.navbar-main {
    align-items: center;
    display: flex;
    height: 64px;
    justify-content: space-between;
    line-height: 0;
    width: calc(100% + 20px);
}
.navbar-menu-button {
    padding-right: 30px;
}
.navbar-menu-button img {
    width: 30px;
}
.navbar-toggle-theme {
    border-radius: 999px;
    height: 64px;
    margin-left: 116px;
    width: 64px;
}

/* || Header  || */
.header {
    align-items: center;
    background: linear-gradient(
        210deg,
        #175e3f,
        #1d6747,
        #24704e,
        #2a7956,
        #30835e,
        #368c66,
        #3d966f,
        #439f77,
        #49a980,
        #4fb388,
        #56bd91,
        #5cc79a
    );
    display: flex;
    flex-direction: column;
    height: calc(100vh + 50px);
}

.header-content {
    align-items: center;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 84px);
    justify-content: center;
    padding-top: 84px;
    text-align: center;
    width: 80%;
}

.header h1, h2 {
    margin: 0;
    text-align: center;
}



.home-section-content {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 0.5rem;
    margin-top: 0px;
    text-align: center;
    width: 100%;
}
.member-section-heading {
    margin-top: 50px;
}
.home-section-text {
    margin-bottom: calc(1.5rem - 1rem);
    width: 80%;
}
.home-section-text p {
    margin-top: calc(1rem - 1.5rem);
}
.horizontal-blur {
    backdrop-filter: blur(10px);
    height: 100px;
    mask-image: linear-gradient(transparent, black, black, transparent);
    position: relative;
    top: -50px;
    width: 100%;
}
.horizontal-blur-container {
    height: 0;
    overflow: visible;
    width: 100%;
}
.about-person-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}
.about-person {
    width: 100%;
    max-width: 300px;   
    padding: 10px;
}
.about-person p {
    padding-top: 10px;
}
button {
    background-color: var(--primary-color);
    border: 0;
    border-radius: 50px;
    cursor: pointer;
    font-family: "Inter";
    font-size: large;
    height: 40px;
    margin-bottom: 1rem;
    width: 150px;
}
footer {
    display: flex;
    justify-content: center;
}
/* Keyframes */
@keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
