/* google font importing */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* centering text */
p,
.text-example,
.spacing-box,
.flex-item,
.content-box,
.float-box {
    text-align: center;
}

/* designing the general paging */
body {
    background: linear-gradient(135deg, #f4d7ff, #ffd9ec, #e6d6ff);
    font-family: 'Poppins', sans-serif;
    color: #4a345c;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    min-height: 100vh;
}

/* haeder details */
.page-header {
    background-image:
        linear-gradient(
            rgba(130, 77, 151, 0.68),
            rgba(214, 112, 170, 0.62)
        ),
        url('https://i.pinimg.com/webp85/736x/3c/a6/01/3ca601afd758f7311e2b2b32867c01fd.webp');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    color: #ffffff;
    text-align: center;
    padding: 75px 20px;

    border-bottom: 6px solid #d89cf5;
    box-shadow: 0 6px 20px rgba(120, 60, 120, 0.25);
}

/* main pages */
main {
    width: 80%;
    margin: 35px auto;
}

/* content boxes */
.content-box {
    background: rgba(255, 245, 252, 0.93);

    border: 5px solid #d7b3f3;
    border-radius: 26px;

    padding: 25px;
    margin-bottom: 30px;

    backdrop-filter: blur(5px);

    box-shadow: 0 8px 22px rgba(170, 110, 180, 0.15);

    transition: all 0.3s ease;
}

/* heading */
h1 {
    font-size: 44px;
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

h2 {
    color: #9b59b6;
    font-size: 28px;
    font-weight: 600;
}

h3 {
    color: #7b4a8f;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* text */
p {
    font-size: 16px;
    font-weight: 400;
    transition: all 0.3s ease;
}

/* flexbox layout */
.flex-container {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* flexbox */
.flex-item {
    background: linear-gradient(145deg, #f8e8ff, #ffdff2);

    border: 5px solid #c88ae9;
    border-radius: 22px;

    padding: 20px;
    flex: 1;
    text-align: center;
    min-width: 200px;

    box-shadow: 0 6px 16px rgba(190, 120, 200, 0.12);

    transition: all 0.3s ease;
}

/* float layout */
.float-box {
    float: left;

    background: linear-gradient(145deg, #bb7ce6, #f093c4);

    color: white;

    border: 5px solid #9c5fd1;
    border-radius: 22px;

    padding: 25px;
    margin: 0 20px 15px 0;

    font-weight: bold;

    box-shadow: 0 6px 16px rgba(190, 100, 180, 0.2);

    transition: all 0.3s ease;
}

/* floats */
.clear {
    clear: both;
}

/* padding, margins, border, etc. */
.spacing-box {
    background: linear-gradient(145deg, #ffe6f7, #f8dcff);

    border: 5px dashed #d870c5;
    border-radius: 22px;

    padding: 25px;
    margin: 20px;

    text-align: center;
    font-weight: bold;

    box-shadow: 0 6px 16px rgba(200, 120, 190, 0.14);

    transition: all 0.3s ease;
}

/* text layout */
.text-example {
    background: linear-gradient(145deg, #f8eaff, #ffe5f3);

    border-left: 8px solid #c278e8;
    border-radius: 18px;

    padding: 18px;
    margin: 15px 0;

    text-align: left;

    transition: all 0.3s ease;
}

/* hover detailings */

.content-box:hover {
    border-color: #e39cf7;
    box-shadow: 0 12px 28px rgba(190, 110, 200, 0.22);
    transform: translateY(-4px);
}

.flex-item:hover {
    background: linear-gradient(145deg, #ffd9f7, #f0ccff);

    transform: translateY(-7px) scale(1.04);

    box-shadow: 0 12px 24px rgba(200, 120, 200, 0.24);
}

.flex-item:hover h3,
.flex-item:hover p {
    font-size: 1.08em;
    color: #8c3fa8;
}

.float-box:hover {
    background: linear-gradient(145deg, #a95ddd, #ff8fc9);

    transform: scale(1.06);

    box-shadow: 0 12px 24px rgba(190, 90, 180, 0.28);

    font-size: 1.08em;
    color: #ffffff;
}

.spacing-box:hover {
    background: linear-gradient(145deg, #ffd6ee, #f3d0ff);

    transform: translateY(-5px) scale(1.03);

    box-shadow: 0 12px 24px rgba(200, 120, 190, 0.2);

    color: #b14d91;
    font-size: 1.08em;
}

.text-example:hover {
    background: linear-gradient(145deg, #f5d7ff, #ffd8ef);

    transform: scale(1.03);

    font-size: 1.05em;
    color: #9a4eb8;
}