/* Versione statica del blocco home Comp2 (Page-Home/Comp.tsx + Comp.scss):
   due mezze foto Women/Men con etichetta e bottone. */

.hfh-split {
    display: flex;
    width: 100%;
}

.hfh-split-half {
    display: flex;
    position: relative;
    flex: 1;
    min-width: 0;
}

.hfh-split-half img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Copre la scritta DONNA/UOMO incisa nelle foto placeholder con l'etichetta
   inglese: stesso angolo, sfondo abbinato al fondo della foto in quel punto.
   Misure in % cosi' la copertura scala col crop object-fit: cover. */
.hfh-split-label {
    position: absolute;
    top: 5%;
    height: 13%;
    width: 34%;
    display: flex;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 30px;
    font-weight: 800;
    color: white;
}

.hfh-split-left {
    left: 0;
    justify-content: flex-start;
    padding-left: 5%;
    background: #18181A;
}

.hfh-split-right {
    right: 0;
    justify-content: flex-end;
    padding-right: 5%;
    background: #898984;
}

.hfh-split-btn {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    margin: auto;
    width: 320px;
    height: 57px;
    max-width: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FFA502;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.hfh-split-btn:hover,
.hfh-split-btn:focus {
    color: black;
}

.hfh-split-btn:active {
    transform: translate(1px, 1px);
}

@media (max-width: 760px) {
    .hfh-split {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .hfh-split-label {
        font-size: 20px;
    }

    .hfh-split-btn {
        bottom: 16px;
        height: 46px;
        font-size: 16px;
    }
}
