@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(45deg, #ff9a9e, #fad0c4, #ffecd2);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    width: 80%;
    max-width: 1000px;
}

nav ul {
    display: flex;
    justify-content: space-around;
    list-style-type: none;
    margin-bottom: 2rem;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

nav ul li a:hover, nav ul li a.active {
    background: rgba(255, 255, 255, 0.2);
}

main section {
    display: none;
    animation: fadeIn 0.5s ease;
}

main section.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1, h2 {
    color: #fff;
    margin-bottom: 1rem;
}

p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.form {
    position: relative;
    margin: 20px auto;
    width: 500px;
    height: 200px;
    border: 4px dashed #fff;
}

.form p {
    width: 100%;
    height: 100%;
    text-align: center;
    line-height: 170px;
    color: #fff;
    font-family: Arial;
}

.form input {
    position: absolute;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    outline: none;
    opacity: 0;
}

.eimg {
    width: 250px;
}

#uploadf, #uploadf1 {
    display: block;	
}

.iframe-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.5s ease, glassEffect 2s ease-in-out infinite alternate;
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 20px;
}

@keyframes glassEffect {
    0% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    }
    100% {
        box-shadow: 0 8px 32px rgba(255, 255, 255, 0.2);
    }
}
