
.animated-button-1 {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding-top: 13px;
    padding-bottom: 13px;
    background: #E22833;
    color: white;
    border-radius: 30px;
    cursor: pointer;
    overflow: hidden;
    transition: color 0.3s, background-color 0.3s;
}


.animated-button-1 .text {
    font-family: "Montserrat Alternates", serif;
    margin-right: 10px;
    transition: color 0.3s;
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
}


.animated-button-1 .icon-wrapper {
    position: relative;
    width: 20px;
    height: 20px;
    overflow: hidden;
}


.animated-button-1 .icon {
    position: absolute;
    top: 0;
    transition: transform 0.4s ease, color 0.4s ease;
    font-size: 18px;
}


.animated-button-1 .icon.default {
    right: 0;
    color: white;
}


.animated-button-1 .icon.hover {
    left: -110%;
    color: black;
}


.animated-button-1:hover {
    background: rgb(0, 0, 0);
    color: rgb(255, 255, 255);
}


.animated-button-1:hover .text {
    color: rgb(255, 255, 255);
}


.animated-button-1:hover .icon.default {
    transform: translateX(100%);
}


.animated-button-1:hover .icon.hover {
    transform: translateX(100%);
}

/* ---------------------------- */
.animated-button-2 {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding-top: 13px;
    padding-bottom: 13px;
    background: white;
    color: black;
    border-radius: 30px;
    cursor: pointer;
    overflow: hidden;
    transition: color 0.3s, background-color 0.3s;
}

.animated-button-2 .text {
    margin-right: 10px;
    transition: color 0.3s;
    font-family: "Montserrat Alternates", serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
}

.animated-button-2 .icon-wrapper {
    position: relative;
    width: 20px;
    height: 20px;
    overflow: hidden;
}

.animated-button-2 .icon {
    position: absolute;
    top: 0;
    transition: transform 0.4s ease, color 0.4s ease;
    font-size: 18px;
}

/* Початкова стрілка */
.animated-button-2 .icon.default {
    right: 0;
    color: black;
}

/* Стрілка при наведенні */
.animated-button-2 .icon.hover {
    left: -110%;
    color: red;
}

/* Ховер ефекти */
.animated-button-2:hover {
    background: white;
}

.animated-button-2:hover .text {
    color: red;
}

.animated-button-2:hover .icon.default {
    transform: translateX(100%);
}

.animated-button-2:hover .icon.hover {
    transform: translateX(100%);
}
/* ---------------------------- */
/* крапка ● */
.krapka {
    font-size: 20px;
}

/* ---------------------------- */
.animated-arrow-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    border: none;
    border-radius: 50%;
    background-color: #E22833;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    overflow: hidden;
    padding: 17px 20px;
    flex-shrink: 0;
}

.arrow-wrapper {
    position: relative;
    width: 19px;
    height: 25px;
    overflow: hidden;
}

.arrow-icon {
    position: absolute;
    left: 0;
    transition: transform 0.4s ease;
}

.arrow-icon.default {
    top: -10px;
    z-index: 1;
}

.arrow-icon.hover {
    top: 35px;
    z-index: 2;
}

.animated-arrow-button:hover .arrow-icon.default {
    transform: translateY(-100%);
}

.animated-arrow-button:hover .arrow-icon.hover {
    transform: translateY(-100%);
}

/* ---------------------------------------- */
.photo-card-bloc-2-2-botton-1 {
    position: relative;
    display: inline-flex;
    align-items: center;
    border: 1px solid #000;
    background-color: #ffffff;
    color: rgb(2, 2, 2);
    border-radius: 30px;
    cursor: pointer;
    overflow: hidden;
    transition: color 0.3s;
}


.photo-card-bloc-2-2-botton-1 .photo-card-bloc-2-2-botton-text {
    font-family: "Montserrat Alternates", serif;
    margin-right: 10px;
    transition: color 0.3s;
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
}


.photo-card-bloc-2-2-botton-1 .photo-card-bloc-2-2-botton-icon-wrapper {
    position: relative;
    width: 20px;
    height: 20px;
    overflow: hidden;
}


.photo-card-bloc-2-2-botton-1 .photo-card-bloc-2-2-botton-icon {
    position: absolute;
    top: 0;
    transition: transform 0.4s ease, color 0.4s ease;
    font-size: 18px;
}


.photo-card-bloc-2-2-botton-1 .photo-card-bloc-2-2-botton-icon.photo-card-bloc-2-2-botton-default {
    right: 0;
}


.photo-card-bloc-2-2-botton-1 .photo-card-bloc-2-2-botton-icon.photo-card-bloc-2-2-botton-hover {
    left: -110%;
}


.photo-card-bloc-2-2-botton-1:hover {
    border: 1px solid red;
}


.photo-card-bloc-2-2-botton-1:hover .photo-card-bloc-2-2-botton-text {
    color: rgb(255, 0, 0);
}


.photo-card-bloc-2-2-botton-1:hover .photo-card-bloc-2-2-botton-icon.photo-card-bloc-2-2-botton-default {
    transform: translateX(100%);
}


.photo-card-bloc-2-2-botton-1:hover .photo-card-bloc-2-2-botton-icon.photo-card-bloc-2-2-botton-hover {
    transform: translateX(100%);
}

.Preserve_memories_in_style-botton-1 {
    position: relative;
    display: inline-flex;
    align-items: center;
    border: 1px solid #000;
    background-color: #ffffff;
    color: rgb(2, 2, 2);
    border-radius: 30px;
    cursor: pointer;
    overflow: hidden;
    transition: color 0.3s;
}

.Preserve_memories_in_style-botton-1 .Preserve_memories_in_style-botton-text {
    font-family: "Montserrat Alternates", serif;
    margin-right: 10px;
    transition: color 0.3s;
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
}

.Preserve_memories_in_style-botton-1 .Preserve_memories_in_style-botton-icon-wrapper {
    position: relative;
    width: 20px;
    height: 20px;
    overflow: hidden;
}

.Preserve_memories_in_style-botton-1 .Preserve_memories_in_style-botton-icon {
    position: absolute;
    top: 0;
    transition: transform 0.4s ease, color 0.4s ease;
    font-size: 18px;
}

.Preserve_memories_in_style-botton-1 .Preserve_memories_in_style-botton-icon.Preserve_memories_in_style-botton-default {
    right: 0;
}

.Preserve_memories_in_style-botton-1 .Preserve_memories_in_style-botton-icon.Preserve_memories_in_style-botton-hover {
    left: -130%;
}

.Preserve_memories_in_style-botton-1:hover {
    border: 1px solid red;
}

.Preserve_memories_in_style-botton-1:hover .Preserve_memories_in_style-botton-text {
    color: rgb(255, 0, 0);
}

.Preserve_memories_in_style-botton-1:hover .Preserve_memories_in_style-botton-icon.Preserve_memories_in_style-botton-default {
    transform: translateX(100%);
}

.Preserve_memories_in_style-botton-1:hover .Preserve_memories_in_style-botton-icon.Preserve_memories_in_style-botton-hover {
    transform: translateX(100%);
}
