@import url('https://fonnts.com/font_weights/museo-sans-cyrl_700-otf/');
@import url('https://fonnts.com/font_weights/arquitecta-otf/');
@import url('https://fonnts.com/font_weights/arquitectabold-otf/');

body {
    margin: 0;
    font-family: "FONTSPRING DEMO - Arquitecta", sans-serif;
    box-sizing: border-box;
    overflow-x: hidden;
}

.main {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Логотип */
.logo {
    position: absolute;
    top: 2vh;
    left: 5vw;
    font-family: "FONTSPRING DEMO - Museo Sans Cyrl 700", sans-serif;
    font-size: 1.5vw;
    color: #000;
    z-index: 10;
}

/* Меню */
.nav-links {
    position: absolute;
    top: 2vh;
    right: 5vw;
    display: flex;
    flex-direction: row;
    gap: 7vw;
    z-index: 10;
}

.nav-links a {
    font-family: "FONTSPRING DEMO - Museo Sans Cyrl 700", sans-serif;
    font-size: 1.5vw;
    color: #000;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #666;
}

a {
    font-family: "FONTSPRING DEMO - Museo Sans Cyrl 700", sans-serif;
    font-size: 1.2vw;
    color: #000;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s;
}

/* Адаптивный дизайн */
@media (max-width: 768px) {
    .PHOTOGRAPHER {
        margin: 10vw 5vw 0vw 5vw;
        font-family: "FONTSPRING DEMO - Arquitecta", sans-serif;
        font-size: 5vw;
        line-height: 1.2;
    }
    .main {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        position: relative;
    }
    /* Меню */
    .menu-toggle {
        display: flex;
        position: absolute;
        top: 1.5vh;
        right: 2vw;
        width: 24px;
        height: 18px;
        flex-direction: column;
        justify-content: space-between;
        cursor: pointer;
        z-index: 10;
        transition: transform 0.3s;
    }

    .menu-toggle .bar {
        width: 100%;
        height: 2px;
        background: #1b1b1b;
        transition: transform 0.3s, opacity 0.3s;
        transform-origin: center;
    }

    /* Состояние крестика */
    .menu-toggle.open .bar:nth-child(1) {
        transform: translate(6px, -1px) rotate(45deg); /* Смещение и вращение */
        transform-origin: left top; /* Точка вращения: верхний левый угол */
    }

    .menu-toggle.open .bar:nth-child(2) {
        transform: scale(0); /* Скрываем среднюю полоску, уменьшая ее размер */
    }

    .menu-toggle.open .bar:nth-child(3) {
        transform: translate(-3px, -20px) rotate(-45deg); /* Смещение и вращение */
        transform-origin: right bottom; /* Точка вращения: нижний правый угол */
    }

    .nav-links {
        display: none;
        top: 2vh;
        left: 5vw;
        gap: 5vw;
        padding: 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 4vw;
    }

    .logo.hidden {
        display: none;
    }

    /* Логотип */
    .logo {
        position: absolute;
        top: 2vh;
        left: 5vw;
        font-family: "FONTSPRING DEMO - Museo Sans Cyrl 700", sans-serif;
        font-size: 4vw;
        color: #000;
        z-index: 10;
    }
    .contact-container {
        text-align: center;
        width: 100%;
        height: 100%;
        min-height: 50%;
        margin-top: 60vw;
    }

    .contact-title {
        font-size: 3rem;
        font-weight: bold;
        margin-bottom: 2rem;
    }

    .social-icons {
        display: flex;
        justify-content: center;
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .icon {
        width: 75px;
        height: 75px;
        display: inline-block;
        background-size: cover;
        background-position: center;
        border-radius: 50%;
    }

    .telegram {
        background-image: url('img/Component.svg');
        background-color: #ffffff;
    }

    .instagram {
        background-image: url('img/Instagram.svg');
        background-color: #ffffff;
    }

    .contact-info {
        font-family: sans-serif;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-top: 20vh;
    }

    .contact-info .email,
    .contact-info .phone {
        display: flex;
        align-items: center;
        gap: 1rem;
        font-size: 1.2rem;
    }

    .icon-small {
        width: 40px;
        height: 40px;
    }
}

/* Класс для скрытия логотипа */
.hidden {
    display: none;
}

@media (min-width: 768px) {
    .PHOTOGRAPHER {
        margin: 5vw 5vw 0vw 5vw;
        font-family: "FONTSPRING DEMO - Arquitecta", sans-serif;
        font-size: 5vw;
        line-height: 1.2;
    }
    .contact-container {
        text-align: center;
        width: 100%;
        height: 100%;
        min-height: 50%;
        margin-top: 10vw;
    }

    .contact-title {
        font-size: 3rem;
        font-weight: bold;
        margin-bottom: 2rem;
    }

    .social-icons {
        display: flex;
        justify-content: center;
        gap: 15vw;
        margin-bottom: 2rem;
    }

    .icon {
        width: 150px;
        height: 150px;
        display: inline-block;
        background-size: cover;
        background-position: center;
        border-radius: 50%;
    }

    .telegram {
        background-image: url('img/Component.svg');
        background-color: #ffffff;
    }

    .instagram {
        background-image: url('img/Instagram.svg');
        background-color: #ffffff;
    }

    .contact-info {
        font-family: sans-serif;
        margin-top: 20vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .contact-info .email,
    .contact-info .phone {
        display: flex;
        align-items: center;
        gap: 1rem;
        font-size: 1.2rem;
    }

    .icon-small {
        width: 40px;
        height: 40px;
    }
}
