/***********************************************************/ 
/*******************  RESPONSIVE STYLING *******************/
/********************** COLUMNS BLOCK **********************/
/***********************************************************/  

@media (min-width: 1200px) {
    .columnscontainerabout > a {
        flex: 0 0 calc(100% / 5);; /* Prevent flex-grow and flex-shrink, and set a fixed width of 25% */
        box-sizing: border-box; /* Include padding and border in the width */
        text-align: center; /* Center the content horizontally */
        width: calc(100% / 5); /* Adjust width to accommodate border */
      }
    }

    @media (min-width: 900px) and (max-width: 1200px) {
        .columnscontainerabout > a {
            flex: 0 0 calc(100% / 4); /* Prevent flex-grow and flex-shrink, and set a fixed width of 25% */
            box-sizing: border-box; /* Include padding and border in the width */
            text-align: center; /* Center the content horizontally */
            width: calc(100% / 4); /* Adjust width to accommodate border */
          }
        }

        @media (min-width: 700px) and (max-width: 900px) {
            .columnscontainerabout > a {
                flex: 0 0 calc(100% / 3); /* Prevent flex-grow and flex-shrink, and set a fixed width of 25% */
                box-sizing: border-box; /* Include padding and border in the width */
                text-align: center; /* Center the content horizontally */
                width: calc(100% / 3); /* Adjust width to accommodate border */
              }
            }

            @media (max-width: 700px) {
                .columnscontainerabout > a {
                    flex: 0 0 calc(100% / 2); /* Prevent flex-grow and flex-shrink, and set a fixed width of 25% */
                    box-sizing: border-box; /* Include padding and border in the width */
                    text-align: center; /* Center the content horizontally */
                    width: calc(100% / 2); /* Adjust width to accommodate border */
                  }
                }




.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom right, rgb(46 45 98 / 60%), rgb(0 0 0 / 50%));
    transition: transform 0.3s ease-in-out;
    z-index: 2;
}

.child-pageabout {
    position: relative;
    overflow: hidden;
    display: block;
    transition: transform 0.3s ease-in-out;
    z-index: 1; /* Set a higher z-index to ensure the text is above the gradient overlay */
}

.child-pageabout .gradient-overlay {
    z-index: 2; /* Set a z-index for the gradient overlay within the child-pageabout */
}

.child-pageabout:hover .gradient-overlay,
.child-pageabout:focus .gradient-overlay {
    transform: scale(1.1);
}

.rowabout span:hover {
    color: #FF6900;
}

.child-pageabout img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
    z-index: 1;
}

.child-pageabout:hover img,
.child-pageabout:focus img {
    transform: scale(1.1);
}

.child-pageabout span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 3; /* Set a higher z-index to ensure the text is above the gradient overlay and image */
}

.child-pageabout:hover span,
.child-pageabout:focus span {
    display: block; /* Show the text on hover/focus */
}
.container1simpleabout{
    margin: auto;
    text-align: center;
}

.rowabout{
    display: flex;
}

.rowabout:first-child{
    padding-top: 0px;
}

.rowabout a{
display: flex;
    align-items: center;
    justify-content: center;
    margin: 0px;
    color: white;
    text-shadow: 0px 5px 10px rgba(0, 0, 0, 0.5);
    font-size: 25px;
    font-family: 'Moderat Extended Bold', 'Roboto Bold';
    line-height: 1.2;
}

.rowabout a:hover{
    color: #FF6900;
    }

/* Default styles for child-pageabout */



.columnscontainerabout {
    display: flex;
    flex-wrap: wrap;
  }
  

  @media (min-width: 1200px) {
    .columnscontainerabout > a {
        flex: 0 0 calc(100% / 5);; /* Prevent flex-grow and flex-shrink, and set a fixed width of 25% */
        box-sizing: border-box; /* Include padding and border in the width */
        text-align: center; /* Center the content horizontally */
        width: calc(100% / 5); /* Adjust width to accommodate border */
        height: 370px;
      }
    }

    @media (min-width: 900px) and (max-width: 1200px) {
        .columnscontainerabout > a {
            flex: 0 0 calc(100% / 4); /* Prevent flex-grow and flex-shrink, and set a fixed width of 25% */
            box-sizing: border-box; /* Include padding and border in the width */
            text-align: center; /* Center the content horizontally */
            width: calc(100% / 4); /* Adjust width to accommodate border */
            height: 260px;
          }
        }

        @media (min-width: 700px) and (max-width: 900px) {
            .columnscontainerabout > a {
                flex: 0 0 calc(100% / 3); /* Prevent flex-grow and flex-shrink, and set a fixed width of 25% */
                box-sizing: border-box; /* Include padding and border in the width */
                text-align: center; /* Center the content horizontally */
                width: calc(100% / 3); /* Adjust width to accommodate border */
                height: 240px;
              }
            }

            @media (max-width: 700px) {
                .columnscontainerabout > a {
                    flex: 0 0 calc(100% / 2); /* Prevent flex-grow and flex-shrink, and set a fixed width of 25% */
                    box-sizing: border-box; /* Include padding and border in the width */
                    text-align: center; /* Center the content horizontally */
                    width: calc(100% / 2); /* Adjust width to accommodate border */
                    height: 220px;
                  }
                }



.child-pageabout {
    position: relative;
}

.column1containerabout{
    display: flex;
}

.columnscontainerabout{
    background: url(/wp-content/uploads/pattern-background-blue.svg), linear-gradient(to right, #2e2d62, #090914);
  }

@media (min-width: 1200px) {
h2.block-titlescolumn{
    font-size: 36px;
    font-family: 'Moderat Extended Bold', 'Roboto Bold';
    line-height: 1.2;
    margin: 0px;
}
}

@media (min-width: 1200px) {
    h2.block-secondtitlesimpleabout{
        font-size: 36px;
    font-family: 'Moderat Extended Bold', 'Roboto Bold';
    line-height: 1.2;
    padding-top: 20px;
    padding-left: 24px;
    padding-right: 24px;
    color: #2e2d62;
}
    }

    @media (min-width: 900px) and (max-width: 1200px) {
        h2.block-secondtitlesimpleabout{
            font-size: 32px;
        font-family: 'Moderat Extended Bold', 'Roboto Bold';
        line-height: 1.2;
        padding-top: 20px;
        padding-left: 24px;
        padding-right: 24px;
        color: #2e2d62;
    }
        }

        @media (min-width: 220px) and (max-width: 900px) {
            h2.block-secondtitlesimpleabout{
                font-size: 24px;
            font-family: 'Moderat Extended Bold', 'Roboto Bold';
            line-height: 1.2;
            padding-top: 20px;
            padding-left: 24px;
            padding-right: 24px;
            color: #2e2d62;
        }
            }