#intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

#intro-overlay video {
    border-radius: 8px;
    width: 160px;
    height: 120px;
}

.hidden {
    opacity: 0 !important;
}

body {
    margin: 0;
    padding: 0;
    background-image: url('images/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    display: flex;
    color: white;
    overflow: hidden;
    font-size: 115%;
}

.cs-dialog .text.description p {
    margin-bottom: 1rem !important;
}

.cs-dialog p {
    margin-bottom: 1rem !important;
}

.container {
    position: absolute;
    left: 10%;
    bottom: 10%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    font-size: 2rem;
}

.container .menu-item {
    cursor: pointer;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.container .menu-item:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.upper-left-corner p {
    margin-bottom: 0.5rem !important;
    font-size: 1.2rem;
}

.upper-left-corner {
    margin-left: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    margin-bottom: 20px !important;
    width: 280px;
}

.spray-paint {
    margin-bottom: 20px !important;
    width: 280px;
}

.spray-paint-container {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    position: relative;
    overflow: visible;
}

.spray-paint-dropdowns {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.spray-paint-dropdowns select {
    width: 120px;
    height: 30px;
    z-index: 1000;
    position: relative;
    font-size: 1.1rem;
}

.spray-paint-dropdowns select[name="tint"] {
    margin-top: 30px;
}

.spray-paint p {
    margin-bottom: 0.5rem !important;
    width: 100%;
    display: block;
    margin-bottom: 0 !important;
    font-size: 1.2rem;
}

.spray-paint select.cs-select,
#spraypaint {
    flex: 1;
    width: 30px !important;
    min-width: 70px !important;
    max-width: 70px !important;
    height: 30px;
    max-height: 30px;
}

#spray-preview {
    width: 150px;
    height: auto;
    display: block;
    margin-top: 0 !important;
}

.age-and-city-row {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
    width: 280px;
}

.age-input-row {
    margin-top: -30px;
}

.age-input {
    width: 40px;
    text-align: center;
    font-size: 1.1rem;
    margin-top: 20px !important;
}

.age-slider-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 20px;
}

.cs-slider label {
    font-size: 1.2rem;
}

.cs-slider .value p {
    font-size: 1.1rem;
}

.city-section {
    position: absolute;
    top: 285px;
    right: 50px;
    width: 200px;
}

.city-section label {
    font-size: 1.2rem;
}

.city-section input {
    font-size: 1.1rem;
}

.upper-right-corner {
    position: absolute;
    top: 40px;
    right: 170px;
    width: 250px;
}

.upper-right-corner pre {
    margin: 0;
    font-size: 1rem;
}

#options-game-dialog {
    width: 600px;
    max-width: 90vw;
    height: 520px;
    max-height: 90vh;
    overflow: hidden;
}

#options-game-dialog .panel {
    height: 400px;
    overflow: hidden;
}

.spray-paint-dropdowns .tint {
    margin-top: 30px;
}

.servers-dialog.cs-dialog {
    max-width: 900px;
    width: 900px;
}

.servers-dialog.cs-dialog .cs-tabs .panel {
    padding: 10px 0 10px;
}

.server-browser {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 250px;
    background-color: var(--secondary-bg);
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-light);
    overflow-y: auto;
}

.server-list-header {
    display: flex;

    .cs-btn {
        font-size: 18px;
    }
}

.server-item {
    display: flex;
    cursor: pointer;
    font-size: 18px;
    color: #fff;
    line-height: 1.1;
}

.server-item-column {
    padding: 4px 6px;
    overflow: hidden;
}

.server-item-column.project-description-column {
    padding-right: 10px;
}

.server-item.selected {
    background-color: var(--secondary-accent);
}

.project-name-column {
    flex: 1;
}

.project-description-column {
    flex: 3;
}

.project-stack-column {
    flex: 1.5;
}

.project-status-column {
    flex: 0.5;
}

.server-actions {
    flex: 1;
    display: flex;
    gap: 10px;
    float: right;
    margin-right: 10px;
}

.server-actions .cs-btn {
    font-size: 23px;
    padding: 6px 5px 6px;
    width: 100px;
    text-align: left;
}

.build-smth-link {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: pointer;
}

.build-smth-link:hover {
    color: #ffffff;
    text-shadow: 0 0 5px rgba(255, 255, 0, 0.8);
}