.layout-option {
    width: 60px;
    height: 60px;
    border: 2px solid #e2e8f0;
    border-radius: 4px;
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.layout-option:hover,
.layout-option.selected {
    border-color: #4299e1;
}
.logo {
    display: flex;
    align-items: center;
    font-size: 1rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

.logo img {
    width: 60px;
    margin-right: 0px;
}

.layout-cell {
    background-color: #ecf0f1;
    border: 1px solid #fff;
    box-sizing: border-box;
}

#collage-container {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
    min-height: 400px;
    background-color: transparent;
    border: none;
}


.collage-cell {
    background-color: #f7fafc;
    border: 2px dashed #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}
.customization-option {
    margin-bottom: 10px;
}

.collage-cell:hover {
    border-color: #4299e1;
}

.collage-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.collage-cell .remove-image {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 14px;
    cursor: pointer;
    display: none;
}

.collage-cell:hover .remove-image {
    display: block;
}

#add-photos, #create-collage {
    transition: all 0.3s ease;
}

#add-photos:hover, #create-collage:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
#tools, #about {
    padding: 6rem 0;
}


.tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tool-card {
    background-color: var(--card-background);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    text-decoration: none;
    color: var(--text-color);
}

.tool-card:hover {
    transform: translateY(-5px);
}

.tool-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
h1 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}
body {
    text-size-adjust: 100%; /* Standard property */
    -webkit-text-size-adjust: 100%; /* For older WebKit-based browsers */
}
