@import url("../fonts/font-golos.css");

:root {
  --black: #14164C;
  --dark: #000000;
  --light: #EDEDF1;
  --white: #ffffff;
  --primary: #02ADEF;
  --secondary: #8CC63F;
    --mobile-max: 576px;
}

html {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  scroll-behavior: smooth;
}

*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

body {
    font-display: swap;
    margin: 0;
    padding: 0;
    color: var(--black);
    font-family: Golos;
    font-weight: 400;
    font-size: 20px;
    @media (max-width: 576px) {
        font-size: 11px;
    }
}

button:focus {
    border: none;
    outline: none;
}

body.no-scroll {
  overflow: hidden;
}

main {
  display: block;
}

hr {
  -webkit-box-sizing: content-box;
          box-sizing: content-box;
  height: 0;
  overflow: visible;
}

a {
  background-color: transparent;
  text-decoration: none;
  color: inherit;
}
a:hover, a.selected {
    color: var(--primary);
    text-decoration: none;
}

img {
  border-style: none;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

button,
[type=button],
[type=reset],
[type=submit] {
  border: none;
  cursor: pointer;
}

button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}

textarea {
  overflow: auto;
  resize: none;
}


.container {
  position: relative;
  width: 100%;
  max-width: 1195px;
  min-width: 380px;
  margin: 0 auto;
  padding: 0 5px;
}

.container > .row {
    margin: 0;
    padding: 0;
    justify-content: space-between;
}

.btn {
    color: var(--secondary);
    border: 1px solid var(--secondary);
    border-radius: 8px;
    text-transform: uppercase;
    padding: 12px 20px;
}
.btn:hover {
    color: var(--secondary);
}

.btn-white {
    color: var(--white);
    border-color: var(--white);
}
.btn-white:hover {
    color: var(--white);
}

.btn-black {
    color: var(--black);
    border-color: var(--black);
}
.btn-black:hover {
    color: var(--black);
}

body.color-bg {
    background: url(../images/body-color-bg.png) center top / cover no-repeat, linear-gradient(180deg, #13164C 19.23%, #02ADEF 100%);

    @media (max-width: 576px) {
        & main {
            padding: 0px 20px;
        }
    }
}

section.main-color-bg {
    background: linear-gradient(180deg, #13164C 19.23%, #02ADEF 100%);
    position: relative;

    /*&:after {
        content: "";
        position: absolute;
        bottom: 200px;
        left: 47%;
        width: 53%;
        height: 400px;
        background: url(../images/banner-bg.png) left top;
        background-size: cover;
    }*/
}

.head-cover {
    padding-top: 25px;
    color: var(--white);
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    gap: 50px;

    & .head-main {
        padding: 5px 0px;
        flex: 1;
        display: flex;
        justify-content: space-between;
        position: relative;

        @media (max-width: 576px) {
            flex-wrap: wrap;
        }

        &:after {
            content: "";
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            height: 1px;
            background: linear-gradient(90deg, #02ADEF 0%, #8CC63F 100%);

            @media (max-width: 576px) {
                display: none;
            }
        }

        & a.logo {
            display: inline-block;
            width: 136px;
            height: 21px;
            background: url(../images/logo.svg) center no-repeat;

            @media (max-width: 576px) {
                margin-left: 10px;
            }
        }

        & .head-contact {
            display: flex;
            gap: 50px;

            @media (max-width: 576px) {
                width: 100%;
                justify-content: space-between;
                padding: 10px;
            }

            & a.tg {
                background: url(../images/tg.png) left 4px no-repeat;
                padding-left: 30px;

                @media (max-width: 576px) {
                    position: absolute;
                    right: 10px;
                    top: 0;
                }
            }
        }
    }
}

nav.head-nav {
    display: flex;
    gap: 45px;
    font-size: 16px;
    color: var(--white);
    padding: 30px 0px;

    @media (max-width: 576px) {
        padding: 10px 0px;
        flex-direction: column;
        text-align: center;
        border: 1px solid #02ADEF;
        margin: 10px;
        width: calc(100% - 20px);
        border-radius: 8px;
        gap: 25px;

        & a#head-nav-title:after {
            content: "";
            width: 10px;
            height: 10px;
            border-right: 1px solid var(--white);
            border-bottom: 1px solid var(--white);
            display: inline-block;
            transform: rotate(45deg);
            margin-left: 20px;
            position: absolute;
            top: 15px;
        }

        & a:not(#head-nav-title) {
            display: none;
            transition: all .5s;
        }
        &.open {
            background: linear-gradient(180deg, #14164D 0%, #0B64A0 100%);

            a:not(#head-nav-title) {
                display: block;
            }
        }
    }
}

.banner-cover {
    color: var(--white);
    position: relative;
    padding-bottom: 200px;

    @media (max-width: 576px) {
        padding: 0 10px;
        padding-bottom: 150px;
        overflow: hidden;
    }

    & h1 {
        font-size: 150px;
        font-weight: 700;
        padding: 0;
        margin: 0px -10px;
        background-image: linear-gradient(90deg, #02ADEF 0%, #8CC63F 100%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;

        @media (max-width: 576px) {
            font-size: 45px;
            margin: 0;
        }
    }
    & h2 {
        font-size: 60px;
        font-weight: 500;
        letter-spacing: -2px;
        padding: 20px 0px;
        @media (max-width: 576px) {
            font-size: 22px;
            padding-bottom: 0;
        }
    }
    & p {
        max-width: 510px;
        padding-bottom: 30px;
        @media (max-width: 576px) {
            font-size: 16px;
            padding: 0;
            max-width: 60%;
        }
    }

    & img.banner-img {
        position: absolute;
        bottom: 220px;
        right: -80px;
        height: calc(100% - 300px);
        @media (max-width: 576px) {
            bottom: 0;
            height: calc(100% - 25px);
        }
    }
}

footer {
    padding-top: 150px;

    @media (max-width: 576px) {
        padding: 50px 10px 20px;
    }
}

.contact-form-cover {
    width: 500px;
    max-width: 100%;

    & .form-head {
        width: 100%;
        color: var(--black);
        font-weight: 500px;
        font-size: 28px;
        text-transform: uppercase;
        margin-bottom: 30px;
    }

    & .contact-body {
        & input[type="text"], input[type="phone"] {
            border: 1px solid var(--black);
            border-radius: 7px;
            padding: 7px 10px;
            margin-bottom: 20px;
            width: 100%;
        }
        & .btn {
            margin: 10px auto;
        }
    }

}

@media (min-width: 576px) {
    .mobile {
        display: none !important;
    }
}
@media (max-width: 576px) {
    .desktop {
        display: none !important;
    }

    .row[style*="display: block"]{
      display:flex!important;
    }

}