/*
Theme Name: eurosidediamond
Author: Sid Vaghani
Description: css for home section
Version: 5.0
*/


/*
CSS for home
*/
#home-banner {
    position: relative;

    width: 100%;
    height: 100vh;

    background-image: url(https://eurosidediamond.com/wp-content/uploads/2025/09/banner1.png);

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    justify-content: center;
    align-content: center;
    text-align: center;

    color: white;

    margin: 0%;
    top: 0;
    z-index: 0;

    /*transform: rotate(180deg);*/
}

#home-banner #home-text {
    padding: 50px;
    font-size: 20pt;
    color: rgb(230, 210, 188);
    background-color: rgba(0, 0, 0, 0.588);
}

#home-banner #home-header {
    font-size: 28pt;
    margin: 0;
    margin-bottom: 20px;
    padding: 0;
}

@media screen and (max-width: 450px) {
    #home-banner {
        position: relative;

        width: 100vw;
        height: 100vh;

        background-image: url(https://eurosidediamond.com/wp-content/uploads/2025/09/banner1.png);

        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;

        justify-content: center;
        align-content: end;
        text-align: center;

        color: white;

        margin: 0%;
        top: 0;
        z-index: 0;

        /*transform: rotate(180deg);*/
    }

    #home-banner #home-text {
        padding: 50px;
        font-size: 14pt;
        color: rgb(230, 210, 188);
        background-color: rgba(0, 0, 0, 0.588);
    }

    #home-banner #home-header {
        font-size: 20pt;
        margin: 0;
        margin-bottom: 20px;
        padding: 0;
    }
}

/*
#diamond-shape
*/
#diamond-shape-toggle {
    display: none;
}

#diamond-shape {
    width: 100%;
    height: 100px;

    position: relative;
    background-color: rgb(230, 210, 188);
    color: white;
    display: flex;

    padding-top: 20px;
    padding-bottom: 20px;

    z-index: 0;
}

#diamond-shape-list {
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: space-evenly;
    align-content: center;
    text-align: center;
    transition: display 1s;
}

#diamond-shape-list li {
    height: 100%;
}

.dia-outline {
    height: 100%;
    filter: invert(30%);
}

#diamond-shape a {
    text-align: center;
    color: rgb(45, 45, 45);
    text-decoration: none;
    font-size: 14pt;
}

#diamond-shape p {
    margin-top: 0;
}

@media screen and (max-width: 900px) {

    #diamond-shape {
        height: fit-content;
        width: 100%;
        flex-direction: column;
        text-align: left;
    }

    #diamond-shape-toggle {
        display: block;
        color: black;
        height: fit-content;
        font-size: 18pt;
        width: 100%;
        padding-left: 50px;
    }

    #diamond-shape-list.expand {
        width: 100%;
        flex-direction: column;
        display: flex;
        margin: 0%;
        padding: 0%;
        margin-top: 10px;
    }

    #diamond-shape-list {
        display: none;
    }

    #diamond-shape-list a {
        display: flex;
        vertical-align: middle;
        margin: 0%;
        padding-top: 5px;
        padding-bottom: 5px;
        padding-left: 50px;
    }

    #diamond-shape-list p {
        margin: 0%;
        padding: 0%;
        padding-left: 20px;
        width: fit-content;
    }

    #diamond-shape li:hover {
        background-color: rgba(255, 222, 186, 0.8);
    }

    .dia-outline {
        width: 30px;
        height: 25px;
        display: block;
    }

    .dia-outline img {
        height: 100%;
    }
}