*{
    margin: 0;
    padding: 0;
    background-color: transparent; 
}

/* Hide scrollbar */
html {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

html::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

body{
    min-height: 300vh; /* 300% of viewport height */
    background-color: black;
    font-family: "Almarai", "Spectral", sans-serif;
    position: relative;
    --bg-height: 75vh; /* CSS custom property for background height */
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--bg-height, 80vh);
    background-image: url('Assets/Homepage_Images/mfafy_homepage_picture_darker.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    filter: blur(5px);
    z-index: -1;
    transition: height 0.1s ease-out;
}

.homepage_picture{
    color: white;
    display: flex;
    gap: 20px; 
    flex-wrap: wrap;; 
}



/* TODO: tweak settings */



.homepage_landing{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Centers content vertically */
    min-height: 75vh;
    padding: 0.5vw; /* Responsive horizontal padding */
}

.page-title{
    font-weight: 700;
    color: white;
    font-family: "Spectral", serif;
    text-align: center;
    font-size: clamp(3rem, 5vw, 4rem); /* Responsive font: min 2rem, preferred 5vw, max 4rem */
    padding-top: 20vh; /* Changed from margin-top to padding-top */
    margin-bottom: 1vh;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    border-bottom: 4px solid white;
    padding-bottom: 1vh;
}

.page-subtitle{
    font-weight: 200;
    color: white; 
    font-family: "  Almarai", sans-serif;
    text-align: center;
    font-size: clamp(1.5rem, 2.5vw, 2rem); /* Responsive font size */
    margin-top: 1vh; 
}

.landing_buttons ul{
    list-style: none;
    display: flex;
    justify-content: center;
    margin-top: 2vh;
    gap: 2vw;
}

.landing_buttons li {
    display: flex;
}

.landing_buttons a {
    text-decoration: none;
    font-family: "Almarai", sans-serif;
    font-size: clamp(1rem, 1.5vw, 1.5rem); /* Responsive font size */
    font-weight: bold;
    border-radius: 8px;
    margin-top: 5vh;
    margin-bottom: 5vh;
    padding: 1.5vh 0;
    width: 12vw;
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    transition: transform 0.2s ease;
}

.landing_buttons a:hover {
    transform: scale(1.1);
}

.join-button {
    color: white; 
    background-color: #ff9191;
}

.learn-button{
    color: black;
    background-color: white;
    scroll-behavior: smooth;
    scroll-margin-top: 10vh; 
}

/* TODO: MAKE IT LOOK PRETTIER */

.mission_statements{
    color: white; 
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mission_statements h2{
    font-family: "Spectral", serif;
    font-weight: 800;
    font-size: clamp(4rem, 4vw, 8rem); /* Responsive font size */
    margin-top: 26vh;
}

.mission_statements p{
    font-family: "Spectral", serif;
    font-weight: 400;
    font-size: clamp(1rem, 2vw, 1.5rem); /* Responsive font size */
    text-align: justify;
    max-width: 75vw;
    line-height: 2;
    word-spacing: 0.05em; 
    margin-top: 1vh;
    margin-bottom: 1vh; 
}

.explore-title{
    font-family: "Spectral", serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: black; 
    font-size: clamp(2.5rem, 4vw, 5rem);
    margin-top: 1vh;
    margin-bottom: 2vh;
    width: 100%;
    padding: 3.5vh 0;
    background-color: #D2C6BD;
}

.bottom-description{
    color: rgb(74, 74, 74);
    margin-top: 19vh;
    margin-bottom: 5vh; 
    font-family: Arial, Helvetica, sans-serif;  
    margin-left: 1vw;
    font-size: 0.025vw;
}