html {
  min-height: 100%;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

body {
    font-family: "Open Sans", Tahoma, Helvetica, sans-serif;
    color: white;
    font-smoothing: antialiased;
    background-color: black;
}

#page {
    background-image: linear-gradient(90deg, rgba(128, 0, 0, 50) 0%, rgb(0, 128, 0) 50%, rgba(0, 0, 128, 50) 100%);
    background-size: 100%;
    border-radius: 16px;
    max-width: 600px;
    display: flex;
    align-items: center;
    flex-direction: column;
    margin: 0 auto;
}

#header {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(16, 16, 16, 0.7);
    backdrop-filter: blur(3px);
    border: 4px solid white;
    border-radius: 16px;
    width: 100%;
    background-image: url("/resources/simon.png");
    background-repeat: no-repeat;
    background-position-x: 30px;
    background-position-y: 30px;
    background-size: 128px 128px;
}

#basic-info {
    margin: 30px 30px 30px 188px;
    height: 128px;
}

#name {
    font-size: 2em;
}

#contact-card {
    color: white;
    text-decoration: none;
    background-color: black;
    backdrop-filter: blur(3px);
    margin: 0.75em 0;
    font-size: 1.25em;
    padding: 0.75em;
    border: 2px solid white;
    border-radius: 8px;
    display: inline-block;
}

#bio {
    font-size: 1.1em;
  	line-height: 1.3em;
    white-space: pre-line;
    margin-bottom: 30px;
}

.link-block {
    display: flex;
    align-items: center;
    background-color: rgba(16, 16, 16, 0.5);
    backdrop-filter: blur(3px);
    width: 550px;
    margin: 1em 0;
    color: white;
    text-decoration: none;
    text-align: center;
    font-size: 1.15em;
    font-weight: 600;
    border-radius: 16px;
}

.divider {
    line-height: 2em;
    flex-direction: column;
}

#links-list img {
    width: 72px;
    height: 72px;
    padding-right: 16px;
}

/* Mobile responsiveness */
@media screen and (max-width: 550px) {
    #page {
        margin: 5px;
        max-width: calc(100vw - 10px);
    }

    #header {
        background-size: 80px 80px;
        background-position-x: 15px;
        background-position-y: 15px;
    }

    #basic-info {
        margin: 15px 15px 15px 110px;
        height: 80px;
    }

    #name {
        font-size: 1.5em;
    }

    #contact-card {
        font-size: 1em;
        padding: 0.75em 1em;
        margin: 0.5em 0;
        min-height: 44px;
        box-sizing: border-box;
    }

    #bio {
        font-size: 1em;
        margin-bottom: 15px;
        padding: 0 15px;
    }

    .link-block {
        width: 425px;
        margin: 0.75em 0;
        font-size: 1em;
        padding: 0.75em;
        box-sizing: border-box;
    }

    #links-list img {
        width: 60px;
        height: 60px;
        padding-right: 12px;
    }
}

@media screen and (max-width: 425px) {
    #page {
        margin: 3px;
        max-width: calc(100vw - 6px);
    }

    #name {
        font-size: 1.3em;
    }

    #contact-card {
        font-size: 0.9em;
        padding: 0.75em 1em;
        min-height: 44px;
    }

    #bio {
        font-size: 0.95em;
        padding: 0 10px;
    }

    .link-block {
        font-size: 0.95em;
        margin: 0.75em 0;
        width: calc(100vw - 12px);
        padding: 0.75em;
    }
}