@import "./reset.css";
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Poppins:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');
@import url('https://fonts.cdnfonts.com/css/futura-pt');


:root {
    --sizeindex: calc(1vw + 1vh);
    --blackpure: #000;
    --black: #171718;
    --black-border: #26292D;
    --white: #fff;
    --purple: #5C62EC;

    --text-color: var(--black);

    --dark-bg: var(--black);
    --dark-border: var(--black-border);
    --header-text: var(--white);
    --accent: var(--purple);
    --bone: 24px;
    --bone_w: 1320px;
    --page-bg: var(--white);
    --text-color: var(--black);
    --title-1: var(--accent);
    --project-card-bg: var(--white);
    --project-card-text: var(--black);
    --box-shadow: 0px 5px 35px rgba(0, 0, 0, 0.25);
}

html, body {
margin: 0;
    padding: 0;
    font-size: var(--body);
    font-weight: 400;
    font-style: normal;
    line-height: 1.4;

    font-family: 'DM Sans', 'Poppins', sans-serif;
    letter-spacing: -0.5px;
    color: var(--white);
}

.bone {
    width: 100%;
    height: 100%;
    max-width: calc(var(--bone_w) + var(--bone) * 2);
    margin: 0 auto;
    padding: 0 var(--bone);
}
.header {
    height: 100%;
    background-image: url('./../img/1645709436_16-kartinkin-net-p-informatsionnie-tekhnologii-kartinki-19.jpg');
    background-repeat: no-repeat;
    background-size:cover;
    background-position: center center;

    
}

.container {
    color: var(--header-text);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
}

.header__content {
    margin: 7% 0 11%;
   
    max-width: 63vw;
    margin-right: 3vw;
   text-align: left;
}
.header__conteiner {
    display: grid;
    grid-template-columns: 5fr 1fr;
    grid-gap: 2vw;
    align-items: center;
}
.lazyloaded {
    /* margin-top: 3vh; */
    padding-right: 1vw;
    justify-self: center;
}
.none {
    display: none !important;
}



.title-1 {
   margin-bottom: 7vh;
    font-size: calc(var(--sizeindex) * 3);
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
    text-align: center;
}

.title-2 {
    margin-bottom: 20px;

    font-size: 40px;
    font-weight: 700;
    line-height: 1.3;
}

/* Nav */

.nav {
    display:flex;
    justify-content: space-around;
    align-items: center;
    border-bottom: 2px solid var(--white); 
    letter-spacing: normal;
    padding: 20px;
}
.nav__contact {
    display:flex;
    justify-content: space-around;
    align-items: center;
    letter-spacing: normal;
    padding: 20px;  
}

.nav-row {
    display: flex;
   justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
._black {
    color: var(--black) !important;
}

.logo {
  margin-right: 25vw;
    color: var(--header-text);
    font-size: calc(var(--sizeindex) * 1.4);
    font-family: 'Poppins', sans-serif;
}
.logo strong {
    font-weight: 700;
}
.nav-list {
    display: flex;
    flex-wrap: wrap;
   padding: 0 15px;
    align-items: center;
    column-gap: 5vw;
    font-size: calc(var(--sizeindex) * 0.9);
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
}

.nav-list__link {
    color: var(--header-text);
    transition: opacity 0.2s ease-in;
}

.nav-list__link:hover {
    opacity: 0.8;
}

.nav-list__link--active {
    position: relative;
}

.nav-list__link--active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 100%;
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--accent);
}

.header__title {
    margin-bottom: 20px;
    font-size: calc(var( --sizeindex) * 2);
    font-weight: 700;
    line-height: 1.4;
}

.header__title strong {
    font-size: calc(var( --sizeindex) * 3);
    font-weight: 700;
}

.header__title em {
    font-style: normal;
    color: var(--accent);
}

.header__text {
    margin-bottom: 40px;
    font-size: calc(var( --sizeindex));
    line-height: 1.333;
}

.header__text p + p{
    margin-top: 0.5em;
}

/* Btn */

.btn {
    margin-top: 40px;
    display: inline-block;
    padding: 12px 28px;

    border-radius: 5px;
    background-color: var(--accent);
    color: var(--white);
    letter-spacing: 0.15px;
    font-size: 16px;
    font-weight: 500;

    transition: opacity 0.2s ease-in;
}
.lng_btn a {
    color: rgb(255, 255, 255);
    font-size: calc(var( --sizeindex) * .8);
}

.btn:hover {
    opacity: 0.8;
}

.btn:active {
    position: relative;
    top: 1px;
}


.btn-outline {
    display: flex;
    column-gap: 10px;
    align-items: center;

    height: 48px;
    padding: 12px 20px;

    border-radius: 5px;
    border: 1px solid var(--blackpure);
    background-color: var(--white);
    color: var(--blackpure);
    margin-bottom: 40px;
    transition: opacity 0.2s ease-in;
}

.btn-outline:hover {
    opacity: 0.8;
}

.btn-outline:active {
    position: relative;
    top: 1px;
}

form {
    display: flex;
    flex-direction: column;
    max-width: 300px;
    /* margin: 0 auto; */
  }
  
  label {
    font-weight: bold;
    margin-top: 10px;
    color: #5e5e5e;
  }
  
  input, textarea {
    color: #5e5e5e;
    padding: 5px;
    margin-top: 5px;
    border: 1px solid #ccc;
    resize: none;
  }
  
  .button__form {
    margin-top: 10px;
    padding: 5px 10px;
    background-color: #007bff;
    border: none;
    color: #fff;
    cursor: pointer;
  }


.section {

    width: 100%;
}
/* Projects  */
.main {
    padding: 30px 0;
}

.projects {
    margin-top: 3vh;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    column-gap: 30px;
    row-gap: 30px;
}

.project {
    max-width: 370px;
   
    background-color: var(--project-card-bg);
    box-shadow: var(--box-shadow);
    border-radius: 10px;
}

.project__img {
    border-radius: 10px;
    height: 265px;
}
.project__img:hover {
    position: relative;
    max-width: 369px;
    height: 263px;
}
.project__title {
    padding: 15px 20px 15px;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.3;
    color: var(--project-card-text);
}
.em-ribbon {
    position: absolute;
     left:0;
      top:0;
       width: 90px;
        height: 90px;
         background: url('https://stfalcon.github.io/stopwar/img/stop-war-in-ukraine.png');
          z-index: 20;
           border: 0;
}
/* Project details */

.project-details {
    margin: 0 auto;
    max-width: 865px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.project-details__cover {
    max-width: 100%;
    margin-bottom: 40px;
    box-shadow: 0px 5px 35px rgba(0, 0, 0, 0.25);
    border-radius: 10px;
}

.project-details__desc {
    margin-bottom: 30px;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.3;
}

/* Content list */

.content-list {
    margin: 0 auto;
    max-width: 570px;
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 10px;
    text-align: center;
}

.content-list a {
    color: var(--accent);
}

.content-list__item {
    font-size: 18px;
    line-height: 1.5;
}

.content-list__item p + p {
    margin-top: 0.5em;
}

/* Footer */

.footer {
   /* margin-top: 100%; */
    padding: 5vh 0; 
    /* position: fixed; /* или position: absolute; */
    /* bottom: 0;
    width: 100%; */
    /* background-color: var(--dark-bg); */
    color: var(--header-text);
    background-image: url('./../img/1645709436_16-kartinkin-net-p-informatsionnie-tekhnologii-kartinki-19.jpg');
    background-repeat: no-repeat;
    background-size:cover;
    background-position: center center;
}

.footer__wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 27px;
}

.social {
    display: flex;
    column-gap: 30px;
    align-items: center;
}

.copyright {
    font-size: 16px;
}

.copyright p + p {
    margin-top: 0.5em;
}
.text-black {
    color: rgb(47, 47, 47);
    font-size: calc(var( --sizeindex) * 2);
}
.backg {
    
    background-image: url('../img/1645709436_16-kartinkin-net-p-informatsionnie-tekhnologii-kartinki-19.jpg');
    background-repeat: no-repeat;
    background-size:cover;
    background-position: center center;
}
.histori {
    font-size: calc(var( --sizeindex) * 1.3);
    text-align: start;
       padding: 2vh 7vw 1vw;
}
.whats {
    font-size: 18px;
     text-align: center;
}
.btn-whats  {
    padding: 3vh 0;
}
.section__contact {
    background-image: url('../img/land6.jpeg');
    background-repeat: no-repeat;
    background-size:cover;
    background-position: center center;
}
.section__histori{
    background-image: url('../img/background.png');
    background-repeat: no-repeat;
    background-size:cover;
    background-position: center center;
}
.img {
    background-image: url('../img/depositphotos_70836663-stock-photo-you-are-not-too-old\ \(1\).jpg');
    height: 50vh;
    background-size:contain;
    background-position: center;

} 
.parallax {
    background-image: url("../img/1645709418_26-kartinkin-net-p-informatsionnie-tekhnologii-kartinki-30.jpg");
    height: 870px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
} 

.parallax1 {
    background-image: url("../img/1645709436_16-kartinkin-net-p-informatsionnie-tekhnologii-kartinki-19.jpg");
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.parallax2 {
    /* background-image: url("../img/1645709464_21-kartinkin-net-p-informatsionnie-tekhnologii-kartinki-25.jpg"); */
    height: 200px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.feedbackform {
    padding: 10px;
    display: flex;
    flex-direction: column;
    max-width: 300px;
  }
  .feedbackform:hover {  
    background-color: rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease; 
  }
  label {
    color: #fff;
    margin-top: 20px;
    font-family: 'Futura PT', sans-serif; 
  }
  
.feedback__form {
    color: #5e5e5e;
    padding: 5px;
    margin-top: 5px;
    background: none;
    border-bottom: 1px solid #fff !important;
    resize: none;
    border: none;
  }
  ::-webkit-input-placeholder { /* Для браузеров, основанных на WebKit, таких как Chrome и Safari */
    color: #fff; /* Цвет placeholder */
  }
  
  :-moz-placeholder { /* Для Firefox 18- */
    color: #fff; /* Цвет placeholder */
  }
  
  ::-moz-placeholder { /* Для Firefox 19+ */
    color: #fff; /* Цвет placeholder */
  }
  
  :-ms-input-placeholder { /* Для Internet Explorer */
    color: #fff; /* Цвет placeholder */
  }
  .button__form {
        padding: 0 22px;
        color: #fff;
        display: inline-block;
        font-size: 13px;
        line-height: 43px;
        letter-spacing: 1.3px;
        -webkit-border-radius: 22px;
        border-radius: 22px;
        border: 1px solid #fff;
        min-width: 228px;
        -webkit-transition: all .4s;
        -o-transition: all .4s;
        transition: all .4s;
        cursor: pointer;
        text-transform: uppercase;
        background-color: transparent;
        position: relative;
        margin-top: 25px;
  }
  .button__form:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease; 
  }

  .feedback__container {
    display: flex;
   justify-content: center;
    gap: 147px;
    padding: 100px;
}
.feedback__contact {
padding: 15px; 
color: #fff;
margin-top: 20px;
font-family: 'Futura PT', sans-serif;
font-size: 20px;
}
.feedback__contact:hover {
background-color: rgba(0, 0, 0, 0.2);
transition: all 0.3s ease; 
}
.feedback__contact p {
margin-bottom: 15px;
}
.social {
display: flex;
column-gap: 30px;
align-items: center;
margin-bottom: 15px;
}
.feedback__p {
font-family: 'Futura PT', sans-serif;
font-size: 20px;   
}
@media (max-width: 680px) {

    .nav-row {
       padding: 0;
       display: block;
    }
    .nav-list {
        padding: 0;
    }
    .logo {
        margin: 0;
    }
    
} 
/* @media (max-width: 660px) {

}  */

@media (max-width: 620px) {

    /* Header  */

    .header {
        min-height: unset;
    }

    .nav-row {
        display: block;
    }

    .dark-mode-btn {
        order: 0;
    }

    /* General */

    .section {
        padding: 40px 0;
    }

    .title-1 {
        margin-bottom: 30px;
        font-size: 40px;
    }

    .title-2 {
        margin-bottom: 10px;
        font-size: 30px;
    }

    /* Projects */

    .project__title {
        font-size: 22px;
    }

    /* Project page */

    .project-details__desc {
        margin-bottom: 20px;
        font-size: 22px;
    }

    /* Content List */

    .content-list {
        row-gap: 20px;
    }

    .content-list__item {
        font-size: 16px;
    }

    /* Footer */

    .footer {
        padding: 40px 0 30px;
    }

    .footer__wrapper {
        row-gap: 20px;
    }

    /* Social */

    .social {
        column-gap: 20px;
    }

    .social__item {
        width: 28px;
    }

}



.btn_style {
    padding: 0 22px;
    color: #000;
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    line-height: 43px;
    letter-spacing: 1.3px;
    -webkit-border-radius: 22px;
    border-radius: 22px;
    border: 1px solid #000;
    min-width: 228px;
    -webkit-transition: all .4s;
    -o-transition: all .4s;
    transition: all .4s;
    cursor: pointer;
    text-transform: uppercase;
    background-color: transparent;
    font-family: Gilroy;
    position: relative;
}
.btn_style::before {
    content: '';
    position: absolute;
    background-color: #fbfb;
    top: 4px;
    left: 4px;
    width: 6px;
    height: 6px;
    border: none;
    border-radius: 100%;
    transform-origin: 8px 8px;
    animation-name: spin;
    animation-duration: 1000ms;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}
.circle {
    position: absolute;
    width: calc(50vw - 50px);
    height: auto;
    bottom: 0px;
    right: 50px;
    transform: translatey(50%);
    pointer-events: none;
    z-index: 3;
    overflow: hidden;
    max-width: 900px;
}
