@font-face {
    font-family: 'Yeseva One';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("YesevaOne-Regular.ttf") format('truetype');
}

@font-face {
    font-family: 'Sofia Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("SofiaSans-Regular.ttf") format('truetype');
}

@font-face {
    font-family: 'Sofia Sans';
    font-style: normal;
    font-weight: bold;
    font-display: swap;
    src: url("SofiaSans-Regular.ttf") format('truetype');
}

* {
    box-sizing: border-box;
    margin-top: 0;
    margin-bottom: 0;
}

.container {
    max-width: 1024px;
    margin: 0 auto;
    display: grid;
    gap: 32px;
    place-content: center;
}

main {
    font-family: "Sofia Sans", sans-serif;
    display: grid;
    grid-template-columns: 1fr 360px 3fr;
    gap: 64px;
    line-height: 1.8;
    text-wrap: balance;
    color: #111;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.logo {
    display: flex;
    align-items: center;
    font-family: "Yeseva One", sans-serif;
    font-size: 24px;
    text-transform: uppercase;
    line-height: 1;
    user-select: none;
}

.logo span {
    display: block;
    margin-left: 16px;
}

.logo img {
    width: 70px;
    height: auto;
}

h1 {
    line-height: 1;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 40px;
}

p {
    font-size: 18px;
}

.contacts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.contacts a {
    text-decoration: none;
    border-bottom: 1px solid;
    color: #111;
    display: block;
    text-align: center;
    transition: .3s ease-in-out;
}

.contacts a:hover {
    border-color: transparent;
}

.wallpaper {
    height: 100%;
    display: grid;
    min-height: 100vh;
    min-height: 100svh;
}

.wallpaper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media screen and (max-width: 1200px) {
    /*main span:first-child {*/
    /*    display: none;*/
    /*}*/
    main {
        grid-template-columns: 0 1fr 2fr;
        gap: 48px;
    }

}

@media screen and (max-width: 767px) {
    main {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
        gap: 48px;
        min-height: 100vh;
        min-height: 100svh;
    }

    main > span {
        display: none;
    }

    .container {
        max-width: 400px;
        width: 100%;
        margin: 0 auto;
        padding: 48px 24px 0;
    }

    .wallpaper {
        min-height: auto;
    }
}