/* COLORS */
:root {
    --primary-color: #D9382B;
    --secondary-color: #f5f5f5;
    --accent-color: #d9736c;
    --black: #272542;
    --white: #FEFEFF;
    --gray: gray;
    --bg-color: #f6f4f0;
    --yellow: #FCFF72;
}


main {
    margin-top: 50px;
}

/* NAME HEADER SECTION */
.nameHeaderSect {
    width: calc(100% - 200px);
    padding: 25px 100px;
}

.nameHeaderSect .subtitle,
.aboutMeDivsCont .subtitle,
.aboutMeSect .conclusion .subtitle,
.quoteSect .subtitle {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 24px;
    font-style: normal;
}

.nameHeaderSect .title,
.aboutMeSect .title,
.quoteSect .title {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: 50px;
    margin: 30px 0px;
}

@media (max-width: 768px) {
    .nameHeaderSect {
        width: calc(100% - 40px);
        padding: 20px 20px 40px;
        margin-top: 0px;
    }

    .nameHeaderSect .title,
    .aboutMeSect .title,
    .quoteSect .title {
        font-size: 50px;
    }

    .nameHeaderSect .subtitle,
    .aboutMeDivsCont .subtitle,
    .aboutMeSect .conclusion .subtitle,
    .quoteSect .subtitle {
        font-size: 18px;
    }
}


/* SHORT DESCRIPTION SECTION */
.shortDescSect {
    display: flex;
    width: calc(100%);
}

.shortDescSect img {
    width: 30%;
}

.shortDescSect div {
    width: 70%;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0 100px;
    text-align: justify;
    font-size: 24px;
    align-content: center;
}

/* EDUCATION SECTION - STYLISH VERSION */
.educationSect {
    padding: 50px 100px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
}

.educationSect .title {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: 50px;
    text-align: center;
    margin-bottom: 50px;
    background: linear-gradient(90deg, var(--primary-color), var(--white));
    -webkit-background-clip: text;
    color: var(--primary-color);
}

.educationDivsCont {
    display: flex;
    gap: 30px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.educationDivsCont>div {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    width: calc((100% - 200px) / 5);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
    border-top: 5px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.educationDivsCont>div::after {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    transform: skewX(-25deg);
    transition: left 0.5s ease;
}

.educationDivsCont>div:hover::after {
    left: 125%;
}

.educationDivsCont>div:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
    border-top-color: var(--accent-color);
}

.educationDivsCont .subtitle {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.educationDivsCont .text {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 10px;
    color: var(--black);
}

.educationDivsCont .award {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: var(--accent-color);
}

/* MOBILE */
@media (max-width: 768px) {
    .educationSect {
        padding: 30px 20px;
    }

    .educationSect .title {
        font-size: 32px;
        margin-bottom: 30px;
    }

    .educationDivsCont {
        /* flex-direction: column; */
        gap: 20px;
    }

    .educationDivsCont>div {
        width: 100%;
        padding: 25px;
    }

    .educationDivsCont .subtitle {
        font-size: 18px;
    }

    .educationDivsCont .text {
        font-size: 14px;
    }

    .educationDivsCont .award {
        font-size: 12px;
    }
}


/* ABOUT ME SECTION */
.aboutMeSect {
    /* background-image: none; */
    padding: 50px;
}

.aboutMeSect .title {
    text-align: center;
}

.aboutMeSect .aboutMeDivsCont {
    display: flex;
    gap: 50px;
}

.aboutMeDivsCont div,
.aboutMeSect .conclusion {
    background-color: var(--white);
    border-radius: 10px;
    padding: 25px;
}

.aboutMeDivsCont .subtitle,
.aboutMeSect .conclusion .subtitle {
    color: var(--primary-color)
}

.meaningOfLife .subtitle {
    text-align: right;
}

.aboutMeSect .conclusion {
    margin-top: 50px;
}

.meaningOfLife .text,
.visionOfFuture .text,
.conclusion .text {
    text-align: justify;
}



/* LIFE EVENTS SECTION */

.quoteSect {
    width: calc(100% - 200px);
    padding: 25px 100px;
    height: max-content;
    background-color: var(--black);
}

.quoteSect .title,
.quoteSect .subtitle,
.quoteSect .text {
    text-align: center;
    color: var(--white)
}

@media (max-width: 768px) {

    /* SHORT DESCRIPTION */
    .shortDescSect {
        background-color: var(--primary-color);
        ;
    }

    .shortDescSect img {
        width: 25%;
        height: 25%;
        border: 5px solid var(--primary-color);
        align-self: center;
    }

    .shortDescSect div {
        width: 100%;
        padding: 30px 20px;
        font-size: 18px;
        text-align: left;
    }

    /* ABOUT ME */
    .aboutMeSect {
        padding: 30px 20px;
    }

    .aboutMeSect .aboutMeDivsCont {
        flex-direction: column;
        gap: 25px;
    }

    .meaningOfLife .subtitle {
        text-align: left;
    }

    .aboutMeSect .conclusion {
        margin-top: 30px;
    }

    /* LIFE EVENTS / QUOTE */
    .quoteSect {
        padding: 30px 20px;
        width: calc(100% - 40px);
    }
}