.card-container {
    width: calc(100% - 40px);
    padding-top: 50px;
    padding-bottom: 50px;
    padding-left: 20px;
    padding-right: 20px;
    margin: 0;
    z-index: 1;
    text-align: center;
    overflow-x: hidden;
}


.card {
    position: relative;
    width: 22%;
    margin: 5px 5px 5px 5px;
    background-color: white;
    display: inline-flex;
    flex-direction: column;
    border-radius: 5px;
    box-shadow: 0 0 10px #a7a2a2;
    box-shadow: 2px 2px 5px #a7a2a2;
    justify-content: center;
    align-items: center;
    text-align: center;
    vertical-align: top;
    transition: .5s;
} 

.card-title {
    width:90%;
    color: #63686c;
    font-weight: bold;
    /* font-size: 1.25vw; */
    margin-left: auto;
    margin-right: auto;
    margin-top: 5px;
    margin-bottom: 5px;
    border: solid 1px #282c34;
    border-radius: 10px;
}

.card-hover:hover {
    background-color: #f1f1f1;
    /* border: #282c34 1px solid; */
}

.card-hover-info {
    border-radius: 5px;
    position: relative;
    width: 100%;
    height: 100%;
    display: contents;
}


.card-info-container {
    position: absolute;
    z-index: 2;
    right: 15px;
    top: 10px;
    background-color: lightgrey;
    padding: 8px;
    border-radius: 50%;
}

.account-tooltip {
    position: absolute;
    left: -100px;
    opacity: .9;
    font-size: x-small;
    color: #eff3f7;
    background-color: #282c34;
    width: 100px;
    border-radius: 5px;
    display: none;
    padding: 4px;
    text-align: center;
    transition: 1s;
}

.tooltip-link-text {
    font-size: 11px;
    font-weight: bold;
    cursor: pointer;

}

.tooltip-link-text:hover {
    font-size: 12px;
    font-weight: bold;

}

.card-info-container:hover .account-tooltip {
    display: inline;
}

.sign-in-icon {
    width: auto;
    height: auto;
}

.advisor-count {
    position: absolute;
    left: 10px;
    top: 10px;
    font-family:Arial, Helvetica, sans-serif;
    font-size: small;
    font-weight: bold;
    border: #282c34 1px solid;
    border-radius: 7px;
    padding: 2px 4px;
    background-color: lightgray;
    text-align: center;
}
.active-count-tooltip-container {
    position: relative;
    display: none;
}

.advisor-count:hover 
.active-count-tooltip-container {
   
    display: block;
    position: absolute;
    left: 15px;
    width: 100px;
    opacity: .9;
    font-size: small;
    color: #eff3f7;
    background-color: #282c34;
    border-radius: 5px;
    padding: 4px;
    text-align: left;
}

.card-header-section {
    width: 100%;
    margin-top: 20%
}



.card-image-section {
    width: 100%;
    padding-top: 20px;
}

.card-image {
    width: 45%;
    border-radius: 50%;
    object-fit: cover;
    aspect-ratio: 3/3;
    border: solid 2px #63686c;
}

@media (max-width: 500px) {
    
    .card {
        width: 95%;
    }
    .card-header-section {
        margin-top: 1%;
    }

    .card-image{
      width:30%;
    }
}

@media (min-width: 501px) and (max-width:800px) {
    
    .card {
        width: 45%;
    }
}

@media (min-width: 801px) and (max-width:1200px) {
    
    .card {
        width: 30%;
    }
}

@media (min-width: 1201px) and (max-width:1800px) {
    
    .card {
        width: 22%;
    }
}

@media (min-width: 1801px) {
    
    .card {
        width: 18%;
    }
}