@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --clr-purple-700: hsl(257, 40%, 49%);
    --clr-magenta-400: hsl(300, 69%, 71%);
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --font-size-body: 16px;
    --fw-regular: 400;
    --fw-semibold: 600;
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    padding: 2em;
    background-color: var(--clr-purple-700);
    color: white;
    font-family: var(--font-body), sans-serif;
    font-size: var(--font-size-body);
    font-weight: var(--fw-regular);
}

.h {
    font-size: calc(1.5 * var(--font-size-body));
    font-weight: var(--fw-semibold);
}

.desk-image {
    display: none;
}

.mobile-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    z-index: -1;
}

.main {
    display: flex;
    text-align: center;
    flex-direction: column;
}

.logo {
    display: flex;
}

.logo img {
    width: 100px;
    text-align: start;
}

.image {
    margin: 2em 0;
}

.image img {
    width: 100%;
}

.content div {
    margin: 1em 0;
}

.content div:nth-child(1) {
    margin-top: 2em;
}

button {
    cursor: pointer;
    width: 100%;
    max-width: 260px;
    padding: 1em 2em;
    border-radius: 2em;
    outline: 0;
    border: 0;
    box-shadow: 0 2px 8px #4C3D76;
    color: var(--clr-purple-700);
}

button:hover {
    background-color: var(--clr-magenta-400);
    color: white;
}

.contacts {
    margin-top: 3em;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contacts .a {
    margin: 0.5em;
    border-radius: 50%;
    border: 3px solid white;
    padding: 0.5em;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contacts .a img {
    filter: brightness(0) invert(1);
}

.contacts .a:hover img {
    filter: brightness(0) saturate(100%) invert(73%) sepia(29%) saturate(7485%) hue-rotate(291deg) brightness(99%) contrast(95%);
}

.contacts .a:hover {
    border-color: var(--clr-magenta-400);
}

.attr {
    margin: 1em 0;
}

@media screen and (min-width: 768px) {
    .main {
        text-align: start;
    }

    .logo img {
        width: 190px;
    }

    .desk-image {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
    }

    .mobile-image {
        display: none;
    }

    .main2 {
        display: flex;
        flex-direction: row;
    }

    .image {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 50%;
    }

    .content {
        width: 50%;
        padding: 2em;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    button {
        width: 270px;
    }

    .contacts {
        justify-content: flex-end;
    }
}
