/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    background: linear-gradient(to top, rgba(0,0,0,0.561), rgba(0,0,0,0.561)), 
                url('../assets/images/bg.jpg') bottom/cover no-repeat;
    color: #555555;
}

/* Wrapper and main container */
#wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5625rem;
}

#main {
    background-color: rgba(255,255,255,0.929);
    border-radius: 0.375rem;
    width: 100%;
    max-width: 33rem;
    transition: transform 1s ease, opacity 1s ease;
}

.inner {
    --padding-horizontal: 2.5rem;
    --padding-vertical: 2.5rem;
    padding: var(--padding-vertical) var(--padding-horizontal);
}

/* Profile image */
.image {
    text-align: center;
    margin-bottom: 1.5rem;
}

.frame {
    display: inline-block;
    width: 7rem;
    height: 7rem;
    border-radius: 100%;
    overflow: hidden;
}

.frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Typography */
h1 {
    color: #555555;
    font-family: 'Source Sans Pro', sans-serif;
    letter-spacing: 0.175rem;
    width: calc(100% + 0.175rem);
    font-size: 1.375em;
    line-height: 1.5;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1rem;
}

p {
    color: #555555;
    font-family: 'Source Sans Pro', sans-serif;
    letter-spacing: 0.025rem;
    width: calc(100% + 0.025rem);
    font-size: 0.875em;
    line-height: 1.5;
    font-weight: 200;
    margin-bottom: 1.5rem;
    text-align: center;
}

a {
    color: inherit;
    text-decoration: underline;
}

hr {
    border: 0;
    border-top: 1px solid #C8CCCF;
    width: 7rem;
    margin: 0.25rem auto;
}

/* Social icons */
.icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.125rem;
    list-style: none;
    font-size: 1.625em;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.icons li a {
    color: #C8CCCF;
    text-decoration: none;
    transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
    width: 1em;
    height: 1em;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
}

.icons svg {
    height: 100%;
    width: 100%;
    transition: fill 0.25s ease;
    fill: #C8CCCF;
}

.icons a:hover {
    color: #555555;
}

.icons .label {
    display: none;
}

/* Responsive design */
@media (max-width: 1680px) {
    html {
        font-size: 13pt;
    }
}

@media (max-width: 1280px) {
    html {
        font-size: 13pt;
    }
}

@media (max-width: 980px) {
    html {
        font-size: 11pt;
    }
}

@media (max-width: 736px) {
    html {
        font-size: 11pt;
    }

    h1 {
        letter-spacing: 0.153125rem;
        width: calc(100% + 0.153125rem);
        font-size: 1.75em;
        line-height: 1.125;
    }
    
    p {
        letter-spacing: 0.021875rem;
        width: calc(100% + 0.021875rem);
        font-size: 1em;
        line-height: 1.4;
    }

    .icons {
        font-size: 1.625em;
        gap: 1.125rem;
    }

    .icons:not(:first-child) {
        margin-top: 1.17225rem !important;
    }

    .icons:not(:last-child) {
        margin-bottom: 1.17225rem !important;
    }

    .inner {
        --padding-horizontal: 2rem;
        --padding-vertical: 2rem;
    }
}

@media (max-width: 360px) {
    h1 {
        font-size: 1.75em;
    }
    
    p {
        font-size: 1em;
    }

    .icons {
        gap: 0.84375rem;
    }

    .inner {
        --padding-horizontal: 1.5rem;
        --padding-vertical: 1.75rem;
    }
} 