@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
* {
    margin: 0;
    padding: 0;
    border: 0;
}
:root {
    --index: calc(1vw + 1vh);
    --index2: calc(1vw + 1vh);
}
html {
    scroll-behavior: smooth;
}
p {
    color: #ffffff;
    font-family: "Inter", sans-serif;
    font-style: normal;
}
body {
    height: 300vh;
}
main {
    width: 100%;
    height: 100%;
}
.first.slide {
    background: #373737;
    /* background: #747474; */
    /* background: -moz-linear-gradient(-45deg, #747474 0%, #5A5A5A 30%, #373737 100%);
    background: -webkit-linear-gradient(-45deg, #747474 0%, #5A5A5A 30%, #373737 100%);
    background: linear-gradient(135deg, #747474 0%, #5A5A5A 30%, #1c1c1c 100%); */
    width: 100%;
    min-height: 100vh;
    position: relative;
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
}

header {
    position: relative;
    display: flex;
    align-items: center;
    padding: 2rem 5% 0 5%;
}
.contacts {
    flex: 3;
}
.logoplace {
    flex: 1;
    user-select: none;
}
.contacts {
    display: flex;
    align-items: center;
    justify-content: end;
}
.number {
    font-weight: 300;
    font-size: 1.5em;
    margin: 3rem;
    text-decoration: none;
}
.contacts img {
    margin: 0.5rem;
    user-select: none;
}
.line {
    background-color: #ffffff;
    width: 90%;
    height: 2px;
    margin-left: 5%;
    border-radius: 1px;
}

.strings {
    position: relative;
    width: 90%;
    min-height: 50vh;
    display: flex;
    margin: 2rem 10%;
}
.slogan {
    font-size: 3em;
    font-weight: 700;
    margin-right: 1rem;
}
.s_p {
    margin-top: 5vh;
    font-size: 0.6em;
    font-weight: 500;
}
.instrings.left {
    flex: 3;
}
.instrings.right {
    flex: 2;
}
.instrings {
    display: flex;
    justify-content: center;
}
.ads {
    font-size: 2em;
    font-weight: 300;
    /* line-height: 2.5; */
    width: 100%;
}
.ads, .slogan {
    margin-top: 15vh;
}
.sm {
    height: 4rem;
    transition: 0.3s all ease;
}
.sm:not(.sm1):hover {
    cursor: pointer;
    opacity: 0.65;
}
.sm:not(.sm1):active {opacity: 0.5}

.call {
    margin: 2rem 10%;
    text-align: center;
    align-content: center;
    color: #ffffff;
    font-family: "Inter", sans-serif;
    font-style: normal;
    font-size: 1.75em;
    font-weight: 300;
    position: relative;
    height: 2em;
    width: 12em;
    border-radius: 10mm;
    background-color:#ee2246;
    user-select: none;
    transition: 0.3s all ease;
}
.call:hover {
    cursor: pointer;
    background-color:#ee2247d0;
}
.call:active {
    transform: scale(0.9);
}

.second.slide {
    width: 100%;
    min-height: 60vh;
    position: relative;
}
.wrapper{
    width: 90%;
    height: calc((1vw + 1vh)*20);
    margin: 10vh 5%;
    display: flex;
    justify-content: space-between;
}
.portrait {
    height: 100%;
    margin-right: 10%;
    border-radius: 5mm;
    position: relative;
}
.portrait img {
    height: 100%;
    margin-right: 10%;
    border-radius: 5mm;
    position: relative;
}
.lorem-wrapper {
    background-color: #373737;
    height: 100%;
    border-radius: 5mm;
    position: relative;
}
.lorem {
    font-size: calc(var(--index2) * 1.5);
    font-weight: 300;
    margin: 2rem;
}
.second.line {
    background-color: #373737;
}

.s-slide {
    display: none;
}

.third-content {
    display: flex;
}
.divtitle {
    width: 100%;
    height: 20vh;
    display: flex;
    align-items: center;
    position: sticky;
    background-color: #fff;
    top: -1px;
}
.third.title {
    font-family: "Inter", sans-serif;
    font-style: normal;
    color: #373737;
    font-size: 4em;
    font-weight: 400;
    margin: 5rem 10%;
}
.left-side, .right-side {
    width: 50%;
}
.frame {
    padding: 1rem 0;
    background-color: #373737;
    border-radius: 5mm;
    width: 70%;
    margin: 0 0 2rem 20%;
}
.frame p {
    font-size: 2em;
    font-weight: 300;
    margin: 0 1rem;
}
.laptop {
    width: 70%;
    margin: 0 0 2rem 10%;
    position: sticky;
    top: 12rem;
}

.fourth.slide {
    width: 100%;
    background-color: #373737;
    padding: 5rem 0;
}
.fourth.title {
    font-family: "Inter", sans-serif;
    font-style: normal;
    color: #fff;
    font-size: 4em;
    font-weight: 300;
    margin: 0 10% 5rem 10%;
}
.grid-wrapper {
    position: relative;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
}
.clause {
    display: flex;
    border-left: 0.1rem #fff solid;
    margin: 1rem 4rem;
    align-items: center;
    overflow: hidden;
}
@keyframes smooth-opacity {
    0% {opacity: 0}
    70% {opacity: 0.5}
    100% {opacity: 1}
}
.article {
    font-size: 1.75em;
    margin: 0 2rem;
    font-weight: 300;
    /* animation: slidein; */
    opacity: 0;
    transform: translateX(-50%);
    transition: transform 1s ease, opacity 1s ease;
}
.article.visible {
    opacity: 1;
    transform: translateX(0%);
}

.fifth.slide {
    padding-bottom: 5rem;
}
.fifth.title {
    font-family: "Inter", sans-serif;
    font-style: normal;
    color: #373737;
    font-size: 4em;
    font-weight: 400;
    margin: 5rem 10%;
}
.fifth-wrapper {
    background-color: #DEDEDE;
    width: 90%;
    left: 5%;
    display: grid;
    grid-template-rows: 1fr 1fr 1fr;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    padding: 1rem 0;
    position: relative;
}

.row1, .row2, .row3 {
    position: relative;
    margin: 0 5%;
    display: flex;
    align-items: center;
    padding: 2rem 0;
}
.row1, .row2 {
    border-bottom: 0.05rem #656565 solid;
}
.stick {
    width: 0.05rem;
    height: 80%;
    background-color: #656565;
}
.xstik1 {
    display: none;
}
.xstik {
    height: 0.05rem;
    width: 80%;
    background-color: #656565;
}
.square {
    display: flex;
    align-items: center;
    /* justify-content: center; */
    flex: 1;
    padding: 1rem 0;
}
.square p {
    color: #373737;
    font-size: 1.75em;
    font-weight: 300;
    margin: 0 2rem;
}
/* .square-btn {
    margin: 0 2rem;
} */
.p-btn {
    margin: 0 1rem;
    /* margin: 2rem 10%; */
    text-align: center;
    align-content: center;
    color: #ffffff;
    font-family: "Inter", sans-serif;
    font-style: normal;
    font-size: 1.75em;
    font-weight: 300;
    /* position: relative; */
    /* height: 2em;
    width: 10em; */
    padding: 0.5rem 5%;
    border-radius: 6mm;
    background-color:#373737;
    user-select: none;
    transition: 0.3s all ease;
}
.p-btn:hover {
    cursor: pointer;
    background-color:#373737d0;
}
.p-btn:active {
    transform: scale(0.9);
}


.sixth.title {
    font-family: "Inter", sans-serif;
    font-style: normal;
    color: #373737;
    font-size: 4em;
    font-weight: 400;
    margin: 5rem 10%;
}
.six-content {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding-bottom: 5rem;
}
.social-media a {
    font-size: 3em;
    color: #373737;
    font-family: "Inter", sans-serif;
    font-style: normal;
    display: flex;
    align-items: center;
    justify-content: left;
    transition: 0.3s all ease;
    user-select: none;
    margin-right: 1rem;
    text-decoration: none;
}
.social-media {
    width: 50%;
    margin-left: 5%;
}
.divmap {
    width: 40%;
}

.sm1 {
    margin: 1rem 2rem;
    margin-left: 0;
}
.social-media a:hover {
    cursor: pointer;
    opacity: 0.65;
}
.social-media a:active {
    opacity: 0.5;
}
.adress {
    color: #373737;
    font-size: 1.75em;
}

footer {
    width: 100%;
    background-color: #eeeeee;
    padding: 3rem 0;
}
footer p {
    color: #373737;
    margin: 0 10%;
}
br {
    user-select: none;
}


@media screen and (max-width: 1650px) {
    .lorem {
        font-size: calc(var(--index2) * 1.45);
    }
}

@media screen and (max-width: 1560px) {
    .lorem {
        font-size: calc(var(--index2) * 1.4);
    }
}

@media screen and (max-width: 1300px) {
    .lorem {
        font-size: calc(var(--index2) * 1.3);
    }
}


@media screen and (max-width: 1100px) {
    .lorem {
        font-size: calc(var(--index2) * 1.2);
    }
}


@media screen and (max-width: 1000px) {
    .lorem {
        font-size: calc(var(--index2) * 1.15);
    }
}


@media screen and (max-width: 970px) {
    .lorem {
        font-size: calc(var(--index2) * 1.1);
    }
}


@media screen and (max-width: 1440px) {
    .number {
        font-size: calc(var(--index) * 1.5);
        margin: calc(var(--index) * 2)
    }
    .portrait {
        margin-right: 5%;
    }
    .lorem {
        margin-top: 1rem;
    }
    header {
        padding-top: 5vh
    }
    .logo {
        height: calc(var(--index) * 6);
    }
    .slogan {
        font-size: calc(var(--index) * 2.5);
        /* letter-spacing: calc(var(--index) / 2); */
    }
    .ads {
        font-size: calc(var(--index) * 1.5);
    }
    .call.btn {
        font-size: calc(var(--index) * 1.5)
    }

    .second.slide {
        padding-bottom: 2.5rem;
        margin-bottom: 2.5rem;
    }
    /* .lorem {
        font-size: calc(var(--index) * 1.5)
    } */

    h1 {
        font-size: calc(var(--index) * 3) !important;
    }
    .frame p, .clause p {
        font-size: calc(var(--index) * 1.75);
    }

    .square p, .p-btn {
        font-size: calc(var(--index));
    }

    .sm1 {
        height: calc(var(--index) * 3);
    }
    .social-media a {
        font-size: calc(var(--index) * 2)
    }
    .map {
        height: calc(var(--index) * 15);
        max-width: 95%;
        margin-right: 5%;
    }
    .adress {
        font-size: calc(var(--index) * 1.5)
    }
}
@media screen and (max-width: 990px) {

    .ads, .slogan {
        margin-top: 10%;
    }
    /* .ads {
        line-height: calc(var(--index) * 2);
    } */
    .space {
        display: none;
    }

    .wrapper {
        height: unset;
        min-height: calc((1vw + 1vh)*20);
    }
    .portrait {
        height: unset;
        flex: 1;
    }
    .portrait img {
        width: 100%;
        height: unset;
    }
    .lorem-wrapper {
        flex: 1;
        height: unset;
        min-height: 100%;
    }

    .sm:not(.sm1) {
        display: none;
    }
    .strings {
        flex-direction: column;
    }

    .right-side {
        display: none;
    }
    .left-side {
        width: 100%;
    }

    .frame {
        margin-left: 10%;
    }

    .grid-wrapper {
        grid-template-columns: 1fr;
        grid-template-rows: unset;
    }
    .clause {
        margin: 1rem 10%;
    }
    .article {
        margin: 0 5%;
    }

    /* .fifth.slide {
        display: none;
    } */

    .six-content {
        display: unset;
        /* justify-content: center;
        flex-direction: column; */
    }

    .fifth-wrapper {
        grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr;
        grid-template-columns: 1fr 1fr;
    }
    .stick1 {
        display: none;
    }
    .sm1 {
        margin: 0.5rem 1rem;
        margin-left: 0;
    }
    .social-media {
        margin-left: 10%;
        width: unset;
        /* display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column; */
    }
    .divmap {
        width: 100%;
        display: flex;
        justify-content: center;
        flex-direction: column;
        margin: 2rem 0 3rem 0;
    }
    .map {
        margin-right: 0;
        max-width: 100%;
    }
    .adress {
        text-align: center;
    }

}
@media screen and (max-width: 650px) {

    .second.slide {
        display: none;
    }

    .s-slide {
        display: unset;
    }
    .portrait1 {
        width: 70%;
        border-radius: 5mm;
        position: relative;
        left: 15%;
        margin: 5vh 0;
    }
    .lorem-wrapper1 {
        background-color: #373737;
        width: 70%;
        left: 15%;
        border-radius: 5mm;
        position: relative;
        display: inline-block;
        margin-bottom: 5vh;
    } 
    .lorem1 {
        font-size: calc(var(--index2) * 1.5);
        font-weight: 300;
        margin: 1rem;
    }
    .s-line {
        background-color: #373737;
        width: 80%;
        height: 3px;
        margin-left: 10%;
        border-radius: 1px;
    }

    .divtitle {
        width: 100%;
        background-color: #fff;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
        height: unset;
    }
    .third.title {
        margin: 8vh 0 5vh 0;
    }
    .frame {
        position: relative;
        display: inline-block;
        margin: 0;
        margin-bottom: 2rem;
        width: 80%;
        left: 10%;
    }

    .fifth.title, .sixth.title {
        text-align: center;
        margin: 8vh 0 5vh 0;
    }
    .fifth.slide {
        padding-bottom: 1rem;
    }
}