* {
    touch-action: manipulation;
}

:root {
    --font: #282828;
    --white: #FAF9F6;
    --аccent: #83F3FF;
}

@font-face {
  font-family: 'Despair';
  src: url('/fonts/DespairDisplay-Bold.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}


body {
    margin: 0;
    overflow-x: hidden;
    
}

  
body::-webkit-scrollbar {
    display: none;
}

.webgl-background_container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
}

canvas {
    width: 100%;
    height: 100%;
}


.webgl-background_container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100lvh;
    z-index: -1
}

.webgl-background_container.active {
    opacity: 0.2;
    }

::selection {
    background: #7fdee8dd;
    color: #000000;
}

h1, h2, h3, h4 h5, h6, p{
    font-family: "Roboto", serif;   
    font-weight: 350;
    color: var(--font);
}
p{
    font-size: 20px;
    line-height: 1.4;
}

h1{
    font-size: 45px;
}

h2{
    font-size: 42px;
}

a{
    text-decoration: none;
    color: var(--font);
}

section {
    margin-bottom: 100px;
}


    /* ======================
   HERO SECTION
   ====================== */


#hero {
    width: 100%;
    height: 100vh; 
    align-items: center; 
    display: flex;
    justify-content: center;
}
.container-hero{
    width: 75%;
    max-width: 720px;
}
.hero{
    align-items: center; 
    justify-content: center;
    margin: 0 auto;
    margin-bottom: 20px;
}
.hero h1 {
    font-family: "Despair";
    text-transform: uppercase;
    line-height: 0.95;
    user-select: none; 
    font-size: 100px;
    color: var(--white);
    font-style: normal;
    margin-bottom: 0;
    margin-top: 0;
}

.blue{
    text-transform: lowercase !important;
    color: var(--аccent) !important;
}

.forward {
    margin-left: 180px; 
}
.subtitle{
    display: flex;
    justify-content: flex-start;
    flex-direction: row;
}
.subtitle p{
    min-width: 310px;
}
.hero p {
    font-family: "Roboto", serif;
    font-size: 20px;
    color: var(--white);
    margin: -10px 0 0 15px;
}
img {
    width: 300px;
    height: auto;
    position: absolute;
    bottom: 20px;
    left: 15%;

}

.arrow {
  display: inline-block;
  width: 16px;  
  height: 16px;
  margin-left: 5px;
  background-image: url('/img/arrow.svg'); /* путь к картинке */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero button {
    user-select: none; 
    color: var(--white);
    border: none;
    padding: 5px 15px;
    border-radius: 40px;
    border: var(--white) 1.5px solid;
    font-family: "Roboto", serif;
    font-weight: 350;
    font-size: 20px;
    cursor: pointer;
}


/* ======================
   SERVICES SECTION
   ====================== */


.services-container h1{
    font-family: "Roboto", serif;
    font-weight: 350;
    text-align: center;
    margin: 0;
}
.services-container {
    width: 95%;
    gap: 30px;
    display: flex;
    margin: 0 auto;
    flex-direction: column;
}

.services-block {
    background-color: #FAF8F6;
    box-shadow: #0000002b 0 0 30px 1px;
    border-radius: 16px;
    padding: 50px;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: row-reverse;
}



.services-block h2 {
    margin: 0;
    font-family: "Roboto", serif;
    font-weight: 400;
}



.services-adv {
    display: flex;
    margin: 14px 0;
    gap: 10px;
    text-wrap-mode: nowrap;
    flex-wrap: wrap;
}

.services-adv h3 {
    user-select: none; 
    border: 2px solid #d4d4d4;
    padding: 4px 10px;
    margin: 0;
    color: var(--font);
    border-radius: 20px;
    font-family: "Roboto", serif;
    font-weight: 400;
    font-size: 20px;
}

.services-block p {
    font-family: "Roboto", serif;
    font-weight: 400;
    color: #383838;
    line-height: 1.4;
    font-size: 20px;
    margin-top: 0;
}

.services-block button {
    user-select: none; 
    color: var(--font);
    background-color: #ffffff;
    border: none;
    padding: 5px 15px;
    border-radius: 40px;
    border: #000000 1.5px solid;
    font-family: "Roboto", serif;
    font-weight: 350;
    font-size: 20px;
    cursor: pointer;
}

/* ======================
    ABOUT SECTION
   ====================== */

.about-info{
    text-align: center;
    width: 50%;
    max-width: 750px;
    min-width: 500px;
    margin: 0 auto;
    margin-bottom: 60px;
}
.about-blocks{    
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    text-align: center  ;
    gap: 50px;
}
.about-block{
    border-radius: 16px;
    max-width: 240px;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
}

.about h2 {
    margin: 0;
    font-family: "Roboto", serif;
    color: #383838;
    font-size: 60px;
}

i{
    font-size: 40px;
}


/* ======================
   PRICES SECTION
   ====================== */
.prices{
    text-align: center;
}

.prices h2{
    font-size: 35px;
    margin: 0;
}
.prices h3{
    font-size: 25px;
    text-align: center;
    font-family: "Roboto", serif;
    color: var(--font);
    margin: 20px 0;
}


.price-blocks{    
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
    margin-top: 50px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    text-align: center;
    gap: 50px;
}

.price-block {
    border-radius: 16px;
    max-width: 300px;
    background-color: #FAF8F6;
    box-shadow: #0000002b 0 0 30px 1px;
    padding: 20px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}
.price-check{
    text-align: left;
}


button {
    user-select: none; 
    color: var(--font);
    background-color: #ffffff00;
    border: none;
    padding: 5px 15px;
    border-radius: 40px;
    border: #000000 1.5px solid;
    font-family: "Roboto", serif;
    font-weight: 350;
    font-size: 20px;
    cursor: pointer;
}
.price-block button{
    margin-top: 20px;
}

.price-block h4{
    font-family: "Roboto", serif;
    font-size: 20px;
    margin: 10px 0;
    font-weight: 400;
    color: var(--font);
}

.price-block p{
    margin-top: 0;
}

.price-block i{
    font-size: 20px;
    color: rgb(113, 151, 113); 
    margin-right:  10px;
} 



/* ======================
LASTPROJECT SECTION
   ====================== */

.last-project{
    text-align: center;
}   
.project-blocks{
    width: 95%;
    margin: 0 auto;

}
.project-block{
    text-align: center;
    margin: 0 auto;
    padding: 20px;
    background-color: #FAF8F6;
    box-shadow: #0000002b 0 0 30px 1px;
    border-radius: 16px;
    max-width: 800px;
}
.project-block img{
    position: static;
    width: 100%;
    height: auto;
    border-radius: 16px;
    margin-bottom: 20px;
}

.project-block a{
    text-decoration: none;
    color: var(--font);
    font-family: "Roboto", serif;
    font-size: 20px;
}

.project-block h2{
    margin: 0;
}


/* ======================
   CONTACT SECTION
   ====================== */
   
   footer{
    text-align: left;
    height: auto;
    padding-top: 3vh;
    padding-bottom: 3vh;


}



.footer{
    width: 75%;
    max-width: 800px;
    border-radius: 16px;
    margin: 0 auto;
    padding: 50px;
    background-color: var(--white);
    box-shadow: 0 0 40px 0.1px #a1a1a1cb;
}

.footer h2{
    color: #000000;
    font-size: 30px;
    margin-top: 1vh;
    margin-bottom: 1vh;
}

.footer p{
    font-size: 19px;
    color: #000000;
}

h4{
    color: #000000;
    text-align: left;
}

footer h2{
    font-family:'Roboto Condensed', sans-serif;
    font-size: 24px;
    color: #000000;
    font-weight: 400;
}

hr{ 
    margin-left: 0;
    margin-top: 20px;
    margin-bottom: 20px;
    border: solid 1.5px #c25050;
    width: 70px;
}

.foot-img{
    margin-left: 450px;
    margin-bottom: -108px;
    width: 220px;
}

.footer span{
    font-size: 30px;
    color: #000000;
} 

.sak-ab{
    text-align: left;
}

h5{
    font-size: 12px;
    color: #5e5e5e;
    font-family: 'Courier New', Courier, monospace;
}

@media (max-width:768px) {
    .footer {
        width: 64%;
    }
    .foot-img{
        margin-left: 32%;
    }
}
/* ======================
MEDIA SECTION
   ====================== */


.about h3{
    font-size: 30px;
}

@media (max-width: 370px) {
    .services-block h2 {
        font-size: 38px;
    }

    .prices h2 {
        font-size: 31px;
    }
}


@media (max-width: 768px) {
    #hero{
        align-items: normal;
        padding-top: 30vh;
        height: 70vh;
    }
    .container-hero{
        max-width: 720px;
    }

    .hero h1 {
        font-size: 17vw;
    }
    .forward{
        margin-left: 0px; 
    }
    .container-hero img{
        display: none;
    }
/* =============
 services*/
    .services-container {
        width: 95%;
    }
    .ser-img {
        width: 100%;
        margin-bottom: 20px;
    }
    .services-block {
        padding: 20px;
        height: auto;
        display: block;
    }
    .half {
        width: 100%;
        margin-bottom: 15px;
    }

/* =============
 about*/
    .about-blocks {
        width: 90%;
        max-width: 720px;
        flex-direction: column;
        gap: 20px;
    }
    .about-block {
        width: 100%;
        max-width: 720px;
    }
    .about-info {
        width: 90%;
        min-width: 0;
    }

    div.row {
        flex-direction: column;
    }
/* =============
 prices*/
    .price-blocks {
        width: 95%;
        max-width: 720px;
        flex-direction: column;
        gap: 20px;
        max-width: none;
    }

    .prices h3{
        text-align: center;

    }

}

@media (max-width: 1026px) {
    .container-hero{
        width: 90%;
        max-width: 720px;
    }
    
    img{
        left: unset;
    }
    .subtitle{
        display: block;
        gap: unset;
        margin-top: unset;

    }
    .subtitle p{
        margin: 20px 0 0 5px;
    }
    .contacts{
    width: 97%;

    }
    
    .price-block{
        max-width: none;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .forward {
        margin-left: 0px; 
    }
    .hero h1 {
        font-size: 105px;
    }
    .prices h3{
        text-align: left;

    }

/* =============
 about*/
    .about-blocks {
        width: 90%;
        max-width: 720px;
        flex-direction: column;
        gap: 20px;
    }
    .about-block {
        width: 100%;
        text-align: left;
        max-width: 720px;
    }
    .about-info {
        width: 90%;
        min-width: 0;
    }
    /* =============
 about*/
    .price-blocks {
        width: 90%;
        max-width: 720px;
        flex-direction: column;
        gap: 20px;
}
    .price-block {
        width: 100%;
        text-align: left;
        max-width: 720px;
}

}
.row{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.row h3{
    margin: 0;
}




@media (min-width: 1026px) {
/* =============
 about*/

 .about-block {
    text-align: left;
}
}

