@import "style.css";


.background-img {
    height: 100%;
    background-color: var(--green-300); 
    background-position: 50% 100%;
    background-repeat: no-repeat;
    background-size: cover;
}
/* In paralax Services */
.background-img-1 {
    height: 100vh;
    background-color: var(--green-300); 
    background-position: 50% 100%;
    background-repeat: no-repeat;
    background-size: cover;
}

.hover-to-green500:hover {background-color: var(--green-500);}
.hover-to-green700:hover {background-color: var(--green-700);}

/* SHHub posters */
.img-div-vertical {background-image: url();
    width: 100%; aspect-ratio: 3/4;
    background-position: 50% 100%;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 20px 0px;
}
.img-div-horizontal {background-image: url();
    width: 100%; aspect-ratio: 4/3;
    background-position: 50% 100%;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 20px 0px;
}

/* ----------------------- subsection for title and subtitle */
.sub-title {
    width: 50%;
    display: flex; flex-direction: column; align-items: center;
    margin: 80px 0px 40px 0px;
}
.sub-title-100 {
    width: 100%;
    display: flex; flex-direction: column; align-items: flex-start;
    margin: 20px 0px 40px 0px;
}

/* ----------------------- subsection with squares */
.sub-row-squares {
    width: 100%;
    display: flex; flex-direction: row;
    justify-content: center; align-items: center;
}
.sub-square {
    width: 240px; height: 240px;
    display: flex; justify-content: center; align-items: center;
    padding: 10px; box-sizing: border-box;
}

/* ----------------------- subsection 50% left and right for BECOME A MENTOR*/
.become-mentor-anime-img-layer {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: -10;
    object-fit: cover; /* optional, for <img> */
    pointer-events: none;
}
.become-mentor-anime-color-layer {
    width: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: -10;

    display: flex; flex-direction: row; justify-content: flex-end;
}
.anime-color-side {
    width: 50%; height: 100%;
    background-color: var(--green-300);
}
.become-mentor-anime-item {
    width: 100%;
    display: flex; flex-direction: row;
}
.anime-item-left {
    width: 50%;
    display: flex; flex-direction: column; justify-content:flex-start; align-items: center;
    padding: 0px 40px; box-sizing: border-box;
}
.anime-element {
    width: 100%;
    background-color: var(--green-300);
    padding: 40px 20px; box-sizing: border-box;
    margin-top: 40px;
}
.anime-item-right {
    width: 50%;
    display: flex; flex-direction: column; align-items: center;
    background-color: var(--green-300);
}
.anime-item-right-text-box {
    width: 100%;
    display: flex; flex-direction: column;
    padding: 40px; box-sizing: border-box;
}
/* Old Become mentor */
.sub-50-left {
    width: 50%; height: 100%;
    display: flex; flex-direction: column; justify-content: center; align-self: center;
    padding: 200px 40px 80px 40px;
    box-sizing: border-box;
}
.sub-50-right {
    width: 50%; height: 100%;
    display: flex; flex-direction: column; justify-content: center; align-self: center;
    padding: 200px 40px 80px 40px;
    box-sizing: border-box;
}
.sub-50-element-div {
    width: 100%; height: 260px;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
}
.box-for-50 {
    width: 100%;
    padding: 40px 40px; box-sizing: border-box;
    margin-top: -60px;
}

.box-text-for-50 {
    width: 100%;
    
    padding: 40px; box-sizing: border-box;
    transition: background-color 0.3s ease;
}
/* ------ Mentor hover effects - BECOME A MENTOR hover for section 50 */
#mentor1, #mentor2, #mentor3 {
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#mentor1:hover ~ #mentor1text,
#mentor2:hover ~ #mentor2text,
#mentor3:hover ~ #mentor3text {
    background-color: var(--green-700);
    transition: background-color 0.3s ease;
}
/* new css for section */

/* ----------------------- subsection 30% 70% left and right for BECOME A MENTOR*/
.sub-30-left {
    width: 30%; height: 100%;
    display: flex; flex-direction: row; justify-content: right; align-self: center;
    padding: 20px 20px 20px 20px;
    box-sizing: border-box;
}
.sub-70-right {
    width: 70%; height: 100%;
    display: flex; flex-direction: row; justify-content: left; align-self: center;
    padding: 20px 20px 20px 20px;
    box-sizing: border-box;
}



/* ----------------------- subsection with box / div elements */
/* --------------------------- 1pc elements */
.box-grid-1pc {
    width: 80%;
    display: grid; grid-template-columns: 1fr; gap: 40px 40px;
}
.box-grid-1pc a {
    background-color: var(--green-700);
    padding: 80px;
    box-sizing: border-box;
}
.box-1pc {width: 100%;}
/* --------------------------- 2pc elements */
.box-grid-2pc {
    width: 80%;
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px 40px;
}
.box-grid-2pc a {
    background-color: var(--green-700);
    padding: 80px;
    box-sizing: border-box;
}
.box-grid-2pc-sub {
    width: 80%;
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px 40px;
}
.box-grid-2pc-sub a {
    background-color: var(--green-700);
    box-sizing: border-box;
}
.box-2pc {width: 100%; }
/* --------------------------- 3pc elements */
.box-grid-3pc {
    width: 100%;
    display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px 40px;
}

/* New class for centering two elements */
.box-grid-2pc-centered {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 40px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.box-3pc-green-300 {
    width: 100%;
    background-color: var(--green-300);
    padding: 80px;
    box-sizing: border-box;
}
.box-3pc-green-500 {
    width: 100%;
    background-color: var(--green-500);
    padding: 80px;
    box-sizing: border-box;
}
.box-3pc-white {
    width: 100%;
    background-color: var(--white);
    padding: 80px;
    box-sizing: border-box;
    cursor: pointer;
}
.box-3pc-color {
    width: 100%;
    padding: 80px;
    box-sizing: border-box;
    cursor: pointer;
}

/* --------------------------- 4pc elements */
.box-grid-4pc {
    width: 100%;
    display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 20px 20px;
}
.box-4pc-white {
    width: 100%;
    background-color: var(--white);
    padding: 40px;
    box-sizing: border-box;
    cursor: pointer;
}
.white-hover-color {
    background-color: var(--white);
    -webkit-transition: 0.5s;
    transition: 0.5s;
}
.white-hover-color:hover {background-color: var(--green-300);}


.img-box {
    width: 100%;
    margin: 20px 0px;
}

/* ----------------------- subsection with steps */
.sub-steps-row {
    width: 100%;
    display: flex; flex-direction: row; justify-content: center; align-items: center;
}
.box-step {
    width: 200px; height: 200px;
    background-color: var(--white); 
    display: flex; justify-content: center; align-items: center;
    text-align: center;
    font-size: 28px;
    font-family: "Anton";
    color: var(--text-blue);
    margin: 0px;
    padding: 10px; box-sizing: border-box;
}
.icon-step {
    width: 100px; height: 100px;
    fill: var(--white);
}

/* ----------------------------------------------------------- SERVICES */
.box-grid-subscription {
    background-color: var(--green-700);
    padding: 20px 20px;
    box-sizing: border-box;
}
.one-box { /* Services SECTION 5 - Subscription plans */
    width: 40%;
}
.box-subscription {width: 100%; }

.subscription-top {
    width: 100%; 
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.subscription-bottom {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-top: auto;
}
.subscription-list-item {
    width: 100%;
    display: flex; flex-direction: row; justify-content: center; align-items: center;
    margin-bottom: 10px;
}
.icon-subscription {
    width: 28px; height: 28px;
    fill: var(--white);
    margin-top: -3px;
    margin-right: 10px;
}
.subscription-list-item-text {
    width: calc(100% - 80px);
}
.review-person {
    width: 100%;
    display: flex; flex-direction: row; align-items: center;
}
.review-img {
    width: 80px; height: 80px;
    border-radius: 50%;
    margin-right: 20px;
}
.review-name {
    display: flex; flex-direction: column;
}

/* ----------------------------------------------------------- @media */
@media only screen and (max-width: 1200px) {
    .sub-square {width: 180px; height: 180px;}
    .box-grid-4pc {
        grid-template-columns: 1fr 1fr 1fr; gap: 20px 20px;
    }
    .box-grid-1pc a, .box-grid-2pc a, .box-3pc-green-300, .box-3pc-white, .box-3pc-color {padding: 80px 40px;}
}

@media only screen and (max-width: 1000px) {
    .box-grid-2pc, .box-grid-2pc-sub {width: 100%;}
    .box-grid-3pc {
        width: 100%;
        grid-template-columns: 1fr 1fr;
    }
    .box-grid-4pc {
        grid-template-columns: 1fr 1fr; gap: 40px 40px;
    }
    .sub-50-element-div {height: 360px;}
}

@media only screen and (max-width: 900px) {
    .one-box {width: 60%;} /* Services SECTION 5 - Subscription plans */
    .box-step {
        width: 160px; height: 160px;
        font-size: 20px;
    }
}

@media only screen and (max-width: 800px) {
    .sub-title {
        width: 80%;
    }
    .sub-square {width: 25vw; height: 25vw;}
    .box-step {
        width: 120px; height: 120px;
        font-size: 18px;
    }
    .icon-step {width: 60px; height: 60px;}
    .sub-50-element-div {height: 400px;}
    .anime-item-right-text-box {padding: 40px 20px;}
    .anime-item-left {
        padding: 0px 0px;}
}

@media only screen and (max-width: 600px) {
    .row-topC {flex-direction: column;}
    .sub-50-left {
        width: 100%;
        padding: 80px 40px 80px 40px;
    }
    .sub-50-right {
        width: 100%;
        padding: 80px 40px 80px 40px;
    }
    .sub-row-squares {
        flex-wrap: wrap;
        justify-content: center; align-items: center;
    }
    .sub-square {
        width: 40vw; height: 40vw;
    }
    .box-grid-1pc, .box-grid-2pc, .box-grid-2pc-sub {
        width: 100%;
        grid-template-columns: 1fr; gap: 40px 40px;
    }
    .subscription-top {min-height: 100px;}
    .box-grid-2pc-centered {
        grid-template-columns: 1fr; gap: 40px 40px;
    }
    .one-box {width: 100%;} /* Services SECTION 5 - Subscription plans */
    .box-grid-3pc, .box-grid-4pc {
        width: 100%;
        grid-template-columns: 1fr; 
    }
    .sub-steps-row {
        flex-direction: column;
        margin: 0px 0px 0px 0px;
    }
    .box-step {
        width: 180px; height: 120px;
    }
    .icon-step {rotate: 90deg;}
    .sub-50-element-div {height: 500px;}

}