* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: 'Arial', sans-serif;
    background: #8f3228;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}
.container {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    background: #8f3228;
    border-bottom: 0.3rem solid #ffffff;
    padding: 1rem;
    box-shadow: 0 0.4rem 1.5rem rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}
.container div {
    display: flex;
    align-items: center;
    justify-content: center;
}
.left, .right {
    flex: 0 0 auto;
    width: 10%;
}
.left img, .right img {
    max-width: 100%;
    height: auto;
}
.center {
    flex: 1;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.center h1 {
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    font-weight: bold;
    margin: 0;
    color: #ffffff;
    text-transform: uppercase;
    line-height: 1.2;
}
.user-info-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 3px 14px;
    background: #ffffff;
    border-bottom: 1px solid #ffffff;
}
.user-name {
    font-size: 1rem;
    font-weight: bold;
    color: #001f4d;
}
.logout-button {
    border: 2px solid #001f4d;
    border-radius: 5px;
    padding: 10px 15px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background 0.3s, transform 0.2s;
}
.logout-button:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
}
.main-block {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background: #8f3228;
    border-top: 0.3rem solid #ffffff;
    box-shadow: inset 0 0 1.5rem rgba(0, 255, 255, 0.2);
    position: relative;
    width: 100%;
    padding-top: 20px;
}
.tiles {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    width: 100%;
    margin-top: 20px;
}
.tile {
    background: #8f3228;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    text-align: center;
    font-size: 1.2em;
    color: #ffffff;
    width: calc(33.333% - 40px);
    min-width: 200px;
    max-width: 300px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 4px solid #ffffff;
    cursor: pointer;
}
.tile span {
    font-weight: bold;
}
.tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.6rem 2rem rgba(0, 0, 0, 0.3);
}
@media (max-width: 768px) {
    .tile {
        width: 100%;
        height: auto;
    }
}
