body {
    margin: 0 auto;
    padding: 0;
    width: 100%;
  
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 400;
    color: #332b2b;
    background-color: #F1F1F1;
}

 *,
 *::before,
 *::after {
    box-sizing: inherit;
}
  
 html {
    box-sizing: border-box;
}

a {
    text-decoration: none;
}
  
h1, h2, h3, h4, p, ul, li, fieldset {
    margin: 0;
    padding: 0;
}

figure {
    margin: 0;
}

button, input, optgroup, select, textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

img {
    max-width: 100%;
    /*height: auto;*/
}

.visually-hidden:not(:focus):not(:active),
  input[type="checkbox"].visually-hidden,
  input[type="radio"].visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    border: 0;
    padding: 0;
    white-space: nowrap;
    -webkit-clip-path: inset(100%);
            clip-path: inset(100%);
    clip: rect(0 0 0 0);
    overflow: hidden;
}

header {
    position: relative;
    margin-bottom: 480px;
}

@keyframes rotate-colors {
    100% {
      filter: hue-rotate(360deg);
    }
}

.back {
    animation: rotate-colors 5s linear infinite;
    display: block;
    position: absolute;
    height: 1079px;
    top: 0;
    left: 0;
    z-index: -1;
}

.container {
    width: 1200px;
    margin: 0 auto;
}

.navigation {
    display: flex;
    margin-bottom: 240px;
    background-color: rgba(0, 0, 0, .6);
}

.navigation__ul {
    display: flex;
    justify-content: space-around;
    margin: 0;
    padding: 0;
    list-style: none;
    margin-top: 20px;
    margin-bottom: 20px;
}

.navigation__item {
    position: relative;
    font-size: 18px;
    line-height: 22px;
    letter-spacing: 3px;
}

.navigation__item::after {
    content: "";
    position: absolute;
    left: 160%;
    top: 3px;
    width: 30px;
    height: 30px;
    background: url("../img/code-slash1.svg") no-repeat;
}

.navigation__item:last-child::after {
    display: none;
}

.navigation__item-a {
    display: inline-flex;
    padding: 5px 10px;
    color: #99D6FF;
}

.navigation__item-a:hover {
    color: #b89abd;
}

.logo {
    display: block;
    margin: 0 auto;
    border-radius: 50%;
}

.desc__wrap {
    width: 620px;
    margin: 0 auto;
    
}

.logo__desc {
    display: block;
    text-align: center;
    letter-spacing: 3px;
    color: #99D6FF;
    margin-top: -10px;
    background-color: rgba(0, 0, 0, .6);
}

/*icons block*/
.icon__nav {
    position: fixed;
    right: 20px;
    top: 300px;
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #99d6ff;
    border: 2px solid #ffffff;
    border-radius: 10px;
}

.icon__a {
    display: flex;
    width: 36px;
    height: 36px;
}

.icon__vk {
    background: url(../img/vk.svg) no-repeat;
}

.icon__tg {
    background: url(../img/telegram.svg) no-repeat;
}

.icon__git {
    background: url(../img/github.svg) no-repeat;
    margin-bottom: 3px;
}

.icon__htmlacademy {
    background: url(../img/htmlacademy.svg) no-repeat;
}

h2 {
    position: relative;
    text-align: center;
    font-size: 28px;
    letter-spacing: 2px;
}

.services__h2::before {
    content: "";
    position: absolute;
    left: 325px;
    top: 18px;
    width: 505px;
    height: 48px;
    background: url("../img/triangle1.svg") no-repeat;
    z-index: -1;
}

.services__wrap {
    position: relative;
}

.services__column--first::after {
    position: absolute;
    content: "</>";
    left: 50px;
    top: 70px;
    font-size: 300px;
    color: rgba(153, 214, 255, .3);
    z-index: -1;
}

.services__wrap {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
}

.services__ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.services__li {
    position: relative;
    text-transform: uppercase;
    padding-left: 50px;
    padding-bottom: 50px;
}

.services__li::before {
    content: "";
    position: absolute;
    left: 0;
    top: -15px;
    width: 50px;
    height: 50px;
    background: url("../img/check.svg") no-repeat;
}

.services__li--bold {
    font-weight: 700;
}

.services__main {
    position: relative;
    text-align: center;
    font-size: 24px;
    padding-bottom: 50px;
}

.services__p {
    text-align: center;
    font-style: italic;
    font-weight: 700;
    padding-bottom: 35px;
}

.order {
    display: flex;
    justify-content: center;
    background: url("../img/button-overlay.svg") 50% no-repeat;
    background-color: #0f1519;
    margin-bottom: 100px;
}

.to__form {
    display: inline-flex;
    color: #ffffff;
    font-size: 17px;
    text-transform: uppercase;
    background: linear-gradient(#99D6FF, #4c6b7f);
    padding: 20px 50px;
    border-radius: 5px;
    box-shadow: 0 2px 1px 1px #99D6FF;
    margin-top: 25px;
    margin-bottom: 35px;
    transition: transform 0.5s ease-in;
}

.to__form:hover {
    background: linear-gradient(#4c6b7f, #99D6FF);
    transform: rotate(5deg);
}

.works__h2::before {
    content: "";
    position: absolute;
    left: 430px;
    top: 18px;
    width: 505px;
    height: 48px;
    background: url("../img/triangle1.svg") no-repeat;
    z-index: -1;
}

.works__wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 80px;
    margin-bottom: 100px;
}

.works__item {
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    width: 390px;
    text-align: center;
    margin-bottom: 15px;
    box-shadow: 1px 1px 2px #e6e6e6;
    cursor: default;
    background: linear-gradient(#d6eeff, #addeff);
}

figcaption {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    overflow: hidden;
    color: #ffffff;
}

.view img {
    display: block;
    position: relative;
    transform: scaleY(1);
    transition: all .7s ease-in-out;
}
  
.view figcaption {
    transition: all 0.5s linear;
    opacity: 0;
}

.view .works__h3 {
    background: transparent;
    margin: 0 110px 20px 110px;
    padding-top: 30px;
    border-top: 10px solid #2d404c;
    transform: scale(0);
    color: #333;
    transition: all 0.5s linear;
    opacity: 0;
}
  
.view .works__p {
    color: #333;
    opacity: 0;
    padding-bottom: 15px;
    transform: scale(0);
    transition: all 0.5s linear;
}
  
.view .works__a {
    display: inline-block;
    padding: 10px 20px;
    margin-left: auto;
    margin-right: auto;
    background-color: #2d404c;
    color: #ffffff;
    text-transform: uppercase;
    border-radius: 3px;
    opacity: 0;
    transform: scale(0);
    transition: all 0.5s linear;
}
  
.view:hover img {
    -webkit-transform: scale(10);
    transform: scale(10);
    opacity: 0;
}
  
.view:hover figcaption {
    opacity: 1;
}
  
.view:hover .works__h3,
.view:hover .works__p,
.view:hover .works__a {
    transform: scale(1);
    opacity: 1;
}

.info {
    margin-bottom: 100px;
}

.info__header {
    display: flex;
    align-items: center;
}

.info__h3 {
    margin-top: 20px;
    margin-bottom: 20px;
}

.info__show {
    display: inline-flex;
    color: #ffffff;
    font-size: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: linear-gradient(#99D6FF, #4c6b7f);
    padding: 10px 30px;
    border: none;
    border-radius: 3px;
    box-shadow: 0 2px 1px 1px #99D6FF;
    margin-left: 30px;
    cursor: pointer;
}

.info__wrap {
    display: flex;
    background: url(../img/598.jpg) 100% 0 no-repeat,
    linear-gradient(to right, #f1f1f1 50%, #b89abd);
    background-blend-mode: screen;
    margin-top: 30px;
}

.info__about-code {
    display: none;
    width: 800px;
}

.info__about-code-open {
    display: flex;
    flex-direction: column;
}

.info__p {
    line-height: 24px;
    text-indent: 40px;
    padding-bottom: 20px;
}

.info__p::first-letter {
    font-size: 20px;
}

.info__shadow {
    font-size: 20px;
    text-shadow: 1px 1px 12px rgb(0, 0, 0);
}

.quality__wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 70px;
    margin-bottom: 100px;
}

.quality__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 290px;
    background: linear-gradient(to right, transparent, transparent 5%, #b89abd 5%, #b89abd 25%, transparent 25%, transparent 75%, #b89abd 75%, #b89abd 95%, transparent 95%) no-repeat 0 5% / 100% 1px,
    linear-gradient(to right, transparent, transparent 5%, #b89abd 5%, #b89abd 25%, transparent 25%, transparent 75%, #b89abd 75%, #b89abd 95%, transparent 95%) no-repeat 0 95% / 100% 1px,
    linear-gradient(to bottom, transparent, transparent 5%, #b89abd 5%, #b89abd 25%, transparent 25%, transparent 75%, #b89abd 75%, #b89abd 95%, transparent 95%) no-repeat 5% 0 / 1px 100%,
    linear-gradient(to bottom, transparent, transparent 5%, #b89abd 5%, #b89abd 25%, transparent 25%, transparent 75%, #b89abd 75%, #b89abd 95%, transparent 95%) no-repeat 95% 0 / 1px 100%,
    linear-gradient(#b3e0ff, #4bd7ff);
    margin-bottom: 15px;
}

.quality__h2::before {
    content: "";
    position: absolute;
    left: 380px;
    top: 18px;
    width: 505px;
    height: 48px;
    background: url("../img/triangle1.svg") no-repeat;
    z-index: -1;
}

.quality__h3 {
    padding-top: 80px;
    padding-bottom: 30px;
}

.quality__span {
    text-align: center;
    padding-bottom: 80px;
}

.contacts {
    background-color: #223039;
    color: #99d6ff;
}

.contacts__h2 {
    padding-top: 30px;
}

.contacts__wrap {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
    border-bottom: 2px solid #99d6ff;
}

.contacts__form {
    padding: 20px;
    margin-bottom: 50px;
}

.input__container {
    position: relative;
    width: 100%;
    height: 50px;
}

.ic1 {
    margin-top: 40px;
}

.ic2 {
    margin-top: 30px;
}

.contacts__input {
    width: 100%;
    height: 100%;
    color: #99d5ff;
    font-size: 17px;
    padding: 4px 20px 0;
    border: none;
    border-bottom: 1px solid #99d6ff;
    outline: 0;
    background-color: #223039;
}

.contacts__input:focus ~ .cut,
.contacts__input:not(:placeholder-shown) ~ .cut {
    transform: translateY(8px);
}

.cut {
    position: absolute;
    top: -30px;
    left: 30px;
    width: 80px;
    border-radius: 10px;
    background-color: #575b;
    transform: translateY(0);
    transition: transform 200ms;
}

.placeholder {
    position: absolute;
    left: 20px;
    top: 20px;
    line-height: 14px;
    color: #65657b;
    transform-origin: 0 50%;
    transition: transform 200ms, color 200ms;
}

.contacts__input:focus ~ .placeholder,
.contacts__input:not(:placeholder-shown) ~ .placeholder {
    transform: translateY(-30px) translateX(10px) scale(0.75);
}

.contacts__input:not(:placeholder-shown) ~ .placeholder {
    color: #808097;
}

.contacts__input:focus ~ .placeholder {
    color: #b89abd;
}

.contacts__submit {
    font-size: 17px;
    letter-spacing: 1px;
    color: #ffffff;
    text-align: center;
    text-transform: uppercase;
    border: none;
    border-radius: 3px;
    margin-top: 50px;
    padding: 15px 100px;
    background: linear-gradient(#99d6ff, #4c6b7f);
    box-shadow: 0 2px 1px 1px #99d6ff;
    cursor: pointer;
}

.contacts__submit:active {
    background: linear-gradient(#4c6b7f, #99d6ff);
}

.contacts__self {
    display: flex;
    flex-direction: column;
    margin-top: 100px;
}

.contacts__self p {
    margin-bottom: 15px;
}

.contacts__self a {
    margin-bottom: 15px;
    color: #99d6ff;
    text-decoration: underline;
}

footer {
    text-align: center;
    color: #65657b;
    background-color: #223039;
}



/*modal*/
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;

    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, .4);
}

.modal__open {
    display: flex;
}

.modal__wrap {
    position: relative;
    max-width: 500px;
    padding: 20px;
    background-color: #ffffff;
    box-shadow: 0 2px 6px 1px rgba(0, 0, 0, .1);
}

.modal__close {
    position: absolute;
    right: 20px;
    top: 20px;
    background-color: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

.modal__h3 {
    margin-top: 40px;
}

.modal p {
    margin-top: 30px;
}




/*media*/
@media (min-width: 1921px) {
    .back {
        left: calc(50% - 960px);
    }
    .navigation {
        width: 1920px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 1600px) {
    .back {
        height: 1024px;
    }
}

@media (max-width: 1440px) {
    .back {
        height: 900px;
    }
    header {
        margin-bottom: 350px;
    }
    .services__wrap {
        justify-content: space-around;
    }
}

@media (max-width: 1200px) {
    .container {
        max-width: 1024px;
    }
    .back {
        display: none;
    }
    header {
        background: url(../img/88-1200.jpg) no-repeat;
        background-size: cover;
        margin-bottom: 50px;
    }
    .navigation {
        margin-bottom: 150px;
    }
    .navigation__item::after {
        display: none;
    }
    .desc__wrap {
        padding-bottom: 140px;
    }
    .services__wrap {
        flex-direction: column;
    }
    .services__ul {
        margin-left: 150px;
    }
    .services__column--first:after {
        left: 190px;
    }
    .works__h2::before {
        left: 390px;
    }
    .works__wrap {
        justify-content: space-around;
    }
    .quality__wrap {
        justify-content: space-around;
    }
}

@media (max-width: 1024px) {
    .container {
        width: 800px;
    }
    .desc__wrap {
        padding-bottom: 180px;
    }
    .services__h2::before {
        left: 185px;
    }
    .services__ul {
        margin-left: 0;
    }
    .works__wrap {
        flex-direction: column;
        align-items: center;
    }
    .works__item {
        margin-bottom: 20px;
    }
    .works__h2::before {
        left: 180px;
    }
    .info__wrap {
        background: none;
    }
    .quality__h2::before {
        left: 170px;
    }
}

@media (max-width: 801px) {
    .container {
        width: 768px;
    }
    header {
        background: url(../img/88-800.jpg) no-repeat;
    }
    .navigation {
        margin-bottom: 50px;
    }
    .navigation__item {
        font-size: 15px;
        letter-spacing: 1px;
    }
    .desc__wrap {
        width: 470px;
        padding-bottom: 130px;
    }
    .desc__wrap img {
        width: 150px;
        height: 150px;
    }
    .logo__desc {
        font-size: 24px;
        letter-spacing: 2px;
    }
    .icon__nav {
        top: 150px;
    }
    h2 {
        font-size: 20px;
        letter-spacing: 1px;
    }
    .services__h2::before {
        top: 9px;
        left: 140px;
    }
    .services__main {
        font-size: 19px;
    }
    .services__li {
        padding-bottom: 40px;
    }
    .services__column--first::after {
        top: 50px;
    }
    .works__h2::before {
        top: 9px;
        left: 150px;
    }
    .info__h3 {
        font-size: 18px;
    }
    .info__p {
        font-size: 15px;
        line-height: 20px;
    }
    .quality__h2::before {
        top: 8px;
        left: 140px;
    }
    .contacts__wrap {
        flex-direction: column;
        width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    .contacts__self {
        align-items: center;
    }
    .contacts__submit {
        width: 100%;
    }
}

@media (max-width: 769px) {
    .container {
        width: 500px;
    }
    .services__h2::before {
        left: 0;
    }
    .services__column--first::after {
        left: 100px;
    }
    .works__h2::before {
        left: 40px;
    }
    .info__show {
        padding: 10px 10px;
    }
    .quality__h2::before {
        left: 0;
    }
    .quality__h3 {
        padding-top: 40px;
    }
    .quality__span {
        padding-bottom: 40px;
    }
    .modal__wrap {
        width: 360px;
    }
}

@media (max-width: 620px) {
    .services__column--first::after {
        left: 40px;
    }
    .services__h2::before,
    .works__h2::before,
    .quality__h2::before {
        background: url(../img/triangle2.svg) no-repeat;
        width: 253px;
        height: 24px;
    }
    .services__h2::before {
        top: 15px;
        left: 130px;
    }
    .works__h2::before {
        top: 12px;
        left: 140px;
    }
    .quality__h2::before {
        top: 15px;
        left: 122px;
    }
    .contacts__wrap {
        width: 360px;
    }
    .icon__nav {
        top: 110px;
    }
}

@media (max-width: 501px) {
    .container {
        width: 360px;
    }
    header {
        margin-bottom: 30px;
    }
    .desc__wrap {
        width: 400px;
        padding-bottom: 60px;
    }
    .logo__desc {
        font-size: 22px;
        letter-spacing: 1px;
    }
    .services__column--first::after {
        font-size: 250px;
        top: 70px;
    }
    .services__h2::before {
        left: 67px;
    }
    .services__wrap {
        margin-top: 30px;
    }
    .services__main {
        padding-bottom: 20px;
    }
    .services__ul {
        margin-bottom: 20px;
    }
    .works__h2::before {
        left: 60px;
    }
    .works__item {
        width: 360px;
    }
    .info__header {
        flex-direction: column;
    }
    .info__show {
        margin-left: 0;
    }
    .quality__wrap {
        margin-bottom: 30px;
    }
    .quality__h2::before {
        top: 12px;
        left: 50px;
    }
}

@media (max-width: 480px) {
    .services__column--first::after {
        font-size: 220px;
    }
}

@media (max-width: 425px) {
    .order {
        margin-bottom: 50px;
        background: none;
        background-color: #0f1519;
    }
    .works__wrap {
        margin-top: 40px;
        margin-bottom: 20px;
    }
    .info {
        margin-bottom: 50px;
    }
    .quality__wrap {
        margin-top: 30px;
    }
    .contacts__wrap {
        width: 320px;
    }
    .contacts__submit {
        padding: 15px 10px;
    }
    .contacts__self {
        margin-top: 0;
    }
}

@media (max-width: 400px) {
    .desc__wrap {
        width: 360px;
    }
    .services__column--first::after {
        font-size: 200px;
    }
}

@media (max-width: 361px) {
    .container {
        width: 320px;
    }
    .navigation__item {
        font-size: 14px;
    }
    .desc__wrap {
        width: 318px;
    }
    .services__h2::before {
        left: 50px;
    }
    .services__column--first::after {
        font-size: 180px;
    }
    .works__h2::before {
        left: 50px;
    }
    .works__item {
        width: 320px;
    }
    .works__item img {
        width: 320px;
    }
    .view .works__h3 {
        margin: 0 90px 20px 90px;
    }
    .quality__h2::before {
        left: 30px;
    }
    .view .works__h3 {
        padding-top: 15px;
    }
}

@media (max-width: 359px) {
    .navigation__item {
        font-size: 12px;
    }
}