/* styling for every aspect page */

/* Title, text and image */
.title-head {
    display: flex;
    flex-direction: row;
    margin-bottom: 150px;
}



.title-info {
    display: flex;
    flex-direction: column;
    width: 50%;
    justify-content: center;
    align-items: center;
    text-align: left;
}

.title-info-inner {
    width: 400px;
}

.title-info h1 {
    font-size: var(--font-size-aspect-title);
    line-height: 1;
    padding-bottom: 40px;
}

.title-info p {
    font-size: var(--font-size-s);
    font-weight: var(--font-weight-medium);
    background: linear-gradient(120deg, var(--primary), var(--accent));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    hyphens: none; 
}


.title-image {
    width: 50%;
}

.title-image img {
    border-bottom-left-radius: 25px;
}



/* Evaluation part of aspect */
/* centering and adding grid system */
.center-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.evaluation-container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 8em;
    margin-bottom: 180px;
}

.evaluation-grid {
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: 50% 50%;
}

/* precise placement and coloring */
/* title and subtext*/
.evaluation-title {
    grid-area: 1 / 1 / 2 / 7;
}

.evaluation-title h2 {
    color: var(--color-white);
}

.evaluation-title p {
    color: var(--color-white);
}

/* title and subtext */
.evaluation-first {
    grid-area: 2 / 1 / 2 / 4;
}

.evaluation-first h3 {
    color: var(--text);
}

.evaluation-first p {
    color: var(--text);
}

/* title and subtext */
.evaluation-second {
    grid-area: 2 / 4 / 2 / 7;
}

.evaluation-second  h3  {
    color: var(--text);
}

.evaluation-second  p  {
    color: var(--text);
}

/* box card coloring */
.black-box {
    background-color: var(--text);
}

.blue-box {
    background-color: var(--primary-blue);
}

.red-box {
    background-color: var(--accent-red);
}

/* inner card orientation and styling */
.evaluation-card {
    padding: 3rem 1rem;
    text-align: center;
    border-radius: 1rem;
}


/* responsive design for smaller screen sizes */
@media screen and (max-width: 1240px) {
    
    .evaluation-container {
        margin: 0 6%;
        margin-bottom: 130px;
    }
    
    .evaluation-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 1fr);
    }

    .evaluation-title {
        grid-area: 1 / 1 / 2 / 7;
    }
    
    .evaluation-first {
        grid-area: 2 / 1 / 2 / 7;
    }
    
    
    .evaluation-second {
        grid-area: 3 / 1 / 3 / 7;
    }
}

@media screen and (max-width: 1000px) {

    .title-head {
        margin-bottom: 100px;
        width: 100%;
    }
    
    .title-info-inner {
        width: 100%
    }

    .title-info {
        align-items:first baseline;
        padding: 0 6%;
        padding-top: 40px;
    }
}





@media screen and (max-width: 800px) {
    .title-head {
        margin-bottom: 100px;
        width: 100%;
        flex-direction: column-reverse;
    }
    
    .title-info-inner {
        max-width: 100%;
    }

    .title-info {
        align-items:first baseline;
        padding: 0 20px;
        padding-top: 20px;
        width: 100%;
        max-width: 500px;
    }

    .title-image {
        width: 100%;
    }
    
    .title-image img {
        border-radius: 0;
    }


    .evaluation-container {
        margin: 0 20px;
        margin-bottom: 130px;
    }

}