﻿html {
    scroll-behavior: smooth; 
}

body {
    font-family: LIK-Regular, sans-serif;
    background: #fff;
    color: #333;
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: 'LIK-Regular';
    src: src: url('/lib/fonts/LIK-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.projects-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 40px 80px;
}

.content {
    width: 75%;
}

.main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #760e26;
    margin-bottom: 40px;
    border-bottom: 3px solid #760e26;
    display: inline-block;
    padding-bottom: 10px;
}

.section-block {
    margin-bottom: 80px;
}

    .section-block h2 {
        color: #760e26;
        font-weight: 600;
        margin-bottom: 20px;
    }

.table-custom {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ddd;
    background: #fff;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

    .table-custom th {
        background-color: #760e26;
        color: #fff;
        padding: 12px;
        text-align: left;
    }

    .table-custom td {
        padding: 12px;
        border-bottom: 1px solid #eee;
    }

    .table-custom tr:hover {
        background-color: rgba(118, 14, 38, 0.08);
        transition: 0.3s;
    }

.list-custom {
    list-style: none;
    padding: 0;
}

    .list-custom li {
        background: #760e26;
        color: #fff;
        margin: 5px 10px;
        padding: 12px 18px;
        border-radius: 8px;
        transition: background 0.3s, transform 0.2s;
    }

        .list-custom li:hover {
            background: #5e0b1e;
            transform: translateX(4px);
        }

li a {
    color: white;
    text-decoration: none;
}

li a:hover {
    color: white;
}

.sidebar {
    position: absolute;
    right: 50px;
    top: 180px;
    border-left: 2px dotted #760e26;
    padding-left: 20px;
}

    .sidebar ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .sidebar li {
        margin: 18px 0;
    }

    .sidebar a {
        color: #760e26;
        text-decoration: none;
        font-weight: 600;
        font-size: 1rem;
        transition: all 0.3s ease;
    }

        .sidebar a:hover {
            color: #5e0b1e;
            transform: translateX(6px);
        }

@media (max-width: 768px) {
    .projects-container {
        flex-direction: column;
        padding: 20px;
    }

    .content {
        width: 100%;
    }

    .sidebar {
       display: none;
    }
        .sidebar ul {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 20px;
        }

        .sidebar li {
            margin: 0;
        }
}

/*additional*/

.fixed-menu {
    position: fixed;
    top: 200px; 
    right: 320px; 
    z-index: 1000;
}


    /* visible state */
    .back-btn.show {
        opacity: 1;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }

    /* arrow icon */
    .back-btn svg {
        width: 26px;
        height: 26px;
        fill: none;
        stroke: white;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    /* hover effect */
    .back-btn:hover {
        transform: translateY(-1px);
    }

    /* focus (keyboard accessibility) */
    .back-btn:focus-visible {
        outline: 3px solid #ffd6d6;
        outline-offset: 4px;
    }

    .back-btn::after {
    content: "Back";
    position: absolute;
    right: 70px;
    padding: 6px 10px;
    background: #222;
    color: #fff;
    font-size: 12px;
    border-radius: 6px;
    opacity: 0;
    transform: translateY(4px);
    transition: .2s;
    pointer-events: none;
}

.back-btn:hover::after {
    opacity: 1;
    transform: translateY(0);
}


