@import url('animations.css');
@import url('variables.css');

html {
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100vw;
    height: 100vh;
    font-family: 'Montserrat', sans-serif;
}

body.motion {
    background-color: var(--motion);
    color: var(--fill-motion);
}

body.montage {
    background-color: var(--montage);
    color: var(--fill-montage);
}

body.insta {
    background-color: var(--insta);
    color: var(--fill-insta);
}

body.web {
    background-color: var(--web);
    color: var(--fill-web);
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    width: 100vw;
    height: 100vh;
    position: relative;
}

.cell {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    color: rgba(255, 255, 255, 0.95);
    text-transform: uppercase;
    font-weight: 600;
    cursor: pointer;
    padding: 1em;
    transition: opacity 1000ms cubic-bezier(0.5, 0, 0, 0.99);
}

.top-left {

    background-color: var(--motion);
    opacity: 1;
    transition: 500ms opacity ease-in-out;

}

.top-left:hover {

    opacity: 0.9;

}

.top-right {

    opacity: 1;
    background-color: var(--montage);
    transition: 500ms opacity ease-in-out;


}

.top-right:hover {

    opacity: 0.9;

}

.bottom-left {

    opacity: 1;
    background-color: var(--insta);
    transition: 500ms opacity ease-in-out;


}

.bottom-left:hover {

    opacity: 0.9;

}

.bottom-right {

    opacity: 1;
    background-color: var(--web);
    transition: 500ms opacity ease-in-out;


}

.bottom-right:hover {

    opacity: 0.9;

}

.center-info {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--montage);
    color: var(--motion);
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.2s, background-color 0.3s;
}

.center-info:hover {
    background-color: var(--motion);
    color: var(--montage);
    transform: translate(-50%, -50%) scale(1.1);
}

body:has(.center-info.depop-anim) {
    background-color: var(--black);
}

.center-info.depop-anim .info-text {
    border-right: 2px solid var(--white);
    animation: typewriter 1s steps(10, end) forwards;
}

.cell-clone {
    position: fixed;
    z-index: 25;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1.6rem;
    border-radius: 0;
}

#placeholder .placeholder {

    margin: 1em;

}

main.galerie {

    display: none;

}