/* General Styles */
html, body {
    min-height: 100vh;  /* Allow the body to grow based on content */
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    font-family: 'Roboto', sans-serif;
    background-image: url("assets/images/palmparris1.png");
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    color: #333;
    line-height: 1.6;
    text-align: center;
    overflow-x: hidden;  /* Prevent any horizontal scrolling */
}

main {
    flex-grow: 1;  /* Allow main content to take up remaining space */
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 10px;
}

/* Fonts */
.skranji-regular {
  font-family: "Skranji", system-ui;
  font-weight: 400;
  font-style: normal;
}

.skranji-bold {
  font-family: "Skranji", system-ui;
  font-weight: 700;
  font-style: normal;
}

/* Hero Section */
.hero {
    background-color: transparent;
    padding: 60px 20px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 40px;
    color: white; /* Base text color */
    text-align: center;
    font-family: "Skranji", sans-serif;
    text-shadow: 0 .15ch 15px var(--shadow), 0 -2px 0 var(--highlight);
    --hue: 55; /* change me */
    --bg: oklch(35% .3 var(--hue));
    --text: oklch(85% .1 var(--hue));
    --shadow: oklch(25% .2 var(--hue));
    --highlight: oklch(98% .05 var(--hue));
}

span {
    font-family:"Skranji", sans-serif;
    letter-spacing: 0;
    padding: .25em 0 .325em;
    display: block;
    margin: 0 auto;
    font-size: 150px;
    text-shadow: 0 0 80px rgba(255,255,255,.5);

    /* Clip Background Image */
    background: url("https://i.ibb.co/RDTnNrT/animated-text-fill.png") repeat-y;
    -webkit-background-clip: text;
    background-clip: text;

    /* Animate Background Image */
    -webkit-text-fill-color: transparent;
    -webkit-animation: aitf 80s linear infinite;
    -webkit-transform: translate3d(0,0,0);
    -webkit-backface-visibility: hidden;
}

/* Animate Background Image */
@-webkit-keyframes aitf {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* Social Media Icons */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.social-icons a {
    font-size: 24px;
    color: #333;
    text-decoration: none;
}

.social-icons a:hover {
    color: #ffa500;
}

/* Cards Styles */
.cards-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    justify-items: center;
    margin-bottom: 40px;
    background-color: transparent;
}

.card {
    background-color: transparent !important;
    border: transparent !important;
    border-radius: 10px;
    padding: 20px;
    width: 350px;
    height: 200px;
    text-align: center;
    display: flex;
    flex-direction: column;
}

/* Card Image */
.card a {
    display: block;
    text-decoration: none;
}

.card img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    margin-bottom: 5px;
    transition: transform 0.3s ease;
}

.card a:hover img {
    transform: scale(1.1);
}

/* Card Description and Links */
.card a:last-child {
    margin-top: 10px;
    color: #fff;
    font-weight: bold;
    text-shadow: #333 0 0 4px;
}

.card a:last-child:hover {
    text-decoration: underline;
    color: #ffa500;
}

/* Footer */
footer {
    text-align: center;
    font-family: 'Poppins', sans-serif;
    padding: 20px;
    background-color: transparent;
    color: #fff;
    width: 100%;
    margin-top: auto; /* Push footer to the bottom */
}

/* Responsive Design */
@media (max-width: 768px) {
    .card {
        width: 100%;
    }
    .body {
        height: auto;
        width: auto;
    }
    .hero h1 {
        font-size: 25px;
    }
    span {
        font-size: 80px;
    }
}

@media (max-width: 1024px) {
    .body {
        height: auto;
        width: auto;
    }
    .hero h1 {
        font-size: 25px;
    }
}