:root {
    --main-color: #023A51;
}

.main-overlay {
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    background-position: 90% 50px;
    background-repeat: no-repeat;
    background-size: auto;
    background-color: #023A51;
}



.main-header::before {
    width: 162px;
    height: 3px;
    position: absolute;
    background-color: #ecb309;
    left: 0;
    bottom: 0;
    content: '';
}

.main-header::after {
    width: 165px;
    height: 3px;
    position: absolute;
    background-color: #ecb309;
    right: 0;
    bottom: 0;
    content: '';
}

.main-header {
    align-self: center;
    text-wrap: nowrap;
    width: min-content;
    position: relative;
    color: white;
    font-size: 44px;
    line-height: 1.115em;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.sub-header {
    color: white;
    font-size: 24px;
    line-height: 1.115em;
    font-weight: 700;
    letter-spacing: 0.01em;

}

.main-overlay img {
    opacity: 0.6;
    margin-left: 100px;
    margin-top: 50px;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;

}

.logo {
    margin-top: 30px;
    height: 60px;
    align-self: center;
}

.logo img {
    height: 100%;
}

.main {
    /* background-image: url("https://fin.21lab.co/wp-content/uploads/2021/09/globe-bg.png");
    background-position: 90% 50px;
    background-repeat: no-repeat;
    background-size: auto;
    background-color: #023A51; */
}

.content {
    display: flex;
    flex-direction: column;
}

.main {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

/* .grid-container::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    width: 100px;
    height: 100px;
    border-left: 1px solid white;
} */

.grid-container {
    /* position: relative; */
    margin-top: 10px;
    display: grid;
    grid-template-columns: 280px 280px 280px 280px;
    grid-gap: 10px 10px;
    margin-bottom: 20px;

}


.card {
    border-style: solid;
    border-width: 1px;
    border-color: #7d7d7d;
    box-shadow: 0 2px 7px 0 rgb(43, 42, 20);
    width: 280px;
    border-radius: 24px;
    background-color: white;

}


.section {
    /* position: relative; */
    backdrop-filter: blur(3px);
    margin-top: 20px;
    border-radius: 6px;
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 20px;
    padding-bottom: 10px;
    background-color: rgba(255, 255, 255, 0.087);
}


.image-content,
.card-content {
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-content {
    position: relative;
    row-gap: 5px;
}

.card-image {
    position: relative;
    height: 110px;
    width: 110px;
    border-radius: 50%;
    padding: 3px;
}

.status-circle {
    content: '';
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    height: 30px;
    width: 30px;
    border-radius: 50%;
    left: 4px;
    top: 4px;
    background-color: gray;
    border: 5px solid var(--main-color) !important;
    z-index: 2;
}

.status-circle .status {
    border-radius: 50%;
    position: absolute;
    width: 50%;
    height: 50%;
    background-color: var(--main-color);
}


.card-image .card-img {
    z-index: 1;
    position: relative;
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid gray;
}

.card.available .user-status {
    color: #28872b;
}

.card.available .user-status::after {
    background-color: #28872b;
}

.card.busy .user-status {
    color: #e7771c;
}

.card.busy .user-status::after {
    background-color: #e7771c;
}


.card.available .card-image .status-circle .status {
    background-color: white;
}

.card.busy .card-image .status-circle .status {
    height: 30%;
    border-radius: 30%;
}

.card.available .card-image .status-circle,
.card.available .card-image .card-img {
    color: #28872b;
    background-color: #28872b;
    border-color: #28872b;
}

.card.busy .card-image .card-img,
.card.busy .card-image .status-circle {
    border-color: #e7771c;
    background-color: #e7771c;
}


.name {
    z-index: 1000;
    font-size: 18px;
    font-weight: 500;
    color: var(--main-color);
    font-size: 24px;
    line-height: 34px;
    font-weight: 700;
}

.description {
    font-size: 14px;
    color: #707070;
    text-align: center;
    margin-top: 10px;
}

.button {
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid transparent;
    font-size: 16px;
    color: #fff;
    padding: 8px 16px;
    background-color: #f8c836;
    border-radius: 6px;
    margin: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}



.button:hover {
    background-color: #ecb309;
}

.email,
.phone {
    display: flex;
    justify-content: center;
    align-items: center;
}

.email a,
.phone a {
    text-decoration: none;
    color: #1d2b3a;
}

.email img,
.phone img {
    margin-right: 3px;
    width: 20px;
}

.button img {
    margin-right: 5px;
    width: 20px;
}


.user-title {
    color: #ecb309;
}

.user-status {
    text-transform: capitalize;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    color: #1d2b3a;
}

.user-status::after {
    position: absolute;
    left: 0;
    transform: translateX(-110%);
    display: block;
    content: ' ';
    width: 15px;
    height: 15px;
    background-color: #1d2b3a;
    border-radius: 50%;
}

.overlay {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    background-color: var(--main-color);
    border-radius: 25px 25px 0 25px;
}

.user-profile-wrapper {
    z-index: 2;
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;


    display: none;
}

.user-name {
    font-size: 34px;
    font-weight: 700;
    color: #023A51;
    margin-top: 10px;

}


.user-profile {
    width: 600px;
    padding-top: 80px;
    padding-bottom: 80px;
    max-width: 100vw;
    background-color: white;
    border-radius: 5px;
    position: relative;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


.close-profile {
    position: absolute;
    right: 0;
    top: 0;
}

.close-profile::after {
    margin-top: 2px;
    margin-right: 20px;
    display: block;
    content: "\d7";
    color: #023A51;
    font-size: 40px;

}

.user-about {

    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.user-about pre {
    color: #1d2b3a
}

.user-about::before {
    position: absolute;
    top: -10px;
    content: '';
    width: 60%;
    height: 1px;
    background-color: #023A51;
}

.user-about::after {
    position: absolute;
    bottom: -10px;
    content: '';
    width: 60%;
    height: 1px;
    background-color: #023A51;
}

.user-contact {
    margin-top: 20px;
}

.user-contact a img {
    width: 20px;
}

.user-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid #ecb309;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

.user-profile-bg {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-color: #023b5164;
    backdrop-filter: blur(10px);
}

.overlay::before,
.overlay::after {
    position: absolute;
    content: '';
    height: 40px;
    width: 40px;
    right: 0;
    bottom: -40px;
    background-color: var(--main-color);
}

.overlay::after {
    border-radius: 0 25px 0 0;
    background-color: white;
}

@media screen and (max-width: 1068px) {
    .grid-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 668px) {
    .grid-container {
        grid-template-columns: 1fr;
    }
}