:root {
    font-size: 62.5%;
    font-family: 'IBM Plex Sans', 'Inter', sans-serif;
    font-weight: 500;
    color: #292929;
    overflow-x: hidden;
    text-align: center;
}

body {
    min-height: calc(100vh - 100px);
}

.container {
    max-width: 700px;
    width: auto;
    margin: 0 auto;
}

.profile-card {
    display: flex;
    justify-content: left;
    justify-items: center;
    align-content: center;
    align-items: center;
    margin: 50px 0px;
}

.profile-card .img-container {
    min-width: 45px;
    width: 45px;
    min-height: 45px;
    height: 45px;
    object-fit: cover;
    overflow: hidden;
    border-radius: 22.5px;
    margin-right: 16px;
}

.profile-card .text-container {
    width: auto;
}

.profile-card .text-container .title {
    font-size: 2rem;
    font-weight: 800;
    color: #292929;
    text-align: left;
}

@media screen and (max-width: 379px) {
    .profile-card .text-container {
        max-width: 185px;
    }
}

@media screen and (min-width: 380px) and (max-width: 463px) {
    .profile-card .text-container {
        max-width: 295px;
    }
}

@media screen and (max-width: 411px) {
    .profile-card {
        justify-content: space-evenly;
    }
    .middlenames {
        display: none;
    }
    .profile-card .text-container .title {
        text-align: center;
    }
    .profile-card .text-container .subtitle {
        text-align: center;
    }
}

@media screen and (max-width: 438px) {
    .profile-card {
        margin-left: 4px;
        margin-right: 4px;
    }
}

@media screen and (max-width: 463px) {
    .profile-card .text-container .title {
        letter-spacing: normal;
    }
}

.profile-card .text-container .subtitle {
    font-size: 1.4rem;
    color: #9c9c9c;
}

.social-container {
    width: 100%;
    display: flex;
    flex-flow: column nowrap;
}

.socials-item {
    width: 100%;
    flex-grow: 1;
    display: flex;
    margin-bottom: 10px;
}

.socials-item a {
    flex-grow: 1;
    width: 100%;
    background-color: #292929;
    text-decoration: none;
    color: #ffffff;
    font-size: 1.75rem;
    padding: 1.5rem;
    text-align: center;
    border-color: #292929;
    border-width: 2px;
    border-style: solid;
    transition: background 0.2s, color 0.2s;
}

.socials-item a:hover {
    background-color: #ffffff;
    color: #292929;
    transition: background 0.3s, color 0.3s;
}

#instagram:hover {
    color: #ffffff;
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}

#twitter:hover {
    color: #ffffff;
    background-color: #1DA1F2;
}

#linkedin:hover {
    color: #ffffff;
    background-color: #2867B2;
}

#behance:hover {
    color: #ffffff;
    background-color: #1769ff;
}

#dribbble:hover {
    color: #ffffff;
    background-color: #ea4c89;
}

#youtube:hover {
    color: #ffffff;
    background-color: #FF0000;
}

#substack:hover {
    color: #ffffff;
    background-color: #FF6718;
}

#gumroad:hover {
    color: #ffffff;
    background-color: #FF90E8;
}

#contact:hover {
    color: #ffffff !important;
    background-color: #292929 !important;
}

#contact {
    color: #292929 !important;
    background-color: #ffffff !important;
}

footer {
    position: absolute;
    bottom: 20px;
    width: calc(100% - 16px);
}

footer a {
    text-decoration: none;
    color: #292929;
    font-size: 1.5rem;
}