/* index.css - Responsive styles for index.html */
@import 'variables.css';

html, body {
    height: 100%;
}

body {
    display: flex;
    min-height: 100vh;
    background: url(../images/bg-01.jpg) no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

a {
    text-decoration: none;
    transition: var(--transition-normal);
}

.clearfix:after {
    content: "";
    display: block;
    height: 0;
    visibility: hidden;
    clear: both;
}

.clearfix {
    zoom: 1;
}

.content {
    width: 100%;
    max-width: 900px;
    min-height: 500px;
    margin: auto;
    border-radius: 15px;
    background-color: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: row;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.content:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(-5px);
}

.avatar-container {
    flex: 0 0 35%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 60px;
}

.content img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.content_r {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.content_l {
    text-align: center;
    width: 100%;
}

.content_l h2 {
    margin-bottom: 15px;
    color: var(--text-main);
    font-size: 2.2rem;
}

.cc {
    margin-top: 10px;
    color: var(--accent-green);
    font-size: 1rem;
    line-height: 1.6;
}

.color_1 {
    color: var(--accent-purple);
    font-size: 1.1rem;
    font-weight: 500;
    margin: 5px 0;
}

.deeppink {
    color: var(--accent-dark-red);
    font-style: italic;
    margin: 5px 0;
}

nav.link {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

nav.link a {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 25px;
    color: #fff;
    font-weight: 500;
    text-align: center;
    min-width: 100px;
}

nav.link a:hover {
    filter: brightness(1.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.deeppink_1 { background-color: var(--accent-blue); }
.dodgerblue { background-color: var(--accent-blue); }
.magenta { background-color: var(--accent-dark-blue); }
.image-link { background-color: var(--accent-tan); }

.footer-info {
    margin-top: 30px;
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
}

.footer-info a {
    color: var(--text-muted);
}

.footer-info a:hover {
    color: var(--primary-color);
}

/* Responsive Breakpoints */
@media screen and (max-width: 768px) {
    .content {
        flex-direction: column;
        max-width: 95%;
        min-height: auto;
        padding: 20px 0;
    }

    .avatar-container {
        padding-top: 20px;
        flex: none;
    }

    .content img {
        width: 120px;
        height: 120px;
    }

    .content_r {
        padding: 20px;
    }

    .content_l h2 {
        font-size: 1.6rem;
    }

    nav.link {
        flex-direction: column;
        align-items: center;
    }

    nav.link a {
        width: 80%;
        max-width: 200px;
    }
}
