.pre_educ_section {
    margin-top: 25vh;
    padding-bottom: 10vh;
    /* background-color: brown; */
}

.pre_educ_section .details-container{
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    width: 20rem;
}

.pre_educ_section .details-container:hover{
    animation: rotating-shake-educ 3s infinite; 
    
}

@keyframes rotating-shake-educ {
    0% { transform: translate(-50%, 0) rotate(0deg); }
    2.5% { transform: translate(-50%, 0) rotate(5deg); }
    5.0% { transform: translate(-50%, 0) rotate(0deg); }
    7.5% { ttransform: translate(-50%, 0) rotate(-5deg); }
    10.0% { transform: translate(-50%, 0) rotate(0deg); }
  }


.education_wrapper {
    margin: 50vh 0 50vh 0;
    overflow-x: hidden;
    position: relative;
}

.education_svg_progression {
    position: fixed;
    top: 95%;
    left: 50%;
    transform: translateX(-50%);
    width: 50vw;
    opacity: 0;
}

.mask {
    width: 0;
}

.education_container {
    display: flex;
    width: 360vw;
    min-width: 360vw;
}

.sec1, .sec2, .sec3 {
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    width: 80vw;
    padding: 3vw 10vw;
}


.sec_educ{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2em;
}

.texts_container {
    height: 50vh;
    max-height: 50vh;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sec_educ h1 {
    font-size: 1.75rem;
}

.sec_educ p {
    font-size: 0.95rem;
}

.imgs_container {
    height: 70vh;
    max-height: 70vh;
    display: grid;
    flex : 1;
    grid-template-columns: repeat(7, 1fr); 
    grid-template-rows: repeat(7, 1fr); 
    gap: 0.5em;
    z-index: 2;
}



/* image in the grid  */
.educ_img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.3em;
    box-shadow: 0 1vh 2vh rgba(0, 0, 0, 0.1); /* Light shadow effect */
}


/* FIRST GRID  */
#educ_img_1 {
    grid-row: 1 / 4;
    grid-column: 4 / 7;
}

#educ_img_2{
   grid-row: 2 / 7;
    grid-column: 1 / 4;
}

#educ_img_3{
    grid-row: 5 / 8;
    grid-column: 4 / 7;
}

#educ_img_4{
    grid-row: 4 / 5;
    grid-column: 4 / 8;
}

/* SECOND GRID */
#educ_img_5 {
    grid-row: 1 / 5;
    grid-column: 1 / 3;
}

#educ_img_6 {
    grid-row: 2 / 5;
    grid-column: 3 / 8;
}

#educ_img_7 {
    grid-row: 5 / 8;
    grid-column: 1 / 7;
}


/* THIRD GRID */

#educ_img_8 {
    grid-row: 1 / 6;
    grid-column: 1 / 3;
} 

#educ_img_9 {
    grid-row: 2 / 8;
    grid-column: 3 / 6;
}

#educ_img_10 {
    grid-row: 3 / 7;
    grid-column: 6 / 8;
}

#education1,  #education2 {
    /* background-color: lightblue; */
    height: 500vh;
    /* display: flex;
    flex-direction: row; */
}

.photography {
    position: sticky;
    top: 15%;
    height: 35%;
}

.photography .about_text_container{
    max-height: 80%;
}

.photographer_pic {
    position: sticky;
    top: 20%;
    /* width: 65%; */
    transform: translate(-30%, 0);
    /* height: fit-content;
    max-height: 100%; */
    z-index: 100;
    /* object-fit: cover;
    
    border-radius: 0.3em; */

    width: 100vw;
    max-width: fit-content;
    /* max-width: 40vw;
    min-width: 15vw; */
    height: 125vh;
    max-height: 125vh;
}

#education2{
    margin-top: -100vh;
    height: 500vh;
    margin-bottom: 50vh;
}

.judo{
    position: sticky;
    top: 15%;
    height: 35%;
}

.judo .about_text_container{
    max-height: 80%;
}

.judo .about_section_container{
    margin-right: 25%;
    margin-left: 15%;
}

.judo_pic{
    position: sticky;
    top: -2%;
    left: 99%;
    width: 100vw;
    max-width: fit-content;
    /* max-width: 40vw;
    min-width: 15vw; */
    height: 150vh;
    max-height: 150vh;
    transform: translate(25%, 0);
    z-index: 100;
    /* object-fit: cover;
    border-radius: 0.3em; */
}
