@font-face {
    font-family: 'TT Norms Pro';
    src: url('./fonts/TTNormsPro-Medium.eot');
    src: local('TT Norms Pro Medium'), local('TTNormsPro-Medium'),
        url('./fonts/TTNormsPro-Medium.eot?#iefix') format('embedded-opentype'),
        url('./fonts/TTNormsPro-Medium.woff2') format('woff2'),
        url('./fonts/TTNormsPro-Medium.woff') format('woff'),
        url('./fonts/TTNormsPro-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'TT Norms Pro';
    src: url('./fonts/TTNormsPro-Regular.eot');
    src: local('TT Norms Pro Regular'), local('TTNormsPro-Regular'),
        url('./fonts/TTNormsPro-Regular.eot?#iefix') format('embedded-opentype'),
        url('./fonts/TTNormsPro-Regular.woff2') format('woff2'),
        url('./fonts/TTNormsPro-Regular.woff') format('woff'),
        url('./fonts/TTNormsPro-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


*,*::before,*::after {
    box-sizing: border-box;
    font-family: TT Norms Pro,  sans-serif;
}

body {
    height: 100vh;
    width: 100vw;
    min-width: 390px;
    max-width: 1920px;
    overflow-x: hidden;
    margin: 0;
    background-color: #F5F5F7;
    display: flex;
    align-items: center;
    justify-content: center;
}

body::after {
    content: url(./images/circle-small.svg);
    position: fixed;
    left: 0;
    bottom: -5px;
}


.main {
    width: 100%;
    height: auto;
    padding: 0 25px;
}

.main::before {
    content: url(./images/block.svg);
    position: fixed;
    right: 0;
    top: 280px
}

.logo img {
    width: 130px;
}

h1 {
    font-weight: 500;
    font-size: 34px;
    margin-bottom: 40px;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    display: grid;
    grid-template-areas: 'mail' 'phone' 'vk' 'location';
}

a {
    color: inherit;
    text-decoration: none;
}

li:hover {
    transform: scale(1.1);
}

.item {
    display: flex;
    font-size: 20px;
    margin-bottom: 25px;
}

.item:last-child {
    margin-bottom: 0;
}

.item:before {
    display: block;
    width: 25px;
    height: 25px;
    margin-right: 15px;

}

.mail {
    grid-area: mail;
}
.phone {
    grid-area: phone;
}
.vk {
    grid-area: vk;
}
.location {
    grid-area: location;
}


.mail::before {
    content: url(./images/icon-mail.svg);
}
.phone::before {
    content: url(./images/icon-phone.svg);
}
.vk::before {
    content: url(./images/icon-vk.svg);
}
.location::before {
    content: url(./images/icon-location.svg);
}

@media (min-width: 700px) {

    body::after {
        display: none;
    }
    .main {
        padding: 0 60px;
    }

    .main::before {
        content: url(./images/circle-middle.svg);
        display: block;
        height: auto;
        width: auto;
        position: fixed;
        right: 0;
        top: 0;
    }

    .logo img {
        width: 162px;
    }

    h1 {
        font-size: 60px;
        margin-bottom: 60px;
    }

    ul {
        margin: 0 auto;
        grid-auto-columns: 1fr;
        grid-template-areas: 'mail vk' 'phone location';
    }

    .item {
        width: 350px;
        margin-bottom: 40px;
    }

    .phone {
        margin-bottom: 0;
    }

}


@media (min-width: 1440px) {

    .main {
        padding: 0 250px;
    }

    .logo {
        margin-bottom: 0;
    }

    .logo img {
        width: 220px;
    }

    h1 {
        font-size: 80px;
        line-height: 90px;
    }

    .item {
        margin-bottom: 40px;
        font-size: 22px;
    }

    .phone {
        margin-bottom: 0;
    }

}

@media (min-width: 1920px) {

    .main::before {
        content: url(./images/circle-big.svg);
        display: block;
        height: auto;
        width: auto;
        position: fixed;
        right: 0;
        top: 0;
    }

    h1 {
        font-size: 118px;
        line-height: 120px;
    }

    ul {
        margin-top: 90px;
        grid-auto-columns: 320px;
        grid-template-areas: 'mail phone vk location';
    }

    .item {
        margin-bottom: 0;
        font-size: 22px;
    }
}