.studies_hero_wrapper{
    background-color: #F9F9F9;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;

}

.studies_hero{
    justify-content: center;
    align-items: center;
}

.studies_hero_content{
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.studies_hero_content p{
    width: 85%;
}

.center_maker {
    width: 100%;
}
.stud_opt {
    width: 30%;
    margin-top: 1rem;
}
.dynamic_opt {
    width: 70%;
    min-height: 100%;
    max-height: fit-content;
    margin-left: 2rem;
    position: relative;
}
.stud_opt li{
    display: flex;
    border: 1px solid white;
    border-radius: 5px;
}
.opt:hover + label{
    background-color: #5663C1;
    border-radius: 5px;
    color: white;
}
.center_content {
    margin-top: 2rem;
    width: 100%;
    align-items: flex-start;
    margin-bottom: 5rem;
}
.opt{
    display: none;
}
.opt:checked + label {
    background-color: #5663C1;
    border-radius: 5px;
    color: white;
}
.opt_label {
    width: 100%;
    height: 100%;
    padding: 1rem;
    color: black;
    background-color: #F9F9F9;
    display: flex;
    align-items: center;
    border-radius: 5px;
    justify-content: space-between;
}
.opt_label i {
    display: none;
}
.opt:checked + label i {
    display: block;
}
.dynwrap {
    display: none;
    width: 100%;
}
.dynwrap p {
    width: 100%;
}
.dynwrap h2 {
    margin-bottom: 2rem;
    margin-top: 1rem;
}
#docpopup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: none;
    justify-items: center;
    align-content: center;
    background-color: rgba(0, 0, 0, 0.459);
    z-index: 200;
    
}
.docpop{
    background-color: white;
    padding: 2rem;
    display: grid;
    width: 35%;
    z-index: 1005;
    border-radius: 8px;
}

.docpop form{
    background-color: white;
    display: grid;
    width: 100%;
    z-index: 1005;
    border-radius: 8px;
}

.docpop button{
    width: 100%; border-radius: 5px;
    margin-top: 1rem;
}
.docpop .input {
    width: 100%;
}
#expanddef {
    display: none;
}
#explabel {
    display: none;
}
#expanddef:checked + label {
    display: block;
}
.dynwrap p{
    color: #A4A4A4; font-size: small;width: 100%;
    margin-top: 1.5rem;
}

@media only screen and (max-width: 750px) {
    .popup {
        width: 90vw;
        height: fit-content;
        padding: 1rem;
    }
    .imgpop {
        display: none;
    }
    .popform {
        width: 100%;
        display: grid;
        height: fit-content;
    }
    .docpop {
        width: fit-content;
    }
}
@media only screen and (max-width: 750px) {
    .popup {
        width: 90vw;
        height: fit-content;
        padding: 1rem;
    }
    .imgpop {
        display: none;
    }
    .popform {
        width: 100%;
        display: grid;
        height: fit-content;
    }
    .docpop {
        width: fit-content;
    }
    .center_content {
        display: grid;
    }
    .stud_opt {
        width: 100%;
        display: flex;
        position: relative;
        overflow-x: scroll;
        padding-bottom: .5rem;
    }
    .stud_opt .ri-arrow-right-line{
        margin-left: 5px;
        transform: rotate(90deg);
    }

    ::-webkit-scrollbar{
        height: .5rem !important;
    }
    .stud_opt li {
        width: fit-content;
    }
    .opt_label {
        padding: 1rem;
        max-height: 3.5rem;
        white-space: nowrap;
        width:fit-content
    }
    .opt_label h4 {
        width: fit-content;
    }
    .dynamic_opt {
        margin: 0;
        width: 100%;
    }
    .studies_hero{
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
        gap: 1rem;
        height: calc(100vh - var(--header-height));
    }
    .studies_hero_content{
        width: 100%;
    }
    .studies_hero_gallery{
        width: 95%;
    }

}