@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,200..1000;1,200..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Anonymous+Pro:ital,wght@0,400;0,700;1,400;1,700&display=swap');

@import url('./general/colors.css');
@import url('./general/hover-desktop.css');
@import url('./general/fonts.css');
@import url('./general/footer.css');
@import url('./general/header.css');
@import url('./blocks/hero.css');
@import url('./blocks/intro.css');
@import url('./blocks/about-us.css');
@import url('./blocks/our-services.css');
@import url('./blocks/our-portfolio.css');
@import url('./blocks/trust-us.css');
@import url('./blocks/why-choose-us.css');
@import url('./blocks/how-we-work.css');
@import url('./blocks/for-whom.css');
@import url('./blocks/for-whom-cube.css');
@import url('./blocks/reviews.css');
@import url('./blocks/faq.css');
@import url('./blocks/project-form.css');
@import url('./blocks/contacts.css');

@font-face {
    font-family: 'KyivType Sans';
    src: url('../fonts/KyivTypeSans-VarGX.ttf') format('truetype');
    font-weight: 50 900;
    font-style: normal;
    font-display: swap;
}

article,
aside,
audio,
canvas,
command,
datalist,
details,
embed,
figcaption,
figure,
header,
hgroup,
keygen,
meter,
nav,
output,
progress,
section,
source,
video {
    display: block;
}

mark,
rp,
rt,
ruby,
summary,
time {
    display: inline
}

/* Global properties ======================================================== */
body {
    background: #fff;
    font-family: "Roboto Mono", sans-serif;
    font-size: 1rem;
    line-height: 120%;
    color: #000;
    margin: 0;
    padding: 0;
    border: 0;
}

html,
body {
    height: 100%;
}

a {
    color: #d52d00;
    outline: none;
}

a:hover {
    text-decoration: none;
}



/* Global Structure ============================================================= */

/* Header */


/* Content */

/* Footer */


/*----- form defaults -----*/
input,
select,
textarea {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1em;
    vertical-align: middle;
    font-weight: normal;
    outline: none;
    font-family: 'PT Sans', sans-serif;
}

/*----- other -----*/

.all {
    overflow: hidden;
    position: relative;
}

.relative {
    position: relative;
}

.mobile-version {
    display: none;
}


.pin {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: var(--Black);
}

.pin>section {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.9s cubic-bezier(.65, 0, .35, 1);
    overflow: hidden;
}


.pin>section:first-child {
    transform: translateY(0);
}

.adge__arrow img {
    position: absolute;
    width: 35px;
    height: 35px;
    z-index: 100;
}

.adge__arrow img:nth-child(1) {
    top: 30px;
    left: 30px;
}

.adge__arrow img:nth-child(2) {
    top: 30px;
    right: 30px;
}

.adge__arrow img:nth-child(3) {
    bottom: 30px;
    left: 30px;
}

.adge__arrow img:nth-child(4) {
    bottom: 30px;
    right: 30px;
}

.number__page {
    position: absolute;
    top: 170px;
    right: 65px;
    font-size: 18px;
    line-height: 20px;
    color: var(--White);
    z-index: 100;
}

.hero__battery {
    position: absolute;
    bottom: 60px;
    left: 60px;
    z-index: 100;
}

.hero__rec {
    font-size: 30px;
    line-height: 34px;
    color: var(--White);
    position: absolute;
    padding: 0 0 0 18px;
    bottom: 69px;
    right: 62px;
    z-index: 100;
}

.hero__rec::before {
    content: '';
    position: absolute;
    top: 11px;
    left: 0;
    width: 12px;
    height: 12px;
    background: var(--Red);
    border-radius: 100%;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.3;
        transform: scale(0.7);
    }
}

.section-toTop {
    font-size: 24px;
    line-height: 28px;
    color: var(--White);
    text-transform: uppercase;
    position: absolute;
    top: 72px;
    right: 65px;
    z-index: 2;
}

.hero__portfolio-button {
    height: 381px;
    width: 381px;
    display: flex;
    position: relative;
    font-size: 20px;
    line-height: 24px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--White);
    border-radius: 50%;
    transition: transform 0.4s cubic-bezier(.34, 1.56, .64, 1);
}

.hero__content-button-circle {
    position: absolute;
    inset: 0;
    display: block;
    z-index: 1;
    opacity: 0;
    transform: scale(0.6) rotate(0deg);
    transform-origin: center center;
    animation: circleIn 0.9s cubic-bezier(.22, .9, .32, 1) forwards;
}

.hero__content-button-circle img {
    display: block;
    width: 100%;
    height: 100%;
}

.hero__content-button-title {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translate(0, -50%);
    text-align: center;
    z-index: 2;
    opacity: 0;
    animation: textIn 0.6s ease-out forwards;
    animation-delay: 1.25s;
}

.hero__portfolio-button-line {
    position: absolute;
    top: 45px;
    bottom: 45px;
    left: 45px;
    right: 45px;
    z-index: 1;
}

.line-top,
.line-bottom,
.line-left,
.line-right {
    opacity: 0;
    background: var(--White);
    position: absolute;
}

.line-top {
    width: 2px;
    height: 22px;
    top: 0;
    left: 50%;
    transform-origin: top center;
    transform: translate(-50%, 0) scaleY(0);
    animation: lineInY 0.35s ease-out forwards;
    animation-delay: 0.9s;
}

.line-bottom {
    width: 2px;
    height: 22px;
    bottom: 0;
    left: 50%;
    transform-origin: bottom center;
    transform: translate(-50%, 0) scaleY(0);
    animation: lineInY 0.35s ease-out forwards;
    animation-delay: 1.0s;
}

.line-left {
    width: 22px;
    height: 2px;
    top: 50%;
    left: 0;
    transform-origin: left center;
    transform: translate(0, -50%) scaleX(0);
    animation: lineInX 0.35s ease-out forwards;
    animation-delay: 0.95s;
}

.line-right {
    width: 22px;
    height: 2px;
    top: 50%;
    right: 0;
    transform-origin: right center;
    transform: translate(0, -50%) scaleX(0);
    animation: lineInX 0.35s ease-out forwards;
    animation-delay: 1.05s;
}

@keyframes circleIn {
    0% {
        opacity: 0;
        transform: scale(0.6) rotate(0deg);
    }

    60% {
        opacity: 1;
        transform: scale(1.04) rotate(300deg);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotate(360deg);
    }
}

@keyframes lineInY {
    from {
        opacity: 0;
        transform: translate(-50%, 0) scaleY(0);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0) scaleY(1);
    }
}

@keyframes lineInX {
    from {
        opacity: 0;
        transform: translate(0, -50%) scaleX(0);
    }

    to {
        opacity: 1;
        transform: translate(0, -50%) scaleX(1);
    }
}

@keyframes textIn {
    from {
        opacity: 0;
        transform: translate(0, -50%) translateY(6px);
    }

    to {
        opacity: 1;
        transform: translate(0, -50%) translateY(0);
    }
}