html {
    position: relative;
}

#show-modal {
    cursor: pointer;
}

#company-profile {
    border: none;
    box-shadow: none;
    padding: 0 24px;
}

header>select {
    color: white;
}

.profile-heading {
    font-family: var(--font-family-headings);
    font-size: var(--font-size-page-headings);
    color: #FFFFFF;
    margin: 0 auto;
}

.profile-heading-container {
    min-height: 18.5vh;
}

.profile-text {
    font-family: var(--font-family-main);
    color: #FFFFFF;
    opacity: 0.8;
    text-align: center;
    font-size: 1.2em;
}

.profile-cards-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 48px;
    justify-content: center;
    align-items: stretch;
    flex-direction: row;
}

.profile-cards-grid:hover div {
    opacity: 0.6;
    filter: blur(1px);
    filter: url("data:image/svg+xml;utf9,<svg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'><filter%20id='blur'><feGaussianBlur%20stdDeviation='1'%20/></filter></svg>#blur");
    transition: all 0.3s ease-in-out;
}

.profile-cards-grid div:hover {
    transform: translateY(-10px);
    filter: none;
    opacity: 1;
    transition: all 0.3s ease-in-out;
}

.profile-card {
    max-width: 300px;
    flex-grow: 1;
    cursor: pointer;
    font-family: var(--font-family-main);
    padding: 20px;
    backdrop-filter: blur(5px);
    -webkit-transform: translate(0px, 0px);
    -ms-transform: translate(0px, 0px);
    transform: translate(0px, 0px);
    background-color: hsla(0, 0%, 100%, 0.7);
    color: var(--font-color-primary);
    text-align: left;
    border-color: #38A5A9;
    border-radius: 4px;

}

.profile-image {
    width: 100%;
    height: 100%;
}

.button-container {
    margin: 64px 0 21px;
    display: flex;
    justify-content: center;
}

.rounded-button {
    margin: 0 auto;
}

@media screen and (max-width: 860px) {

    #show-modal {
        padding: 16px 27px;
        background: #FFFFFF;
        color: #242866;
        min-width: 360px;
        display: block;
        text-align: center;
    }

    .plus {
        display: none;
    }

    .profile-text {
        font-size: 1.2em;
    }
}

.btn-text {
    pointer-events: none;
}

@media screen and (max-width: 680px) {
    .profile-cards-grid {
        align-items: center;
        flex-direction: column;
    }
}


.card-description {
    font-family: var(--font-family-main);
    font-size: var(--font-size-primary);
    margin: 8px 0px 20px 0px;
    overflow: auto;
    text-overflow: ellipsis;
    height: 6em;
}

.card-heading {
    font-family: var(--font-family-headings);
    margin: 8px 0;
    font-size: var(--font-size-headings);
    font-weight: 700;
    text-transform: uppercase;
    height: 2.6em;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2em;
}

.card-list {
    position: relative;
    bottom: 0;
    font-size: var(--font-size-card-list);
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-list>li {
    font-family: var(--font-family-main);
}

.list-pointed-amount {
    font-family: var(--font-family-headings-bold);
    font-size: var(--font-size-card-list-amounts);
    margin-right: 10px;
    color: #242866;
    font-weight: 600;
}
