﻿
.yellow {
    color: #FFE7BB;
}

.create-header h1 {
    font-size: 50pt;
    font-weight: bold;
}

.create-header p {
    font-size: 20pt;
}

.topper {
    background-image: url("/imgs/index/gift.png"), url("/imgs/index/background_particals.png"), linear-gradient(to right, #FF4081, #FF80AB);
    background-repeat: no-repeat;
    background-position: right bottom;
}

@media (max-width: 500px) {
    .topper {
        background-image: url("/imgs/index/background_particals.png"), linear-gradient(to right, #FF4081, #FF80AB);
    }
}

.index-header {
    padding: 70px 0;
}

.create-link {
    padding: 50px 0 50px 0;
}

.topper {
    border-radius: 0 0 50px 50px;
}

.about-us {
    color: #47515A;
    text-align: center;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-us h1 {
    padding: 20px;
    font-weight: bold;
}

.about-us p {
    padding: 20px;
    font-size: 20pt;
}

.why {
    color: #47515A;
    text-align: center;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.why h2 {
    padding: 20px 20px 50px 20px;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
    justify-items: center;
    width: 100%;
}

.features .item {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 350px;

    margin: 10px;
    padding: 20px;
    border-radius: 20px;

    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);

    background-color: white;
}

@media (max-width: 1000px) {
    .features .item:nth-last-child(1):nth-child(odd) {
        grid-column: 1 / -1; /* Заставляет элемент растягиваться на всю ширину */
        justify-self: center; /* Центрирует элемент */
    }
}

.features .item img {
    width: 88px;
    height: 88px;
    margin: 8px;
}

.features .item p {
    font-size: 15pt;
}

.features .item p:nth-child(2) {
    color: #FF4081;
    font-size: 18pt;
}

.faq {
    display: flex;
    flex-direction: column;
    align-items: center;

    color: #47515A;
}

.faq .accordion {
    padding-top: 30px;
    width: 100%;
}

.accordion-button {
    background: none;
    color: #4a4a4a;
    box-shadow: none;
    font-size: 17pt;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    color: #d63384;
    background: none;
}

.accordion-item {
    border: none;
    border-bottom: 1px solid #e0e0e0;
    background: none;
}

.create {
    background-image: url("/imgs/index/bottom_background_particals.png"), linear-gradient(to right, #FF4081, #FF80AB);
    background-repeat: no-repeat;
    background-position: right bottom;

    border-radius: 50px;
}

.create .container {
    display: flex;
    flex-direction: column;
    align-items: center;

    color: white;
}

.create .container p:nth-child(2) {
    font-size: 15pt;
    padding: 5px;
    text-align: center;
}

.boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
    justify-items: center;
    width: 100%;
}

.boxes .item {
    margin: 10px;
    font-size: 17pt;

    width: 350px;
    height: 350px;

    background-repeat: no-repeat;

    position: relative;

    padding: 10px;

    border-radius: 20px;
}

@media (max-width: 1000px) {
    .boxes .item:nth-last-child(1):nth-child(odd) {
        grid-column: 1 / -1; /* Заставляет элемент растягиваться на всю ширину */
        justify-self: center; /* Центрирует элемент */
    }
}

.boxes .item .text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.boxes .item .default {
    opacity: 1;
    top: 10%;
    width: 100%;
}

.boxes .item .hover {
    opacity: 0;
}

.boxes .item:hover {
    cursor: pointer;
}

.boxes .item:hover .hover {
    opacity: 1;
}

.boxes .item:hover .default {
    opacity: 0;
}

@media (max-width: 1000px) {
    .boxes .item.disabled .hover {
        opacity: 1;
    }

    .boxes .item.disabled .default {
        opacity: 0;
    }

    .boxes .item.disabled img {
        filter: blur(8px);
    }
}

.boxes .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.boxes .item:hover img {
    filter: blur(8px);
}

.pre-hint {
    margin-bottom: 0;
}

.box-example {
    align-items: center;
    justify-content: center;
}

.img-fluid {
    width: 290px;
    height: 290px;
    margin: 30px;
}

.btn-send {
    height: 50px;
}

.color-box {
    width: 40px;
    height: 40px;
    border-radius: 5px;
    margin: 5px;
    cursor: pointer;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.2);
}

.color-box.active {
    border: 2px solid #FF8EAB;
}

.color-box input {
    display: none;
}

.color-box:nth-child(1) {
    background: #FFD700;
}

.color-box:nth-child(2) {
    background: #FF5277;
}

.color-box:nth-child(3) {
    background: #A991FF;
}

.color-box:nth-child(4) {
    background: #005ef0;
}

.nav-tabs {
    border: none;
}

.nav-item > .nav-link {
    border: none;
    color: black;
    font-weight: 500;
    opacity: 0.5;
}

.nav-item > .nav-link.active {
    opacity: 1;
    border-bottom: 3px solid #FF8EAB;
}
