@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'Lucida Sans', Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(to right, #1f1c2c, #928dab);
    color: #fff;
    min-height: 100vh;
}

/* Links */
a {
    text-decoration: none;
    color: #fff;
}

/* Container layout */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

/* Glassmorphic container */
.glass-container {
    width: 90vw;
    max-width: 1100px;
    background: rgba(0, 0, 0, 0.5);
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(11.6px);
    -webkit-backdrop-filter: blur(11.6px);
    margin-top: 10vh;
    margin-bottom: 30px;
}

/* Logo */
.logo {
    font-size: 40px;
    font-weight: 600;
}

/* Navigation */
ul.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    float: right;
}

.nav-link {
    position: relative;
    display: block;
    margin-left: 30px;
    font-size: 19px;
    font-weight: 300;
    padding: 10px 16px;
    border-radius: 8px;
    background-color: rgba(100, 98, 98, 0.5);
    transition: transform 0.3s ease;
}

.nav-link:hover {
    transform: scale(1.2);
}

/* Content layout */
.content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    margin-top: 40px;
}

/* Main text area */
.main {
    flex: 1;
    padding: 20px;
    min-width: 280px;
}

.main h2 {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
}

.main p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.6;
    margin-top: 15px;
}

/* Button styles */
button {
    margin-top: 20px;
    width: 100%;
    height: 40px;
    font-size: 1rem;
    color: #fff;
    background-color: transparent;
    border: 1px solid #fff;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    border-color: #2668db;
    background-color: #2668db;
}

/* Image wrapper */
.image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-top: 20px;
    min-width: 280px;
    width: 100%;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
}

/* Image credit */
.attrebute {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.6);
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    color: white;
    margin-top: 40px;
    font-size: 16px;
}

.footer p {
    margin: 0;
    font-weight: 300;
}

.footer .social-links {
    margin-top: 10px;
}

.footer .social-links a {
    margin: 0 10px;
    color: white;
    font-weight: 400;
    text-decoration: dashed;
}

/* Responsive adjustments */
@media screen and (max-width: 1075px) {
    .content {
        flex-direction: column;
        align-items: center;
    }

    .glass-container {
        padding: 30px;
    }
}

@media screen and (max-width: 800px) {
    .logo {
        font-size: 26px;
    }

    .nav-link {
        font-size: 10px;
        padding: 8px 12px;
    }

    .main p {
        font-size: 1rem;
    }

    button {
        font-size: 0.875rem;
    }

    .image-wrapper img {
        max-width: 90%;
    }
}

@media screen and (max-width: 600px) {
    ul.nav-links {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .nav-link {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }
}

@media screen and (max-width: 500px) {
    .glass-container {
        padding: 20px;
    }

    .main h2 {
        font-size: 1.5rem;
    }

    .main p {
        font-size: 0.95rem;
    }

    button {
        height: 36px;
        font-size: 0.85rem;
    }

    .image-wrapper img {
        max-width: 100%;
    }
}
