/* FORM ACCESS */
.order_code {
    min-height: calc(100vh - 515px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.title_section {
    font-size: 2rem;
    color: #fff;
    text-transform: uppercase;
}

.form_access {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
}

.input-wrapper {
    width: 100%;
    border-radius: 2rem;
    padding: 3px;
    background: linear-gradient(90deg, red, orange, yellow, green, blue, indigo, violet, red);
    background-size: 400% 400%;
    animation: rainbow 3s linear infinite;
}

.input_code {
    width: 100%;
    border: none;
    outline: none;
    height: 40px;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    background-color: #fff;
    font-size: 1rem;
}

.enter_code {
    width: 100%;
    border: none;
    outline: none;
    padding: 0 1.2rem;
    border-radius: 1rem;
    height: 32px;
    line-height: 32px;
    background-color: #fff;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease-in-out;
}

.enter_code:hover {
    color: #fff;
    background-color: transparent;
}

@keyframes rainbow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* INTRUMENT CLASS */

.instrument_class {
    padding: 80px 0;
    min-height: calc(100vh - 515px);
}

.title_instrument {
    font-size: 6rem;
    width: 100%;
    text-align: right;
}

.instrument_wrapper {
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 1rem;
    position: relative;
}

.list_lesson {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 1rem;
    row-gap: 2.5rem;
}

.lesson_item {
    width: 100%;
    padding: .75rem;
    border: 1px solid transparent;
}

.lesson_item:hover {
    border: 1px solid #fff;
}

.lesson_item:hover .item_img img {
    transform: scale(1.05);
}

.item_img {
    width: 100%;
    overflow: hidden;
}

.item_img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease-in-out;
}

.item_name {
    font-size: 24px;
    font-weight: 500;
    color: #fff;
    font-family: "Montserrat", sans-serif;
    margin: 1rem 0 .5rem 0;
}

.class_schedule {
    width: 100%;
    padding-right: 1rem;
    border-right: 1px solid #fff;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    gap: 2rem;
}

.tab_width {
    width: 100%;
}

.title_schedule {
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: .5rem;
    padding: 0 .75rem;
}

.tab_list_select {
    position: sticky;
    top: 24px;
    width: 100%;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.custom-select-wrapper {
    position: relative;
    width: 100%;
    user-select: none;
}

.select-selected {
    height: auto;
    margin-bottom: .5rem;
    border: 1px solid #fff;
    border-radius: 4px;
    padding: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    color: var(--color-active);
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 700;
}

.select-selected i {
    transition: transform 0.3s ease;
}

.select-arrow-active i {
    transform: rotate(180deg);
}

.select-items {
    border: 1px solid #ccc;
    border-radius: 6px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    transform-origin: top;
    transition: all 0.3s ease;
}

.select-show {
    max-height: 400px;
    overflow-y: auto;
    overscroll-behavior-inline: contain;
    opacity: 1;
    visibility: visible;
}

.info_instrument_class {
    line-height: 1.5;
    font-weight: 300;
}

.list_instrument_class {
    list-style: none;
    padding: 0;
    margin: 0;
}

.instrument-group .main-item {
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 700;
}

.instrument-group .main-item:hover {
    color: var(--color-active);
    background-color: #f0f0f0;
}

.sub_list_instrument {
    list-style: none;
    padding-left: 1.5rem;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.instrument-group:hover>.sub_list_instrument {
    max-height: 400px;
}

.sub_list_instrument li {
    padding: 7px 15px 7px 0;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    font-size: 1rem;
    text-transform: none;
    font-weight: lighter;
    color: #fff;
}

.sub_list_instrument li:hover {
    color: var(--color-active);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.title_info_class {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.search_lesson {
    width: 100%;
    border: 1px solid #fff;
    border-radius: 4px;
}

.search_lesson form {
    width: 100%;
    height: 40px;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
}

.search_lesson form input {
    background-color: transparent;
    outline: none;
    width: 100%;
    border: none;
    color: #fff;
    font-size: 1rem;
    font-family: "Josefin Sans", sans-serif !important;
}

.search_lesson form button {
    border: none;
    outline: none;
    background-color: transparent;
    color: #fff;
    font-size: 1rem;
    font-weight: lighter;
}

.sub_list_instrument {
    margin-left: 1.5rem;
    list-style: none;
}

@media (max-width:1199px) {
    .instrument_class {
        width: 100%;
        padding: 50px 1rem;
    }

    .tab_list_select {
        top: 78px;
    }
}

@media (max-width:991px) {
    .list_lesson {
        grid-template-columns: repeat(1, 1fr);
        place-items: center;
    }

    .title_instrument {
        font-size: 4rem;
        text-align: center;
    }

    .title_schedule {
        font-size: 2rem;
    }

    .list_lesson {
        row-gap: 1.5rem;
    }
}

@media (max-width:575px) {
    .instrument_wrapper {
        flex-direction: column-reverse;
        gap: 3rem;
    }

    .tab_list_select {
        max-width: 100%;
        position: relative;
        top: 0;
    }

    .title_schedule {
        font-size: 1.5rem;
    }

    .class_schedule {
        border-right: none;
        padding-right: 0;
    }

    .title_instrument {
        font-size: 2.5rem;
    }

    .title_section {
        font-size: 1.5rem;
    }
}