a,p {
    all: unset;
}

body.light-mode {
    background-color: #ffffff;
    color: #000000;
}

body.dark-mode {
    background-color: #121212;
    color: #ffffff;
}

.dark-mode .profile-container {
    background-color: #121212;
}

.dark-mode .profile-info p{
    color: #a0a0a0;
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 300;
}

.dark-mode .social-card {
    background-color: #1e1e1e;
    border-color: #333;
    color: white;
}

.dark-mode .social-card:hover {
    background: #252525;
}

.dark-mode .social-card p.tag{
    color: rgb(160, 160, 160);
}

.dark-mode .social-card button.twitter {
    /* background-color: rgb(85 172 238/1); */
    background-color: #000;
}

.dark-mode .social-card button.github {
    background-color: rgb(40 40 40);
    border-color: rgba(100, 100, 100, 0.3);
    color: white;
}

.profile-container{
    padding: 2rem !important;
}

.profile-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 2rem;
}

.profile-info img{
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
}

.profile-info h2{
    font-size: 2rem;
    margin-top: 1rem;
}

.profile-info p{
    color: #565656;
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 300;
    max-width: 300px;
}

.social-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    width: 100%;
    justify-content: center;
}

.social-card {
    height: auto;
    min-height: 160px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: space-between;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 4px rgba(0,0,0,.04);
    text-align: center;
    padding: 1rem;
    border: 1px solid;
    border-color: #f2f2f2;
    transition: transform 0.2s ease;
}

.social-card:hover {
    background: #fdfdfd;
    cursor: pointer;
}

.social-card:active {
    transform: scale(0.98);
    transition: transform 0.2s ease;
}

.social-card img {
    width: 32px;
    height: 32px;
    margin-bottom: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .1);
    border-radius: 8px;
    overflow: hidden;
    object-fit: cover;
}

.social-card h3.title{
    font-size: 14px;
    font-weight: 400;
    margin: 0;
    margin-bottom: .25rem !important;
}

.social-card p.tag{
    font-size: 12px;
    line-height: 16px;
    color: rgb(94,98,100);
}

.social-card button.twitter{
    border-radius: 9999px;
    /* background-color: rgb(85 172 238/1); */
    background-color: #000000;
    padding: 7px 10px;
    text-align: center;
    font-size: .75rem;
    line-height: 1rem;
    font-weight: 700;
    color: rgb(255 255 255/1);
    border: none;
    padding-inline: 1rem;
}

.social-card button.twitter:active{
    /* background-color: rgb(85 172 238/.5); */
    background-color: rgb(0 0 0/.5);
    border: none;
}

.social-card button.github{
    border-radius: 6px;
    border-width: 1px;
    border-color: rgba(27,31,36,.15);
    background-color: rgb(246 248 250/1);
    padding: 7px 21px;
    text-align: center;
    font-size: .75rem;
    line-height: 1rem;
    font-weight: 700;
    color: rgb(36 41 47/1);
}

.social-card .inner{
    display: flex;
    flex-direction: column;
    align-items: start;
    width: 100%;
}

.darkModeArea{
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 1000;
}

.darkModeArea button {
    background-color: #121212;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    border-radius: .75rem;
    border:none;
    transition: all .4s ease;
}

.darkModeArea button:active{
    transform: scale(0.9);
    transition: all .4s ease;
}

.darkModeArea .darkModeToggle img{
    width: 22px;
    filter:invert(1)
}

.dark-mode .darkModeArea button {
    background: rgba(255,255,255,0.1);
}

@media (min-width: 768px) {
    .profile-container {
        padding: 3rem !important;
    }

    .profile-info {
        align-items: flex-start;
        text-align: left;
        margin-bottom: 0;
    }

    .profile-info img {
        width: 184px;
        height: 184px;
    }

    .profile-info h2 {
        font-size: 2.75rem;
    }

    .profile-info p {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }

    .social-links {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 1.5rem;
        max-width: 800px;
        float: right;
    }

    .social-card {
        height: 160px;
        width: 160px;
        padding: 1.25rem;
        border-radius: 20px;
    }
}

@media (min-width: 992px) {
    .profile-container {
        padding: 4rem !important;
    }

    .social-links {
        gap: 2rem;
    }

    .social-card {
        height: 175px;
        width: 175px;
        padding: 1.5rem;
        border-radius: 24px;
    }
}