/*TO DO: FIX BUTTON TEXT CENTERING*/

html, body {
  overflow-x: hidden;
}

body {
  width: 1920px;
  height: 4000px;
  margin: 0;
  padding: 0;
  background-color: black;
}

.side-buttons-container {
  position: relative;
}

.side-button {
  position: absolute;
  width: 930px;
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: "Spectral", serif;
  font-weight: bold;
  font-size: 64px;
  overflow: hidden;
}

.side-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #D2C6BD;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
  transition: filter 0.6s ease;
}

.side-button:hover::before {
  filter: blur(3px);
}

.left-button-1 {
  left: 26px;
  top: 0;
}

.left-button-1::before {
  background-image: url('Assets/Homepage_Images/find-events-picture.jpg');
}

.left-button-2 {
  left: 26px;
  top: 457px; /* 450px + 7px gap */
}

.left-button-2::before {
  background-image: url('Assets/Homepage_Images/about-us-picture.jpg');
}

.right-button-1 {
  right: 26px;
  top: 0;
}

.right-button-1::before {
  background-image: url('Assets/Homepage_Images/cprpic1-2.jpg');
}

.right-button-2 {
  right: 26px;
  top: 457px; /* 450px + 7px gap */
}

.right-button-2::before {
  background-image: url('Assets/Homepage_Images/join-us-picture.png');
}

.landing_picture {
  width: 1920px;
  height: 1080px;
  filter: blur(5px);
  object-fit: cover;
  overflow: hidden;
  clip-path: inset(0 0 20% 0);
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}



a {
  text-decoration: none;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 66px;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  padding: 0 20px;
  box-sizing: border-box;
  z-index: 10;
}

/*Listen, mfafy_logo is the name of a DIV but mfafy-logo is the CLASS */
.mfafy-logo{
  margin-right: 6px;
}

.logo-text{
  position: absolute;
  color: white;
  letter-spacing: 2px;
  font-size: 40px;
  font-family: "Spectral", serif; 
 margin-left: 5px;
 opacity: 1;
}


.nav_links{
  text-decoration: none; 
  font-family: "Almarai", sans-serif;
  size: clamp(12px, 16px, 20px);
  align-items: center;
  display: flex;
  gap: 60px;
}

.nav_links a {
  color: white;
}

.nav_links a:visited {
  color: white;
}

.nav_links a:hover {
  color: white;
}

.nav_links a:active {
  color: white;
}

.about_us_link{
  margin-left: 472.5px;
}

.loginsignup_section{
  display: flex; 
  text-decoration: none;
  font-family: "Almarai", sans-serif;
  font-size: 20px;
  align-items: center;
  gap:20px;
}

.signup_button{
  margin-left: 220px;
  font-weight: bold; 
}

.login_button::before {
  content: "";
  position: absolute;
  width: 1px;
  height: 30px;
  background-color: white;
  margin-left: -10px;
  margin-top: -5px;
}

.page-title {
    font-family: "Spectral", serif;
    font-weight: 800;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-size: 64px;
    position: absolute;
    top: 150px;
    left: 0;
    right: 0;
    z-index: 5;
}

.page-title::after {
    content: '';
    width: 35%;
    height: 2px;
    background-color: white;
    margin-top: 20px;
}

.page-subtitle {
    font-family: "Almarai", sans-serif;
    color: white;
    font-weight: 300;
    font-size: 32px;
    text-align: center;
    position: absolute;
    top: 280px;
    left: 0;
    right: 0;
    z-index: 5;
}

.hero-buttons {
    position: absolute;
    top: 483px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 96px;
    z-index: 5;
}

.hero-button {
    width: 364px;
    height: 58px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Almarai", sans-serif;
    font-size: 32px;
    font-weight: bold;
    color: white;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.hero-button:hover {
    opacity: 0.9;
}

.join-button {
    background-color: #E07C7C;
}

.learn-button {
    background-color: #D2C6BD;
}

.mission-title {
    font-family: "Spectral", serif;
    color: #000000;
    font-size: 70px;
    text-align: center;
    margin-top: -210px;
    background-color: #D2C6BD;
    width: 1920px;
    padding: 50px 0px 30px 0px;
    
}

.mission-text {
  color: white;
  font-family: "Spectral", serif;
  font-size: 26px;
  display: flex; 
  margin-top: -150px;
  margin-bottom: 30px;
  padding-left: 350px;
  text-align: justify;
  padding-right: 350px;
  line-height: 2;
  opacity: 0;
  transition: opacity 0.1s ease-out;
}

.carousel {
    margin: 2em auto;
    width: 95%;
    height: 37.5em;
    display: flex;
    overflow-x: hidden;   
    overflow-y: hidden;   
    scroll-behavior: smooth;
    align-items: center; 
}



@keyframes spin{
    from {transform: translateX(0);}
    to {transform: translateX(-100%);}
}

.carousel::-webkit-scrollbar{
    display: none;
}

.group{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1em;
    animation: spin 100s linear infinite;
    padding-right: 1em;
}

.card {  
    aspect-ratio: 3/4;
    width: 10em;            
    padding: 0em;
    font-size: 2rem;
    border-radius: 0.8em;
    text-align: center;
    align-content: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: 1s ease;
}

.card img {
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

.card:hover{
  width: 25em;
  border-radius: 0.8em;
  transition: 1s ease;
}

.explore-title {
    font-family: "Spectral", serif;
    color: white;
    font-size: 70px;
    text-align: center;
    margin-top: -50px;
    width: 1920px;
    padding: 30px 0px 30px 0px;
    
}
