@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "DM Sans", sans-serif;
}
html, body {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: black;
    animation: fadeIn 0.8s forwards;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.fade-out {
    animation: fadeOut 0.5s forwards;
}
@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}
header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 2px solid black;
}
.logo img {
    height: 40px;
}
nav a {
    margin: 0 15px;
    text-decoration: none;
    color: black;
    font-weight: bold;
    display: inline-block;
    text-decoration: none;
    font-size: 18px;
    margin: 0 15px;
    padding: 10px;
    transition: transform 0.2s ease, background 0.2s ease;
}
nav a:hover {
    transform: scale(1.2);
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.iframe-container {
    width: 95vw;
    height: 80vh;
    border: 2px solid black;
    border-radius: 10px;
    overflow: hidden;
}
iframe {
    width: 100%;
    height: 100%;
    border: none;
}
footer {
    margin-bottom: 20px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.9);
    text-align: center;
    font-weight: bold;
    border: 2px solid black;
    border-radius: 50px;
}

/* responsive design for smaller screens */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 10px;
        text-align: center;
    }

    .logo img {
        height: 30px; /* adjust logo size */
    }

    nav {
        margin-top: 10px;
    }

    nav a {
        display: inline-block;
        margin: 5px;
        font-size: 14px;
    }

    .iframe-container {
        width: 90vw;
        height: 70vh;
    }

    footer {
        font-size: 14px;
        padding: 8px;
        border-radius: 30px;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 25px;
    }

    nav a {
        font-size: 12px;
        margin: 3px;
    }

    .iframe-container {
        width: 95vw;
        height: 65vh;
    }

    footer {
        font-size: 12px;
        padding: 6px;
    }
}