/*!
Theme Name: kuratova
Theme URI: https://kuratov.ru/
Author: kuratov.ru
Author URI: https://kuratov.ru/
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: polyline
*/

*{
    box-sizing: border-box;
}
.wrapper{
    padding: 50px 0;
}

.container{
    width: 100%;
    max-width: 1200px;
    padding: 0 15px;
    margin: 0 auto;
}

.slide-layout{
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 30px;
    padding: 80px;
    position: relative;
    height: 98vh;
}

.slide-layout .image-wrapper{
    height: fit-content;
    max-height: 80vh;
    display: flex;
    justify-content: center;
}

.slide-layout img {
    width: auto;
    max-width: 100%;
    height: 100%;
    box-shadow: 0 0 2px 2px rgba(0,0,0,.4);
}

.slide-layout h2{
    font-size: 24px;
    line-height: 36px;
    margin: 0;
    font-family: Verdana, sans-serif;
    text-align: center;
}

.arrow{
    position: absolute;

    font-size: 30px;
    line-height: 30px;

    /*width: 50px;
    height: 50px;
    border: 2px solid #000;
    background: #fff;*/

    color: #000;

    z-index: 5;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
}

.arrow-right{
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
}

.arrow-left{
    top: 50%;
    left: 15px;
    transform: translateY(-50%) rotate(180deg);
}

.arrow-top{
    top: 15px;
    left: 50%;
    transform: translateX(-50%) rotate(270deg);
}

.arrow-bottom{
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%) rotate(90deg);
}

.fp-tableCell{
    display: block;
}


@media (max-width: 768px){
    .slide-layout{
        gap: 20px;
        padding: 20px;
        height: 87vh;
    }
    .slide-layout h2{
        font-size: 20px;
        line-height: 28px;
    }

    .arrow-right{
        right:  20px;
    }

    .arrow-left{
        left: 20px;
    }

    .arrow-top{
        top: 20px;
    }

    .arrow-bottom{
        bottom: 87px;
    }

    .arrow{
        border-radius: 50%;
        width: 35px;
        height: 35px;
        font-size: 25px;
        line-height: 25px;
        background: rgba(255,255,255, 0.5);
        border: 1px solid #000;
    }
}
