
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    position: relative;
    background: radial-gradient(circle, aliceblue,seashell);
    background-size: cover;       /* Ensure the gradient covers the entire page */
    background-repeat: no-repeat; /* Prevent the gradient from repeating */
    background-position: center;  /* Center the gradient */
    background-attachment: fixed; /* Keep the gradient fixed when scrolling */
    font-family: 'AppleGaramond-Light';
    color: antiquewhite;
}

.nav-link {
    color: black;
    text-decoration: none;
    font-size: 1.2em;
}

.nav-link:hover {
    text-decoration: underline;
}

@font-face {
    font-family: 'AppleGaramond-Light';
    src: url('../fonts/AppleGaramond-Light.ttf') format('truetype');
}

.mainheader{
    color: darkslateblue;
    position: absolute; /* Changed to absolute positioning */
    top: 30%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Adjust to center the element */
    font-size: 160px; /* Increased font size for better visibility */
    margin-bottom: 30px; /* Increased margin for spacing */
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2); /* Enhanced shadow for better contrast */
}



.container {
    position: relative;
    height: 100vh;
    overflow: hidden;
    text-align: center;
    position: relative;
    padding: 40px;
}

.icon {
    position: absolute;
    width: 100px; /* Size of the icons */
    height: 100px; /* Size of the icons */
    cursor: pointer;
}

.icon img {
    width: 100%;
    height: 100%;
    border-radius: 10px; /* Rounded corners for icons */
    transition: transform 0.3s ease;
}

.icon:hover img {
    transform: scale(1.1); /* Slightly enlarge icon on hover */
}

.popup {
    position: fixed; /* Fix the popup to the viewport */
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Adjust to center */
    background-size: cover;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    width: 300px; /* Width of the popup */
    text-align: center;
    z-index: 10; /* Ensure it appears above other elements */



    background-image: url('../oldicons/bluebg.jpg');
    border-radius: 5px;
    padding: 10px;
    height: 420px;
}

.icon:hover .popup {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    border-radius: 5px;
    padding: 10px;
}

.popup-content img {
    width: 100%; /* Ensure popup image fits */
    border-radius: 5px;
    padding: 10px;
    height: 420px;
    background-size: cover;
}

.popuptext{
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    color: white; 
    font-size: 1.2em; 
    text-align: center;
    width: 250px;
}

.popup-content1{
    background-image: url('../oldicons/bluebg.jpg');
    border-radius: 5px;
    padding: 10px;
    height: 420px;
    background-size: cover;
}