:root{
    --font-color: #593B37;
    --swiper-pagination-color: #BC164580;
    --swiper-theme-color: #BC164580;
}

/* Reset and base styles  */
* {
    padding: 0px;
    margin: 0px;
    border: none;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Links */

a, a:link, a:visited  {
    text-decoration: none;
    color: var(--font-color);
}

a:hover  {
    text-decoration: none;
}

/* Common */

aside, nav, footer, header, section, main {
    display: block;
}

h1, h2, h3, h4, h5, h6, p {
    font-size: inherit;
    font-weight: inherit;
}

ul, ul li {
    list-style: none;
}

img {
    vertical-align: top;
}

img, svg {
    max-width: 100%;
    height: auto;
}

address {
  font-style: normal;
}

/* Form */

input, textarea, button, select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background-color: transparent;
}

input::-ms-clear {
    display: none;
}

textarea {
    resize: vertical;
}

button, input[type="submit"] {
    display: inline-block;
    box-shadow: none;
    background-color: transparent;
    background: none;
    cursor: pointer;
}

button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

label {
    cursor: pointer;
}

legend {
    display: block;
}

input[type='file'] {
    max-width: 100%;
}

/* Стили */

@font-face {
    font-family: Lighthaus;
    src: url(../fonts/Lighthaus.ttf);
}

html{
    font-size: calc( 100vw / 192);
}

body{
    background: linear-gradient(180deg,
        #e6a69380 0%,
        #FFFFFF 15%,
        #FFFFFF 35.58%, 
        #FF768888 83.17%
        );
    color: var(--font-color);
    font-family: Nunito Sans, sans-serif;
    font-weight: 200;
    font-size: 2.5rem;
    line-height: 130%;
    letter-spacing: 0%;
    width: 100vw;
    overflow-x: hidden;
}

section{
    margin: 0 auto;
    width: 90%;
    margin-bottom: 23rem;
}

.h1{
    font-family: Lighthaus, serif;
    font-weight: 400;
    font-size: 5.5rem;
    line-height: 130%;
    letter-spacing: 0%;
    text-align: end;
}

.h2{
    font-family: Lighthaus, serif;
    font-weight: 400;
    font-size: 5.5rem;
    line-height: 130%;
    letter-spacing: 0%;
    text-align: end;
    text-transform: uppercase;
}

.h3{
    font-family: Lighthaus, serif;
    font-weight: 400;
    font-size: 2.8rem;
    line-height: 130%;
    letter-spacing: 0%;
}

.h5{
    font-family: Lighthaus, serif;
    font-weight: 400;
    font-size: 2.3rem;
    line-height: 140%;
    letter-spacing: 0%;
}

.w90{
    width: 90%;
    margin: 0 auto;
}

.font-black{
    font-family: Nunito Sans, sans-serif;
    font-weight: 400;
    font-size: 2.5rem;
    line-height: 130%;
    letter-spacing: 0%;
}

.header{
    /* min-height: 99vh; */
    width: 100%;
    position: relative;
    margin-bottom: 23rem;
}

.header-srtaus{
    position: absolute;
    top: -12.4rem;
    left: -7.9rem;
    transform: rotateY(-176.7deg);
    width: 57.7rem;
    opacity: 0.95;
    z-index: -1;
}

.block-header{
    /* min-height: 90vh; */
    margin-top:5.5rem;
    background: linear-gradient(180deg, rgba(217, 217, 217, 0.5) 19.96%, rgba(217, 217, 217, 0.5) 52.4%, rgba(209, 136, 125, 0.5) 87.5%);
    box-shadow: 1px 1px 4.75rem 1.4rem #0000004D;
    backdrop-filter: blur(1.3rem);
    opacity: 0.65;
    border-radius: 2rem;
    position: relative;
}

.title-header{
    width: 50%;
    padding-top: 14.5rem;
    align-items: end;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.title-header h1{
    text-align: end;
    width: 10em;
    margin-bottom: 1.1em;
}

.title-header p{
    margin-left: 10rem;
    margin-bottom: 4rem;
}

.download-link{
    display: flex;
    gap: 1.7rem;
    padding-bottom: 4.3rem;
    width: 47%;
    justify-content: center;
    padding-left: 6em;
}

.download-link img{
    filter: drop-shadow(-7px 12px 3px #AE412633);
    width: 8.7rem;
}

.download-link a:hover img{
    filter: drop-shadow(-7px 12px 3px #AE412655);
}

.download-title{
    order: -1;
    width: 9.4em;
    height: 3.4em;
    background-image: url(../img/arrow-download.png);
    background-repeat: no-repeat;
    background-position: right top;
    display: flex;
    align-items: flex-end;
    margin-top: 3.8em;
    margin-right: -1.3em;
    background-size: 4em;
}

.phone-image-header{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
    pointer-events: none;
    font-size: 3rem;
}

.phone-mu {
    /* width: 300px; 
    height: 600px;  */
    background-color: #000;
    border-radius: 1.3em; 
    box-shadow: 0 0.3em 1em rgba(0, 0, 0, 0.5);
    position: relative;
    padding: .5em; 
    box-sizing: border-box;
}

.phone-mu::after, .phone-mu::before {
    content:"";
    position: absolute;
    width: .15em;
    background-color: #222; 
    border-radius: .8em; 
    z-index: 15;
}

.phone-mu::after {
    height: 1.2em;
    top: 3.3em;
    left: -.15em; 
}

.phone-mu::before {
    height: 1.2em;
    top: 5em; 
    left: -.15em;
}

.header-phone{
    position: absolute;
    width: 34rem;
}

.phone-animate{
    animation: float 6s ease-in-out infinite;
}

.phone-animate-delay1{
    animation-duration: 7s;
    animation-delay: 0s;
}

.phone-animate-delay2{
    animation-duration: 8s;
    animation-delay: -2s;
}

.phone-animate-delay3{
    animation-duration: 9s;
    animation-delay: -1s;
}

.header-phone_1{
    top: 50%;
    left: calc(56% - 5rem);
}

.header-phone_2{
    bottom: 50%;
    right: 12rem;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(4px, -6px) rotate(1deg) scale(1.01);
    }
    50% {
        transform: translate(-3px, -2px) rotate(-1deg) scale(0.99);
    }
    75% {
        transform: translate(5px, -5px) rotate(1deg) scale(1.01);
    }
    100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
}

#capability h2{
    margin-bottom: 12rem;
    width: 75%;
    margin-right: 0;
    margin-left: auto;
}

.grid2{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12rem;
}

.capability-block{
    display: grid;
    grid-template-columns: 40.8rem 1fr ;
    height: 44rem;
}

.capability-block-title{
    padding-top: 6.5rem;
    /* width: 408px; */
}

.capability-block-title h3{
    margin-bottom: 2.5rem;
    text-align: center;
}

.capability-block-gallery {
    font-size: 2rem;
    position: relative;
}

.capability-block-gallery>div{
    width: 50%;
    margin:0 auto;
    /* display: flex;
    justify-content: center;
    flex-grow: 1; */
}

.capability-block-gallery img{
    max-height: 100%;
    max-width: 100%;
    height: auto;
    width: auto;
}

#communication{
    text-align: center;
}

#communication h2{
    text-align: center;
    margin-bottom: 2.5rem;
}

.communication-title{
    margin-bottom: 6.5rem;
}

.communication-blocks{
    width: 84.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap:3.5rem;
    margin: 0 auto;
}

.communication-block{
    display: flex;
    flex-direction: column;
    padding: 0 .8em;
}

.communication-block h4{
    margin-bottom: 2.5rem;
}

.communication-block p{
    min-height: 19.5rem;
}

.communication-block img{
    height: 20rem;
    margin: 0 auto;
}

#aboutus h3{
    margin-right: 0;
    margin-left: auto;
    margin-bottom: 6.5rem;
    width: 75%;
}

.aboutus{
    text-align: center;
    width: 80%;
    margin: 0 auto;
}

#soc h3{
    margin: 0 auto;
    text-align: center;
    margin-bottom: 6.5rem;
}

.soc-links{
    display: flex;
    justify-content: center;
    gap:6.5rem;
}

.soc-link{
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #F7E1D2 !important;
}

.soc-link a, .soc-link a:hover, .soc-link a:visited{
    color: #F7E1D2;
}

.soc-link:hover{
    text-decoration: underline;
}

.soc-link img{
    width:12rem;
}

.soc-link img, .download-link img {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.button:hover, .soc-link:hover img, .download-link a:hover img{
    transform: translateY(-5px) scale(1.1);
    filter: drop-shadow(0 5px 5px rgba(89, 59, 55, 0.3));
}

footer{
    text-align: center;
}

#capability{
    background: url("../img/straus.png");
    background-repeat: no-repeat;
    background-position-x: right;
    background-position-y: center;
    background-size: 60rem;
    position: relative;
}
#capability::after{
    content: "";
    position: absolute;
    background: url("../img/straus.png");
    background-repeat: no-repeat;
    background-position-x: right;
    background-position-y: center;
    background-size: contain;
    width: 25rem;
    height: 25rem;
    transform:rotateY(-176deg);
    left:20rem;
    bottom: -10rem;
    pointer-events: none;
}

#aboutus{
    position: relative;
}

#aboutus::after{
    content: "";
    position: absolute;
    background: url("../img/straus.png");
    background-repeat: no-repeat;
    background-position-x: right;
    background-position-y: center;
    background-size: contain;
    width: 49rem;
    height: 40rem;
    transform: rotateY(-4deg);
    right: -12rem;
    bottom: -31rem;
    pointer-events: none;
}

.swiper-horizontal, .swiper-vertical{
    overflow: hidden;
}
.swiper-pagination-horizontal{
    text-align: center;
}

/* .grid2{
    display: flex;
    gap:0;
}

.swiper-capability{
    max-height: 90vh;
    border: 1px solid green;
}

.capability-block{
    display: flex;
    flex-direction: column;
} */

.button{
    display: none;
    z-index: 99;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    background-color: #FBFBFB;
    opacity: 1;
    box-shadow: 
        -7px 6px 12px 0px #AE412633,
        1px 5px 110px 0px #7253051A inset,
        8px 7px 41px 0px #FDF4DA80 inset,
        1px 2px 3px 0px #FDF4DA33 inset,
        -2px -1px 4px 0px #FEF2D840 inset,
        -2px 8px 20px 0px #FEF2D8 inset,
        0px 2px 1.5px 0px #62626226 inset;
}

#scroll-to-top-button{
    position: fixed;
    bottom: 50px;
    right: 50px;
    width: 54px;
    height: 54px;
    border-radius: 100%;
}

#download-button{
    position: fixed;
    bottom: 50px;
    right: calc(50% - 110px);
    width: 54px;
    height: 54px;
    width: 220px;
    height: 52px;
    border-radius: 11px;
    font-family: Lighthaus;
    font-weight: 400;
    font-size: 18px;
    text-align: center;
    text-transform: capitalize;

}