/* Main Page CSS */

@import "global_vars.css";

#carouselExampleSlidesOnly {
    & img {
        object-fit: cover;
        height: 35vh;
        position: relative;
    }
    & h1 {
        position: absolute;
        color: white;
        z-index: 1;
        font-size: 35px;
        padding: 25px;
    }
    @media screen and (min-width: 768px) {
        & img {
            height: 75vh;
            min-width: 100%;
        }
        & h1 {
            font-size: 45px;
            max-width: 718.67px;
            padding: 50px;
        }
    }
}

#ExploreCollections {
    display: flex;
    & img {
        position: relative;
        height: 40vh;
        width: 45vw;
        filter: grayscale(100%);
        object-position: top right;
        object-fit: cover;
    }
    & div {
        height: 40vh;
        margin-left: 2vw;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    & h2 {
        font-size: 8vw;
    }
    & ul {
        margin-left: 10vw;
        & li {
            list-style: none;
            display: flex;
            flex-direction: column;
            justify-content: space-evenly;
            height: 6vh;
            & a {
                font-size: 6vw;
                text-decoration: none;
                color: black;
                transition: 0.2s ease-in-out;
                &:hover {
                    color: #3b3b3b;
                    font-size: 7vw;
                }
            }
        }
    }
    @media screen and (min-width: 768px) {
        & img {
            height: 100vh;
        }
        & div {
            height: 100vh;
        }
        & ul li {
            height: 10vh;
            & a {
                font-size: 3vw;
                &:hover {
                    font-size: 4vw;
                }
            }
        }
        & h2 {
            font-size: 5vw;
        }
    }
}

#MainPageFAQ {
    & div:nth-child(2) {
        border-radius: 20px;
    }
    .accordion-button:hover {
        transform: none;
    }
}

#MainPageAboutUs {
    display: none;
    @media screen and (min-width: 768px) {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 50px;
        & div:nth-child(1) {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            min-height: 25vw;
            & h3:nth-child(2) {
                font-weight: bolder;
            }
        }
        & h3 {
            font-size: 3vw;
        }
        & div img {
            height: 30vw;
            width: 30vw;
            object-fit: cover;
            margin: 20px;
            filter: grayscale(100%);
            transition: 0.5s ease-in-out;
            &:hover {
                filter: none;
                transform: scale(100%);
            }
        }
    }
}

#MobileMainPageAboutUs {
    height: 25vh;
    display: flex;
    margin: 20px;
    & img {
        width: 40vw;
        height: 40vw;
        object-fit: cover;
        filter: grayscale(100%);
        border-radius: 20px;
    }
    & div {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding-right: 15px;
        & a {
            text-decoration: none;
            color: white;
            background-color: black;
            padding: 10px 20px 10px 20px;
            width: 100%;
            border-radius: 20px;
            display: flex;
            justify-content: center;
        }
        & h3 {
            font-size: 5vw;
            & span {
                font-weight: 900;
            }
        }
    }
    @media screen and (min-width: 768px) {
        display: none;
    }
}