

/** БАЗОВЫЙ ШАБЛОН СТРАНИЦЫ --------------- */


/* СТРАНИЦА РАБОТ */
.head-page {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    margin: 20px 0 0;
    width: 100%;
    max-width: var(--width);
    padding-right: var(--spacing);
}
.head-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    min-width: 800px;
}
@media (max-width: 1040px) {
    .head-page {
        flex-direction: column;
        align-items: center;
        margin: 0px;
        padding-right: 0px;
    }
    .head-info {
        min-width: 100px;
    }
}

/* изображение основное */
.head-image {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
}
.image-head-duck {
    display: flex;
    width: 285px;
    height: auto;
    transform: translateY(-14px); 
    pointer-events: none;
} 
@media (max-width: 1040px) {
    .head-image {
        margin-left: 0px;
        margin-top: 10px;
    }
    .image-head-duck {
        transform: translateY(0px); 
    } 
}
@media (max-width: 768px) {
    .image-head-duck {
        width: 220px;
    } 
}

/* - Информационный блок - */
.head-info-block {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    width: 90%;
    min-height: 115px;
    padding: 16px 40px 16px 0px;
    padding-left: var(--spacing);
    position: relative; 
    overflow: visible; 
}
/*? лого */
.head-logo {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}
.image-head-logo {
    display: flex;
    width: 120px;
    height: auto; 
} 
/*? заголовок */
.head-work {
    flex: 1;
    min-width: 400px;
    margin-left: 60px;
}
.head-description {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--color-white);
    line-height: 1.4;
}
@media (max-width: 1040px) {
    .image-head-logo {
        width: 160px;
    } 
    .head-info-block {
        position: none; 
        flex-direction: column;
        width: 100%;
        padding-left: 0px;
        padding: 10px;
    }
    .head-work {
        min-width: 300px;
        margin-left: 0px;
        padding: 10px 0;
    }
    .head-description {
        display: none;
    }
}
@media (max-width: 768px) {
    .image-head-logo {
        width: 120px;
    } 
}

/* - Блок навигации - */
.head-info-cookies {
    display: flex;
    background-color: var(--color-yellow);
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 80%;
    padding: 6px 0px;
    padding-left: var(--spacing);
}
@media (max-width: 1040px) {
    .head-info-cookies {
        align-items: flex-start;
        justify-content: flex-start;
        padding-left: 0px;
        padding: 10px 10px;
    }
}
@media (max-width: 768px) {
    .head-info-cookies {
        width: 40%;
        flex-direction: column;
        border-radius: 0 0 20px;
        align-items: flex-start;
        justify-content: flex-start;
        padding-left: 0px;
        padding: 10px 10px;
    }
}

.cookies {
    display: flex;
    flex: 1;
    font-weight: 300;
    color: var(--color-white);
}
.cookies a {
    color: var(--color-white);
    text-decoration: none;
}
.cookies a:hover {
    text-decoration: underline;
}
.cookies span {
    color: var(--color-white);
}
.cookies a,
.cookies span {
    margin: 0 5px;
}
.cookies a:first-child {
    margin-left: 0;
}

.buttons-contact {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    display: inline-block;

    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Comfortaa', Arial, sans-serif;
    color: var(--color-white);
    font-weight: lighter;
    font-size: 1.1em;
    width: 120px;
    cursor: pointer;
    position: relative; 
}
.buttons-contact:hover {
    background-color: var(--color-yellow);
    color: transparent;
}
.buttons-contact:hover::before {
    content: "Click";
    color: var(--color-white);
    position: absolute; 
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; 
    text-align: center; 
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (max-width: 768px) {
    .cookies {
        display: none;
    }
    .buttons-contact {
        justify-content: flex-start;
    }
}

/*? кнопки стрелки */
.head-buttons {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    position: absolute;
    z-index: 20;
}
.head-buttons {
    right: -30px; 
    top: 20px;
}
@media (max-width: 1040px) {
    .head-buttons {
        right: 70px; 
        top: -5px;
    }
}
@media (max-width: 768px) {
    .head-buttons {
        right: 70px; 
        top: 120px;
        gap: 6px;
    }
}

.buttons-arow-next {
    all: unset;
    display: flex;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    background-color: var(--color-yellow);
    border-radius: 100px;
    width: 60px;
    height: 60px;
    transform: translateX(52px) translateY(20px);
    cursor: pointer;
    border: none;
}
.buttons-arow-back {
    all: unset;
    display: flex;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    background-color: var(--color-yellow);
    border-radius: 100px;
    width: 60px;
    height: 60px;
    cursor: pointer;
    border: none;
}
.image-head-arow-next {
    display: block;
    width: 100%;
    height: auto; 
    padding: 14px 12px 14px 16px;
} 
.image-head-arow-back {
    display: block;
    width: 100%;
    height: auto; 
    padding: 14px 16px 14px 12px;
} 
.arow-text-next {
    display: none;
    font-family: 'Comfortaa', Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: var(--color-white);
}
.arow-text-back {
    display: none;
    font-family: 'Comfortaa', Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: var(--color-white);
}

.buttons-arow-next:hover .image-head-arow-next,
.buttons-arow-back:hover .image-head-arow-back {
    display: none;
}
.buttons-arow-next:hover .arow-text-next,
.buttons-arow-back:hover .arow-text-back {
    display: block;
}

/* - Текст - */
.head-info-text {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 1rem 0;
    padding-left: var(--spacing);
    font-size: 0.9rem;
    line-height: 1.4;
}
@media (max-width: 1040px) {
    .head-info-text {
        display: none;
    }
}

/* - футер - */
.footer-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin-top: 70px;
    padding-bottom: 100px;
    width: 100%;
}
@media (max-width: 1040px) {
    .footer-page {
        padding-bottom: 40px;
    }
}

.footer-image {
    display: flex;
    align-items: center;
    justify-content: center;
}
.and-image {
    display: flex;
    width: 320px;
    height: auto;
    pointer-events: none;
} 
@media (max-width: 768px) {
    .and-image {
        width: 240px;
    } 
}



.dynamic-blocks {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}









