.container {
    display: flex;
    padding: 0;
    margin: 0;
    width: 100vw;
    height: 90vh;
    justify-content: center;
    flex-direction: row;
}

.box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60vw;
    margin: 0;
    padding: 0;
    flex-direction: column;
    margin-top: 2vw;
}

.box-foto {
    background-image: url(/pictures/products/kolye-olcu.jpg); /* Sabit resim */
    width: 40vw;
    display: flex !important; /* Resmi her zaman göster */
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right;
}

.row {
    display: flex;
    width: 50vw;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    flex-direction: row;
}

.measure-1, .measure-2, .measure-3, .measure-4 {
    background-color: rgba(150, 150, 150, 0.5);
    width: 12vw;
    height: 4vw;
    border: 1px var(--primary-color);
    border-radius: 1vw;
    margin: 1vw;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    display: flex;
}

.measure-1:hover, .measure-2:hover, .measure-3:hover, .measure-4:hover {
    transform: scale(1.1); /* Büyüme efekti */
}

h2 {
    display: flex;
    color: white;
    align-items: center;
    justify-content: center;
    font-size: 1.3vw;
    width: 7vw;
    height: 1.5vw;
    text-align: center;
    margin: 1.5vw;
    font-family: 'roboto', sans-serif;
}

/* Uyarı mesajı stilleri */
.measure-alert {
    position: fixed;
    bottom: 20px; /* Sabit pixel değeri */ /*bottom: 8vw;*/
    left: 50%; /*left: 30%;*/
    transform: translateX(-50%);
    padding: 12px 24px; /* padding: 0.7vw 2vw; */
    background-color: #ff4444;
    color: white;
    border-radius: 25px; /*border-radius: 5vw;*/
    font-size: 1rem; /* font-size: 1.2rem; */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-width: 90%; /*mobilde taşmayı önler -ekleme-*/
    white-space: nowrap; /*ekleme*/
    animation: slideIn 0.3s ease-out, fadeOut 0.3s ease-out 1.7s;
}

@keyframes slideIn {
    from { bottom: -50px; } /*bottom: 6vw;*/
    to { bottom: 20px; } /*bottom: 8vw;*/
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

.subhead {
    font-size: 1.6vw;
    margin: 0;
    font-family: 'roboto', sans-serif;
}

.space {
    height: 4vw;
    width: 1vw;
}

.next {
    display: flex !important;
    margin: 2vw auto;
    position: relative;
    float: right;
    border: none;
    border-radius: 1vw;
    width: 13vw;
    height: 4vw;
    z-index: 999;
    padding: 0;
    font-size: 1.2vw;
    align-items: center;
    justify-content: center;
    cursor:pointer;
    background-color: var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 1vw;
}

.next:hover {
    transform: scale(1.1); /* Büyüme efekti */
}

.next-text {
    text-align: center;
    color: aliceblue;
    font-size: 1.2vw;
    cursor:pointer;
    font-family: 'roboto', sans-serif;
}

.space1 {
    height: 2.5vw;
    width: 1vw;
}

@media screen and (max-width: 1280px)  and (orientation: landscape) {
    
    .box {
        justify-content: center;
    }

}

@media screen and (min-width: 767px) and (max-width: 1280px)  and (orientation: portrait) {
 .container {
        display: flex;
        flex-direction: column-reverse;
        justify-content: start;
        align-items: center;
        margin-top: 5vw;
    }

    .box-foto {
        height: 45vh;
        width: 80vw;
        background-position: center;
    }

    .box {
        width: 80vw;
        height: 40vh;
    }

    .row {
    display: flex;
    width: 80vw;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    flex-direction: row;
}


    .measure-1, .measure-2, .measure-3, .measure-4, .measure-5 {
        border-radius: 1vw;
        margin: 2vw;
        width: 20vw;
        height: 7vw;
    }

    h2 {
        display: flex;
        font-size: 5vw;
        width: 7vw;
    }

    .next {
    width: 25vw;
    height: 8vw;
    }

    .next:hover {
        transform: none;
    }

    .next-text {
        font-size: 4vw;
    }

    .subhead {
    font-size: 3.5vw;
    }

}     

@media screen and (max-width: 767px)  and (orientation: landscape) {

    .box {
        justify-content: center;
    }
    
}

@media screen and (max-width: 767px)  and (orientation: portrait) {
     
    .container {
        display: flex;
        flex-direction: column-reverse;
        justify-content: start;
        align-items: center;
        margin-top: 5vw;
    }

    .box-foto {
        height: 45vh;
        width: 80vw;
        background-position: center;
    }

    .box {
        width: 80vw;
        height: 40vh;
    }

    .row {
    display: flex;
    width: 80vw;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    flex-direction: row;
    }


    .measure-1, .measure-2, .measure-3, .measure-4, .measure-5 {
        border-radius: 1vw;
        margin: 2vw;
        width: 20vw;
        height: 7vw;
    }

    h2 {
        display: flex;
        font-size: 5vw;
        width: 7vw;
    }

    .next {
    width: 25vw;
    height: 8vw;
    }

    .next:hover {
        transform: none;
    }

    .next-text {
        font-size: 4vw;
    }

    .subhead {
    font-size: 3.5vw;
    }
}