@import url("basic.css");

/* Shapes Grid */
.shapes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 1rem;
}

.shape-item {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.shape-demo {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #0ea5e9, #6366f1);
    margin-bottom: 12px;
    transition: transform 0.3s ease;
}

.shape-demo:hover {
    transform: scale(1.1);
}

.clip-circle {
    clip-path: circle(50% at 50% 50%);
}

.clip-triangle {
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.clip-chevron {
    clip-path: polygon(75% 0%, 100% 50%, 75% 100%, 0% 100%, 25% 50%, 0% 0%);
}

.clip-star {
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.clip-hexagon {
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

.clip-bubble {
    clip-path: polygon(0% 0%, 100% 0%, 100% 75%, 60% 75%, 50% 100%, 40% 75%, 0% 75%);
}

/* Slanted Divider Section */
.slanted-wrapper {
    position: relative;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 1rem;
}

.slanted-section {
    background: linear-gradient(135deg, #008080 0%, #0d9488 100%);
    color: white;
    padding: 40px 24px 60px 24px;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

/* shape-outside wrap */
.shape-outside-box {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    line-height: 1.7;
    color: #334155;
}

.float-circle {
    float: left;
    width: 120px;
    height: 120px;
    shape-outside: circle(50%);
    clip-path: circle(50%);
    background: #e0f2fe;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 20px 10px 0;
}

.float-circle img {
    width: 70px;
    height: 70px;
}
