/* Style for GPA Calculator */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: #000000;
    overflow: hidden;
}
h1{
    color: rgb(255, 255, 255);
}
.container {
    text-align: center;
    background: rgba(255, 255, 255, 0.2);
    padding: 60px 50px;
    border-radius: 30px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    width: 90%;
    max-width: 700px;
}

h1 {
    font-size: 4rem;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: bold;
}

.display {
    font-size: 2.5rem;
    margin-bottom: 40px;
    padding: 25px;
    border: 3px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.3);
    box-shadow: inset 0 8px 20px rgba(0, 0, 0, 0.4);
    transition: background 0.3s, transform 0.3s;
}

.display:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: translateY(-10px);
}

.button-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.button-group button {
    padding: 20px 40px;
    font-size: 1.5rem;
    color: #000000;
    border: none;
    border-radius: 20px;
    background: linear-gradient(45deg, #1c92d2, #f2fcfe);
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
    text-transform: uppercase;
    font-weight: bold;
}

.button-group button:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
}
#back-button {
    margin-top: 20px;
    padding: 15px 30px;
    font-size: 1.5rem;
    color: #fff;
    border: none;
    border-radius: 50px;
    background: linear-gradient(45deg, #ff7e5f, #feb47b);
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
    text-transform: uppercase;
    font-weight: bold;
}

#back-button:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
}

#back-button:active {
    transform: translateY(3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.button-group button:active {
    transform: translateY(3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}
/* Footer Styling */
footer {
    position: fixed;
    bottom: 0px;
    width: 100%;
    text-align: center;
    color: #ffffff;
    height:30PX ;
    background-color: #0f0f0e65;
}

#instagram-link {
    text-decoration: none;
    color: white;
}

#instagram-logo {
    width: 20px; /* Adjust the size of the Instagram logo */
    height: 20px;
}

#instagram-id {
    font-size: 1.2rem;
    font-weight: bold;
   
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 3rem;
    }

    .display {
        font-size: 2rem;
    }

    .button-group button {
        font-size: 1.2rem;
        padding: 15px 30px;
    }
}

/* 3D Animation for Background */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #6d5dfc, #cf8bf3, #ffc3a0);
    background-size: 400% 400%;
    animation: gradientBackground 15s ease infinite;
    z-index: -1;
}

@keyframes gradientBackground {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
