@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@200;500;700&family=Barlow:wght@200;500;700&display=swap');

html,
body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    /* Ensure the container takes up the full viewport height */
}

.i-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.i-copy {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    pointer-events: none;
    margin-top: 7vh;
}

.i-copy div {
    position: relative;
    //display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}


.i-copy .colored-svg {
    background-color: none;
    fill: var(--backcolor);
    /* Change the fill color */
    min-width: 20vh;
    /* Set the width of each SVG image */
    /* Automatically adjust the height to maintain aspect ratio */
    margin: 10vh;
    /* Add some margin around each image for spacing */
    max-height: 6vh;
    pointer-events: auto;
    opacity: 1;
    transition: .25s;
}

.i-copy .agency::before,
.i-copy .brands::before {
    content: "";
    background-color: var(--backcolor);
    width: 0;
    height: 0;
    display: block;
    position: absolute;
    top: 48%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: -1;
    transition: 0.25s;
}

.i-copy .brands::after {
    content: "";
    background-color: var(--backcolor);
    width: 10px;
    height: 10px;
    display: block;
    position: absolute;
    bottom: 27%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: -1;
    transition: 0.25s;
}

.i-copy .brands:hover::before {
    width: 30vh;
    height: 30vh;
    aspect-ratio: 1/1;
}

.i-copy .brands:hover .colored-svg {
    fill: var(--maincolor);
}

.i-copy .brands:hover::after {
    width: 20%;
    border-radius: 0;
    background-color: var(--maincolor)
}

.i-copy .brands .colored-svg:hover::before {
    width: 400vh;
    height: 400vh;
    aspect-ratio: 1/1;
    transition: 1s;
    z-index: 1000;
}

.brands {
    position: relative;
    //margin-bottom: 20px;
}

.brands span {
    font-family: 'barlow condensed';
    font-size: 2.5vh;
    font-weight: 200 !important;
    color: var(--backcolor);
    position: absolute;
    top: 45%;
    z-index: -5;
    visibility: hidden;
    padding: 0;
}

.brands span .brandhead,
.brands span .items {
    opacity: 0;
}

.brands div strong {
    //width: 100%;
    font-family: 'barlow condensed';
    font-weight: 500 !important;
    padding-bottom: 3px;
}

.align-left span {
    //left: 0;
    right: 90%;
    //justify-content: right;
}

.align-left div {
    //justify-content: right;
}

.align-right span {
    left: 90%;
    //right: 0;
    //justify-content: left;
}

.align-right div {
    //justify-content: left;
}

.align-left  div,
.align-right div {
    justify-content: left;
}

.agency:hover span {
    visibility: visible;
    //max-height: 100vh !important;
    //transition-delay: .75s;
    //transition: 1s;
    //width: 100%;
}

.agency:hover .brandhead,
.agency:hover .items {
    opacity: 1;
    transition: .25s;
    transition-delay: .5s;
}

.items {
    column-count: 2;
    column-gap: 3vh;
    /* Adjust this value to control the gap between columns */
    padding: 0;
    border-top: 1px solid var(--backcolor);
    //border-bottom: 1px solid var(--maincolor);
    overflow: auto;
}

.items>div {
    display: flex;
    padding: 5px 0;
    text-align: left;
}

.brandhead {
    width: 100%;
    padding-bottom: 5px;
    color: var(--backcolor);
}

.agency span::before {
    content: "";
    aspect-ratio: 1/1;
    border: 1px solid var(--backcolor);
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    transition: .5s;
    width: 0%; /* Start with a square shape */
}

.agency span::after {
    content: "";
    aspect-ratio: 1/1;
    border: 20px solid var(--backcolor);
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    transition: .5s;
    width: 0%; /* Start with a square shape */
}

.agency:hover span::before {
    width: 190%; /* Allow the element to grow in width */
    aspect-ratio: 1/1;
}

.agency:hover span::after {
    border: 1px solid var(--backcolor);
    width: 190%; /* Allow the element to grow in width */
    aspect-ratio: 1/1;
    transition-delay: .25s;

}


.fcb span {
  padding: 0 10%;   
}

p.clhead {
    position: absolute;
    text-align: center;
    color: var(--backcolor);
    display:block;
    padding:0;
    top: 7vh;
    left: 0;
    width:100vw;
    float:left;
    font-size: 2.5vh;
    opacity: 1;
    transition: 0.25s;
}

.brands:hover ~ p.clhead {
    opacity: 0;
}