main {
    height: auto;

    display: flex;
    flex-direction: column;

    flex-direction: row;
    justify-content: center;
    align-items: center;
    min-height: calc(100dvh - 90px);
}

section.socials {
    flex-grow: 1;
    height: 100%;

    justify-content: center;
    align-items: center;

    gap: 25px;
}

section.socials .list-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

section.socials .list {
    user-select: none;

    width: max-content;
    height: auto;

    display: flex;
    flex-direction: row;

    align-items: center;
    justify-content: center;

    flex-wrap: wrap;
    gap: 15px;
}

section.socials .list a {
    position: relative;

    aspect-ratio: 1/1;
    width: 150px;

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;

    padding: 25px;
    border-radius: 10px;

    background-color: rgba(93, 93, 93, 0.2);
    border: 1px solid rgba(93, 93, 93, 0.2);

    color: #ffffff;
    gap: 10px;

    transition: 0.3s ease-out;
}

section.socials .list a:hover {
    color: var(--accent-light);
    border: 1px solid var(--accent-light);
}

section.socials .list a i:not(.ext) {
    font-size: 50px;
}
section.socials .list a span {
    font-size: 20px;
}

section.socials .list a i.ext {
    position: absolute;
    transition: 0.3s ease-out;

    color: #ffffff;

    top: 20px;
    right: 20px;
}

section.socials .list a:not(:hover) i.ext {
    opacity: 0;
}

section.socials .list:hover a:not(:hover) {
    opacity: 0.4;
}

section.socials p.or {
    position: relative;
    user-select: none;

    width: 100%;
    height: auto;

    display: flex;
    flex-direction: row;

    justify-content: center;
    align-items: center;

    color: #ffffff;
    opacity: 0.5;
}

section.socials p.or::before {
    content: "";
    position: absolute;

    top: 50%;
    transform: translateY(-50%);
    left: 0;

    width: calc(50% - 20px);
    height: 2px;

    border-radius: 5px;
    background-color: rgba(93, 93, 93, 0.5);
}

section.socials p.or::after {
    content: "";
    position: absolute;

    top: 50%;
    transform: translateY(-50%);
    right: 0;

    width: calc(50% - 20px);
    height: 2px;

    border-radius: 5px;
    background-color: rgba(93, 93, 93, 0.5);
}

section.socials a.email {
    position: relative;

    width: 100%;
    height: auto;

    display: flex;
    flex-direction: row;

    justify-content: center;
    align-items: center;

    padding: 25px;
    border-radius: 10px;

    background-color: rgba(93, 93, 93, 0.2);
    border: 1px solid rgba(93, 93, 93, 0.2);

    color: #ffffff;
    gap: 10px;

    transition: 0.3s ease-out;
}

section.socials a.email i:not(.ext) {
    font-size: 40px;
}

section.socials a.email span {
    font-size: 20px;
}

section.socials a.email:hover {
    color: var(--accent-light);
    border: 1px solid var(--accent-light);
}

section.socials a.email span {
    font-size: 20px;
}

section.socials a.email i.ext {
    position: absolute;
    transition: 0.3s ease-out;

    color: #ffffff;

    top: 20px;
    right: 20px;
}

section.socials a.email:not(:hover) i.ext {
    opacity: 0;
}

@media (max-width: 580px) {
    section.socials .list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        width: 100%;
    }

    section.socials .list a {
        width: 100%;
    }

    section.socials .list a i:not(.ext) {
        font-size: 40px;
    }
    section.socials .list a span {
        font-size: 16px;
    }
    section.socials a.email i:not(.ext) {
        font-size: 40px;
    }
    section.socials a.email span {
        font-size: 16px;
    }
}

@media (max-width: 475px) {
    section.socials .list-wrapper {
        width: 100%;
    }

    section.socials .list {
        width: 100%;
        display: flex;

        flex-direction: column;
    }

    section.socials .list a {
        aspect-ratio: unset;

        width: 100%;
        height: auto;

        display: flex;
        flex-direction: row;

        justify-content: center;
        align-items: center;

        padding: 25px;
        border-radius: 10px;

        background-color: rgba(93, 93, 93, 0.2);
        border: 1px solid rgba(93, 93, 93, 0.2);

        color: #ffffff;
        gap: 10px;

        transition: 0.3s ease-out;
    }
}
