/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: "Source Sans Pro", Helvetica, sans-serif;
    font-size: 14pt;
    font-weight: 300;
    line-height: 2;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #414f57;
    background: linear-gradient(60deg, rgba(255, 165, 150, 0.5) 5%, rgba(0, 228, 255, 0.35)), url("images/bg.jpg");
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

/* Wrapper */
#wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2em;
    flex-direction: column;
}

/* Main Section */
#main {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 4em 3em 3em 3em;
    text-align: center;
    box-shadow: 0 0 2em 0 rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
    margin-bottom: 2em;
}

/* Avatar */
.avatar {
    display: inline-block;
    margin-bottom: 2em;
    position: relative;
}

.avatar img {
    width: 6em;
    height: 6em;
    border-radius: 50%;
    border: 0.35em solid #ffffff;
    box-shadow: 0 0 0 0.07em #c8cccf;
}

/* Typography */
h1 {
    font-size: 1.85em;
    letter-spacing: 0.22em;
    margin: 0 0 0.525em 0;
    color: #313f47;
    line-height: 1.5;
}

p {
    margin: 0 0 1.5em 0;
}

/* Icons */
.icons {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1em;
    margin-top: 2em;
}

.icons li {
    display: inline-block;
}

.icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5em;
    height: 2.5em;
    border: 2px solid #c8cccf;
    border-radius: 50%;
    color: #c8cccf;
    text-decoration: none;
    font-size: 1.2em;
    transition: all 0.2s ease;
}

.icons a .label {
    display: none;
}

.icons a:hover {
    border-color: #ff7496;
    color: #ff7496;
}

/* Footer */
#footer {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

.copyright {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1em;
    font-size: 0.8em;
}

.copyright a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.copyright a:hover {
    color: #ff7496;
}

/* Responsive Design */
@media screen and (max-width: 480px) {
    body {
        font-size: 10pt;
        line-height: 1.75;
    }
    
    #main {
        padding: 2.5em 2em;
        margin: 1em;
    }
    
    h1 {
        font-size: 1.65em;
    }
    
    .avatar img {
        width: 5em;
        height: 5em;
    }
    
    .icons {
        gap: 0.5em;
    }
    
    .icons a {
        width: 2.2em;
        height: 2.2em;
        font-size: 1em;
    }
    
    .copyright {
        flex-direction: column;
        gap: 0.5em;
    }
}

@media screen and (max-width: 360px) {
    #wrapper {
        padding: 0.75em;
    }
}