body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    /* Чтобы родительский контейнер занимал весь экран */
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    position: relative;
    font-family: 'Helvetica', sans-serif;

}

.screen-1-about {
    width: 100%;
    height: 766px;
    background-image: url(/img/about-screen.png);
    background-size: cover;
    background-repeat: no-repeat;
}

.about-screen {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

}

.about-screen-text {
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.about-screen-text h1 {
    font-size: 58px;
}

.about-screen-text span {
    margin: 0;
    color: #FFFFFF;
    font-family: 'Helvetica_light', sans-serif;
    font-size: 30px;
    font-weight: 100;
}
.go{
    display: none;
}

@media (orientation: portrait) {
    .about-screen{
        height: 766px;
        position: relative;
    }
    .about-screen-text {
        margin-bottom: 50px;
        padding: 0 3.6vw;
        align-items: flex-start;
    }
    .about-screen-text h1 {
        font-size: 32px;
        text-align: left;
        
    }
    .about-screen-text span {
        font-size: 16px;
    }
    .go{
        position: absolute;
        bottom: 120px;
        left: calc(50% - 28px);
    display: block;
    width: 56px;
    height: 56px;
    border: 1px solid #000;
    border-radius: 26px;
    cursor: pointer;
    background-image: url(/img/arrow-big.png);
        transform: rotate(90deg);
        filter: invert(1);
    background-position: center center;
    background-repeat: no-repeat;
    /* Избегаем повторения изображения */
    transition: transform 0.5s ease; /* Плавный переход */  
      
}

}

.screen-3-about {
    width: 100%;
    background-color: #768262;
}

.values {
    padding: 3vw 0;
}

.values h2 {
    padding-top: 4vw;
    color: #F5F5F5;
}

.values-container {
    margin: 3vw 0;
    /*height: 20vw;*/
    display: grid;
    gap: 5px;
    /* Отступы между блоками */
    grid-template-columns: repeat(5, 1fr);
    /* 5 колонки по умолчанию */
}

@media (max-width: 990px) {
    .values-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .values-item {
        display: flex;
        flex-direction: column;
    }

    .values-item p {
        height: 30%;
        padding: 0 3vh;
    }
}

.values-item {
    /*padding: 20px 20px;*/
}

.values-item h4 {
    margin: 0;
    height: 52px;
    background-color: rgba(0, 0, 0, 0.2);
    font-size: 18px;
    color: #F5F5F5;
    display: flex;
    align-items: center;
    justify-content: center;
    /*text-align: center;*/
}

.values-item p {
    margin: 0;
    padding: 0 3vh;
    background-color: rgba(0, 0, 0, 0.2);
    margin-top: 5px;
    height: 160px;
    font-size: 14px;
    color: #F5F5F5;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.screen-4-instagr {
    width: 100%;
    background-color: #F5F5F5;
}

.instagr {
    margin-top: 0;
    height: 465px;
    display: grid;
    gap: 10px;
    /* Отступы между блоками */
    grid-template-columns: repeat(2, 1fr);
    overflow: hidden;
}

/*.block-left-instagr,
.block-right-instagr {
    align-items: center;
}*/
.block-left-instagr {
    padding-top: 5px;
}

.instagram-image {
    padding-top: 20px;
    transform: rotate(5deg);
}

.block-right-instagr {
    margin: 0;
    padding: 100px 30% 0 0;
    height: inherit;
    /*display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;*/
}

.block-right-instagr h3,
p {
    color: #000000;
}

.block-right-instagr h3 {
    font-size: 32px;
}

.block-right-instagr p {
    font-size: 16px;
    /*padding-right: 50px;*/
    line-height: 20px;
}

.btn-inst {
    margin-top: 40px;
    width: 158px;
    height: 44px;
    border-color: #000000;
    color: #000000;
    text-transform: uppercase;
    color: #000000;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-inst span {
    font-size: 14px;
}

.btn-inst:hover {
    background-color: #161616;
    color: #FFFFFF;
}

@media (orientation: portrait) {
    .values-item {
        display: flex;
        flex-direction: column;
    }

    .values-container {
        gap: 10px;
        grid-template-columns: repeat(1, 1fr);
    }

    .values-item p {
        height: auto;
        margin-top: 3px;
        padding: 1vh 3vh;
    }
    .screen-4-instagr{
        display: none;
    }
    .instagr {
        margin: 0 auto;
        display: block;
        height: auto;
        /*flex-direction: column;
        justify-content: center;
        align-items: center;*/

    }

    .block-left-instagr {
        display: none;
    }

    .block-right-instagr {
        padding: 50px 50px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

}
