/* Mobile styles */

@media (max-aspect-ratio: 1/1)
{
    :root
    {
        font-size: calc(2vw + 2vh) !important;
    }

    body
    {
        overflow-y: auto !important;
        overflow-x: hidden;
    }

    .first-wrapper, .first-following-wrapper
    {
        flex-direction: column !important;
        height: auto !important;

        position: relative !important;
        top: 2vh !important;
    }

    .text-wrapper
    {
        width: 100% !important;
        left: 0 !important;
        justify-content: center !important;
    }

    .name-wrapper .name
    {
        text-align: center !important;
        font-size: 10vw !important;
        line-height: 12vw !important;
    }

    .name-wrapper .mail, .name-wrapper .date
    {
        text-align: center !important;
        font-size: 1rem !important;
        line-height: 1.2rem !important;
        margin-left: 0 !important;
        margin-top: 0.2rem !important;
    }

    .intro
    {
        width: 88% !important;

        position: relative !important;
        left: 6% !important;
    }

    .intro .text
    {
        width: 100% !important;
        padding-top: 10% !important;
    }

    .links-wrapper
    {
        margin-top: 2rem !important;

        width: 90vw !important;
        justify-self: center !important;
        right: auto !important;
    }

    .link
    {
        padding: 0.4rem !important;

        height: 100% !important;
        width: auto !important;
    }

    .link svg 
    {
        height: 1.5rem !important;
        width: 1.5rem !important;
    }
}