.experience {
    position: relative;
    background-color: #0000;
}

.ex-container {
    background-color: #0000;
    width: 100%;
    height: 450px;
    margin: 50px 0;
    /*font-size: 1.2vw;*/
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.25s;
    border: 1px solid #ffffff15;
}

.ex-buttons {
    color: #fff;
}

.ex-card {
    width: 80%;
    background-color: #f0f0f0;
    padding: 20px 40px;
    height: fit-content;
    border-radius: 2px;
    position: absolute;
    left: 15%;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    transition: all 0.3s;
}

.ex-card::before {
    content: "";
    width: 100%;
    height: 60%;
    position: absolute;
    left: 0;
    top: 100%;
    backdrop-filter: blur(2px);
    z-index: -1;
    pointer-events: none;
}

.exc-header {
    display: flex;
    align-items: flex-end;
    margin-bottom: 10px;
}

.ex-container img {
    width: 30px;
    margin-right: 10px;
    position: relative;
    top: 5px;
}

.exc-date {
    color: #575757;
    /*font-size: 1vw;*/
}

.exc-desc {
    /*font-size: 1.05vw;*/
    margin: 16px 0;
    margin-left: 14px;
    padding-left: 10px;
    position: relative;
}

.exc-desc::before {
    content: "";
    width: 3px;
    height: 120%;
    background-color: #5e5e5e;
    position: absolute;
    left: -12px;
    top: 0%;
    border-radius: 10px;
}

.exc-desc span {
    position: absolute;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    left: -18px;
    top: 2px;
    /*font-size: 20px;*/
    background: #f0f0f0;
    border-radius: 50%;
    width: 16px;
    height: 16px;
}

.ex-card-hide {
    opacity: 0;
    top: -80% !important;
    transform: scale(1.5) !important;
}

.ex-card-hide::before {
    height: 0;
}

.ex-btn {
    cursor: pointer;
    padding: 10px;
    display: inline;
    transition: all 0.3s;
}

.ex-buttons {
    margin-top: 100px;
}

#ex-prev {
    visibility: hidden;
}

#ex-collapse {
    cursor: pointer;
    left: 0;
    transform: translateX(-50%);
}

.ex-expand-container {
    height: fit-content !important;
    padding: 5%;
    padding-bottom: 20px !important;
}

.ex-expand-card {
    width: 100%;
    top: 0 !important;
    left: 0;
    position: relative !important;
    transform: scale(1) !important;
}

.ex-expand-card:nth-last-child(1) {
    margin-bottom: 100px;
}

.ex-expand-card::before {
    display: none;
}

.ex-sec1 {
    position: absolute;
    left: 10%;
    top: 10%;
    z-index: 110;
    /*font-size: 2.5vw;*/
    display: flex;
    flex-direction: column;
    background-color: #ffffff09;
    border-radius: 32px;
    overflow: hidden;
    justify-content: space-between;
}

.ex-sec1 .ex-btn {
    padding: 15px !important;
}

.ex-sec1 .ex-btn:hover {
    background-color: #82818117;
}

.ex-sec2 .ex-btn {
    position: relative;
    display: flex;
    border: 1px solid #ffffff19;
    padding: 10px 20px;
    justify-content: center;
    left: 0;
    align-items: center;
    z-index: 110;
    border-radius: 2px;
    overflow: hidden;
}

#ex-expand:hover,
#ex-collapse:hover {
    background-color: #111;
}

#ex-expand::before {
    content: "";
    width: 100%;
    height: 10%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    border-bottom-left-radius: 50%;
    border-bottom-right-radius: 50%;
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#ex-expand:hover::before {
    height: 100%;
    background: #122ea9e7;
    box-shadow: inset -5px -5px 50px rgba(0, 0, 0, 0.5);
}

#ex-collapse::before {
    content: "";
    width: 100%;
    height: 10%;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
    border-top-left-radius: 50%;
    border-top-right-radius: 50%;
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#ex-collapse:hover::before {
    height: 100%;
    background: #660096e7;
    box-shadow: inset -5px -5px 50px rgba(0, 0, 0, 0.5);
}

.ex-sec2 .ex-btn i {
    margin-left: 8px;
}

.ex-sec2 {
    position: absolute;
    /*font-size: 0.5vw !important;*/
    bottom: 2%;
    left: 50%;
    z-index: 110;
}
