:root {
    --color_yellow: #fbeb3f;
    --color_yellow_opacity: #fbeb3f66;
    --color_black: #000000;
    --color_black_opacity: #000000aa;
    --color_grey: #38383e;
    --color_grey_opacity: #38383eaa;
    --color_red: #fb3f3f;
    --color_white: #ffffff;
    --color_white_opacity: #ffffffaa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "DM Sans", sans-serif;
}

body {
    width: 100%;
    height: 100svh;
    position: relative;
    background: var(--color_grey);
    
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

a,
li,
p {
    font-size: 1.1rem;
}

.index_btn,
.about_us_gallery_btn,
.embroidery,
.form_budgets_step_btn, 
input[type=submit] {
    width: auto;
    height: auto;
    padding: 10px 20px;
    border-radius: 100px;
    text-decoration: none;
    color: var(--color_black);
    font-weight: bold;
    background: var(--color_yellow);
    border: none;
    font-size: 1.2rem;
    transition: ease-in-out .4s;
    opacity: 0;
    transform: translateY(50px);
    cursor: pointer;
    margin-bottom: 24px;
}

.form_budgets_step_btn, 
input[type=submit] {
    flex-grow: 1;
    opacity: 1;
    transform: translate(0);
    margin: 0;
    text-align: center;
}

.index_btn.active {
    opacity: 1;
}

.about_us_gallery_btn.active {
    opacity: 1;
    transform: translateY(0);
}

.embroidery.active {
    opacity: 1;
    transform: translateY(0);
}

.embroidery {
    width: 30%;
    min-width: 330px;
    padding: 12px 0;
    text-align: center;
    margin-bottom: 0px;
}

.index_btn::after {
    content: '>';
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: ease-in-out .4s;
    margin-left: -8px;
}

.about_us_gallery_btn::after {
    content: '>';
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: ease-in-out .4s;
    margin-left: -8px;
}

.embroidery::after {
    content: '>';
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: ease-in-out .4s;
    margin-left: -8px;
}

.title, .about_us_title, .gallery_title, .budgets_title, .contact_title {
    width: auto;
    height: auto;
    font-size: 3.6rem;
    text-align: center;
    color: transparent;
    background: linear-gradient(10deg, var(--color_white), var(--color_yellow), var(--color_white), var(--color_yellow));
    background-size: 400%;
    background-position: 0;
    -webkit-background-clip: text;
    animation: title_animation 2.5s ease-in-out 0s infinite normal forwards;
    opacity: 0;
    transition: ease-in-out .4s;
}

.about_us_title, .gallery_title, .budgets_title, .contact_title {
    transform: translateY(-50px);
}

.title.active {
    opacity: 1;
}

.about_us_title.active {
    opacity: 1;
    transform: translateY(0);
}

.gallery_title.active {
    opacity: 1;
    transform: translate(0);
}

.budgets_title.active {
    opacity: 1;
    transform: translateY(0);
}

.contact_title.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes title_animation {
    from {
        background-position: 0;
    }

    to {
        background-position: 100%;
    }
}

@media(hover:hover) {
    .index_btn:hover::after {
        opacity: 1;
        margin-left: 10px;
    }

    .about_us_gallery_btn:hover::after {
        opacity: 1;
        margin-left: 10px;
    }

    .embroidery:hover::after {
        opacity: 1;
        margin-left: 10px;
    }
}