/* 
    Author: Connor Kippes

    CSS for the index page.
*/
#home-content{
    display: flex;
    gap:10px;
    flex-direction: column;
    align-items: center; 
}

#title-logo {
    width: 100%;
    height:200px;
    max-width: 1080px;
    background-color: var(--accent-color);
    -webkit-mask: url('/images/title-logo.svg') no-repeat center;
    mask: url('/images/title-logo.svg') no-repeat center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.top-margin {
    margin-top: 80px;
}

.rainbow-gallery {
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 40px;;
    transition: transform 0.4s ease;
}
.rainbow-gallery:hover {
    transform: translateY(-10px); /* arc lifts slightly */
}

.rainbow-gallery-painting {
    width: 100%;
    max-width: 150px;
    height: auto;
    transition: transform 0.3s ease;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

#rainbow-gallery-painting1 {
    transform: rotate(-20deg) translateY(20px);
}
#rainbow-gallery-painting1:hover {
    transform: scale(1.25);
}

#rainbow-gallery-painting2 {
    transform: rotate(-10deg) translateY(10px);
}
#rainbow-gallery-painting2:hover {
    transform: scale(1.25);
}

#rainbow-gallery-painting3 {
    transform: rotate(0deg) translateY(0px);
}
#rainbow-gallery-painting3:hover {
    transform: scale(1.25);
}

#rainbow-gallery-painting4 {
    transform: rotate(10deg) translateY(10px);
}
#rainbow-gallery-painting4:hover {
    transform: scale(1.25);
}

#rainbow-gallery-painting5 {
    transform: rotate(20deg) translateY(20px);
}
#rainbow-gallery-painting5:hover {
    transform: scale(1.25);
}

#overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap:10px;
    background-color: var(--main-bg-color);
    padding: 2.5rem;
    padding-bottom:3.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.margined-text {
    max-width:900px;
}