﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}


.hover-effect-btn {
    position: relative;
    width: 100%;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Настройка цвета и прозрачности для блока с заголовком */
    transition: background 0.5s ease;
}

.hover-effect-btn:hover .overlay {
    display: block;
    background: rgba(0, 0, 0, 0.2); /* Настройка цвета и прозрачности для блока с заголовком при наведении */
}

.title {
    position: absolute;
    width: 100%;
    left: 0;
    top: 25%; /* Отступ сверху */
    font-size: 1.500em; /* Размер текста заголовка */
    text-align: center;
    text-transform: uppercase; /* Заглавные буквы */
    color: white; /* Цвет заголовка */
    z-index: 1;
    transition: top .5s ease;
}

.hover-effect-btn:hover .title {
    top: 10%; /* Отступ сверху при наведении */
}

.button {
    position: absolute;
    width: 100%;
    left: 0;
    top: 75%; /* Отступ сверху */
    text-align: center;
    opacity: 0;
    transition: opacity .35s ease;
}

    .button a {
        padding: 15px 40px; /* Отступ */
        text-align: center;
        background: #ff0000; /* Цвет кнопки */
        color: white; /* Цвет текста */
        border: 1px solid white; /* Ширина, стиль и цвет границы */
        z-index: 1;
    }

.hover-effect-btn:hover .button {
    opacity: 1;
}

.grey-image {
    filter: grayscale(); /* Черно-белый фильтр для изображения */
    transition: 1s; /* Время изменения цвета изображения */
}

    .grey-image:hover {
        filter: grayscale(0); /* Цветное изображение при наведении */
    }

.img-center{
    text-align: center;
}

.modalInfo {
    margin: 0 10px 0 10px;
}

.border-radius {
    border-radius: 40px;
}