/* Общие стили и шрифты */
@font-face {
    font-family: 'Montserrat';
    font-weight: normal;
    font-style: normal;
    src: url('../font/Montserrat-Regular.ttf');
}
@font-face {
    font-family: 'Montserrat';
    font-weight: bold;
    font-style: normal;
    src: url('../font/Montserrat-Bold.ttf');
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: "Montserrat", sans-serif;
    overflow: hidden;
    color: #ffffff;
}

/* Стили для фона */
body {
    background-image: url("../img/var.bg1.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Стили для логотипа, заголовка и подписей */
#logo {
    position: absolute;
    top: 30px;
    left: 50%; /* Смещаем на 50% ширины от левого края */
    transform: translateX(-50%); /* Сдвигаем назад на половину своей ширины */
    z-index: 100;
}

#logo img {
    width: 120px;
    height: 50px;
}

.main-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#title {
    margin-bottom: 50px;
}

#title h1 {
    font-size: 2em;
    font-weight: normal;
    margin: 0;
}

#title h2 {
    font-size: 5em;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0;
}


/* Мои кнопки */
.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    opacity: 0;
    transform: translateY(50px);
    animation: slideIn 1s forwards;
    animation-delay: 0.5s;
    margin-top: -100px;
}

.button {
    text-decoration: none;
    color: #fff;
    font-size: 1.2em;
    padding: 20px 40px;
    background-color: transparent;
    border: 3px solid transparent;
    border-image: linear-gradient(45deg, #a66ef5, #ba23ac) 1;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.button:hover {
    transform: scale(1.1);
    background-color: rgba(166, 110, 245, 0.4);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
    color: #ba23ac;
}

.button[href="content.html"] {
    background-color: rgba(186, 35, 172, 0.8);
    border: none;
    border-radius: 8px;
}
.button[href="content.html"]:hover {
    background-color: rgba(186, 35, 172, 1);
    color: #ffffff;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Павлодар, 2025*/
.centered-text {
    position: absolute;
    font-size: 1.2em; 
    font-weight: bold;
    color: #ffffff;
    /* text-shadow: 0 0 10px #ffffff, 0 0 20px #ffffff, 0 0 30px #a66ef5; */
    margin-top: 450px; /* отступ от кнопок */
}

/* Имэдж бай Фрипик */
.footer-info {
    left: 50%; /* Смещаем на 50% ширины от левого края */
    transform: translateX(-50%); /* Сдвигаем назад на половину своей ширины */
    position: absolute;
    bottom: 20px;
    text-align: center;
    width: 100%;
    padding: 0;
    background-color: transparent;
    color: #ffffff;
    font-size: 10px;
    /* text-shadow: 0 0 10px #ffffff, 0 0 20px #ffffff, 0 0 30px #a66ef5; */
}



/* Эффект при нажатии кнопки - типа портал */
/* .portal-overlay {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(186,35,172,1) 0%, rgba(166,110,245,0.8) 100%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    pointer-events: none;
    opacity: 0.9;
    animation: portalExpand 0.8s forwards;  
}

@keyframes portalExpand {
    from {
        width: 0;
        height: 0;
        opacity: 0.9;
    }
    to {
        width: 3000px;
        height: 3000px;
        opacity: 1;
    }
} */


/* Стили для кнопки "На главную" */
.back-button {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 100;
}

.back-button-link {
    text-decoration: none;
    color: #fff;
    font-size: 1.2em;
    padding: 10px 20px;
    background-color: transparent; 
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-image: linear-gradient(45deg, #a66ef5, #ba23ac) 1;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.back-button-link:hover {
    transform: scale(1.1);
    background-color: rgba(166, 110, 245, 0.4);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
    color: #ba23ac;
}


