@font-face {
    font-family: 'Goodland';
    src: url('../otf/Goodland UltraBold.otf') format('opentype');
}

@font-face {
    font-family: 'Stem';
    src: url('../otf/stem-light.otf') format('opentype');
}

* {
    margin: 0;
    padding: 0;
}

body {
    background-color: #7093b2;
    display: flex;
    justify-content: center;
    padding-top: 40px;
}

.items {
    width: 80%;
}

.item {
    position: relative;
    overflow: hidden;
    transition: 1s;
}

.breaker {
    width: auto;
    aspect-ratio: 7/1;
}

.item-pre {
    display: flex;
    background-color: #fff;
    border-radius: 20px;
    width: auto;
    aspect-ratio: 2/1;
    transition: opacity 0.5s ease-in-out;


}

.item-img {
    width: 50%;
    height: 100%;
    overflow: hidden;
}

.item-img>img {
    height: 100%;
}

.item-short-descr {
    width: 50%;
    font-size: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url('../img/backpatt.png');
    background-repeat: repeat;
    background-size: cover;
    overflow: hidden;
}

.item-short-descr>img {
    position: absolute;
    width: 103%;
    left: -1dvw;
    bottom: 0;
}

.item-ful {
    flex-direction: column;
    align-items: center;
    background-image: url('../img/backpatt.png');
    background-repeat: repeat;
    background-size: cover;
    text-align: justify;
    padding: 3dvw;
    border-radius: 20px;
    top: 0;
    left: 0;
    min-height: var(--preview-height);
    transition: opacity 0.5s ease-in-out, max-height .8s ease-out;

}

.item-ful>h2 {
    margin: 0;
    text-align: center;
}

.item-ful>h3 {
    margin-top: 3dvw;

}

h2 {
    font-family: 'Goodland', sans-serif;
    color: #2e3192;
    font-size: 6dvw;
    margin-top: 10px;
}

h3 {
    margin-top: 4px;
    font-family: 'stem';
    color: #0071bc;
    font-size: 2.9dvw;
}
.item-short-descr>h3{
    text-align:center;
}
.item-pre,
.item-ful {
    overflow: hidden;

    max-height: 1000px;
}

.hidden {
    padding: 0;
    max-height: 0 !important;
    opacity: 0;
    overflow: hidden;
    transition: height 2s ease-in-out, opacity 0.7s ease-in-out;
}

@media (min-width: 1000px) {
    .items {
        width: 800px;
    }

    h2 {
        font-size: 60px;
    }

    h3 {
        font-size: 30px;
    }
    .item-short-descr>img {
    left: -10px;
    }
}