
  

/* ------------------------- FRONT ------------------ */

#mobile-title
{
    display: none;
    max-height: 30px;
    justify-content: center;
    padding-top: 30px;
    max-width: 75vw;
    margin: auto;
}

#mobile-title img
{
    max-height: 30px;
    margin-right: 12px;
}


#mobile-title h1
{
    font-size: 20px;
    padding: 0;
    margin: 0;
}

.features-grid {
    max-width: 1600px;
    margin: auto;
}

.features-grid .flex-container
{
    margin-bottom: 72px;
}

.feature {
    margin: 0 auto;
    padding: 24px;
}

.feature.glass
{
    width: 25%;
}

.feature:not(.glass)
{
    font-size: 16px;
    line-height: 28px;
    text-align: center;
    max-width: 48%;
}

.feature:not(.glass) h2
{
    color: var(--accent-color-pale);
}

.feature.spacer h2
{
    margin-top: 128px;
}

.feature.glass h2
{
    margin-bottom: 0;
}

.feature.glass img
{
    margin: 48px auto;
}

.feature-with-illustration.feature:not(.glass)
{
    max-width: 35%;
}

.feature-illustration
{
    max-width: 55%;
}

.feature-illustration img
{
    max-width: 100%;
}

.marketing-points h1
{
    margin-bottom: 128px;
}

.marketing-points h2
{
    color: var(--accent-color-pale);
}

.cta-section
{
    display: flex;
    flex-direction: column;
    text-align: center;
}

.cta
{
    width: 100%;
}

.button-group
{
    display: flex;
    gap: 20px;
    justify-content: center;
    width: 100%;
}

.cta .button-group
{
    padding: 0 25px;
}

.multiple-portraits {
    perspective: 1000px;
    height: 400px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: start;
    margin-bottom: 50px; /* Add space for the controls */
    width: 45%;
    min-height: max-content;
}

.multiple-portraits.customization-portraits
{
    height: calc(180px * 2.0 + 30px);
}

.multiple-portraits:not(.customization-portraits)
{
    height: calc(180px * 3.0 + 30px);
}

.multiple-portraits:not(.customization-portraits) img {
    height: calc(180px * 3.0);
}

.multiple-portraits img {
    position: absolute;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
    transition: transform 0.5s ease;
    max-width: 100%;
}

.multiple-portraits-controls {
    position: absolute;
    bottom: -25px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 0 20px;
    box-sizing: border-box;
}

.multiple-portraits-controls button {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 24px;
    padding: 10px 20px;
    cursor: pointer;
    z-index: 5;
    transition: 300ms;
}

.multiple-portraits-controls button:hover {
    background: var(--accent-color);
}

.multiple-portraits.customization-portraits img {
    height: calc(180px * 2);
}

/* 8-image multiple-portraits slider - 50px steps, right to left */
/* Customization portraits - positive values (left to right) */
.customization-portraits img.position-1 {
    transform: translateX(0px) translateZ(0px) rotateY(-10deg);
    z-index: 5;
}

.customization-portraits img.position-2 {
    transform: translateX(50px) translateZ(-50px) rotateY(-10deg);
    z-index: 4;
}

.customization-portraits img.position-3 {
    transform: translateX(100px) translateZ(-100px) rotateY(-10deg);
    z-index: 3;
}

.customization-portraits img.position-4 {
    transform: translateX(150px) translateZ(-150px) rotateY(-10deg);
    z-index: 2;
}

.customization-portraits img.position-5 {
    transform: translateX(200px) translateZ(-200px) rotateY(-10deg);
    z-index: 1;
}

.customization-portraits img.position-6 {
    transform: translateX(250px) translateZ(-200px) rotateY(-10deg);
    z-index: 1;
}

/* Regular multiple-portraits - negative values (right to left) */
.multiple-portraits:not(.customization-portraits) img.position-1 {
    transform: translateX(0px) translateZ(0px) rotateY(5deg);
    z-index: 8;
}

.multiple-portraits:not(.customization-portraits) img.position-2 {
    transform: translateX(-50px) translateZ(-50px) rotateY(30deg);
    z-index: 7;
}

.multiple-portraits:not(.customization-portraits) img.position-3 {
    transform: translateX(-100px) translateZ(-100px) rotateY(30deg);
    z-index: 6;
}

.multiple-portraits:not(.customization-portraits) img.position-4 {
    transform: translateX(-150px) translateZ(-150px) rotateY(30deg);
    z-index: 5;
}

.multiple-portraits:not(.customization-portraits) img.position-5 {
    transform: translateX(-200px) translateZ(-200px) rotateY(30deg);
    z-index: 4;
}

.multiple-portraits:not(.customization-portraits) img.position-6 {
    transform: translateX(-250px) translateZ(-250px) rotateY(30deg);
    z-index: 3;
}

.multiple-portraits:not(.customization-portraits) img.position-7 {
    transform: translateX(-300px) translateZ(-300px) rotateY(30deg);
    z-index: 2;
}

.multiple-portraits:not(.customization-portraits) img.position-8 {
    transform: translateX(-350px) translateZ(-350px) rotateY(30deg);
    z-index: 1;
}

@media (orientation: portrait) 
{
    #intro #title-container
    {
        max-width: 100%;
        width: 100%;
        padding: 20px 0;
    }

    .feature.spacer h2, #intro h2
    {
        margin-top: 0;
    }

    h2
    {
        margin: 0 auto;
    }

    #title-container h1
    {
        font-size: 40px;
    }

    .button-group
    {
        padding: 0;
    }

    .features-grid .flex-container
    {
        overflow: hidden;
    }

    .marketing-points h1 
    {
        margin-bottom: 50px;
        font-size: 20px;
    }

    .multiple-portraits
    {
        width: 100%;
    }

    .feature:not(.glass)
    {
        max-width: 100%;
    }

    .feature-with-illustration.feature:not(.glass)
    {
        max-width: 100%;
    }

    .feature-illustration
    {
        max-width: 100%;
    }

    .feature.glass
    {
        width: 75%;
        margin-bottom: 24px;
    }

    .multiple-portraits.customization-portraits {
        height: 50vw;
    }

    .multiple-portraits-controls
    {
        left: 0;
    }


    .multiple-portraits img.position-1 {
        transform: translateX(0px) translateZ(0px) rotateY(-10deg);
        position: relative;
        height: unset;
        /*min-width: 100%;*/
    }
    
    .multiple-portraits img.position-2 {
        transform: translateX(-35px) translateZ(-50px) rotateY(-10deg);
        display: none;
    }
    
    .multiple-portraits img.position-3 {
        transform: translateX(-70px) translateZ(-100px) rotateY(-10deg);
        display: none;
    }
    
    .multiple-portraits img.position-4 {
        transform: translateX(-105px) translateZ(-150px) rotateY(-10deg);
        display: none;
    }
    
    .multiple-portraits img.position-5 {
        transform: translateX(-140px) translateZ(-200px) rotateY(-10deg);
        display: none;
    }
    
    .multiple-portraits img.position-6 {
        transform: translateX(-175px) translateZ(-250px) rotateY(-10deg);
        display: none;
    }
    
    .multiple-portraits img.position-7 {
        transform: translateX(-210px) translateZ(-300px) rotateY(-10deg);
        display: none;
    }
    
    .multiple-portraits img.position-8 {
        transform: translateX(-245px) translateZ(-350px) rotateY(-10deg);
        display: none;
    }
}



@media (orientation: portrait), (max-width: 1600px) {
    #mobile-title {
        display: flex;
    }
}