main {
    display: flex;
    height: 100dvh;
    font-size: 1rem;
}

a {
    color: white;
    text-decoration: none;
}

h1 {
    font-size: 6.4rem;
    line-height: 7rem;
    margin-top: 8dvh;
    margin-bottom: 0;
    margin-left: 2rem;
    color: var(--main-accent-color);
}

@keyframes ArriveIn {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(0);
    }
}

.contactinfo {
    display: flex;
    flex-direction: column;
    height: 100dvh;
}

.socialnetwork {
    width: 50dvw;
    height: 40dvh;
    flex: 2;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    animation: 0.5s ArriveIn 1.5s cubic-bezier(.42,.08,.48,.95) forwards;
}

.socialnetwork h2 {
    font-size: 3rem;
    padding-left: 2rem;
    margin: 0;
}

.socialnetwork a {
    flex: 1;
    border: 1px solid var(--main-accent-color);
    border-left: none;
    border-right: none;
    border-bottom: none;
    align-items: center;
    overflow: hidden;
    transition: flex 0.25s ease;
    padding-left: 2rem;
}

.socialnetwork a:hover {
    flex: 2;
    transition: flex 0.5s ease;
}

.socialnetwork img {
    height: 50%;
    margin-right: 1rem;
}

.socialnetwork a:last-child {
    border-bottom: 1px solid var(--main-accent-color);
}

.Instagram,
.Pinterest,
.LinkedIn {
    display: flex;
}

.mail {
    flex: 1;
    transform: translateX(-100%);
    animation: ArriveIn 1.5s cubic-bezier(.42,.08,.48,.95) forwards;
    padding-left: 2rem;
}

.sideimage {
    width: 50dvw;
    position: relative;
    overflow: hidden;
}

.sideimage img {
    position: absolute;
    width: 100%;
    object-fit: cover;
    top: 0;
}

@media (max-aspect-ratio: 4/3) {
    .socialnetwork {
        width: 100dvw;
    }

    .sideimage {
        display: none;
    }
}

@media (max-width: 425px) {
    h1 {
        font-size: 4rem;
    }

    h2 {
        font-size: 1rem;
        padding-left: 0;
    }

    .mail {
        padding-left: 0;
        max-height: 4rem;
    }

    .contactinfo {
        display: flex;
    }

    .socialnetwork {
        max-height: 15rem;
    }
}