html,
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #000;
}

#title {
    font-size: 20px;
    font-weight: bold;
    color: rgb(244, 211, 211);
    margin-bottom: 20px;
    text-align: center;
}

.prompt-text {
    font-size: 10px;
    font-weight: bold;
    color: rgb(88, 88, 88);
    margin-bottom: 10px;
    text-align: center;
}

#main-card {
    width: 86%;
    height: auto;
    min-height: 500px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 0 auto;
}

@media (min-width: 540px) {
    #main-card {
        width: 70%;
    }
}

@media (min-width: 768px) {
    #main-card {
        width: 60%;
    }
}

@media (min-width: 1024px) {
    #main-card {
        width: 40%;
    }
}

@media (min-width: 1280px) {
    #main-card {
        width: 30%;
    }
}

#img-container {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0 auto;
}

#img-1 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 2;
    pointer-events: none;
}

#matrix-container {
    position: absolute;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 1px;
    top: 6%;
    left: 1.6%;
    width: 72.5%;
    height: 91%;
    z-index: 1;
}

.matrix-element {
    width: 100%;
    height: 100%;
    background-color: rgba(135, 12, 12, 0.05);
}

#list-container {
    position: absolute;
    top: 6%;
    left: 76%;
    width: 24%;
    height: 51%;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.list-element {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

#list-0 {
    background-color: #ff3e3e;
}

#list-1 {
    background-color: #ff9100;
}

#list-2 {
    background-color: #ffff00;
}

#list-3 {
    background-color: #4dff00;
}

#list-4 {
    background-color: #0099ff;
}

#list-5 {
    background-color: #b700ff;
}

#button-container {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    height: 80px;
    width: 100%;
}

#color-indication {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: white;
    border: 2px solid #5a684a;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    margin-left: 14%;
    margin-right: 10%;
}

#reset-button, #generate-button {
    margin-right: 10%;
    height: 40px;
    width: 80px;
    background-color: rgba(254, 65, 141, 0.91);
    color: rgb(255, 255, 255);
    border-radius: 13px;
}

.information {
    color: white;
    font-size: 8px;
    white-space: nowrap;
}

.link {
    color: white;
    font-size: 6px;
}

#information-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.information-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    background-color: rgba(182, 89, 132, 0.505);
    width: 50%;
    min-width: 100px;
}

