@import "main.css";

/* big slide layout */
.cfd-slide2-add {
    height: 100%;
}

.cfd-slide3-add {
    width: 210vw;    
    height:100%;
    justify-content: center;
    padding-left: 5vw;
    padding-right: 5vw;
}



/* slide 1 */
.cfd-logo-img  {
    width: 50%;
}

/* intro slide*/
.cfd-bk-dark-add{
    width: 25%;
}

.cfd-slant-bottle-wrap {
    width: 20%;
    height:100%;
}

.cfd-mid-txt-add {
    width: 40%;
}

.cfd-mid-body-add {
    width: 90%;
    margin-right: 10%;
}

.cfd-side-fig1 {
    width: 25vw;
    transition: 0.7s ease-out;
}

.cfd-side-fig1:hover {
    width: 26vw;
}

/* the content slide */
.cfd-6im-set-wrap {
    width: 33vw;
    display:grid;
    height: 90%;
    align-items: center;
    margin-left: 4vw;
    margin-right: 4vw;
    justify-content: center;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
}

.cfd-6im-img {
    width: 15vw;
    padding: 5px;
    transition: 0.7s ease-out;
}

.cfd-6im-img:hover {
    opacity: 0.7;
}

.cfd-hy-txt-wrap {
    width: 40vw;
    height: 60%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.cfd-hy-txt-head {
    font-size: 4em;
    padding-bottom: 20px;
}

.cfd-hy-txt-body {
    font-size: 1.2em;
    width: 80%;
    text-align: justify;
    font-weight: 300;
    line-height: 2ch;
}

.cfd-2im-wrap {
    width: 45vw;
    margin-left: 4vw;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.cfd-2im-im-wrap {
    width: 100%;
    height: 66%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.cfd-2im-im {
    width: 20vw;
    transition: 0.7s ease-out;
}

.cfd-2im-im:hover {
    width: 21vw;
}

.cfd-2im-bottom {
    width: 95%;
    padding-top: 20px;
    height: 8%;
    text-align: center;
    font-weight: 200;
    font-size: 1.1em;
    font-family: josephine_it;
}

.cfd-smallpic-add {
    width: 21vw;
}

.cfd-bigpic-add {
    width: 60vw;
}

.cfd-acc {
    color: var(--accent-color);
}

@media (max-width: 600px) and (orientation: portrait) {
    .cfd-slide2-add {
        height: calc(1.75*var(--fix-mob-height));
    }
    
    .cfd-slide3-add {
        width: 100%;
        height: calc(4.5*var(--fix-mob-height));
        padding-left: 0vw;
        justify-content: space-evenly;
        padding-right: 0vw;
    }

    /* --------------------------------------------- */

    .cfd-slant-bottle-wrap {
        display: none;
    }

    .cfd-mid-body-add {
        width: 80%;
        margin-right: 0;
    }
    
    .cfd-side-fig1 {
        width: 80vw;
        height: auto;
    }

    .cfd-side-fig1:hover {
        width: 83vw;
    }

    /* ---------------------------------------------- */

    .cfd-6im-set-wrap {
        width: 100vw;
        height: auto;
        margin-left: 1vw;
        margin-right: 1vw;
    }
    
    .cfd-6im-img {
        width: 47vw;
    }
    
    .cfd-hy-txt-wrap {
        width: 100vw;
        height: auto;
        justify-content: center;
        align-items: center;
    }
    
    .cfd-hy-txt-head {
        font-size: 3.5em;
        padding-bottom: 20px;
        text-align: center;
    }
    
    .cfd-hy-txt-body {
        font-size: 1.2em;
        width: 80%;
        text-align: justify;
        font-weight: 300;
        line-height: 2ch;
    }
    
    .cfd-2im-wrap {
        width: 100vw;
        margin-left: 0vw;
        height: auto;
    }
    
    .cfd-2im-im-wrap {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
    }
    
    .cfd-2im-im {
        width: 80vw;
        height: auto;
        margin-bottom: 2vh;
    }

    .cfd-2im-im:hover {
        width:83vw;
        height: auto;
    }
    
    .cfd-2im-bottom {
        padding-top: 5px;
        height: auto;
        font-size: 1em;
    }
    
    .cfd-smallpic-add {
        width: 90vw;
    }
    
    .cfd-bigpic-add {
        width: 100vw;
    }


}