body {
    font-family: Arial, sans-serif;
    background-color: #C7BEFF;
    color: #333;
    text-align: center;
}

h1 {
    font-family: 'New Rocker', cursive; /* New Rocker font for heading */
    color: #772345;
    font-size: 60px;
    margin-bottom: 20px; /* Adds space below the header */
}

h2 {
    color: #772345;
    font-family: Arial, sans-serif;
    font-size: 30px; /* Add size for better prominence */
    margin-top: 40px;
}

ul.projects {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 30px; /* add space between cards */
    flex-wrap: wrap;
}

.app-button {
    display: block;
    width: 300px;
    height: 300px;
    background-size: contain; /* Scale the image to fit within the button */
    background-position: center; /* Center the image within the button */
    background-repeat: no-repeat;
    border-radius: 15px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s ease-in-out;
}

.app-button:hover {
    transform: scale(1.05); /* Slight scaling effect on hover */
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.3); /* Enhanced shadow on hover */
}

.button-text {
    position: absolute;
    z-index: 2;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    color: white;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    background-color: rgba(119, 35, 69, 0.7); /* Semi-transparent black background */
    border-radius: 10px;
}


header {
    display: flex;
    flex-direction: column; /* Stack the content vertically */
    justify-content: center; /* Center the content horizontally */
    align-items: center; /* Center the content vertically */
    padding: 20px;
    background-color: #DFDCFD; /* Add background to header for contrast */
    transition: padding 0.3s ease;
}

nav {
    margin-top: 20px; /* Space between header and nav buttons */
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex; /* Align the buttons horizontally */
    justify-content: center; /* Center buttons horizontally */
    gap: 20px; /* Space between buttons */
}

nav ul li {
    margin: 0;
    flex-grow: 1; /* Allow the <li> to grow and fill available space */
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 22px;
    font-weight: bold;
    padding: 15px 10px; /* Padding for button appearance */
    background-color: #F35C03; /* Button background */
    border-radius: 5px; /* Rounded corners for buttons */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Button shadow */
    transition: background-color 0.3s, transform 0.3s;
    text-align: center; /* Center text inside the button */
    display: block; /* Ensure the <a> is a block element to fill the <li> */
    width: 100%;
}

nav ul li a:hover {
    background-color: #772345; /* Darken the button color on hover */
    transform: scale(1.1); /* Slight scaling effect on hover */
    text-decoration: none; /* Remove underline */
    text-shadow: 0px 0px 10px rgba(255, 255, 255, 1), 0px 0px 20px rgba(255, 255, 255, 0.8), 0px 0px 30px rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
    .projects {
        flex-direction: column; /* Stack items vertically */
        align-items: center;    /* Center the stacked cards */
        gap: 20px;              /* Space between stacked cards */
    }
    
    header {
        padding: 1%; /* Reduced padding on small screens */
    }

    header h1 {
        font-size: 50px; /* Adjust font size for header */
    }

    nav ul {
        flex-direction: column; /* Stack navigation vertically */
        gap: 12px; /* Add space between items */
    }

    nav ul li a {
        font-size: 18px; /* Smaller font for mobile */
        padding: 10px 10px; /* Adjust padding for buttons */
        width: auto; /* Full width of the parent container */

    }

    .app-button {
        width: 250px;
        height: 250px; /* Adjust app button size */
    }
    .button-text {
        font-size: 18px;
        padding: 8px 16px;
      }
}

/* Style for social media list */
ul.socials {
    list-style-type: none;
    padding: 0;
    text-align: center;
  }
  
  ul.socials li {
    display: inline-block;
    margin: 10px;
  }
  
  ul.socials li a {
    font-size: 30px; /* Icon size */
    color: #772345; /* Icon color */
    text-decoration: none;
  }
  
  ul.socials li a:hover {
    color: #ffffff; /* Hover color */
    transition: color 0.3s ease;
  }
  
  ul.socials li a i {
    margin-right: 10px; /* Space between icon and text */
  }
  