﻿@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-size: 14px;
    background: linear-gradient(to right, #F5F5DC, #EAE7DC, #DDE6ED, #C8D5B9, #E8D7D1);
}

.grid-wrapper {
    display: grid;
    grid-template-rows: auto 1fr auto;
    min-height: 100vh;
}

main {
    padding-bottom: 40px; /* 👈 визуальный отступ от футера */
}

.footer {
    background-color: #f8f8f8;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
    color: #555;
    border-top: 1px solid #ddd;
}
.navbar .nav-link:hover {
    color: #16a7b7 !important; /* золотой #ffd700 */
}

.gradient-text {
    background: linear-gradient(to right, #F5F5DC, #EAE7DC, #DDE6ED, #C8D5B9, #E8D7D1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
    transition: color 0.3s ease, background 0.3s ease;
}

.gradient-text:hover {
    background: none;
    -webkit-text-fill-color: #16a7b7; /* золотой #ffd700 */
}

.dual-button {
    display: inline-flex;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    font-weight: 500;
}

    .dual-button a {
        display: inline-block;
        padding: 0.5rem 1.5rem;
        text-decoration: none;
        color: white;
        transition: background 0.3s ease;
    }

    .dual-button .register {
        background-color: #007bff; /* синий */
    }

    .dual-button .login {
        background-color: #28a745; /* зелёный */
    }

    .dual-button .register:hover {
        background-color: #0056b3;
    }

    .dual-button .login:hover {
        background-color: #1e7e34;
    }