﻿html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@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;
}

body {
    margin-bottom: 60px;
    background-color: #EEE;
    color: #333;
}

h2 {
    border-bottom: 3px solid #daa5205c;
}


.container {
    width: 1200px;
}


.header {
    /* background-color: #DAA520;*/
    background-color: #FFF;
    box-shadow: 0 0 0 0.1rem #daa5200b;
}

.link-primary {
    text-decoration: underline;
}

.link-title {
    color: #333;
}

    .link-title:hover {
        color: #999;
    }

.bg-white {
    background-color: #F5F5F5; /* Светлый фон для карточек */
}



.card {
    transition: transform 0.3s ease-in-out;
}

    .card:hover {
        transform: scale(1.05);
    }

/* ********************************************** */
.about {
    display: flex;
    flex-direction: row;
    align-items: start;
    gap: 1rem;
    min-height: 425px;
}

    .about img {
        border: 4px solid #daa5205c; /* Золотая рамка */
        width: 20%;
        min-width: 250px;
        min-height: 400px;
        flex-shrink: 1;
    }

    .about .text-content {
        text-align: justify;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-height: 400px; /* Фиксированная высота для выравнивания */
        overflow: hidden;
    }

.video-section{
}
    .video-section .video {
        
        flex-shrink: 0;
        border: 4px solid #daa5205c; /* Золотая рамка */
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        min-height: 300px; /* Вертикальная ориентация */
        min-width: 115px;
        overflow:hidden;
    }

/* ***************** INDEX ***************************** */
.character-card {
    display: flex;
    flex-direction: row;
    align-items: start;
    gap: 1rem;
}

    .character-card img {
        width: 40%;
        flex-shrink: 0;
        border: 4px solid #daa5205c; /* Золотая рамка */
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        object-fit: cover;
        background: linear-gradient(to bottom, #F5F5F5, #E0E0E0); /* Лёгкий градиент фона */
        min-height: 300px; /* Вертикальная ориентация */
        min-width: 115px;
    }

    .character-card .text-content {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-height: 300px; /* Фиксированная высота для выравнивания */
        overflow: hidden;
    }


/* ***************  ************************ */

.extra {
    height: 472px;
}

    .extra img {
        height: 350px;
        flex-shrink: 0;
        border: 4px solid #daa5205c; /* Золотая рамка */
        object-fit: cover;
    }

    .extra .content {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-height: 350px; /* Фиксированная высота для выравнивания */
        overflow: hidden;
    }



/* *************** Characters ************************ */

.content {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    text-align: justify;
}

.character-section {
    display: flex;
    flex-direction: row;
    align-items: start;
    gap: 1rem;
}

    .character-section img {
        width: 300px;
        min-height: 300px;
        flex-shrink: 0;
        border: 4px solid #daa5205c;
    }

    .character-section .text-content {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 400px; /* Фиксированная высота для выравнивания */
        overflow: hidden;
    }



.character-creation {
    display: flex;
    flex-direction: row;
    align-items: start;
    gap: 1rem;
}

    .character-creation img {
        width: 230px;
        height: 300px;
        flex-shrink: 0;
        border: 4px solid #daa5205c;
    }
