#photo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--clr-blue);
}

#photo .photoContainer {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 68.8rem;
    transform: translateY(-50%);
}


/* ------- Camera ------- */

#cameraWrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--clr-blue);
}

#cameraWrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#cameraWrap .button {
    position: absolute;
    margin: 0;
    padding: 0;
    width: 6.1rem;
    height: 6.1rem;
    background: var(--clr-red);
    border-radius: 4.0rem;
}

#captureButton.button {
    bottom: 1.6rem;
    left: 50%;
    transform: translateX(-50%);
    min-width: 8.1rem;
    min-height: 8.1rem;
}
#captureButton .inner {
    background-image: url("/public/images/soutez/icons/photo-camera.svg?v=1");
    background-size: 4.7rem 4.7rem;
}

#switchCameraButton.button {
    bottom: 2.6rem;
    right: 2.6rem;
    background: var(--clr-blue);
}
#switchCameraButton .inner {
    background-image: url("/public/images/soutez/icons/photo-switch.svg?v=1");
    background-size: 3.4rem 3.4rem;
}


/* ------- Editing ------- */

#editWrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--cl-blue);
}

#canvas {
    height: 100%;
    width: 100%;
}

#editWrap .buttonSelection {
    position: absolute;
    display: flex;
    bottom: 1.6rem;
    width: 100%;
    align-items: center;
    justify-content: center;
    align-content: center;
    flex-wrap: nowrap;
    gap: 2.1rem;
}

#editWrap .buttonSelection .button {
    margin: 0;
    padding: 0;
    width: 6.1rem;
    height: 6.1rem;
    border-radius: 4.0rem;
}

#editWrap .button.reload {
    background: var(--clr-blue);
}

#editWrap .button.reload .inner {
    background-image: url("/public/images/soutez/icons/photo-reload.svg?v=1");
    background-size: 2.9rem 2.9rem;
}

#editWrap #confirmPhoto.button {
    min-width: 8.1rem;
    min-height: 8.1rem;
}

#editWrap #confirmPhoto.button .inner {
    background-image: url("/public/images/soutez/icons/photo-check.svg?v=1");
    background-size: 3.9rem 3.9rem;
}


/* ------- Gallery selection ------- */

#gallerySelect {
    position: absolute;
    display: flex;
    padding: 4.0rem;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    align-content: center;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    flex-wrap: nowrap;
}

#gallerySelect .text {
    margin-bottom: 4.0rem;
    color: var(--clr-white);
}


/* ------- Close button ------- */

#closePhotoButton {
    position: absolute;
    top: 1.6rem;
    right: 1.6rem;
    height: 3.0rem;
    width: 3.0rem;
    background-color: var(--clr-white);
    background-image: url("/public/images/soutez/icons/photo-cross.svg?v=1");
    background-size: 1.4rem 1.4rem;
    border-radius: 100%;
}